66 Status =
gBS->InstallProtocolInterface (
68 &gEfiSmmVariableProtocolGuid,
87 Status =
gBS->InstallProtocolInterface (
89 &gSmmVariableWriteGuid,
133 Status =
gBS->LocateProtocol (
134 &gEfiTcg2ProtocolGuid,
138 if (!EFI_ERROR (Status)) {
142 Status =
gBS->LocateProtocol (
143 &gEfiTcgProtocolGuid,
147 return !EFI_ERROR (Status);
#define ASSERT_EFI_ERROR(StatusParameter)
EFI_STATUS EFIAPI MmVariableServiceInitialize(VOID)
BOOLEAN EFIAPI SmmIsBufferOutsideSmmValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
UINT64 EFI_PHYSICAL_ADDRESS
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_SYSTEM_TABLE *SystemTable)
BOOLEAN VariableSmmIsNonPrimaryBufferValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
VOID VariableNotifySmmWriteReady(VOID)