[SDK:ASM] OK these definition entries are #if 0'ed out, but close the parentheses anyway to not mess up with editors' code-folding functionality.

This commit is contained in:
Hermès Bélusca-Maïto 2021-09-16 23:28:47 +02:00
parent 5210ad48c7
commit f350843948
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 47 additions and 51 deletions

View file

@ -758,49 +758,49 @@ OFFSET(TrPreviousIrql, KTRAP_FRAME, PreviousIrql),
OFFSET(TrFaultIndicator, KTRAP_FRAME, TrP1Home),
OFFSET(TrExceptionActive, KTRAP_FRAME, TrP1Home),
OFFSET(TrMxCsr, KTRAP_FRAME, TrP1Home),
OFFSET(TrRax equ 0FFFFFFB0H
OFFSET(TrRcx equ 0FFFFFFB8H
OFFSET(TrRdx equ 0FFFFFFC0H
OFFSET(TrR8 equ 0FFFFFFC8H
OFFSET(TrR9 equ 0FFFFFFD0H
OFFSET(TrR10 equ 0FFFFFFD8H
OFFSET(TrR11 equ 0FFFFFFE0H
OFFSET(TrGsBase equ 0FFFFFFE8H
OFFSET(TrGsSwap equ 0FFFFFFE8H
OFFSET(TrXmm0 equ 0FFFFFFF0H
OFFSET(TrXmm1 equ 00000H
OFFSET(TrXmm2 equ 00010H
OFFSET(TrXmm3 equ 00020H
OFFSET(TrXmm4 equ 00030H
OFFSET(TrXmm5 equ 00040H
OFFSET(TrFaultAddress equ 00050H
OFFSET(TrDr0 equ 00058H
OFFSET(TrDr1 equ 00060H
OFFSET(TrDr2 equ 00068H
OFFSET(TrDr3 equ 00070H
OFFSET(TrDr6 equ 00078H
OFFSET(TrDr7 equ 00080H
OFFSET(TrDebugControl equ 00088H
OFFSET(TrLastBranchToRip equ 00090H
OFFSET(TrLastBranchFromRip equ 00098H
OFFSET(TrLastExceptionToRip equ 000A0H
OFFSET(TrLastExceptionFromRip equ 000A8H
OFFSET(TrSegDs equ 000B0H
OFFSET(TrSegEs equ 000B2H
OFFSET(TrSegFs equ 000B4H
OFFSET(TrSegGs equ 000B6H
OFFSET(TrTrapFrame equ 000B8H
OFFSET(TrRbx equ 000C0H
OFFSET(TrRdi equ 000C8H
OFFSET(TrRsi equ 000D0H
OFFSET(TrRbp equ 000D8H
OFFSET(TrErrorCode equ 000E0H
OFFSET(TrRip equ 000E8H
OFFSET(TrSegCs equ 000F0H
OFFSET(TrLogging equ 000F3H
OFFSET(TrEFlags equ 000F8H
OFFSET(TrRsp equ 00100H
OFFSET(TrSegSs equ 00108H
OFFSET(TrRax equ 0FFFFFFB0H),
OFFSET(TrRcx equ 0FFFFFFB8H),
OFFSET(TrRdx equ 0FFFFFFC0H),
OFFSET(TrR8 equ 0FFFFFFC8H),
OFFSET(TrR9 equ 0FFFFFFD0H),
OFFSET(TrR10 equ 0FFFFFFD8H),
OFFSET(TrR11 equ 0FFFFFFE0H),
OFFSET(TrGsBase equ 0FFFFFFE8H),
OFFSET(TrGsSwap equ 0FFFFFFE8H),
OFFSET(TrXmm0 equ 0FFFFFFF0H),
OFFSET(TrXmm1 equ 00000H),
OFFSET(TrXmm2 equ 00010H),
OFFSET(TrXmm3 equ 00020H),
OFFSET(TrXmm4 equ 00030H),
OFFSET(TrXmm5 equ 00040H),
OFFSET(TrFaultAddress equ 00050H),
OFFSET(TrDr0 equ 00058H),
OFFSET(TrDr1 equ 00060H),
OFFSET(TrDr2 equ 00068H),
OFFSET(TrDr3 equ 00070H),
OFFSET(TrDr6 equ 00078H),
OFFSET(TrDr7 equ 00080H),
OFFSET(TrDebugControl equ 00088H),
OFFSET(TrLastBranchToRip equ 00090H),
OFFSET(TrLastBranchFromRip equ 00098H),
OFFSET(TrLastExceptionToRip equ 000A0H),
OFFSET(TrLastExceptionFromRip equ 000A8H),
OFFSET(TrSegDs equ 000B0H),
OFFSET(TrSegEs equ 000B2H),
OFFSET(TrSegFs equ 000B4H),
OFFSET(TrSegGs equ 000B6H),
OFFSET(TrTrapFrame equ 000B8H),
OFFSET(TrRbx equ 000C0H),
OFFSET(TrRdi equ 000C8H),
OFFSET(TrRsi equ 000D0H),
OFFSET(TrRbp equ 000D8H),
OFFSET(TrErrorCode equ 000E0H),
OFFSET(TrRip equ 000E8H),
OFFSET(TrSegCs equ 000F0H),
OFFSET(TrLogging equ 000F3H),
OFFSET(TrEFlags equ 000F8H),
OFFSET(TrRsp equ 00100H),
OFFSET(TrSegSs equ 00108H),
#endif
SIZE(KTRAP_FRAME_LENGTH, KTRAP_FRAME),

View file

@ -559,7 +559,3 @@ CONSTANT(PF_ARM_EXTERNAL_CACHE_AVAILABLE),
#define KEXCEPTION_ACTIVE_EXCEPTION_FRAME 0x1
#define KEXCEPTION_ACTIVE_SERVICE_FRAME 0x2

View file

@ -926,10 +926,10 @@ OFFSET(IbWow64CfgBitMap, PS_SYSTEM_DLL_INIT_BLOCK, Wow64CfgBitMap),
OFFSET(IbMitigationOptionsMap, PS_SYSTEM_DLL_INIT_BLOCK, MitigationOptionsMap),
HEADER("Extended context"),
OFFSET(CxxLegacyOffset 0x8
OFFSET(CxxLegacyLength 0xc
OFFSET(CxxXStateOffset 0x10
OFFSET(CxxXStateLength 0x14
OFFSET(CxxLegacyOffset 0x8),
OFFSET(CxxLegacyLength 0xc),
OFFSET(CxxXStateOffset 0x10),
OFFSET(CxxXStateLength 0x14),
HEADER("Enclave call dispatch frame"),
OFFSET(EcEnclaveNumber, ???, EnclaveNumber),