14CHAR16 *mPciHostBridgeLibAcpiAddressSpaceTypeStr[] = {
15 L
"Mem", L
"I/O", L
"Bus"
75 UINTN RootBridgeIndex;
77 DEBUG ((DEBUG_ERROR,
"PciHostBridge: Resource conflict happens!\n"));
81 while (Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR) {
82 DEBUG ((DEBUG_ERROR,
"RootBridge[%d]:\n", RootBridgeIndex++));
83 for ( ; Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR; Descriptor++) {
86 (sizeof (mPciHostBridgeLibAcpiAddressSpaceTypeStr) /
87 sizeof (mPciHostBridgeLibAcpiAddressSpaceTypeStr[0])
92 " %s: Length/Alignment = 0x%lx / 0x%lx\n",
93 mPciHostBridgeLibAcpiAddressSpaceTypeStr[Descriptor->ResType],
95 Descriptor->AddrRangeMax
97 if (Descriptor->ResType == ACPI_ADDRESS_SPACE_TYPE_MEM) {
100 " Granularity/SpecificFlag = %ld / %02x%s\n",
101 Descriptor->AddrSpaceGranularity,
102 Descriptor->SpecificFlag,
103 ((Descriptor->SpecificFlag &
104 EFI_ACPI_MEMORY_RESOURCE_SPECIFIC_FLAG_CACHEABLE_PREFETCHABLE
105 ) != 0) ? L
" (Prefetchable)" : L
""
113 ASSERT (Descriptor->Desc == ACPI_END_TAG_DESCRIPTOR);
PACKED struct @89 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR
#define GLOBAL_REMOVE_IF_UNREFERENCED
#define DEBUG(Expression)
PCI_ROOT_BRIDGE *EFIAPI PciHostBridgeGetRootBridges(UINTN *Count)
VOID EFIAPI PciHostBridgeFreeRootBridges(PCI_ROOT_BRIDGE *Bridges, UINTN Count)
VOID EFIAPI PciHostBridgeResourceConflict(EFI_HANDLE HostBridgeHandle, VOID *Configuration)