18#define IA32_PG_RW BIT1
19#define IA32_PG_PS BIT7
38 Pte = (UINT32 *)(
UINTN)PageTableBase;
41 for (Index = 0; Index < SIZE_4KB /
sizeof (*Pte); Index++) {
42 *Pte = Address | IA32_PG_PS | IA32_PG_RW |
IA32_PG_P;
70 DEBUG ((DEBUG_ERROR,
"SmmStmExceptionHandler ...\n"));
74 Context.Ia32StackFrame->Rip += Context.Ia32StackFrame->VmcsExitInstructionLength;
VOID StmGen4GPageTable(IN UINTN PageTableBase)
UINT32 EFIAPI SmmStmExceptionHandler(IN OUT STM_PROTECTION_EXCEPTION_STACK_FRAME Context)
#define DEBUG(Expression)