base: Add x86 RESET pseudo-exception

Define RESET as exception 0xfe. The reset state is only used initially
in the CPU idle exception function.
This commit is contained in:
Reto Buerki 2015-03-09 10:32:49 +01:00 committed by Christian Helmuth
parent c9c84dd751
commit e443b859e6

View File

@ -27,6 +27,7 @@ struct Genode::Cpu_state
PAGE_FAULT = 0x0e,
SUPERVISOR_CALL = 0x80,
INTERRUPTS_START = 0x20,
RESET = 0xfe,
INTERRUPTS_END = 0xff,
};
@ -49,7 +50,7 @@ struct Genode::Cpu_state
addr_t rbp = 0;
addr_t errcode = 0;
addr_t eflags = 0;
addr_t trapno = 0;
addr_t trapno = RESET;
addr_t ss = 0;
};