base: Move Cpu_exception enum to x86_64 cpu_state.h

This commit is contained in:
Reto Buerki 2015-03-09 10:28:45 +01:00 committed by Christian Helmuth
parent 4e259f7b1e
commit c9c84dd751
2 changed files with 7 additions and 7 deletions

View File

@ -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,

View File

@ -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;