Add support for a 'bootlog' module to coreinfo.

It displays the coreboot printk buffer in RAM and let's you scroll through it.
This feature is only available for coreboot v3 though, as v2 doesn't have a
printk-buffer feature, yet.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3247 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2008-04-22 20:19:53 +00:00
parent 16acf8b393
commit 0ab8cddf02
4 changed files with 152 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ extern struct coreinfo_module cpuinfo_module;
extern struct coreinfo_module pci_module;
extern struct coreinfo_module coreboot_module;
extern struct coreinfo_module nvram_module;
extern struct coreinfo_module bootlog_module;
struct coreinfo_module *modules[] = {
#ifdef CONFIG_MODULE_CPUINFO
@@ -40,6 +41,9 @@ struct coreinfo_module *modules[] = {
#ifdef CONFIG_MODULE_NVRAM
&nvram_module,
#endif
#ifdef CONFIG_MODULE_BOOTLOG
&bootlog_module,
#endif
};
static WINDOW *modwin;