]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/ScriptExecute.h
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe: Add support for PCD PcdPteMemoryEn...
[mirror_edk2.git] / MdeModulePkg / Universal / Acpi / BootScriptExecutorDxe / ScriptExecute.h
index 6a97b7790e52b0f14e6b1e4791ce688be6f41344..75327569d75266e3d759ffaae6304c770d229499 100644 (file)
@@ -1,10 +1,11 @@
 /** @file\r
   The header file for Boot Script Executer module.\r
   \r
-  This driver is dispatched by Dxe core and the driver will reload itself to ACPI NVS memory \r
+  This driver is dispatched by Dxe core and the driver will reload itself to ACPI reserved memory \r
   in the entry point. The functionality is to interpret and restore the S3 boot script \r
   \r
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
@@ -31,17 +32,22 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 #include <Library/PcdLib.h>\r
 #include <Library/CacheMaintenanceLib.h>\r
-#include <Library/PerformanceLib.h>\r
 #include <Library/TimerLib.h>\r
 #include <Library/UefiLib.h>\r
 #include <Library/DebugAgentLib.h>\r
 #include <Library/LockBoxLib.h>\r
+#include <Library/CpuExceptionHandlerLib.h>\r
+#include <Library/DevicePathLib.h>\r
 \r
 #include <Guid/AcpiS3Context.h>\r
 #include <Guid/BootScriptExecutorVariable.h>\r
-#include <Guid/EventGroup.h>\r
-#include <Guid/Performance.h>\r
+#include <Guid/MemoryProfile.h>\r
+\r
+#include <Protocol/DxeSmmReadyToLock.h>\r
 #include <IndustryStandard/Acpi.h>\r
+\r
+#define PAGING_1G_ADDRESS_MASK_64  0x000FFFFFC0000000ull\r
+\r
 /**\r
   a ASM function to transfer control to OS.\r
   \r
@@ -84,5 +90,7 @@ SetIdtEntry (
 \r
 extern UINT32 AsmFixAddress16;\r
 extern UINT32 AsmJmpAddr32;\r
+extern BOOLEAN mPage1GSupport;\r
+extern UINT64 mAddressEncMask;\r
 \r
 #endif //_BOOT_SCRIPT_EXECUTOR_H_\r