• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0
2menu "Android"
3
4if ANDROID
5
6config ASHMEM
7	bool "Enable the Anonymous Shared Memory Subsystem"
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_VSOC
18	tristate "Android Virtual SoC support"
19	depends on PCI_MSI
20	help
21	  This option adds support for the Virtual SoC driver needed to boot
22	  a 'cuttlefish' Android image inside QEmu. The driver interacts with
23	  a QEmu ivshmem device. If built as a module, it will be called vsoc.
24
25source "drivers/staging/android/ion/Kconfig"
26
27endif # if ANDROID
28
29endmenu
30