]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformPei/Platform.h
CorebootPayloadPkg: Use generic SerialDxe driver
[mirror_edk2.git] / OvmfPkg / PlatformPei / Platform.h
index cc371c57f7d49a40ce6094598ba4ba57225c6a1c..bb988ea19e7d1bfeeba27c01b6b66602b4b9b18e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Platform PEI module include file.\r
 \r
-  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2016, 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
@@ -41,22 +41,16 @@ AddMemoryRangeHob (
   EFI_PHYSICAL_ADDRESS        MemoryLimit\r
   );\r
 \r
-VOID\r
-AddUntestedMemoryBaseSizeHob (\r
-  EFI_PHYSICAL_ADDRESS        MemoryBase,\r
-  UINT64                      MemorySize\r
-  );\r
-\r
 VOID\r
 AddReservedMemoryBaseSizeHob (\r
   EFI_PHYSICAL_ADDRESS        MemoryBase,\r
-  UINT64                      MemorySize\r
+  UINT64                      MemorySize,\r
+  BOOLEAN                     Cacheable\r
   );\r
 \r
 VOID\r
-AddUntestedMemoryRangeHob (\r
-  EFI_PHYSICAL_ADDRESS        MemoryBase,\r
-  EFI_PHYSICAL_ADDRESS        MemoryLimit\r
+AddressWidthInitialization (\r
+  VOID\r
   );\r
 \r
 EFI_STATUS\r
@@ -64,8 +58,13 @@ PublishPeiMemory (
   VOID\r
   );\r
 \r
-EFI_PHYSICAL_ADDRESS\r
-MemDetect (\r
+UINT32\r
+GetSystemMemorySizeBelow4gb (\r
+  VOID\r
+  );\r
+\r
+VOID\r
+InitializeRamRegions (\r
   VOID\r
   );\r
 \r
@@ -76,20 +75,25 @@ PeiFvInitialization (
 \r
 EFI_STATUS\r
 InitializeXen (\r
-  UINT32 XenLeaf\r
+  VOID\r
   );\r
 \r
-UINT32\r
+BOOLEAN\r
 XenDetect (\r
   VOID\r
   );\r
 \r
 extern BOOLEAN mXen;\r
 \r
-EFI_STATUS\r
-XenGetE820Map (\r
-  EFI_E820_ENTRY64 **Entries,\r
-  UINT32 *Count\r
+VOID\r
+XenPublishRamRegions (\r
+  VOID\r
   );\r
 \r
+extern EFI_BOOT_MODE mBootMode;\r
+\r
+extern BOOLEAN mS3Supported;\r
+\r
+extern UINT8 mPhysMemAddressWidth;\r
+\r
 #endif // _PLATFORM_PEI_H_INCLUDED_\r