From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com []) by mx.groups.io with SMTP id smtpd.web08.5088.1615270429423361697 for ; Mon, 08 Mar 2021 22:13:53 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: min.m.xu@intel.com) IronPort-SDR: R1ElEDOoCLD7tH/3syZwHyTk/nZjlV7i3p1dMKx/a2Hgn1XA67OJ8LAqvZzDhxqFz3KrRzCW1L CoPPY07Ffz7A== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="175776448" X-IronPort-AV: E=Sophos;i="5.81,234,1610438400"; d="scan'208";a="175776448" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 22:13:52 -0800 IronPort-SDR: fe7Wx356Ov/8eCbZgfA1/GHUa5dYtfP6K1mWATAj/BkqmTzv+TtL0dnXE4GcBmYXszwl1KEHbt 7FmRfSMqZwLQ== X-IronPort-AV: E=Sophos;i="5.81,234,1610438400"; d="scan'208";a="409597920" Received: from mxu9-mobl1.ccr.corp.intel.com ([10.238.4.42]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 22:13:50 -0800 From: "Min Xu" To: devel@edk2.groups.io Cc: Min Xu , Jordan Justen , Laszlo Ersek , Jiewen Yao , Doug Reiland Subject: [PATCH V3 2/3] OvmfPkg: Add PCDs for TdxLib Date: Tue, 9 Mar 2021 14:12:56 +0800 Message-Id: <6ae7e4da528afc7c06599cac98131495ee31e511.1615269637.git.min.m.xu@intel.com> X-Mailer: git-send-email 2.29.2.windows.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit TdxLib for OvmfPkg depends on the below PCDs - PcdUseTdxAcceptPage Indicate whether TdCall(AcceptPage) is used. - PcdUseTdxEmulation Indicate whether TdxEmulation is used. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Jiewen Yao Signed-off-by: Min Xu Signed-off-by: Doug Reiland --- OvmfPkg/OvmfPkg.dec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec index 4348bb45c64a..68b3fd86d516 100644 --- a/OvmfPkg/OvmfPkg.dec +++ b/OvmfPkg/OvmfPkg.dec @@ -317,6 +317,12 @@ gUefiOvmfPkgTokenSpaceGuid.PcdSevLaunchSecretBase|0x0|UINT32|0x42 gUefiOvmfPkgTokenSpaceGuid.PcdSevLaunchSecretSize|0x0|UINT32|0x43 + ## Indicate whether TdCall(AcceptPage) is used. + gUefiOvmfPkgTokenSpaceGuid.PcdUseTdxAcceptPage|TRUE|BOOLEAN|0x44 + ## Indicate whether TdxEmulation is used. + gUefiOvmfPkgTokenSpaceGuid.PcdUseTdxEmulation|0x1|UINT32|0x45 + + [PcdsDynamic, PcdsDynamicEx] gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent|0|UINT64|2 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable|FALSE|BOOLEAN|0x10 -- 2.29.2.windows.2