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