Linux Audio

Check our new training course

Loading...
v5.9
 1# SPDX-License-Identifier: GPL-2.0
 2menu "Android"
 3
 4config ANDROID
 5	bool "Android Drivers"
 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	depends on MMU
14	default n
15	help
16	  Binder is used in Android for both communication between processes,
17	  and remote method invocation.
18
19	  This means one Android process can call a method/routine in another
20	  Android process, using Binder to identify, invoke and pass arguments
21	  between said processes.
22
23config ANDROID_BINDERFS
24	bool "Android Binderfs filesystem"
25	depends on ANDROID_BINDER_IPC
26	default n
27	help
28	  Binderfs is a pseudo-filesystem for the Android Binder IPC driver
29	  which can be mounted per-ipc namespace allowing to run multiple
30	  instances of Android.
31	  Each binderfs mount initially only contains a binder-control device.
32	  It can be used to dynamically allocate new binder IPC devices via
33	  ioctls.
34
35config ANDROID_BINDER_DEVICES
36	string "Android Binder devices"
37	depends on ANDROID_BINDER_IPC
38	default "binder,hwbinder,vndbinder"
39	help
40	  Default value for the binder.devices parameter.
41
42	  The binder.devices parameter is a comma-separated list of strings
43	  that specifies the names of the binder device nodes that will be
44	  created. Each binder device has its own context manager, and is
45	  therefore logically separated from the other devices.
46
47config ANDROID_BINDER_IPC_SELFTEST
48	bool "Android Binder IPC Driver Selftest"
49	depends on ANDROID_BINDER_IPC
50	help
51	  This feature allows binder selftest to run.
52
53	  Binder selftest checks the allocation and free of binder buffers
54	  exhaustively with combinations of various buffer sizes and
55	  alignments.
56
57endif # if ANDROID
58
59endmenu
v4.6
 
 1menu "Android"
 2
 3config ANDROID
 4	bool "Android Drivers"
 5	---help---
 6	  Enable support for various drivers needed on the Android platform
 7
 8if ANDROID
 9
10config ANDROID_BINDER_IPC
11	bool "Android Binder IPC Driver"
12	depends on MMU
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 ANDROID_BINDER_IPC_32BIT
23	bool
24	depends on !64BIT && ANDROID_BINDER_IPC
25	default y
26	---help---
27	  The Binder API has been changed to support both 32 and 64bit
28	  applications in a mixed environment.
29
30	  Enable this to support an old 32-bit Android user-space (v4.4 and
31	  earlier).
32
33	  Note that enabling this will break newer Android user-space.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
35endif # if ANDROID
36
37endmenu