summaryrefslogtreecommitdiff
path: root/util/x86emu/include
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-11-03 14:59:43 +0000
committerStefan Reinauer <stepan@openbios.org>2009-11-03 14:59:43 +0000
commit7110d40fbf27b1fafe70e3cd560f53ca7be094a5 (patch)
tree685956a463cfa1033a4dfca7b326c4e5b371f55c /util/x86emu/include
parent8429de75a6cd6c6fbc13e0b85cbe9fba49dad211 (diff)
x86emu: Add support for the following opcodes:
* SMSW * INVD/WBINVD * RDMSR/WRMSR * CPUID The implementation is kept very simple (mostly dummies) but it should get us successfully through the Poulsbo VGA OPROM code in order to determine further requirements. Also, fix up a lot of warnings (mostly about missing prototypes for functions that should be static anyways) This version adds a break in smsw that was missing in the patch that was sent to the list. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4906 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/x86emu/include')
-rw-r--r--util/x86emu/include/x86emu/x86emu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/x86emu/include/x86emu/x86emu.h b/util/x86emu/include/x86emu/x86emu.h
index 823f49772b..04381627c7 100644
--- a/util/x86emu/include/x86emu/x86emu.h
+++ b/util/x86emu/include/x86emu/x86emu.h
@@ -44,6 +44,7 @@
/* FIXME: redefine printk for the moment */
#ifdef CONFIG_COREBOOT_V2
+#include <stddef.h>
#include <console/console.h>
#undef printk
#define printk(x...) do_printk(BIOS_DEBUG, x)
@@ -160,7 +161,7 @@ void X86EMU_setupPioFuncs(X86EMU_pioFuncs *funcs);
void X86EMU_setupIntrFuncs(X86EMU_intrFuncs funcs[]);
void X86EMU_prepareForInt(int num);
-//void X86EMU_setMemBase(void *base, size_t size);
+void X86EMU_setMemBase(void *base, size_t size);
/* decode.c */