mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
base: Move Cpu_exception enum to x86_64 cpu_state.h
This commit is contained in:
parent
4e259f7b1e
commit
c9c84dd751
@ -15,13 +15,6 @@
|
||||
/* core includes */
|
||||
#include <kernel/thread.h>
|
||||
|
||||
enum Cpu_exception {
|
||||
PAGE_FAULT = 0x0e,
|
||||
SUPERVISOR_CALL = 0x80,
|
||||
INTERRUPTS_START = 0x20,
|
||||
INTERRUPTS_END = 0xff,
|
||||
};
|
||||
|
||||
using namespace Kernel;
|
||||
|
||||
Thread::Thread(unsigned const priority, unsigned const quota,
|
||||
|
@ -23,6 +23,13 @@ namespace Genode { struct Cpu_state; }
|
||||
|
||||
struct Genode::Cpu_state
|
||||
{
|
||||
enum Cpu_exception {
|
||||
PAGE_FAULT = 0x0e,
|
||||
SUPERVISOR_CALL = 0x80,
|
||||
INTERRUPTS_START = 0x20,
|
||||
INTERRUPTS_END = 0xff,
|
||||
};
|
||||
|
||||
addr_t ip = 0;
|
||||
addr_t sp = 0;
|
||||
addr_t r8 = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user