| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | menu "Android" |
|---|
| 2 | 3 | |
|---|
| 3 | 4 | if ANDROID |
|---|
| 4 | 5 | |
|---|
| 5 | 6 | config ASHMEM |
|---|
| 6 | 7 | bool "Enable the Anonymous Shared Memory Subsystem" |
|---|
| 7 | | - default n |
|---|
| 8 | 8 | depends on SHMEM |
|---|
| 9 | 9 | help |
|---|
| 10 | 10 | The ashmem subsystem is a new shared memory allocator, similar to |
|---|
| .. | .. |
|---|
| 14 | 14 | It is, in theory, a good memory allocator for low-memory devices, |
|---|
| 15 | 15 | because it can discard shared memory units when under memory pressure. |
|---|
| 16 | 16 | |
|---|
| 17 | | -config ANDROID_VSOC |
|---|
| 18 | | - tristate "Android Virtual SoC support" |
|---|
| 19 | | - default n |
|---|
| 20 | | - depends on PCI_MSI |
|---|
| 17 | +config DEBUG_KINFO |
|---|
| 18 | + bool "Debug Kernel Information Support" |
|---|
| 19 | + depends on KALLSYMS |
|---|
| 21 | 20 | help |
|---|
| 22 | | - This option adds support for the Virtual SoC driver needed to boot |
|---|
| 23 | | - a 'cuttlefish' Android image inside QEmu. The driver interacts with |
|---|
| 24 | | - a QEmu ivshmem device. If built as a module, it will be called vsoc. |
|---|
| 21 | + This supports kernel information backup for bootloader usage. |
|---|
| 22 | + Specifics: |
|---|
| 23 | + - The kallsyms symbols for unwind_backtrace |
|---|
| 24 | + - Page directory pointer |
|---|
| 25 | + - UTS_RELEASE |
|---|
| 26 | + - BUILD_INFO(ro.build.fingerprint) |
|---|
| 25 | 27 | |
|---|
| 26 | 28 | source "drivers/staging/android/ion/Kconfig" |
|---|
| 27 | | - |
|---|
| 28 | | -source "drivers/staging/android/fiq_debugger/Kconfig" |
|---|
| 29 | 29 | |
|---|
| 30 | 30 | endif # if ANDROID |
|---|
| 31 | 31 | |
|---|