OvmfPkg/RiscVVirt: Avoid printing hard coded timeout value

Print the timeout value set in the PCD variable instead of
hard coded 10 seconds.

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Andrei Warkentin <andrei.warkentin@intel.com>

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Andrei Warkentin <andrei.warkentin@intel.com>
This commit is contained in:
Sunil V L 2023-07-17 15:52:14 +05:30 committed by mergify[bot]
parent 7427dd3fc0
commit 925c445fd3
1 changed files with 1 additions and 1 deletions

View File

@ -936,7 +936,7 @@ PlatformBootManagerAfterConsole (
);
}
Print (L"Press ESCAPE within 10 seconds for boot options ");
Print (L"Press ESCAPE within %u seconds for boot options ", PcdGet16 (PcdPlatformBootTimeOut));
//
// Process QEMU's -kernel command line option. The kernel booted this way
// will receive ACPI tables: in PlatformBootManagerBeforeConsole(), we