TianoCore EDK2
master
Loading...
Searching...
No Matches
StandaloneMmCpu.h
Go to the documentation of this file.
1
10
#ifndef MM_CPU_DRIVER_H_
11
#define MM_CPU_DRIVER_H_
12
13
#include <
Protocol/MmCommunication2.h
>
14
#include <
Protocol/MmConfiguration.h
>
15
#include <
Protocol/MmCpu.h
>
16
#include <
Guid/MpInformation.h
>
17
18
typedef
19
EFI_STATUS
20
(*PI_MM_CPU_DRIVER_ENTRYPOINT) (
21
IN
UINTN
EventId,
22
IN
UINTN
CpuNumber,
23
IN
UINTN
NsCommBufferAddr
24
);
25
26
typedef
struct
{
27
PI_MM_CPU_DRIVER_ENTRYPOINT *MmCpuDriverEpPtr;
28
}
MM_CPU_DRIVER_EP_DESCRIPTOR
;
29
30
//
31
// CPU driver initialization specific declarations
32
//
33
extern
EFI_MM_SYSTEM_TABLE
*mMmst;
34
35
//
36
// CPU State Save protocol specific declarations
37
//
38
extern
EFI_MM_CPU_PROTOCOL
mMmCpuState;
39
40
//
41
// MM event handling specific declarations
42
//
43
extern
EFI_MM_COMMUNICATE_HEADER
**PerCpuGuidedEventContext;
44
extern
EFI_MMRAM_DESCRIPTOR
mNsCommBuffer;
45
extern
EFI_MMRAM_DESCRIPTOR
mSCommBuffer;
46
extern
MP_INFORMATION_HOB_DATA
*mMpInformationHobData;
47
extern
EFI_MM_CONFIGURATION_PROTOCOL
mMmConfig;
48
62
EFI_STATUS
63
PiMmStandaloneMmCpuDriverEntry
(
64
IN
UINTN
EventId,
65
IN
UINTN
CpuNumber,
66
IN
UINTN
NsCommBufferAddr
67
);
68
85
EFI_STATUS
86
EFIAPI
87
PiMmCpuTpFwRootMmiHandler
(
88
IN
EFI_HANDLE
DispatchHandle,
89
IN
CONST
VOID *Context OPTIONAL,
90
IN
OUT
VOID *CommBuffer OPTIONAL,
91
IN
OUT
UINTN
*CommBufferSize OPTIONAL
92
);
93
94
#endif
/* MM_CPU_DRIVER_H_ */
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
MmCommunication2.h
MmCpu.h
MpInformation.h
MmConfiguration.h
PiMmCpuTpFwRootMmiHandler
EFI_STATUS EFIAPI PiMmCpuTpFwRootMmiHandler(IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context OPTIONAL, IN OUT VOID *CommBuffer OPTIONAL, IN OUT UINTN *CommBufferSize OPTIONAL)
Definition:
EventHandle.c:241
PiMmStandaloneMmCpuDriverEntry
EFI_STATUS PiMmStandaloneMmCpuDriverEntry(IN UINTN EventId, IN UINTN CpuNumber, IN UINTN NsCommBufferAddr)
Definition:
EventHandle.c:120
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
_EFI_MM_CONFIGURATION_PROTOCOL
Definition:
MmConfiguration.h:53
_EFI_MM_CPU_PROTOCOL
Definition:
MmCpu.h:232
_EFI_MM_SYSTEM_TABLE
Definition:
PiMmCis.h:249
EFI_MM_COMMUNICATE_HEADER
Definition:
MmCommunication.h:21
EFI_MMRAM_DESCRIPTOR
Definition:
PiMultiPhase.h:116
MM_CPU_DRIVER_EP_DESCRIPTOR
Definition:
StandaloneMmCpu.h:26
MP_INFORMATION_HOB_DATA
Definition:
MpInformation.h:26
StandaloneMmPkg
Include
StandaloneMmCpu.h
Generated on Fri Nov 15 2024 18:01:25 for TianoCore EDK2 by
1.9.6