/** @file\r
CPU Features DXE driver to initialize CPU features.\r
\r
- Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
#include <Protocol/SmmConfiguration.h>\r
#include <Guid/CpuFeaturesInitDone.h>\r
\r
-\r
/**\r
Worker function to perform CPU feature initialization.\r
\r
VOID\r
)\r
{\r
- EFI_STATUS Status;\r
- EFI_HANDLE Handle;\r
+ EFI_STATUS Status;\r
+ EFI_HANDLE Handle;\r
\r
CpuFeaturesDetect ();\r
\r
VOID\r
EFIAPI\r
SmmConfigurationEventNotify (\r
- IN EFI_EVENT Event,\r
- IN VOID *Context\r
+ IN EFI_EVENT Event,\r
+ IN VOID *Context\r
)\r
{\r
- EFI_STATUS Status;\r
- EFI_SMM_CONFIGURATION_PROTOCOL *SmmConfiguration;\r
+ EFI_STATUS Status;\r
+ EFI_SMM_CONFIGURATION_PROTOCOL *SmmConfiguration;\r
\r
//\r
// Make sure this notification is for this handler\r
EFI_STATUS\r
EFIAPI\r
CpuFeaturesDxeInitialize (\r
- IN EFI_HANDLE ImageHandle,\r
- IN EFI_SYSTEM_TABLE *SystemTable\r
+ IN EFI_HANDLE ImageHandle,\r
+ IN EFI_SYSTEM_TABLE *SystemTable\r
)\r
{\r
VOID *Registration;\r
\r
if (GetFirstGuidHob (&gEdkiiCpuFeaturesInitDoneGuid) != NULL) {\r
//\r
- // Try to find HOB first. This HOB exist means CPU features have \r
- // been initialized by CpuFeaturesPei driver, just install \r
+ // Try to find HOB first. This HOB exist means CPU features have\r
+ // been initialized by CpuFeaturesPei driver, just install\r
// gEdkiiCpuFeaturesInitDoneGuid.\r
//\r
Handle = NULL;\r
\r
return EFI_SUCCESS;\r
}\r
-\r