We don't (yet) have an entry point field for LARs. I am not sure we ever

should -- KISS should apply. So, the first function called via LAR is the first
function in the file. 

For now, reorder this so main is first. 

We now are getting into stage 2. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@82 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Ronald G. Minnich 2007-02-23 07:23:24 +00:00
commit 6a6535b204

View file

@ -23,13 +23,9 @@
int printk(int msg_level, const char *fmt, ...);
void die(const char *msg);
static void post_code(u8 value);
static void post_code(u8 value)
{
outb(value, 0x80);
}
int main(void)
{
printk(BIOS_INFO, "RAM init code started\n");
@ -38,3 +34,9 @@ int main(void)
return 0;
}
static void post_code(u8 value)
{
outb(value, 0x80);
}