From nobody Thu Dec 26 02:02:11 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1507068546996311.16608373820327; Tue, 3 Oct 2017 15:09:06 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 1255321F303FF; Tue, 3 Oct 2017 15:05:34 -0700 (PDT) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0043.outbound.protection.outlook.com [104.47.37.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8CC412095E537 for ; Tue, 3 Oct 2017 15:05:32 -0700 (PDT) Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by MWHPR12MB1246.namprd12.prod.outlook.com (10.169.204.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 3 Oct 2017 22:08:50 +0000 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=helo; client-ip=104.47.37.43; helo=nam02-cy1-obe.outbound.protection.outlook.com; envelope-from=leo.duran@amd.com; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bgmwHql3foQGR4A8UQdrA2hs+H/IhuUkrzx/SbnZF+w=; b=5EeDldppCir2NfgAIs6j/twkVi/9VsV5DMihZ4lUxwD6fQ3Y5uBX8bhHqUaLYdDrmBqWEXfP0hO7CWS8DZCjcyTda5FMZtUb3mRwnCavZTx7DLKg8hb89wNFpvH21VAurHRLHcdWosEY45q9EUW4GjaDGj5h7+s2rO3oLnCVL2Q= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leo.duran@amd.com; From: Leo Duran To: edk2-devel@lists.01.org Date: Tue, 3 Oct 2017 17:08:27 -0500 Message-Id: <1507068509-5148-8-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507068509-5148-1-git-send-email-leo.duran@amd.com> References: <1507068509-5148-1-git-send-email-leo.duran@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BN6PR17CA0020.namprd17.prod.outlook.com (10.173.147.30) To MWHPR12MB1246.namprd12.prod.outlook.com (10.169.204.150) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5e36837c-4aae-436b-8302-08d50aab5496 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:MWHPR12MB1246; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1246; 3:ilT0PARJBqmZ1JFNLOTh169tK68h0xdnWDn6W4LidW+7muvjBJfnTvm1Ma3L+NH957v1Uq2aoCxe7tCgeUsB3HUYSfHluc65T9JsLHjffKm1n3YvVMfsTs03co9MZnEdTmJSpT1sJZFAQYIBsAEORmqlPW7xjlUKYkks6uTeE6jhVSdT5nVQa6gYpfbj8qZDJJk7aJvKYeg89RnPiiwnla7SMu8zjpzTaSWF4Qin2A+3YAEvzSpMSmErRgy3AI1d; 25:O/E+w0ffwt/03oaxegR8fVcpuDmUgqv5CMRnrkWV1MREjjjWFLI9defm1xC8WtSp4G74zgXWCtl+wsS3P9+URd8B3AIoZ5W2eX0l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fCXlvXvfyLu8WEk5sr1+HxfbeSzGH2hyJpKH591PMcy2fRnm8FIbQuvxGBfS0MiY6Zjdgc+7VjxOcA/2ZlZq6dSDduRGKJUawc4ecgQQSyi8YhTBxxzw65WJnKrivgAYfIOmKBNnkPyUJnGOG2z5ao5bo80c+fhr35B1V6lfLa8vPfb8XhKaIXkOANyJnKJ+g/86vqtrxcZGyBUMj2NlJak58WlVqSDaf/SRExN9CFuNFO9lBW1aAXlPevdQ4HwgCSgwYY/37NU9cOM0eutbNztr5q8z2Ma7D1yzwBQ+CreXlgWpTMo18zWXMI+p+dDt2UBhxzGOXAbg/QUkpO4zFS9wBR3/4g= X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(788757137089)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR12MB1246; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR12MB1246; X-Forefront-PRVS: 044968D9E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6029001)(376002)(346002)(39860400002)(199003)(189002)(48376002)(5003940100001)(47776003)(76176999)(50986999)(68736007)(66066001)(25786009)(101416001)(6486002)(86362001)(33646002)(478600001)(2950100002)(16526018)(5660300001)(3846002)(6916009)(50466002)(7736002)(6116002)(2906002)(6666003)(105586002)(2351001)(53936002)(81166006)(106356001)(97736004)(4326008)(16586007)(54906003)(36756003)(8936002)(305945005)(81156014)(189998001)(2361001)(53416004)(50226002)(316002)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1246; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR12MB1246; 23:PQIW+UcBleMp8d+2k+6Jf/5cZWNsX5mn2tWZHiWvb?= =?us-ascii?Q?WP//UJD92MVmxtq7D60k/+Vk+cacBrimsPCRd3GO0KNxr6+l0o6piHn4P2l0?= =?us-ascii?Q?Yzy2Q4xRQQF+kazQcAC2pCtY/t9FBLt83syretmEwr5Pps1o2r66pG2RM+4b?= =?us-ascii?Q?l+qYurBfnSHMnnURInFWc1YBEjVGRXzf3epkL+ZahRvIxhKxC0WZxfhKW1ym?= =?us-ascii?Q?1ZAHfyia1TR3HrKWQ06VoKtljhpF1dZ6+C741n5jVPm5gzlGmmSHqsGA2DqT?= =?us-ascii?Q?D4NTa4h9FVExkm26pfPUNBOCejUd7tlVWPkNeNk/eMCxRoCT3UkDaRD9ruif?= =?us-ascii?Q?M1zRrip1p7blKvHTaXVlp+HSuGptrh8v+PFdbo9AdQPRRNOxjL1vNZ0HfDVo?= =?us-ascii?Q?iYmVtWf2fXHAgJ+P3V/Qkb5PREa9JjKIsoOqqVEiRVkikHBppCmZlFq9ImfH?= =?us-ascii?Q?swgb/GTqOVgxNbGE0c3/i6fvnP+qQ4RcBPTksSUzjVmvRiobbo8vGv7vq5tC?= =?us-ascii?Q?fF/x+Tr1fqM03DSmaJEB0cTlkM6NwFnKm68WgNkGFgdjAy4GzlvYpmbiG3da?= =?us-ascii?Q?7MJ+czfnoS0kwnCdrUkicI08kLOa7D7wvOuUmsD8JDvehDCkxXa75P1Z1ClR?= =?us-ascii?Q?Fw5NeMYRClfi1uy+684WnDfQsDt5tcj+q4wQiheXrJZNycgyqhh17v5W2l9O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AufmiK+f50A==; 24:2EcgaLFqFhyXPGwEsS99Gq2udqpkCC6J3w4DdWmBAdyZaS4P9Ud4mvGBjhdgmM/b2uu0uTzAVWNTFEn47yVPbOnRKdp+Q78PK7HarZL6/5Y=; 7:rMgwY58pLgHK6tP7sSyWQgewbrFvJe+NrIKLX3TQyVh5hkRbRs50uNH5AWDuiWJ5qujC9Cc/oA/zQryJlYojWfKv9jSRlVNVGJYTSPlea9QTj5Eiz5fHR3TuVDehBX35mHTdiWlmoRHS9jVJ0LszbUr5RR29KnWlhbKy/cYPNw5CUiSr771TcugiJP1vJ33DpnhN1K1ZOFj3M8r13NrpqTz54XGV2nMlw70EfC6i4YI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1246; 20:wzJaNO4zDihzPQm3V1QxDw8J/dkLqXMWGcHj6z0GZC/vP4KuskU4WF0gBY7XTsyJPdx7IwteNa4nDybP/tZP9vTJJK0S1wV+IXnxOJYRnJuDZrzFIBiqlbAmB2Q7DX9Pl5s1vLVs+54sazw08AH/Y9nhJWcKAYt2WLiPhwSsYHcU84bBWAROUZ8BAVpcZhgMM7wlSFfEiNwW7ESOgnXFa74o9Kl3y+fzD4MhZYmpfMeG07zqnUYjmD1WB8qH7TR2 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2017 22:08:50.9034 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1246 Subject: [edk2] [PATCH 7/9] UefiCpuPkg: PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jordan Justen , Jeff Fan , Liming Gao Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add a FixedPCD to replace an Intel-specific hard-coded macro. The new PCD allows SMM support on AMD-based x86 systems. PcdCpuSmmPSDOffset - Processor SMM Descriptor Offset in SMRAM. Cc: Jordan Justen Cc: Jeff Fan Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leo Duran --- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h b/UefiCpuPkg/PiSmmC= puDxeSmm/PiSmmCpuDxeSmm.h index 1cf85c1..06b9767 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h @@ -360,7 +360,7 @@ typedef struct { UINT32 MsrIndex; } MP_MSR_LOCK; =20 -#define SMM_PSD_OFFSET 0xfb00 +#define SMM_PSD_OFFSET (FixedPcdGet16 (PcdCpuSmmPSDOffset)) =20 /// /// All global semaphores' pointer --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel