hw_x86_64: Declare Thread_reg_id enum for x86_64

Only define IDs of registers which are actually accessed by threads.
This commit is contained in:
Reto Buerki 2015-02-27 13:58:52 +01:00 committed by Christian Helmuth
parent 472c3b6502
commit e5be376f57
1 changed files with 6 additions and 6 deletions

View File

@ -28,12 +28,12 @@ namespace Kernel
struct Thread_reg_id
{
enum {
SP = 13, /* XXX numbers are arbitrary, taken from ARM version */
IP = 15,
FAULT_TLB = 18,
FAULT_ADDR = 19,
FAULT_WRITES = 20,
FAULT_SIGNAL = 21,
IP = 0,
SP = 1,
FAULT_TLB = 2,
FAULT_ADDR = 3,
FAULT_WRITES = 4,
FAULT_SIGNAL = 5,
};
};