From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe4a::60e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CCE171A1DFC for ; Thu, 27 Oct 2016 15:30:29 -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=vnHYZe9FURRZ/xOVGz12qknWR6YBBNc2X3MPz3PBSuM=; b=2CH2QfnwBwVSqn6xCLbY+Mo0sxr3wFp7Ws9VPqzenpWpHfggAS2yUkeBr7w1fESTXQ6IcpiE9Y9/sBkhu+5j8WAfHtBNwd6SBcvvMJ5vM98Oy26GHOABg4gn+vFybIGotgywywXZ1fM108b3NhZrdODa+0RyrGQ9bQCJagwUwQE= 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 MWHPR12MB1247.namprd12.prod.outlook.com (10.169.205.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.679.12; Thu, 27 Oct 2016 22:30:27 +0000 From: Leo Duran To: CC: , , Leo Duran Date: Thu, 27 Oct 2016 17:29:49 -0500 Message-ID: <1477607390-8225-1-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BN6PR03CA0034.namprd03.prod.outlook.com (10.175.124.20) To MWHPR12MB1247.namprd12.prod.outlook.com (10.169.205.7) X-MS-Office365-Filtering-Correlation-Id: 500d9c26-f7c5-44a8-c4c5-08d3feb8da68 X-Microsoft-Exchange-Diagnostics: 1; MWH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rs7qavl3y8PfpnAMqzT/QWXVtjbFmPmhVjA6+4wTC3rQ6tdh3zXLINNHsxuE7jKJOBz2xEqOcaPn6QTAvzRPz0B4jW/zUcV7a5P8/bUGvrQfZ5k+BjcRTkSMsm4jmyR1n7dyByA== X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1247; 31:zAkGn6NaRE4FOnbKKf+1zEsCs8Hh8QD53d/8zOB3df8JvrT3aEFtidAA5tWTcxQkEYz9t4JZ4V2jrRdy9WSvbi8S+pojhSSA09C4XbrAstu9obP0SNv7BN4N1BndgjKfcdW/Sze9OaVfXssTJ4i6wi5k2tZgA26fEHv2qLJ9ViTSW+BL8jBHUbXaQlRBMRdYdLioBpHHYTkKhamX0NkNC+UkP9obUUNAmW7ZclAvr2OnIRLMtrXKMd7hIvMbr+ec; 20:nRdZJ6HqKTltFvKg37k8QXdPlUKuByyrYSOPxgZhEinnwAI7lM6m8FlJ+LEWgJPbhTDtKU7AqsfsyJzHcGXkY2kTFSLKiP1zvavMEsmrZ6Ja4mah0mVutgMiaGiNCxrZzkyYxyfzD5inyJVzYRqnxzREDsGLlPdbM3RVRA4jnkGdiAk+RW2uvADDeKv8txW8vmxSqR+m7ZRTX1cOlGUL3l3f/DdBWH3lJfHYI2WEZ2sWXot/2Asv9rvLKAlTavc83c/BuSBTYmWoQpKR8Gzkk0JJ6Q7glIg7vjRImbzc+y+RYLxdiPtTQmZvg5QKDEAv077DzLIoWDVmqcb6PrzNa2njqOho7vzctKiWNnTHANGa962RIzk8WHNj21Uz+INN5FD2amJUn1iXDnmMPaxB9OGLe0KrtF/j9AZ7fMmjzT8tSdKYIeY5SlukLIzLkOLRWxpF4UqJ2JMnt26V07qWAXAuD3X/kHlgm5znwD5ej35+W0OZ4hTGcwzlpTFepx5p X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:MWHPR12MB1247; BCL:0; PCL:0; RULEID:; SRVR:MWHPR12MB1247; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1247; 4:18b3k6hz7H2zxnhKXO3w4l1kkD7IJoNWA6LsTH6ljZyzr+pKM5BQD0A5SWhmIIkdrQzumc2BjJJFRw+jIbqamsk32iOr59wDFIceJ/Jbl/f1PMCjkVgYiJJAPTj2VapxHWQYvHYT5vyepHX1c0VS7b5MIlAm0XNsGxuDfgGwNXKfsczV6mYxpDNIPBHoDI0w2els9FCGwL+k8cVKIax+fvpx7weK/96PxxsL77wVfrmZviVFnN4wxGneEdyyLOXeRNvCmvaN+OpVwCdSL6TtoQ0nfHNnyjkjKUr6neHp55Qw34ETfYrRsyMqBxxlclLCnn4DO+ps234vpFbZSud45nfomAHCDhCUPgBeHFVK6EMRX3z93Cw0PGRutruH9SUW2rKUwLyRPOURTyuE2jOPhsN2mq38Z1ERl/4NBTX3lM0= X-Forefront-PRVS: 0108A997B2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6029001)(7916002)(189002)(199003)(66066001)(6666003)(110136003)(36756003)(42186005)(92566002)(53416004)(6916009)(48376002)(47776003)(50466002)(305945005)(189998001)(106356001)(2351001)(5660300001)(50986999)(7846002)(97736004)(105586002)(101416001)(2906002)(5003940100001)(229853001)(7736002)(4326007)(68736007)(8676002)(33646002)(6116002)(81156014)(77096005)(86362001)(81166006)(586003)(50226002)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1247; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; MWHPR12MB1247; 23:1lQs0snfd1ZMmwBsS/pwROs58JyWLmNvsFHQDfBd3?= =?us-ascii?Q?hHm/7aw4q2j63sZbDo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= =?us-ascii?Q?MPLMz4FQ0eXcYriu2ZfHAm+xtXjsYGvot2nzYKXDK+YV4UR8x6jRB+QwW0k7?= =?us-ascii?Q?wqtPFwglW7qV7fJoKydo9RsB2cpdLRjqmy2qN1UVoJ6nS6Vx+z01+2k71IuY?= =?us-ascii?Q?zREvWiqbRODHYYzBeStI/1GXQ5X?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1247; 6:HF4CM0RICgj3aVZdbQyd7AtA3ZSwHlJzwl/YQk46UBvrypxecQ1V57c7eQcOyzmiljgR4jiPe8GUku/hapw5zM9cnHmwqyBHuhWuWvHJa3eT0s9N7hnYeZOcNgbKudRGAlkASxmuertkS3VfgygifNH6RpIPnIYld7CkqWsp9FCUFX+FayDvemKRy7HMnwaP4wFSQAckZTB5f+wD+Ww8SrSEgiX8Y63wn8Zf5D6NG3jKFSInr2X3I3F/FabWz07ljUu95s2r96fbhuNtg82H0EFD70wM1pD9OV1FFQpFzLoJqhaulzRR+b9H/VajVI1K2kObstISynfcVduBa0ByLKVYTVO5v6gc2K125CGsB1Q=; 5:qTI/YrEf1ua9I8YAGDCAjVl4VTjDy1cgNoS4e7cHDwbgODd+sC3Cc/RReypzfUjqVix9zCMFzUGwFEpDO0WfFXBwXpKCU/jDGftjecUOoeZv0bSzZ3kfzav94pJyfu+E567UNUk5zj80mX9lO+efvQ==; 24:bKjRF8ewLUEWOrCRvWr45T24fP9lC8Q2AvIAfLm6Ez2ievRwypPYJ/faSHtkm1mq1/viaH/Xu/YW2YOlsl/Vuz9a6/N/nhmM1xz2g9w0FKA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1247; 7:ii95L2UHMauLd9eTJYo/bs3Ox75UJYgarRicrkPCy2nw0hbuqlvOt720iaUZDiCdPAhGpd2VQCqfCzGFe16k/4Q47/GQTma8joFnfwl/UG9V43570CeUvndv2MpKNyFnYAW0HYoazQppEF6a8oFKgjMBRpJp5tN9OgX5v6VAYk0/szA7D7xQLhNvTiShp766dHxarLEWZFiAUJyR8c4xINXMgxA1JKf2kDyASmndgFQMzYBZc9V0tRUiTuwa74McCeel3/c9sEB8KsLSTyq1DKJHPaDESq8CwJ2b8a8FHNEaRqNG+JQaPD6ANt/5Dq0M9H2Zu3xIG3xS2kr/MrmXcufi+7aUn+TYCoja/Cm9r2Q=; 20:lOKQm7IcCKxTi04IxcvgcOUfz0xi8a3JHkpF1Z4YEV7fivO9bF5TG7z1pq0sqk6WoNYzD2wIzuCGvvndhHgmjngPIeZh1ZnL1mWcXUf48kBvWYOb7oB5FecBUia3qthyKN2DgwL91si632BrEawmB4mpeSYHBHmglCoeeYnn5XwSlPmigGafvSmOYQw7RT9rtAyv2QWi8ZX33grxN9qtA1Yx1dRKJ0fOZJC+y1JP5vT3YhK5rCfG8SsaYOKuf+GI X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2016 22:30:27.4022 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1247 Subject: [PATCH] PiSmmCpuDxeSmm X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2016 22:30:30 -0000 Content-Type: text/plain This patch moves code that uses Intel-specific CPUID to a library. Leo Duran (1): UefiCpuPkg: Move GetProcessorLocation() to SmmCpuFeaturesLib library. UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h | 17 +++ .../Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c | 118 ++++++++++++++++++++ UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.c | 121 +-------------------- 3 files changed, 136 insertions(+), 120 deletions(-) -- 1.9.1