mirror of https://github.com/acidanthera/audk.git
OvmfPkg/PlatformBootManagerLib: Use GetBootModeHob() in HobLib
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
5bcad6cc78
commit
30edcbf5d1
|
@ -1316,7 +1316,6 @@ Routine Description:
|
|||
|
||||
--*/
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
EFI_BOOT_MODE BootMode;
|
||||
|
||||
DEBUG ((EFI_D_INFO, "PlatformBootManagerAfterConsole\n"));
|
||||
|
@ -1335,7 +1334,7 @@ Routine Description:
|
|||
//
|
||||
// Get current Boot Mode
|
||||
//
|
||||
Status = BdsLibGetBootMode (&BootMode);
|
||||
BootMode = GetBootModeHob ();
|
||||
DEBUG ((EFI_D_ERROR, "Boot Mode:%x\n", BootMode));
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue