35 InternalSmmBase2 =
NULL;
41 Status = SystemTable->BootServices->LocateProtocol (
42 &gEfiSmmBase2ProtocolGuid,
44 (VOID **)&InternalSmmBase2
47 ASSERT (InternalSmmBase2 !=
NULL);
52 InternalSmmBase2->GetSmstLocation (InternalSmmBase2, &
gSmst);
#define ASSERT_EFI_ERROR(StatusParameter)
BOOLEAN EFIAPI InSmm(VOID)
EFI_SMM_SYSTEM_TABLE2 * gSmst
EFI_STATUS EFIAPI SmmServicesTableLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)