mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 00:54:06 +02:00
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;
|
EFI_BOOT_MODE BootMode;
|
||||||
|
|
||||||
DEBUG ((EFI_D_INFO, "PlatformBootManagerAfterConsole\n"));
|
DEBUG ((EFI_D_INFO, "PlatformBootManagerAfterConsole\n"));
|
||||||
@ -1335,7 +1334,7 @@ Routine Description:
|
|||||||
//
|
//
|
||||||
// Get current Boot Mode
|
// Get current Boot Mode
|
||||||
//
|
//
|
||||||
Status = BdsLibGetBootMode (&BootMode);
|
BootMode = GetBootModeHob ();
|
||||||
DEBUG ((EFI_D_ERROR, "Boot Mode:%x\n", BootMode));
|
DEBUG ((EFI_D_ERROR, "Boot Mode:%x\n", BootMode));
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user