22 0x0ef93ed7, 0x14ae, 0x425b, { 0x92, 0x8f, 0xb8, 0x5a, 0x62, 0x13, 0xb5, 0x7e }
45 RuntimeMmioRanges =
NULL;
46 PrmConfigProtocol =
NULL;
62 ASSERT (RuntimeMmioRanges !=
NULL);
63 if (RuntimeMmioRanges ==
NULL) {
64 Status = EFI_OUT_OF_RESOURCES;
70 ASSERT (PrmConfigProtocol !=
NULL);
71 if (PrmConfigProtocol ==
NULL) {
72 Status = EFI_OUT_OF_RESOURCES;
79 RuntimeMmioRanges->
Count = 1;
80 RuntimeMmioRanges->
Range[0].PhysicalBaseAddress = HPET_BASE_ADDRESS;
81 RuntimeMmioRanges->
Range[0].Length = HPET_RANGE_LENGTH;
89 Status =
gBS->InstallProtocolInterface (
90 &mPrmConfigProtocolHandle,
91 &gPrmConfigProtocolGuid,
93 (VOID *)PrmConfigProtocol
97 if (EFI_ERROR (Status)) {
98 if (RuntimeMmioRanges !=
NULL) {
102 if (PrmConfigProtocol !=
NULL) {
GUID *EFIAPI CopyGuid(OUT GUID *DestinationGuid, IN CONST GUID *SourceGuid)
EFI_STATUS EFIAPI HardwareAccessModuleConfigLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
VOID EFIAPI FreePool(IN VOID *Buffer)
VOID *EFIAPI AllocateRuntimeZeroPool(IN UINTN AllocationSize)
PRM_RUNTIME_MMIO_RANGES * RuntimeMmioRanges
PRM_RUNTIME_MMIO_RANGE Range[1]