9#ifndef _SMM_PROFILE_ARCH_H_
10#define _SMM_PROFILE_ARCH_H_
17 UINT64 BTSAbsoluteMaximum;
18 UINT64 BTSInterruptThreshold;
19 UINT64 PEBSBufferBase;
21 UINT64 PEBSAbsoluteMaximum;
22 UINT64 PEBSInterruptThreshold;
23 UINT64 PEBSCounterReset[2];
28 UINT64 LastBranchFrom;
31 UINT64 BranchPredicted : 1;
58extern BOOLEAN m1GPageTableSupport;
60#define PHYSICAL_ADDRESS_MASK ((1ull << 52) - SIZE_4KB)
80 BOOLEAN *IsValidPFAddress
114 IN OUT UINT64 *Entry,
115 IN UINT64 SubEntryNum
152 IN OUT UINT64 *Entry,
VOID InitPagesForPFHandler(VOID)
VOID RestorePageTableAbove4G(UINT64 *PageTable, UINT64 PFAddress, UINTN CpuIndex, UINTN ErrorCode, BOOLEAN *IsValidPFAddress)
VOID InitSmmS3Cr3(OUT UINTN *Cr3)
UINT64 GetSubEntriesNum(IN UINT64 *Entry)
VOID SetAccNum(IN OUT UINT64 *Entry, IN UINT64 Acc)
VOID SetSubEntriesNum(IN OUT UINT64 *Entry, IN UINT64 SubEntryNum)