]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c
UefiCpuPkg/SmmCpuFeaturesLib: Move multi-instance function decl to header
[mirror_edk2.git] / UefiCpuPkg / Library / SmmCpuFeaturesLib / SmmStm.c
index 8dc2d70527723fdd12114c3a8f2764faefdba5f5..b5aad41fdb6474ab69f5e1b9b5133fb0de120a12 100644 (file)
@@ -2,13 +2,7 @@
   SMM STM support functions\r
 \r
   Copyright (c) 2015 - 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
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/SmmServicesTableLib.h>\r
 #include <Library/TpmMeasurementLib.h>\r
-#include <Register/Cpuid.h>\r
-#include <Register/ArchitecturalMsr.h>\r
-#include <Register/SmramSaveStateMap.h>\r
+#include <Register/Intel/Cpuid.h>\r
+#include <Register/Intel/ArchitecturalMsr.h>\r
+#include <Register/Intel/SmramSaveStateMap.h>\r
 \r
 #include <Protocol/MpService.h>\r
 \r
+#include "CpuFeaturesLib.h"\r
 #include "SmmStm.h"\r
 \r
 #define TXT_EVTYPE_BASE                  0x400\r
@@ -919,7 +914,7 @@ AddPiResource (
     }\r
 \r
     //\r
-    // Copy EndResource for intialization\r
+    // Copy EndResource for initialization\r
     //\r
     mStmResourcesPtr = (UINT8 *)(UINTN)NewResource;\r
     mStmResourceTotalSize = NewResourceSize;\r
@@ -1242,7 +1237,7 @@ LoadMonitor (
 /**\r
   This function return BIOS STM resource.\r
   Produced by SmmStm.\r
-  Comsumed by SmmMpService when Init.\r
+  Consumed by SmmMpService when Init.\r
 \r
   @return BIOS STM resource\r
 \r