From 54cddc3ad4b3a317985ce5f491f9b1f31ab10dd8 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Tue, 1 Feb 2022 19:00:47 +0100 Subject: [PATCH] ArmVirtPkg/ArmVirtKvmTool: wire up configurable timeout Use the correct PCD type for PcdPlatformBootTimeOut so it gets wired up to the Timeout EFI variable automatically, which is how the boot manager stores the timeout preference. Note that this changes the default to 5 seconds, which appears to be common across platforms. Signed-off-by: Ard Biesheuvel Reviewed-by: Pierre Gondois Reviewed-by: Sami Mujawar --- ArmVirtPkg/ArmVirtKvmTool.dsc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ArmVirtPkg/ArmVirtKvmTool.dsc b/ArmVirtPkg/ArmVirtKvmTool.dsc index a1bf4b9be8..3bd3ebd6e0 100644 --- a/ArmVirtPkg/ArmVirtKvmTool.dsc +++ b/ArmVirtPkg/ArmVirtKvmTool.dsc @@ -170,9 +170,10 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x0 -[PcdsDynamicDefault.common] - gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3 +[PcdsDynamicHii] + gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 +[PcdsDynamicDefault.common] gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0 gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0 gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0 -- 2.39.2