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
15#include <Protocol/MmCpu.h>
16#include <Guid/MpInformation.h>
17
18typedef
20(*PI_MM_CPU_DRIVER_ENTRYPOINT) (
21 IN UINTN EventId,
22 IN UINTN CpuNumber,
23 IN UINTN NsCommBufferAddr
24 );
25
26typedef struct {
27 PI_MM_CPU_DRIVER_ENTRYPOINT *MmCpuDriverEpPtr;
29
30//
31// CPU driver initialization specific declarations
32//
33extern EFI_MM_SYSTEM_TABLE *mMmst;
34
35//
36// CPU State Save protocol specific declarations
37//
38extern EFI_MM_CPU_PROTOCOL mMmCpuState;
39
40//
41// MM event handling specific declarations
42//
43extern EFI_MM_COMMUNICATE_HEADER **PerCpuGuidedEventContext;
44extern EFI_MMRAM_DESCRIPTOR mNsCommBuffer;
45extern EFI_MMRAM_DESCRIPTOR mSCommBuffer;
46extern MP_INFORMATION_HOB_DATA *mMpInformationHobData;
47extern EFI_MM_CONFIGURATION_PROTOCOL mMmConfig;
48
64 IN UINTN EventId,
65 IN UINTN CpuNumber,
66 IN UINTN NsCommBufferAddr
67 );
68
86EFIAPI
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_ */
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
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
EFI_STATUS PiMmStandaloneMmCpuDriverEntry(IN UINTN EventId, IN UINTN CpuNumber, IN UINTN NsCommBufferAddr)
Definition: EventHandle.c:120
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33