base: Add #UD exception to x86_64 Cpu_state

This commit is contained in:
Adrian-Ken Rueegsegger
2015-04-21 23:04:01 +02:00
committed by Christian Helmuth
parent 370271324e
commit 96149db858

View File

@ -26,12 +26,13 @@ namespace Genode { struct Cpu_state; }
struct Genode::Cpu_state struct Genode::Cpu_state
{ {
enum Cpu_exception { enum Cpu_exception {
NO_MATH_COPROC = 0x07, UNDEFINED_INSTRUCTION = 0x06,
PAGE_FAULT = 0x0e, NO_MATH_COPROC = 0x07,
SUPERVISOR_CALL = 0x80, PAGE_FAULT = 0x0e,
INTERRUPTS_START = 0x20, SUPERVISOR_CALL = 0x80,
RESET = 0xfe, INTERRUPTS_START = 0x20,
INTERRUPTS_END = 0xff, RESET = 0xfe,
INTERRUPTS_END = 0xff,
}; };
addr_t ip = 0; addr_t ip = 0;