TianoCore EDK2 master
Loading...
Searching...
No Matches
VariableStandaloneMm.c
Go to the documentation of this file.
1
13#include "Variable.h"
14
24BOOLEAN
27 IN UINT64 Length
28 )
29{
30 return TRUE;
31}
32
45BOOLEAN
48 IN UINT64 Length
49 )
50{
51 return MmIsBufferOutsideMmValid (Buffer, Length);
52}
53
57VOID
59 VOID
60 )
61{
62}
63
67VOID
69 VOID
70 )
71{
72 EFI_STATUS Status;
73 EFI_HANDLE Handle;
74
75 Handle = NULL;
76 Status = gMmst->MmInstallProtocolInterface (
77 &Handle,
78 &gSmmVariableWriteGuid,
80 NULL
81 );
82 ASSERT_EFI_ERROR (Status);
83}
84
95EFIAPI
97 IN EFI_HANDLE ImageHandle,
98 IN EFI_MM_SYSTEM_TABLE *MmSystemTable
99 )
100{
102}
103
110BOOLEAN
112 VOID
113 )
114{
115 return TRUE;
116}
#define NULL
Definition: Base.h:319
#define TRUE
Definition: Base.h:301
#define IN
Definition: Base.h:279
#define ASSERT_EFI_ERROR(StatusParameter)
Definition: DebugLib.h:462
EFI_STATUS EFIAPI MmVariableServiceInitialize(VOID)
Definition: VariableSmm.c:1151
BOOLEAN EFIAPI MmIsBufferOutsideMmValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
@ EFI_NATIVE_INTERFACE
Definition: UefiSpec.h:1193
BOOLEAN VariableSmmIsPrimaryBufferValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
VOID VariableNotifySmmReady(VOID)
BOOLEAN VariableIsMorVariableLegitimate(VOID)
EFI_STATUS EFIAPI VariableServiceInitialize(IN EFI_HANDLE ImageHandle, IN EFI_MM_SYSTEM_TABLE *MmSystemTable)
BOOLEAN VariableSmmIsNonPrimaryBufferValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
VOID VariableNotifySmmWriteReady(VOID)
EFI_INSTALL_PROTOCOL_INTERFACE MmInstallProtocolInterface
Definition: PiMmCis.h:327