blob: 36d0106c32ebe18c3be257b6264bd4be2a573dde [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config EARLY_PRINTK
6 bool
7 depends on ALPHA_GENERIC || ALPHA_SRM
8 default y
9
10config DEBUG_RWLOCK
11 bool "Read-write spinlock debugging"
12 depends on DEBUG_KERNEL
13 help
14 If you say Y here then read-write lock processing will count how many
15 times it has tried to get the lock and issue an error message after
16 too many attempts. If you suspect a rwlock problem or a kernel
17 hacker asks for this option then say Y. Otherwise say N.
18
19config DEBUG_SEMAPHORE
20 bool "Semaphore debugging"
21 depends on DEBUG_KERNEL
22 help
23 If you say Y here then semaphore processing will issue lots of
24 verbose debugging messages. If you suspect a semaphore problem or a
25 kernel hacker asks for this option then say Y. Otherwise say N.
26
27config ALPHA_LEGACY_START_ADDRESS
28 bool "Legacy kernel start address"
29 depends on ALPHA_GENERIC
30 default n
31 ---help---
32 The 2.4 kernel changed the kernel start address from 0x310000
33 to 0x810000 to make room for the Wildfire's larger SRM console.
34 Recent consoles on Titan and Marvel machines also require the
35 extra room.
36
37 If you're using aboot 0.7 or later, the bootloader will examine the
38 ELF headers to determine where to transfer control. Unfortunately,
39 most older bootloaders -- APB or MILO -- hardcoded the kernel start
40 address rather than examining the ELF headers, and the result is a
41 hard lockup.
42
43 Say Y if you have a broken bootloader. Say N if you do not, or if
44 you wish to run on Wildfire, Titan, or Marvel.
45
46config ALPHA_LEGACY_START_ADDRESS
47 bool
48 depends on !ALPHA_GENERIC && !ALPHA_TITAN && !ALPHA_MARVEL && !ALPHA_WILDFIRE
49 default y
50
51config MATHEMU
52 tristate "Kernel FP software completion" if DEBUG_KERNEL && !SMP
53 default y if !DEBUG_KERNEL || SMP
54 help
55 This option is required for IEEE compliant floating point arithmetic
56 on the Alpha. The only time you would ever not say Y is to say M in
57 order to debug the code. Say Y unless you know what you are doing.
58
59endmenu