X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ArmVirtPkg%2FLibrary%2FPlatformBootManagerLib%2FPlatformBm.c;h=5d5e51d8c870cec53f733cc3d71434443dd3397e;hb=34711bf19833c2822f257725c216f192b62696c7;hp=36e0eed2384a440c21f5ad61f4573906e07e8966;hpb=d0976b9accedfd1f45fe2f81c59351ed17f34aa0;p=mirror_edk2.git diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c index 36e0eed238..5d5e51d8c8 100644 --- a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -670,6 +670,14 @@ PlatformBootManagerAfterConsole ( // BootLogoEnableLogo (); + // + // Process QEMU's -kernel command line option. The kernel booted this way + // will receive ACPI tables: in PlatformBootManagerBeforeConsole(), we + // connected any and all PCI root bridges, and then signaled the ACPI + // platform driver. + // + TryRunningQemuKernel (); + // // Connect the purported boot devices. // @@ -681,14 +689,6 @@ PlatformBootManagerAfterConsole ( EfiBootManagerConnectAll (); } - // - // Process QEMU's -kernel command line option. Note that the kernel booted - // this way should receive ACPI tables, which is why we connect all devices - // first (see above) -- PCI enumeration blocks ACPI table installation, if - // there is a PCI host. - // - TryRunningQemuKernel (); - // // Enumerate all possible boot options, then filter and reorder them based on // the QEMU configuration.