From nobody Sat Feb 7 08:45:34 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+87509+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87509+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1647132092; cv=none; d=zohomail.com; s=zohoarc; b=oK1K4NO5yhDMe7TgTIuivhZN9TiNb5ypu9rg/+i9L6ah42uTOiutontN2TKAuhr4RsnF1qJgpZoNSj5yJtalMs9kn8xuLkL/v9nsy8+0JgMhSdMZ2kUOPSwqrWmDJvxwnRT4z/HDS8vVpVWAuAmppcbTxkx4YHd5tG0a7ziuZx4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1647132092; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=vhMcOlDLGh2TnGqmr2HISiONsneX/DLB5knpUUHnSS8=; b=SicHg3pEO8cBHZd9l1v5sW93DxoK8C1/KXAZVtKfzpBlpHnIjFSGt9sYi7ovLgkeVLMPP09y3XiL1y9mOu+g4RA4yjUc/BOmqxyaPchvC+s9RjSFiEElOIWFpoxgkqJcpnmT9u7DxMoMJUDPP8tZyj5lvA9rZWNrh6KM+bCF+To= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87509+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1647132092004291.77066520229494; Sat, 12 Mar 2022 16:41:32 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 1XQaYY1788612x6UwybM52gu; Sat, 12 Mar 2022 16:41:31 -0800 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.10908.1647132088165160377 for ; Sat, 12 Mar 2022 16:41:30 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10284"; a="319056827" X-IronPort-AV: E=Sophos;i="5.90,177,1643702400"; d="scan'208";a="319056827" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2022 16:41:29 -0800 X-IronPort-AV: E=Sophos;i="5.90,177,1643702400"; d="scan'208";a="539479289" X-Received: from xshi3x-mobl.ccr.corp.intel.com (HELO mxu9-mobl1.ccr.corp.intel.com) ([10.249.171.182]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2022 16:41:27 -0800 From: "Min Xu" To: devel@edk2.groups.io Cc: Min Xu , Michael D Kinney , Brijesh Singh , Erdem Aktas , James Bottomley , Jiewen Yao , Tom Lendacky , Gerd Hoffmann Subject: [edk2-devel] [PATCH V5 01/10] OvmfPkg: Add TdxWorkArea definition Date: Sun, 13 Mar 2022 08:41:02 +0800 Message-Id: <20220313004111.388-2-min.m.xu@intel.com> In-Reply-To: <20220313004111.388-1-min.m.xu@intel.com> References: <20220313004111.388-1-min.m.xu@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,min.m.xu@intel.com X-Gm-Message-State: N28ZfqjzrvMhquOnfXawWTaJx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1647132091; bh=pMVjZOwla0aUF6rGuP866ZRcEkAWIqOnM++Gyws3ieo=; h=Cc:Date:From:Reply-To:Subject:To; b=LBim7oOcrZVGn4xJ0kzFEhq5wFjE+HoxQeh8AdCBZoY/7OlqJVRwz+67aqsy92w0w9f U0/W/is09HEMHApr3sEzihsuASrXJp6QwdTlRaWHnjH5zeinf06H0mLTlq60z4Kenw0Vp myn6EQARpvz34oQ1PSQR15SzWmU2yCObbZI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1647132093167100003 Content-Type: text/plain; charset="utf-8" RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3429 Add the TDX work area definition. Cc: Michael D Kinney Cc: Brijesh Singh Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Tom Lendacky Cc: Gerd Hoffmann Acked-by: Gerd Hoffmann Signed-off-by: Min Xu --- OvmfPkg/Include/WorkArea.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/OvmfPkg/Include/WorkArea.h b/OvmfPkg/Include/WorkArea.h index d982e026def7..b67edd14e79f 100644 --- a/OvmfPkg/Include/WorkArea.h +++ b/OvmfPkg/Include/WorkArea.h @@ -71,9 +71,24 @@ typedef struct _SEV_WORK_AREA { SEC_SEV_ES_WORK_AREA SevEsWorkArea; } SEV_WORK_AREA; =20 +// +// The TDX work area definition +// +typedef struct _SEC_TDX_WORK_AREA { + UINT32 PageTableReady; + UINT32 Gpaw; + UINT64 HobList; +} SEC_TDX_WORK_AREA; + +typedef struct _TDX_WORK_AREA { + CONFIDENTIAL_COMPUTING_WORK_AREA_HEADER Header; + SEC_TDX_WORK_AREA SecTdxWorkArea; +} TDX_WORK_AREA; + typedef union { CONFIDENTIAL_COMPUTING_WORK_AREA_HEADER Header; SEV_WORK_AREA SevWorkArea; + TDX_WORK_AREA TdxWorkArea; } OVMF_WORK_AREA; =20 #endif --=20 2.29.2.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#87509): https://edk2.groups.io/g/devel/message/87509 Mute This Topic: https://groups.io/mt/89743600/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-