x86 boot : export boot_params via debugfs for debugging
commit6d7d7433750c7c6eec93d7b3206019e329228686
authorHuang, Ying <ying.huang@intel.com>
Wed, 30 Jan 2008 12:32:51 +0000 (30 13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:51 +0000 (30 13:32 +0100)
tree994af4318b30f79ab820438c68c8ef7d932d9d01
parent4d022e35fd7e07c522c7863fee6f07e53cf3fc14
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>
arch/x86/Kconfig.debug
arch/x86/kernel/Makefile
arch/x86/kernel/kdebugfs.c [new file with mode: 0644]
arch/x86/kernel/setup64.c
arch/x86/kernel/setup_32.c