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
This commit is contained in:
Li-Ta Lo
2004-12-03 22:39:34 +00:00
parent 845e8df673
commit 3a81285409
6 changed files with 131 additions and 101 deletions

View File

@ -37,6 +37,15 @@ it with the version available from LANL.
#include <part/init_timer.h>
#include <boot/elf.h>
/**
* @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);