20#define _DBGMSGID_ "[PRMSSDTINSTALL]"
45 DEBUG ((DEBUG_INFO,
"%a %a - Entry.\n", _DBGMSGID_, __func__));
48 return EFI_INVALID_PARAMETER;
51 Status =
gBS->LocateProtocol (&gEfiAcpiTableProtocolGuid,
NULL, (VOID **)&AcpiTableProtocol);
52 if (!EFI_ERROR (Status)) {
64 DEBUG ((DEBUG_INFO,
"%a %a: SSDT loaded...\n", _DBGMSGID_, __func__));
69 CopyMem (&Ssdt->OemId, OemId, sizeof (Ssdt->OemId));
75 Status = AcpiTableProtocol->InstallAcpiTable (
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
EFI_STATUS EFIAPI GetSectionFromFv(IN CONST EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, OUT VOID **Buffer, OUT UINTN *Size)
#define ASSERT_EFI_ERROR(StatusParameter)
#define DEBUG(Expression)
#define PcdGetPtr(TokenName)
EFI_STATUS EFIAPI PrmSsdtInstallEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS InstallPrmSsdt(IN CONST UINT8 *OemId)