From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.67466.1670912693041909926 for ; Mon, 12 Dec 2022 22:24:53 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=X+w8M76j; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: min.m.xu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670912693; x=1702448693; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ka+PROkIzDpHNsyMwy2v0gLUZXDC0UwR8VkKFcg5T4k=; b=X+w8M76j9GrCXAVLGuLRW48KvC+Dez4ssbkYvICkB8j3ZCK4Xy1DxnM0 tZwyx8J1ksFiy/aSEfxzdP/IQKdxTmq+ScGM7rpUWHP7nm0SaQak55MAt Nmy6fjbWWCHf+jOSluhnvn5HWcBD/6WhRuBn/ThmJtdjl/8TFWZO/gM4t dUN2Oz5w1V4Qe2lSmbDltSDwtWuF9QbUwqR7YeByEmSwkiA9Hftq5QE/Y kjlATDXR1wUMjdLIZoE093OVcE3yfyVh1P4nWIKNxzyO5OpJIteV6v94w dgd2lWze9v+MpiB74aE1zHda88ggUKE1VtY986uL/L3IpcYMBsIhCYLSx Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="345116443" X-IronPort-AV: E=Sophos;i="5.96,240,1665471600"; d="scan'208";a="345116443" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 22:24:30 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="679199538" X-IronPort-AV: E=Sophos;i="5.96,240,1665471600"; d="scan'208";a="679199538" Received: from mxu9-mobl1.ccr.corp.intel.com ([10.249.170.38]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 22:24:28 -0800 From: "Min Xu" To: devel@edk2.groups.io Cc: Min M Xu , Gerd Hoffmann , Erdem Aktas , James Bottomley , Jiewen Yao , Tom Lendacky Subject: [PATCH V2 2/4] OvmfPkg: Add PCDs/GUID for NCCFV Date: Tue, 13 Dec 2022 14:24:07 +0800 Message-Id: <20221213062409.932-3-min.m.xu@intel.com> X-Mailer: git-send-email 2.29.2.windows.2 In-Reply-To: <20221213062409.932-1-min.m.xu@intel.com> References: <20221213062409.932-1-min.m.xu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Min M Xu BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4152 NCCFV refers to Non-Confidential-Computing-FV. It includes the DXE phase drivers which are only loaded/started in non-cc guest. Hence the PCDs / GUID for NCCFV are defined in OvmfPkg.dec. Cc: Gerd Hoffmann Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Tom Lendacky Signed-off-by: Min Xu --- OvmfPkg/OvmfPkg.dec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec index 5f5556c67c6c..64148e67026e 100644 --- a/OvmfPkg/OvmfPkg.dec +++ b/OvmfPkg/OvmfPkg.dec @@ -151,6 +151,7 @@ gConfidentialComputingSevSnpBlobGuid = {0x067b1f5f, 0xcf26, 0x44c5, {0x85, 0x54, 0x93, 0xd7, 0x77, 0x91, 0x2d, 0x42}} gUefiOvmfPkgPlatformInfoGuid = {0xdec9b486, 0x1f16, 0x47c7, {0x8f, 0x68, 0xdf, 0x1a, 0x41, 0x88, 0x8b, 0xa5}} gVMMBootOrderGuid = {0x668f4529, 0x63d0, 0x4bb5, {0xb6, 0x5d, 0x6f, 0xbb, 0x9d, 0x36, 0xa4, 0x4a}} + gEfiNonCcFvGuid = {0xae047c6d, 0xbce9, 0x426c, {0xae, 0x03, 0xa6, 0x8e, 0x3b, 0x8a, 0x04, 0x88}} [Ppis] # PPI whose presence in the PPI database signals that the TPM base address @@ -187,6 +188,8 @@ gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize|0x0|UINT32|1 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|0x0|UINT32|0x15 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize|0x0|UINT32|0x16 + gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeNonCcFvBase|0x0|UINT32|0x6a + gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeNonCcFvSize|0x0|UINT32|0x6b ## This flag is used to control the destination port for PlatformDebugLibIoPort gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x402|UINT16|4 -- 2.29.2.windows.2