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
}\r
\r
//\r
- // Copy EndResource for intialization\r
+ // Copy EndResource for initialization\r
//\r
mStmResourcesPtr = (UINT8 *)(UINTN)NewResource;\r
mStmResourceTotalSize = NewResourceSize;\r
/**\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