From nobody Thu Dec 26 02:07:44 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 1507068536859281.8386662530164; Tue, 3 Oct 2017 15:08:56 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 43FC721EC8D0F; Tue, 3 Oct 2017 15:05:30 -0700 (PDT) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0082.outbound.protection.outlook.com [104.47.37.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EB1F221E78211 for ; Tue, 3 Oct 2017 15:05:28 -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: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.37.82; 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=qkeFvnzlyvQ2rdXUYyDPiBH4qSLkKIr5fEPqptBWqoQ=; b=I8Qx9HesioyikTrVmqRC4/vG66hiSV4iq97CTEXNp0LI1kmV4Fa5q59x54Ge329VwHnO/Irx8KtVq3IX/UimsywVywh/WzliVg/3gKu+a96OUn6n4VUyJn+uu7BH+5aDj8Xth2Gtmv9eS1ql7cQryIWWu5L0kWC94mkYbGrvUgU= 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:24 -0500 Message-Id: <1507068509-5148-5-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: 212f2f18-6f0f-4d61-3b8c-08d50aab5247 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:oYVl1siRneMJ7iOJTzNk2V4KJVHfWMVS/79iz4gzRKBq382TXigdqXYCIo7T72ru3wRDmezP+u6th12AHUSrL3yR+JC/MBMy5AiCUHBeArgC69AYR2I8W/pP/YAdaUcSTi1okrC3x3sBeODt3zGlz6ZRB+WRZOR1uNIEDx5eFhRqi5xg/VtrbVrRRpHtXZgB/d2kfOLjddk4g0mtgduHwILOfo0h5DpJuIHzVJ5b9u38W93sVu5q1+ryo0HLXLnL; 25:Br2AbgcrjH3VrotZ2BpF9m7jVK4BuAUP6LxLethnzCKMU44sQIIkbRbs+5QgSSm43l86mZ+kbp2eHK1wh6tSfFi1Fas7H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cN5EVgU7UhAhr6YSbTs+xk8nJp8uTNcVj64cUAhenX/Vrdxhmho+Y6cmL5GW6HvNYIEoxctMD/6kg1P0lnZrzg0+No/ccCrARAbZxdp8eYAFhEnSOKzNxODXEmVzpMaPnvGLwxqcyPqmF+009iR7W4cMcY47OyMlLlvZGFm9vbFDgcz4Z3PhPolemZsZlX8nWyIsjqN9RyF2sYX30xWILpTahAgC3FNRWO9sEsQw3YEe+eNyZSULAFIUdBYqhvWO1WHDSB2MF5baAzU5XLgbZiMOgC8r5sq9Qi8DiZMehcYFTFxni17Banto61u2PnR+xvqB5OgIlParheh0Pcw6k+FOZjFg0rEDZ+qA7231etM= 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)(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:v1TTHkudJ6gHouXmzUcET5ZUqKwAWuIX1r2Xn6cwJ?= =?us-ascii?Q?T36QVrlmOfDcLQkrJA5gzMA8I25GkY1tUkMbpweOYbxLdYGLJtITUcs2RVsD?= =?us-ascii?Q?kfi1zpnwq+cPgCdJDyj+gLBFXC1l5M7i4ht74KYUmKPvsDoQSCrWdpbWB3dm?= =?us-ascii?Q?l3xsHkt9GR+hn6v2zaVWP6BmBF2vsp/wTtGVTyrM6FI50k6t/sZW0IwI79kf?= =?us-ascii?Q?XKI3z0sAWdk2E5yfGLqhGrVhXQZMD5Ot6KpqibQJcCugtEzs1YpdO6fHOOfw?= =?us-ascii?Q?YDhQEuLnKhBVxRGfLpsKnfXZZ7I689SyFZHEfXeSTh6gRXYxMjK7ucS87IHL?= =?us-ascii?Q?Roj3FwsdZF9sNsljuY5+eFQeF8407Xunh3szXqksP4Y+ft5EdRO/zf0Dl5pS?= =?us-ascii?Q?6CHeLsun51ARxmpTJaT+g/oB5SxIcpPWqoKmcAO+jj1L7tfIbJMsXog1JZ0R?= =?us-ascii?Q?CVsYg/heHWclfPxjY9N2xm8pqo87Bl6dgFdYhM9raG7YaUzQPJ5IhjEMguYx?= =?us-ascii?Q?iAZVWQ8qNsQ5uAyPEL/DtvwfuvX3TkGhT3Nebr865xyAbDt1wQeIexpxx8NL?= =?us-ascii?Q?8dIgnNp1UnsDr0JDe0044jS1EiQB65iA+/AUXCMZehDJVasONYMt2iOf+zd5?= =?us-ascii?Q?0tyV/7QoB0OdILlo5wFANVjEj+rXccjB+nVz9W9eNv4H/nDiSmVj0Z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HrbY1OUtdQ7EcqdgcHrUmeog==; 24:O5SsI6yM451lLrevpMO/G8meA1GKtNU3eDxcYmjkMdIpvy7bxl3ce6QpGtGwUMVQcbCugJStGjs9tbr4NgeUwLSg6BdjFMRFiu0Dea7VMZE=; 7:zTUKbVfVqZ+iVK6YCeHBkrRfkseNQP1ih0kUoBdEsbXT5mETPr9Y4A85TKjOjf5LnHb+uxW1CMfRD5wsBQ33AVegL9yb790BnIa8vow2prCGTkw/f921Tvyo1goUiRm59uko9DC4S3YbQ2mo2+WypmrgqkIIma90fFfTCWXT7djSXOJnRGBOCxvXRqLW4CgT0DjzC5YJB+ncTOeiLzSRHNqw/Mr/A5P2HW5wXqlN4Qg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1246; 20:+6/mfqP97Chmy2Ojb3hMO7RvfIre2/tlYkc/T6sP9f6cC8qeo/i/0RTSJ2kBbPgWITyccMPyoUO3gwapsI/wpFZVrwzPS65VVbQw4PShMMiO0/2c8+LsF5SrMm+xGub+ajF9bA8tzhOYr2xpXDKmB5tN7Gs1G55BfQ+qdM6MhPyVoi9uJdpjYzKU9F+MrN/mFl8F+mNHwdHAJPQkVAHljdORGR6gK8D3FN8zJs43eN7Ns9LxZL/o53uShccJmfet X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2017 22:08:46.9191 (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 4/9] OvmfPkg: SmmCpuFeaturesLib library. 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: Marcel Apfelbaum , Laszlo Ersek , Ruiyu Ni , Jordan Justen 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" Introduce a FixedPCD to replace an Intel-specific macro. PcdCpuSmmSmramSaveStateMapOffset - SMRAM Save State Map Offset. The new PCD allows for SMM support on AMD-based x86 systems, and it is declared here just to resolve the macro that will be replaced by the shared Library/SmmCpuFeaturesLib.h file. Cc: Laszlo Ersek Cc: Jordan Justen Cc: Marcel Apfelbaum Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leo Duran --- OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf b/Ovmf= Pkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf index 31edf3a..f6c2c4c 100644 --- a/OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf +++ b/OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf @@ -2,6 +2,8 @@ # The CPU specific programming for PiSmmCpuDxeSmm module. # # Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2017, AMD Incorporated. All rights reserved.
+# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the B= SD License # which accompanies this distribution. The full text of the license may = be found at @@ -36,3 +38,6 @@ PcdLib DebugLib SmmServicesTableLib + +[FixedPcd] + gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSmramSaveStateMapOffset ## CONS= UMES --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel