aboutsummaryrefslogtreecommitdiff
path: root/util/x86emu/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/x86emu/x86.c')
-rw-r--r--util/x86emu/x86.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/util/x86emu/x86.c b/util/x86emu/x86.c
index 463c6dfd29..5c0422e826 100644
--- a/util/x86emu/x86.c
+++ b/util/x86emu/x86.c
@@ -22,6 +22,7 @@
#ifdef CONFIG_COREBOOT_V2
#include <arch/io.h>
+#include <arch/registers.h>
#include <console/console.h>
#define printk(x...) do_printk(x)
#else
@@ -34,15 +35,6 @@ struct realmode_idt {
u16 offset, cs;
};
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
-
void x86_exception(struct eregs *info);
extern unsigned char __idt_handler, __idt_handler_size;