mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Tested on Qemu and Geode LX. Benefits of this patch: - printk() now works directly after printk_buffer_init(), even before the serial port is set up. - If all you want is a log, you don't have to bother with serial output. - A payload can read and analyze the log. - You can build on this and buffer log until serial is available, then flush the messages buffered so far. The printk buffer is configurable with a default-on Kconfig variable. If you want to dump the buffer from the Qemu monitor after CAR has been disabled, use this command: memsave 0x90000 65536 memdump.bin Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Peter Stuge <peter@stuge.se> Acked-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Marc Jones <marc.jones@amd.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@590 f3766cd6-281f-0410-b1cd-43a5c92072e9 |
||
---|---|---|
.. | ||
arch/x86 | ||
device | ||
console.h | ||
elf.h | ||
elf_boot.h | ||
ip_checksum.h | ||
isa-dma.h | ||
keyboard.h | ||
lar.h | ||
lib.h | ||
mc146818rtc.h | ||
post_code.h | ||
shared.h | ||
spd.h | ||
spinlock.h | ||
string.h | ||
tables.h | ||
uart8250.h |