From 3a81285409cf09091b1704d126a38a5126030d2b Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Fri, 3 Dec 2004 22:39:34 +0000 Subject: allocating resource for legacy VGA frame buffer, it is not 100% correct but it works anyway. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1811 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/boot/hardwaremain.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/boot') diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c index bdbd4a3791..08f972e612 100644 --- a/src/boot/hardwaremain.c +++ b/src/boot/hardwaremain.c @@ -37,6 +37,15 @@ it with the version available from LANL. #include #include +/** + * @brief Main function of the DRAM part of LinuxBIOS. + * + * LinuxBIOS is divided into Pre-DRAM part and DRAM part. + * + * + * Device Enumeration: + * In the dev_enumerate() phase, + */ void hardwaremain(int boot_complete) { struct lb_memory *lb_mem; @@ -48,8 +57,8 @@ void hardwaremain(int boot_complete) post_code(0x39); printk_notice("LinuxBIOS-%s%s %s %s...\n", - linuxbios_version, linuxbios_extra_version, linuxbios_build, - (boot_complete)?"rebooting":"booting"); + linuxbios_version, linuxbios_extra_version, linuxbios_build, + (boot_complete)?"rebooting":"booting"); post_code(0x40); -- cgit v1.2.3