TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmProfile.h
Go to the documentation of this file.
1
9#ifndef _SMM_PROFILE_H_
10#define _SMM_PROFILE_H_
11
12#include "SmmProfileInternal.h"
13
14//
15// External functions
16//
17
24VOID
26 IN UINTN CpuIndex
27 );
28
35VOID
37 UINT32 Cr3
38 );
39
44VOID
46 VOID
47 );
48
56VOID
58 UINTN Rip,
59 UINTN ErrorCode
60 );
61
68VOID
70 VOID
71 );
72
77VOID
78EFIAPI
80 VOID
81 );
82
88VOID
90 IN UINTN CpuIndex
91 );
92
97VOID
99 VOID
100 );
101
106VOID
108 VOID
109 );
110
115UINTN
117 VOID
118 );
119
126VOID
128 UINTN ErrorCode
129 );
130
131//
132// The flag indicates if execute-disable is supported by processor.
133//
134extern BOOLEAN mXdSupported;
135//
136// The flag indicates if execute-disable is enabled on processor.
137//
138extern BOOLEAN mXdEnabled;
139//
140// The flag indicates if SMM profile is enabled.
141//
142extern BOOLEAN mSmmProfileEnabled;
143//
144// The flag indicates if #DB will be setup in #PF handler.
145//
146extern BOOLEAN mSetupDebugTrap;
147//
148// SMI command port.
149//
150extern UINT32 mSmiCommandPort;
151
152#endif // _SMM_PROFILE_H_
UINT64 UINTN
#define IN
Definition: Base.h:279
VOID SmmProfilePFHandler(UINTN Rip, UINTN ErrorCode)
Definition: SmmProfile.c:1249
VOID GuardPagePFHandler(UINTN ErrorCode)
Definition: SmmProfile.c:1208
VOID SmmProfileStart(VOID)
Definition: SmmProfile.c:682
VOID EFIAPI PageFaultIdtHandlerSmmProfile(VOID)
VOID InitProtectedMemRange(VOID)
Definition: SmmProfile.c:420
UINTN GetCpuIndex(VOID)
Definition: SmmProfile.c:166
VOID SmmProfileRecordSmiNum(VOID)
Definition: SmmProfile.c:991
VOID ActivateSmmProfile(IN UINTN CpuIndex)
Definition: SmmProfile.c:1007
VOID SmmProfileUpdateMemoryAttributes(VOID)
Definition: SmmProfile.c:597
VOID CheckFeatureSupported(IN UINTN CpuIndex)
Definition: SmmProfile.c:859
VOID InitSmmProfile(UINT32 Cr3)
Definition: SmmProfile.c:1036