TianoCore EDK2
master
Loading...
Searching...
No Matches
SmmCpuPlatformHookLib.h
Go to the documentation of this file.
1
9
#ifndef __SMM_CPU_PLATFORM_HOOK_LIB_H__
10
#define __SMM_CPU_PLATFORM_HOOK_LIB_H__
11
15
typedef
enum
{
16
SmmPageSize4K,
17
SmmPageSize2M,
18
SmmPageSize1G,
19
MaxSmmPageSizeType
20
}
SMM_PAGE_SIZE_TYPE
;
21
34
BOOLEAN
35
EFIAPI
36
PlatformValidSmi
(
37
VOID
38
);
39
49
BOOLEAN
50
EFIAPI
51
ClearTopLevelSmiStatus
(
52
VOID
53
);
54
74
EFI_STATUS
75
EFIAPI
76
PlatformSmmBspElection
(
77
OUT
BOOLEAN *IsBsp
78
);
79
94
EFI_STATUS
95
EFIAPI
96
GetPlatformPageTableAttribute
(
97
IN
UINT64 Address,
98
OUT
SMM_PAGE_SIZE_TYPE
*PageSize,
99
OUT
UINTN
*NumOfPages,
100
OUT
UINTN
*PageAttribute
101
);
102
112
EFI_STATUS
113
EFIAPI
114
SmmCpuPlatformHookBeforeMmiHandler
(
115
VOID
116
);
117
118
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
PlatformSmmBspElection
EFI_STATUS EFIAPI PlatformSmmBspElection(OUT BOOLEAN *IsBsp)
Definition:
SmmCpuPlatformHookLibQemu.c:77
PlatformValidSmi
BOOLEAN EFIAPI PlatformValidSmi(VOID)
Definition:
SmmCpuPlatformHookLibQemu.c:29
SMM_PAGE_SIZE_TYPE
SMM_PAGE_SIZE_TYPE
Definition:
SmmCpuPlatformHookLib.h:15
ClearTopLevelSmiStatus
BOOLEAN EFIAPI ClearTopLevelSmiStatus(VOID)
Definition:
SmmCpuPlatformHookLibQemu.c:48
GetPlatformPageTableAttribute
EFI_STATUS EFIAPI GetPlatformPageTableAttribute(IN UINT64 Address, OUT SMM_PAGE_SIZE_TYPE *PageSize, OUT UINTN *NumOfPages, OUT UINTN *PageAttribute)
SmmCpuPlatformHookBeforeMmiHandler
EFI_STATUS EFIAPI SmmCpuPlatformHookBeforeMmiHandler(VOID)
Definition:
SmmCpuPlatformHookLibQemu.c:128
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
UefiCpuPkg
Include
Library
SmmCpuPlatformHookLib.h
Generated on Fri Nov 15 2024 18:01:26 for TianoCore EDK2 by
1.9.6