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_TIMED_OUTPUT
18 bool "Timed output class driver"
19 default y
20
21config ANDROID_TIMED_GPIO
22 tristate "Android timed gpio driver"
23 depends on GPIOLIB && ANDROID_TIMED_OUTPUT
24 default n
25 ---help---
26 Unlike generic gpio is to allow programs to access and manipulate gpio
27 registers from user space, timed output/gpio is a system to allow changing
28 a gpio pin and restore it automatically after a specified timeout.
29
30config ANDROID_LOW_MEMORY_KILLER
31 bool "Android Low Memory Killer"
32 ---help---
33 Registers processes to be killed when low memory conditions, this is useful
34 as there is no particular swap space on android.
35
36 The registered process will kills according to the priorities in android init
37 scripts (/init.rc), and it defines priority values with minimum free memory size
38 for each priority.
39
40config SYNC
41 bool "Synchronization framework"
42 default n
43 select ANON_INODES
44 select DMA_SHARED_BUFFER
45 ---help---
46 This option enables the framework for synchronization between multiple
47 drivers. Sync implementations can take advantage of hardware
48 synchronization built into devices like GPUs.
49
50config SW_SYNC
51 bool "Software synchronization objects"
52 default n
53 depends on SYNC
54 ---help---
55 A sync object driver that uses a 32bit counter to coordinate
56 syncrhronization. Useful when there is no hardware primitive backing
57 the synchronization.
58
59config SW_SYNC_USER
60 bool "Userspace API for SW_SYNC"
61 default n
62 depends on SW_SYNC
63 ---help---
64 Provides a user space API to the sw sync object.
65 *WARNING* improper use of this can result in deadlocking kernel
66 drivers from userspace.
67
68source "drivers/staging/android/ion/Kconfig"
69
70endif
71
72endmenu
73