]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / UefiCpuPkg / CpuFeatures / CpuFeaturesDxe.c
index b5c2605d93c34c42cdba7e8cc07916f098d90619..0a0e14a134303382e50bdebc72d3b2c804aa861a 100644 (file)
@@ -2,13 +2,7 @@
   CPU Features DXE driver to initialize CPU features.\r
 \r
   Copyright (c) 2017 - 2018, 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
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -24,7 +18,6 @@
 #include <Protocol/SmmConfiguration.h>\r
 #include <Guid/CpuFeaturesInitDone.h>\r
 \r
-\r
 /**\r
   Worker function to perform CPU feature initialization.\r
 \r
@@ -34,8 +27,8 @@ CpuFeaturesInitializeWorker (
   VOID\r
   )\r
 {\r
-  EFI_STATUS             Status;\r
-  EFI_HANDLE             Handle;\r
+  EFI_STATUS  Status;\r
+  EFI_HANDLE  Handle;\r
 \r
   CpuFeaturesDetect ();\r
 \r
@@ -63,12 +56,12 @@ CpuFeaturesInitializeWorker (
 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
@@ -97,8 +90,8 @@ SmmConfigurationEventNotify (
 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
@@ -139,4 +132,3 @@ CpuFeaturesDxeInitialize (
 \r
   return EFI_SUCCESS;\r
 }\r
-\r