From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web12.51982.1643738588422902426 for ; Tue, 01 Feb 2022 10:03:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AaBS6U7f; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C649361419; Tue, 1 Feb 2022 18:03:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A390C340EB; Tue, 1 Feb 2022 18:03:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643738587; bh=F0ZZRCyE5KxQUDPpeRcX8QDonxm9SoxXcZHPoCxHvDM=; h=From:To:Cc:Subject:Date:From; b=AaBS6U7fr7wpZaUFUbMnpP3u3kPsYr9wxSi0u2KvLtopTkIdDLARZsyN8JEbvmz8w +HqEeDomlQ9yoCtPEATIDRIYMZCY9wuOqdHMPsKNYlDX6OMBee/UG05m675M6dLKgo gJ0VheixJITTnxHx7btlQ1nMP6zSbPjUty1fybYB25w3Nu0KUB5+sogDfILjVS3Azq qJCmm+Dg3R0hhy3w82mbKwAsPkxdcXdunqoniOwrC2U9ErilkYxiHA9v5xvP94dfJZ freNLfKljH3X48zdUdbqXt2hnWeJPn01SdHmYTXzn5EHQp+AX3ufG84gFpDLPSOnNG YXijehq/hZaOQ== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: pierre.gondois@arm.com, leif@nuviainc.com, Ard Biesheuvel Subject: [PATCH] ArmVirtPkg/ArmVirtKvmTool: wire up configurable timeout Date: Tue, 1 Feb 2022 19:03:02 +0100 Message-Id: <20220201180302.743162-1-ardb@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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. Signed-off-by: Ard Biesheuvel --- ArmVirtPkg/ArmVirtKvmTool.dsc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ArmVirtPkg/ArmVirtKvmTool.dsc b/ArmVirtPkg/ArmVirtKvmTool.dsc index a1bf4b9be87b..3bd3ebd6e0b3 100644 --- a/ArmVirtPkg/ArmVirtKvmTool.dsc +++ b/ArmVirtPkg/ArmVirtKvmTool.dsc @@ -170,9 +170,10 @@ [PcdsPatchableInModule.common] =0D gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x0=0D =0D +[PcdsDynamicHii]=0D + gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVar= iableGuid|0x0|5=0D +=0D [PcdsDynamicDefault.common]=0D - gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|3=0D -=0D gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0=0D gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x0=0D gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x0=0D --=20 2.30.2