Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
| 3 | source "lib/Kconfig.debug" |
| 4 | |
| 5 | config FRAME_POINTER |
| 6 | bool |
| 7 | default y |
| 8 | |
Laura Abbott | d253b44 | 2014-04-05 01:30:50 +0100 | [diff] [blame] | 9 | config STRICT_DEVMEM |
| 10 | bool "Filter access to /dev/mem" |
| 11 | depends on MMU |
| 12 | help |
| 13 | If this option is disabled, you allow userspace (root) access to all |
| 14 | of memory, including kernel and userspace memory. Accidental |
| 15 | access to this is obviously disastrous, but specific access can |
| 16 | be used by people debugging the kernel. |
| 17 | |
| 18 | If this option is switched on, the /dev/mem file only allows |
| 19 | userspace access to memory mapped peripherals. |
| 20 | |
| 21 | If in doubt, say Y. |
| 22 | |
Catalin Marinas | 2475ff9 | 2012-10-23 14:55:08 +0100 | [diff] [blame] | 23 | config EARLY_PRINTK |
| 24 | bool "Early printk support" |
| 25 | default y |
| 26 | help |
| 27 | Say Y here if you want to have an early console using the |
| 28 | earlyprintk=<name>[,<addr>][,<options>] kernel parameter. It |
| 29 | is assumed that the early console device has been initialised |
| 30 | by the boot loader prior to starting the Linux kernel. |
| 31 | |
Will Deacon | ec45d1c | 2013-01-17 12:31:45 +0000 | [diff] [blame] | 32 | config PID_IN_CONTEXTIDR |
| 33 | bool "Write the current PID to the CONTEXTIDR register" |
| 34 | help |
| 35 | Enabling this option causes the kernel to write the current PID to |
| 36 | the CONTEXTIDR register, at the expense of some additional |
| 37 | instructions during context switch. Say Y here only if you are |
| 38 | planning to use hardware trace tools with this kernel. |
| 39 | |
Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 40 | endmenu |