mirror of https://github.com/acidanthera/audk.git
OvmfPkg/PlatformBootManagerLib: display boot option loading/starting
Consume PlatformBmPrintScLib, added earlier in this series. When BdsDxe+UefiBootManagerLib report LoadImage() / StartImage() preparations and return statuses, print the reports to the UEFI console. This allows end-users better visibility into the boot process. Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Julien Grall <julien.grall@linaro.org> Cc: Ray Ni <ray.ni@intel.com> Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1515418 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
This commit is contained in:
parent
77874ceebb
commit
a748817409
|
@ -16,6 +16,7 @@
|
|||
#include <Guid/XenInfo.h>
|
||||
#include <Guid/RootBridgesConnectedEventGroup.h>
|
||||
#include <Protocol/FirmwareVolume2.h>
|
||||
#include <Library/PlatformBmPrintScLib.h>
|
||||
#include <Library/Tcg2PhysicalPresenceLib.h>
|
||||
|
||||
|
||||
|
@ -1542,6 +1543,8 @@ PlatformBootManagerAfterConsole (
|
|||
|
||||
RemoveStaleFvFileOptions ();
|
||||
SetBootOrderFromQemu ();
|
||||
|
||||
PlatformBmPrintScRegisterHandler ();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
QemuBootOrderLib
|
||||
ReportStatusCodeLib
|
||||
UefiLib
|
||||
PlatformBmPrintScLib
|
||||
Tcg2PhysicalPresenceLib
|
||||
|
||||
[Pcd]
|
||||
|
|
Loading…
Reference in New Issue