Uint FS, GS;
Uint RAX, RCX, RDX, RBX;
- Uint KernelRSP, RBP, RSI, RDI;
+ Uint KernelRSP, RBP, RSI, RDI;
Uint R8, R9, R10, R11;
Uint R12, R13, R14, R15;
- Uint IntNum, ErrorCode;
- Uint RIP, CS;
+ Uint IntNum, ErrorCode;
+ Uint RIP, CS;
Uint RFlags, RSP, SS;
} tRegs;
typedef struct sTaskState
{
Uint RIP, RSP, RBP;
+ Uint64 UserRIP, UserCS;
} tTaskState;
// === CONSTANTS ===