From 925c445fd37bf529ca78f9d6c416cca37c7e6da5 Mon Sep 17 00:00:00 2001 From: Sunil V L Date: Mon, 17 Jul 2023 15:52:14 +0530 Subject: 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 Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Andrei Warkentin Signed-off-by: Sunil V L Reviewed-by: Andrei Warkentin --- OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OvmfPkg/RiscVVirt') diff --git a/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c b/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c index be4316f320..44fd21f74f 100644 --- a/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c +++ b/OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c @@ -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 -- cgit v1.2.3