blob: d10ec334c93b4a3f8db194e1a929c711e5dbcf90 [file] [log] [blame]
Catalin Marinas8c2c3df2012-04-20 14:45:54 +01001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config FRAME_POINTER
6 bool
7 default y
8
Laura Abbottd253b442014-04-05 01:30:50 +01009config 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 Marinas2475ff92012-10-23 14:55:08 +010023config 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 Deaconec45d1c2013-01-17 12:31:45 +000032config 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 Marinas8c2c3df2012-04-20 14:45:54 +010040endmenu