Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1menu "Android"
2
3config ANDROID
4 bool "Android Drivers"
5 default N
6 ---help---
7 Enable support for various drivers needed on the Android platform
8
9if ANDROID
10
11config ANDROID_BINDER_IPC
12 bool "Android Binder IPC Driver"
13 default n
14 ---help---
15 Binder is used in Android for both communication between processes,
16 and remote method invocation.
17
18 This means one Android process can call a method/routine in another
19 Android process, using Binder to identify, invoke and pass arguments
20 between said processes.
21
22config ASHMEM
23 bool "Enable the Anonymous Shared Memory Subsystem"
24 default n
25 depends on SHMEM
26 ---help---
27 The ashmem subsystem is a new shared memory allocator, similar to
28 POSIX SHM but with different behavior and sporting a simpler
29 file-based API.
30
31 It is, in theory, a good memory allocator for low-memory devices,
32 because it can discard shared memory units when under memory pressure.
33
34config ANDROID_LOGGER
35 tristate "Android log driver"
36 default n
37 ---help---
38 This adds support for system-wide logging using four log buffers.
39
40 These are:
41
42 1: main
43 2: events
44 3: radio
45 4: system
46
47 Log reading and writing is performed via normal Linux reads and
48 optimized writes. This optimization avoids logging having too
49 much overhead in the system.
50
51config ANDROID_TIMED_OUTPUT
52 bool "Timed output class driver"
53 default y
54
55config ANDROID_TIMED_GPIO
56 tristate "Android timed gpio driver"
57 depends on GPIOLIB && ANDROID_TIMED_OUTPUT
58 default n
59
60config ANDROID_LOW_MEMORY_KILLER
61 bool "Android Low Memory Killer"
62 default N
63 ---help---
64 Registers processes to be killed when memory is low
65
66config ANDROID_INTF_ALARM_DEV
67 bool "Android alarm driver"
68 depends on RTC_CLASS
69 default n
70 ---help---
71 Provides non-wakeup and rtc backed wakeup alarms based on rtc or
72 elapsed realtime, and a non-wakeup alarm on the monotonic clock.
73 Also exports the alarm interface to user-space.
74
75config SYNC
76 bool "Synchronization framework"
77 default n
78 select ANON_INODES
79 help
80 This option enables the framework for synchronization between multiple
81 drivers. Sync implementations can take advantage of hardware
82 synchronization built into devices like GPUs.
83
84config SW_SYNC
85 bool "Software synchronization objects"
86 default n
87 depends on SYNC
88 help
89 A sync object driver that uses a 32bit counter to coordinate
90 syncrhronization. Useful when there is no hardware primitive backing
91 the synchronization.
92
93config SW_SYNC_USER
94 bool "Userspace API for SW_SYNC"
95 default n
96 depends on SW_SYNC
97 help
98 Provides a user space API to the sw sync object.
99 *WARNING* improper use of this can result in deadlocking kernel
100 drivers from userspace.
101
102endif # if ANDROID
103
104endmenu