]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Library/PlatformInitLib.h
OvmfPkg/PlatformInitLib: Move functions to Platform.c
[mirror_edk2.git] / OvmfPkg / Include / Library / PlatformInitLib.h
index 62020efadf37c1c0ca95ac38389fac3875e8a16e..b31f521578c2b7ce1f3dc23a6e21dd3a13676295 100644 (file)
@@ -169,4 +169,38 @@ PlatformQemuInitializeRamForS3 (
   IN EFI_HOB_PLATFORM_INFO  *PlatformInfoHob\r
   );\r
 \r
+VOID\r
+EFIAPI\r
+PlatformMemMapInitialization (\r
+  IN OUT EFI_HOB_PLATFORM_INFO  *PlatformInfoHob\r
+  );\r
+\r
+/**\r
+ * Fetch "opt/ovmf/PcdSetNxForStack" from QEMU\r
+ *\r
+ * @param Setting     The pointer to the setting of "/opt/ovmf/PcdSetNxForStack".\r
+ * @return EFI_SUCCESS  Successfully fetch the settings.\r
+ */\r
+EFI_STATUS\r
+EFIAPI\r
+PlatformNoexecDxeInitialization (\r
+  IN OUT EFI_HOB_PLATFORM_INFO  *PlatformInfoHob\r
+  );\r
+\r
+VOID\r
+EFIAPI\r
+PlatformMiscInitialization (\r
+  IN EFI_HOB_PLATFORM_INFO  *PlatformInfoHob\r
+  );\r
+\r
+/**\r
+  Fetch the boot CPU count and the possible CPU count from QEMU, and expose\r
+  them to UefiCpuPkg modules.\r
+**/\r
+VOID\r
+EFIAPI\r
+PlatformMaxCpuCountInitialization (\r
+  IN OUT EFI_HOB_PLATFORM_INFO  *PlatformInfoHob\r
+  );\r
+\r
 #endif // PLATFORM_INIT_LIB_H_\r