diff options
Diffstat (limited to 'src/arch/i386/lib/exception.c')
-rw-r--r-- | src/arch/i386/lib/exception.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/arch/i386/lib/exception.c b/src/arch/i386/lib/exception.c index ddf37a65eb..cc923a8f35 100644 --- a/src/arch/i386/lib/exception.c +++ b/src/arch/i386/lib/exception.c @@ -359,14 +359,7 @@ static void put_packet(char *buffer) } #endif /* CONFIG_GDB_STUB */ -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; -}; +#include <arch/registers.h> void x86_exception(struct eregs *info) { |