From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=helo; client-ip=104.47.32.61; helo=nam01-sn1-obe.outbound.protection.outlook.com; envelope-from=leo.duran@amd.com; receiver=edk2-devel@lists.01.org Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0061.outbound.protection.outlook.com [104.47.32.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C960921E7821D for ; Tue, 3 Oct 2017 15:35:25 -0700 (PDT) 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=GFlkpWPTQH2+/6OL37c9ILBZpyVav9i58NHWm17lfm4=; b=AEuRzlSE/6geJE6kfGZ/zizRXo2j4tvYOqEu6VAvhq1RUYtBQGOWJOWQeE/LQVKJCKv0HYc8F3eHw+vPYpu2IzbC12w1wf1dE62M/0cL70lZK028jPnYcxzkPU35KgBFCcPvhp7cM262ou2MhD5Kv1L36x5BqcSTzsHLon7D3oI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leo.duran@amd.com; 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:45 +0000 From: Leo Duran To: edk2-devel@lists.01.org Cc: Leo Duran , Michael D Kinney , Kelly Steele Date: Tue, 3 Oct 2017 17:38:21 -0500 Message-Id: <1507070305-6727-6-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: 96a85b52-dcdb-4ae8-7dc3-08d50aaf81c4 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:jmMXz9egxbPKWBZyWklc7HrgpNtKcsUJLq39YIxB/DT8lqCDM27+AZ6K6jKbbgJmhBtLhlMDZ5yMHLXCXg9d0pC5qyMDMzLX+uUbrfuG2zVTqwvVDS/B9DRVL2ptQqwDowztrmWG/kLyGzpo9aemMpv5KciIkCBusMRvg3LjUymTzU1VzigXZyCqCNCqQAC+awnc4jkq4QUGy27MsoQjX8KpvszjZZl53/LQzgrOPMrvi0Q73mGEX9DsdQOruLUj; 25:v8BgpfFk6fEeZG71/2kUtLQl1ji+KB2snS91uj4TASujRJuQPFARwJLgZJvsBXnlaUNCfhaKpf/hRx5PvjTQGEkExj4Z0b94D3bd8R9bToWrjlKjd79cPT3NdxgfpJF9asjIiSO+tnxuV5GokhQNYOyR7UkYTuU8lYxDJygWPI7AnSrC1iYFgTFiVbEQRsnCMlL3TXwOWwA9WHXa063QBGp4siF2dDrg6Sqr9CNEgDKaWEkIoqd1ZQrDAXFZ6L7W7Jkz7SAth1LmqCosbcW077kcOTS/y0XrHDtyg7odvbw44TY4jC40D/tvkNIyu511hWqsBKIOJnniVQ5P8rWlkw==; 31:uZ7blDeMM3J4DIjohHDcjGxggQ1Humd6S7ELB7Kakk/oE8soDkktRN2LJF1UM7wa59ZYJi/GVXB34ANMShrShWWRrSq0T8lSpWw1zKocXt2sZ049O/a+TmDcUTxbc1ih660gepzqEf/NGa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Scan:(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)(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:ux6VpFYhOTmzcaF0iuyHr0q2ncogwaILbDtOJoqj5?= =?us-ascii?Q?TJsMGkrLA4TPV1Xcn4L//kD8GMV9zTVsuqg7rMz+NuHorfsVwmUOmmm2/BX8?= =?us-ascii?Q?Y0BbKAcRzqspOn5G3d0VZQCqS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 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 20:RhanijwhWF3PzG8LA+JjzGChQOQUP9kN4vOMCWl8XBsvR4V/5WRnq3vUSxiEgAz3fDL6weL3IlLLbjU+XrKsfChfxcBnAbTD9DopGZxUI8GE0RTwlIiAm2/pawECfr7lujCFxcldhSSJWANEbx3JakAJ1R4BmseuYTJyeGA5HFOLQO5qLRAUEfEDexgpLjGvbwowpNex9QI2sieeN0V9UeHVYV2gbv/rLRCRV0H/RzEO9wWVo8XX8fEV7ZdfVv+L X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2017 22:38:45.1110 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1239 Subject: [PATCH v2 5/9] QuarkSocPkg: 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: , X-List-Received-Date: Tue, 03 Oct 2017 22:35:26 -0000 Content-Type: text/plain 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: Michael D Kinney Cc: Kelly Steele Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leo Duran --- .../QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf b/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf index 267ac84..8b1f202 100644 --- a/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf +++ b/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf @@ -2,6 +2,8 @@ # The CPU specific programming for PiSmmCpuDxeSmm module. # # Copyright (c) 2009 - 2016, 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 BSD License # which accompanies this distribution. The full text of the license may be found at @@ -34,3 +36,5 @@ DebugLib QNCAccessLib +[FixedPcd] + gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSmramSaveStateMapOffset ## CONSUMES -- 2.7.4