27 Status =
gBS->LocateProtocol (
28 &gEfiAcpiTableProtocolGuid,
39OnRootBridgesConnected (
48 "%a: root bridges have been connected, installing ACPI tables\n",
52 if (EFI_ERROR (Status)) {
53 DEBUG ((DEBUG_ERROR,
"%a: InstallAcpiTables: %r\n", __func__, Status));
56 gBS->CloseEvent (Event);
74 if (
PcdGetBool (PcdPciDisableBusEnumeration)) {
77 "%a: PCI or its enumeration disabled, installing "
90 Status =
gBS->CreateEventEx (
93 OnRootBridgesConnected,
95 &gRootBridgesConnectedEventGroupGuid,
98 if (!EFI_ERROR (Status)) {
101 "%a: waiting for root bridges to be connected, registered callback\n",
#define ASSERT_EFI_ERROR(StatusParameter)
#define DEBUG(Expression)
#define PcdGetBool(TokenName)