aboutsummaryrefslogtreecommitdiff
path: root/src/devices/emulator/biosemu.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-08-01 11:25:41 +0000
committerStefan Reinauer <stepan@openbios.org>2008-08-01 11:25:41 +0000
commitd98cf5bed93e48f4cb3bdc5219a03207cd01c3ce (patch)
tree072e22c0b4436607b18af31205c4fc50b3b8911e /src/devices/emulator/biosemu.c
parent8533606db71ef9c4f77983eaea1b2f27c9bb7baf (diff)
fix typos and warnings in the device tree code (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3441 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/emulator/biosemu.c')
-rw-r--r--src/devices/emulator/biosemu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/emulator/biosemu.c b/src/devices/emulator/biosemu.c
index e38541edd3..c0584354d2 100644
--- a/src/devices/emulator/biosemu.c
+++ b/src/devices/emulator/biosemu.c
@@ -7,6 +7,8 @@
#include <x86emu/x86emu.h>
+#include "pcbios/pcibios.h"
+
#define MEM_WB(where, what) wrb(where, what)
#define MEM_WW(where, what) wrw(where, what)
#define MEM_WL(where, what) wrl(where, what)
@@ -22,6 +24,10 @@ void x_outw(u16 port, u16 val);
u32 x_inl(u16 port);
void x_outl(u16 port, u32 val);
+
+// sys.c
+void X86EMU_setMemBase(void *base, size_t size);
+
/* general software interrupt handler */
u32 getIntVect(int num)
{