25 UINTN PhysicalAddress;
112 Status =
gBS->CreateEvent (
113 EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,
185 RETURN_STATUS Status;
197 Address &= ~(
UINTN)EFI_PAGE_MASK;
208 if (
sizeof (
UINTN) ==
sizeof (UINT32)) {
209 ASSERT (EcamAddress < BASE_4GB);
212 Address = (
UINTN)EcamAddress;
226 Status =
gDS->GetMemorySpaceDescriptor (Address, &Descriptor);
227 if (EFI_ERROR (Status)) {
235 Status =
gDS->SetMemorySpaceAttributes (Address, EFI_PAGE_SIZE, Descriptor.
Attributes | EFI_MEMORY_RUNTIME);
236 if (EFI_ERROR (Status)) {
248 if (NewTable ==
NULL) {
VOID EFIAPI CpuBreakpoint(VOID)
UINTN mDxeRuntimePciSegmentLibLastRuntimeRange
UINTN PciSegmentLibVirtualAddress(IN UINTN Address)
EFI_STATUS EFIAPI DxeRuntimePciSegmentLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
RETURN_STATUS EFIAPI PciSegmentRegisterForRuntimeAccess(IN UINTN Address)
PCI_SEGMENT_RUNTIME_REGISTRATION_TABLE * mDxeRuntimePciSegmentLibRegistrationTable
EFI_STATUS EFIAPI DxeRuntimePciSegmentLibDestructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_EVENT mDxeRuntimePciSegmentLibVirtualNotifyEvent
VOID EFIAPI DxeRuntimePciSegmentLibVirtualNotify(IN EFI_EVENT Event, IN VOID *Context)
UINTN mDxeRuntimePciSegmentLibNumberOfRuntimeRanges
VOID EFIAPI FreePool(IN VOID *Buffer)
VOID *EFIAPI ReallocateRuntimePool(IN UINTN OldSize, IN UINTN NewSize, IN VOID *OldBuffer OPTIONAL)
#define RETURN_UNSUPPORTED
#define RETURN_OUT_OF_RESOURCES
#define ASSERT_EFI_ERROR(StatusParameter)
PCI_SEGMENT_INFO *EFIAPI GetPciSegmentInfo(UINTN *Count)
UINTN PciSegmentLibGetEcamAddress(IN UINT64 Address, IN CONST PCI_SEGMENT_INFO *SegmentInfo, IN UINTN Count)
BOOLEAN EFIAPI EfiAtRuntime(VOID)
EFI_STATUS EFIAPI EfiConvertPointer(IN UINTN DebugDisposition, IN OUT VOID **Address)
BOOLEAN EFIAPI EfiGoneVirtual(VOID)