first shot of legacybios emulation.
does not work yet.. sorry :-( git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1119 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
27
util/extensions/legacybios/arch/x86/builtin.c
Normal file
27
util/extensions/legacybios/arch/x86/builtin.c
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (C) 2003 Stefan Reinauer
|
||||
*
|
||||
* See the file "COPYING" for further information about
|
||||
* the copyright and warranty status of this work.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "types.h"
|
||||
|
||||
|
||||
/*
|
||||
* wrap an array around the hex'ed dictionary file
|
||||
*/
|
||||
|
||||
static char romimage[] = {
|
||||
#include "rom.h"
|
||||
};
|
||||
|
||||
void legacybios(ucell romstart, ucell romend);
|
||||
|
||||
void cmain(void)
|
||||
{
|
||||
legacybios((ucell) romimage,
|
||||
(ucell) romimage + sizeof(romimage));
|
||||
return;
|
||||
}
|
Reference in New Issue
Block a user