From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com []) by mx.groups.io with SMTP id smtpd.web12.3824.1615259850916862319 for ; Mon, 08 Mar 2021 19:17:33 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: min.m.xu@intel.com) IronPort-SDR: DSdYDUAEqQj/0mEFXa84fiqCf1Pv/Cj6V9RnSwldSxHXmjPqNwiCelVgcZpvIjKE7UfLuDrSi4 qahGvUDja2Ug== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="184786132" X-IronPort-AV: E=Sophos;i="5.81,234,1610438400"; d="scan'208";a="184786132" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 19:17:33 -0800 IronPort-SDR: TQYnXgX08tdNiX1Eugd+WKWIt31/RWbP4ZQZij0RMwCl26pIIlfC8Fmd8B1J1m1gXISWHSDko1 kzPnLisD8Fdg== X-IronPort-AV: E=Sophos;i="5.81,234,1610438400"; d="scan'208";a="409555377" 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 19:17:31 -0800 From: "Min Xu" To: devel@edk2.groups.io Cc: Min Xu , Jordan Justen , Laszlo Ersek , Jiewen Yao , Doug Reiland Subject: [PATCH V2 2/3] OvmfPkg: Add PCDs for TdxLib Date: Tue, 9 Mar 2021 11:16:57 +0800 Message-Id: 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