diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-01-30 07:32:51 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:51 -0500 |
commit | 6d7d7433750c7c6eec93d7b3206019e329228686 (patch) | |
tree | 994af4318b30f79ab820438c68c8ef7d932d9d01 /arch/x86/Kconfig.debug | |
parent | 4d022e35fd7e07c522c7863fee6f07e53cf3fc14 (diff) |
x86 boot : export boot_params via debugfs for debugging
This patch export the boot parameters via debugfs for debugging.
The files added are as follow:
boot_params/data : binary file for struct boot_params
boot_params/version : boot protocol version
This patch is based on 2.6.24-rc5-mm1 and has been tested on i386 and
x86_64 platform.
This patch is based on the Peter Anvin's proposal.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 660200915baa..15854b53badc 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -185,4 +185,11 @@ config DEFAULT_IO_DELAY_TYPE | |||
185 | default IO_DELAY_TYPE_NONE | 185 | default IO_DELAY_TYPE_NONE |
186 | endif | 186 | endif |
187 | 187 | ||
188 | config DEBUG_BOOT_PARAMS | ||
189 | bool "Debug boot parameters" | ||
190 | depends on DEBUG_KERNEL | ||
191 | depends on DEBUG_FS | ||
192 | help | ||
193 | This option will cause struct boot_params to be exported via debugfs. | ||
194 | |||
188 | endmenu | 195 | endmenu |