From nobody Thu Dec 26 01:23:19 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 1507070344612306.48486605584833; Tue, 3 Oct 2017 15:39:04 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id E2D8521F30402; Tue, 3 Oct 2017 15:35:28 -0700 (PDT) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0086.outbound.protection.outlook.com [104.47.32.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 70B5921F303F9 for ; Tue, 3 Oct 2017 15:35:27 -0700 (PDT) Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by CY4PR12MB1239.namprd12.prod.outlook.com (10.168.167.14) 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:38:46 +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.32.86; helo=nam01-sn1-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=Hq51MDmArjzVGhHDV1yLYvbs6MEdb2QQFALPBE8oNOc=; b=ov6eSktYwnvmZvilLcRHylwR0tu0Igjq1J5ShQYaZLq8pKGjHHDZXleQegK1jgiq2aywHS/8St+Q2VS0zS83uT59Nb9ZZv1hB66ed2UuRXK4UIneMoxUsc9zATZz1X3ZoC2FmexLPKobS8UwCTNUjk57V9u7643+WWD59uu6b4w= 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:38:23 -0500 Message-Id: <1507070305-6727-8-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507070305-6727-1-git-send-email-leo.duran@amd.com> References: <1507070305-6727-1-git-send-email-leo.duran@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR22CA0061.namprd22.prod.outlook.com (10.171.142.23) To CY4PR12MB1239.namprd12.prod.outlook.com (10.168.167.14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 51ddfca0-628a-4034-8496-08d50aaf82ee X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:CY4PR12MB1239; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 3:y5Bxu2IG2+LHYfdRNE+l9a+jvlH/xxnQSeIzGEQOlL0/iKSNQaFyX/R5xH9XbU/rnQ8p/rO11fYr1kcg30ZEpHJpBhZyPW56tOT8AlQ979wWrYYy/JjbGqkdUf5ewTilM0MtxzAh85Wb5jvTiZ4uKynJw+hkKuL6yyl9DLqY4t+m/d1h4C+cpq/kNA03fzcnyt6Oe97WWt/k4xexPE1xjwwILwC8OKnWyfdkeTC6JUDRFdZ03rHhIHnYfzV+zTkN; 25:QJ0ZFDDkX6306F7tFGWNcPGuGXaBLqbqpeKuo0Gbq8U/EFlVdKh3GmwKW8OTd9GvzlDxbM42F7w0ON7XSaxEumTVa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D; 4:qm/P7QKXNQ91aJ/EPvbqHjwmA1q98Ax62tZ2ijadKIs66BPUYfZCsidrs/+0YNkqA1hWUhhbsOk/TsgMY0U+1XPfiaqowcqwjz92DbEMIWGzbpvsAaNjn5585OsiwDDzf289kthVk0rebklRt1F0n9dEACI8aGhTO4Lp6u08cWSyy+e/4X4SNN3dv5UesWKGmD85lNnT9auAwars7bUw302sDx8UWgZXhbG7aUXgCpWwk49C1MSy1FNcB96xLgpsFpsLATe2h4+Gsl+vC3SbmDcZRrQxiTwkYM5sZfLuZPyUJcFAduFhhzNBaHemlK4tZXdbemqUmrgfaj5zSB42uOvfWLMd0oNq78KRNH/18yc= 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)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123558100)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR12MB1239; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR12MB1239; X-Forefront-PRVS: 044968D9E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6029001)(346002)(39860400002)(376002)(199003)(189002)(305945005)(189998001)(6116002)(106356001)(53936002)(7736002)(2950100002)(76176999)(101416001)(4326008)(50986999)(105586002)(36756003)(33646002)(50226002)(5003940100001)(53416004)(68736007)(2906002)(2351001)(2361001)(3846002)(48376002)(6916009)(97736004)(8936002)(25786009)(50466002)(47776003)(5660300001)(16586007)(86362001)(8676002)(6666003)(54906003)(81156014)(81166006)(478600001)(6486002)(316002)(16526018)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1239; 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; CY4PR12MB1239; 23:6JCxuywBxAAhGC5Mo7HhjVc5TxDSXXIO6GzJo7mFp?= =?us-ascii?Q?ZbJtYoRf0O9CDfzpHcPx2BCzFVK56M5vdxkvZri2fVnT4/Xpai1jURMxIBFa?= =?us-ascii?Q?i8TPUZSYCRtxwWhRc4/1/mj8T1GAgc/2SBmya1kWAGYBMjAlM225Kj8j7E9n?= =?us-ascii?Q?1/BT0MzPkVDotCtnXvpS2t4CYSi4lMd7dI2u5JzzG+LkQxZ/hgDrx1M23+MO?= =?us-ascii?Q?KmM1ojM/9Kho7LfXV7/SktOFoEthaRQ/ew9olkoaGwNj5cTLR20BbiFCtbGl?= =?us-ascii?Q?yZT63K0vwvWNNfbkbcWbB5ju/ZiI+n6UZDJ4t6BD/cvVIsKKuvECbiIpa/l5?= =?us-ascii?Q?EbpMXuuhIYE6V4Xftui6fCSOWzBuSONihzVPSBxsBoA2S1g+wUsNmej4tnIg?= =?us-ascii?Q?QH2fvir74pjXqk0LdEvs2ijj3k4ec8fEY4niKFYr58XqIrpdbJFV7AHLPtzC?= =?us-ascii?Q?rJE5jjujlBkmySCNmlqj0S+pNYAxjcpkhRov179eDiv0UOpY21ZjhUzAzbCO?= =?us-ascii?Q?T+Xm9HKynA6ecSG7G34on93d3bwr0/eGXFr1pzY9hdjJt8o0b5G3MXULRpBV?= =?us-ascii?Q?lOgFSdhvOudavnrtk4uwJbA0b3gdNhm/PYU0akx5iLc/d+mB77u1c39R4ney?= =?us-ascii?Q?l0uHZArMYwiNw3+9EZKBBnT6RFdaQtg1X6ULojZrNPTaI1VxeDN+WS+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78bOKEPT2wvofubUrQfQ/dWwFqTg==; 24:h8JW5+YQxsZiG6imMjhqKZXZlci9b8jsgn6bYc+CXgopd3ijHR5lRYa99pRuYGN1lAs5BdS8SOXlQSbihmn8PPkO3SCUpRIEtJvmybpwYl0=; 7:kMKuUUrdZEjGLIwma2tQOz4SO5vAes/Fc5Ujge5tx8/TJszxPZyvhZUU8L+wglFQHB6e8ApPgHfoqG0HcixrtWE1FOuQprHz9N1tVAL5byLg0BXr5mvluaMMYrNPovZN8JeUsCkbTzA2WxCdcA8ENYwdly4XGQgl8Jtu1zByNsMenIWDdDmYkP82rziiV2sJOHWsnalkU0kd+4bLQXl/z5Wu86X61dl9o8Yv5qGpeXc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 20:H3jBvpPpY/8v31FUpN6W2+EAUyH9sUmHs21CU3zLjd7g87FKoZz8G/I3Yo0tGzZaxH3WK/WoPLvvmI+BmJiSgW5NL1a1HHhz6RpcQ39OsxeVdBurc/j7//ze4+N6038yteD44Y8283MFUrA9wsXaQvtt3MTWQFfajB0UxLQpplHvau/xItBXOOyqbh0IeymckBpcoqIkf7dLct/jAzH+LkAu0uMcIwAd32t4Biy9ViWOpFm946APnczIWdv7vsQA X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2017 22:38:46.8298 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1239 Subject: [edk2] [PATCH v2 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: Ruiyu Ni , Jordan Justen , Liming Gao , Jiewen Yao , Michael D Kinney 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: Jiewen Yao Cc: Ruiyu Ni Cc: Michael D Kinney Cc: Jordan Justen 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