Implemented trap handler stubs in MASM
This commit is contained in:
@@ -226,4 +226,33 @@ typedef struct _CPUID_SIGNATURE
|
||||
ULONG Unused2:4;
|
||||
} CPU_SIGNATURE, *PCPU_SIGNATURE;
|
||||
|
||||
/* CPU Registers that are pushed to the stack in the interrupt handler */
|
||||
typedef struct _EXCEPTION_REGISTERS
|
||||
{
|
||||
ULONG64 R15;
|
||||
ULONG64 R14;
|
||||
ULONG64 R13;
|
||||
ULONG64 R12;
|
||||
ULONG64 R11;
|
||||
ULONG64 R10;
|
||||
ULONG64 R9;
|
||||
ULONG64 R8;
|
||||
ULONG64 Rbp;
|
||||
ULONG64 Rdi;
|
||||
ULONG64 Rsi;
|
||||
ULONG64 Rdx;
|
||||
ULONG64 Rcx;
|
||||
ULONG64 Rbx;
|
||||
ULONG64 Rax;
|
||||
|
||||
ULONG64 Vector;
|
||||
ULONG64 ErrorCode;
|
||||
|
||||
ULONG64 Rip;
|
||||
ULONG64 CsSeg;
|
||||
ULONG64 RFlags;
|
||||
ULONG64 Rsp;
|
||||
ULONG64 SsSeg;
|
||||
} PACK EXCEPTION_REGISTERS, *PEXCEPTION_REGISTERS;
|
||||
|
||||
#endif /* __XTDK_AMD64_ARTYPES_H */
|
||||
|
||||
Reference in New Issue
Block a user