diff options
author | Kees Cook <keescook@chromium.org> | 2015-07-06 16:06:20 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-07-07 08:59:05 +0200 |
commit | 79063a7c0239419d5f6bee63228f66256fdc0fc4 (patch) | |
tree | cb8f681d132472838112c9cf431f07bdb76bb0b3 /firmware/ihex2fw.c | |
parent | c7e9ad7da219cf3f8a7cc45eb1c02fdd91199e8d (diff) | |
download | linux-79063a7c0239419d5f6bee63228f66256fdc0fc4.tar.gz linux-79063a7c0239419d5f6bee63228f66256fdc0fc4.tar.bz2 linux-79063a7c0239419d5f6bee63228f66256fdc0fc4.zip |
x86/boot: Add hex output for debugging
This is useful for reporting various addresses or other values
while debugging early boot, for example, the recent kernel image
size vs kernel run size. For example, when
CONFIG_X86_VERBOSE_BOOTUP is set, this is now visible at boot
time:
early console in setup code
early console in decompress_kernel
input_data: 0x0000000001e1526e
input_len: 0x0000000000732236
output: 0x0000000001000000
output_len: 0x0000000001535640
run_size: 0x00000000021fb000
KASLR using RDTSC...
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andrey Ryabinin <a.ryabinin@samsung.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@suse.de>
Cc: Jan Beulich <JBeulich@suse.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Joe Perches <joe@perches.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Junjie Mao <eternal.n08@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/20150706230620.GA17501@www.outflux.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'firmware/ihex2fw.c')
0 files changed, 0 insertions, 0 deletions