mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-31 22:50:54 +00:00
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:
parent
c9c84dd751
commit
e443b859e6
@ -27,6 +27,7 @@ struct Genode::Cpu_state
|
|||||||
PAGE_FAULT = 0x0e,
|
PAGE_FAULT = 0x0e,
|
||||||
SUPERVISOR_CALL = 0x80,
|
SUPERVISOR_CALL = 0x80,
|
||||||
INTERRUPTS_START = 0x20,
|
INTERRUPTS_START = 0x20,
|
||||||
|
RESET = 0xfe,
|
||||||
INTERRUPTS_END = 0xff,
|
INTERRUPTS_END = 0xff,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -49,7 +50,7 @@ struct Genode::Cpu_state
|
|||||||
addr_t rbp = 0;
|
addr_t rbp = 0;
|
||||||
addr_t errcode = 0;
|
addr_t errcode = 0;
|
||||||
addr_t eflags = 0;
|
addr_t eflags = 0;
|
||||||
addr_t trapno = 0;
|
addr_t trapno = RESET;
|
||||||
addr_t ss = 0;
|
addr_t ss = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user