]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2Pkg/Include/Library/FspPlatformLib.h
IntelFsp2Pkg: Update Function header to support IA32/X64.
[mirror_edk2.git] / IntelFsp2Pkg / Include / Library / FspPlatformLib.h
index 9247bd52210197250a792c3e7508d879150f1776..081add65292ee69f77f2dbab338d49594f89aadf 100644 (file)
@@ -1,13 +1,7 @@
 /** @file\r
 \r
   Copyright (c) 2014 - 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
-  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
@@ -22,7 +16,7 @@
 EFI_HOB_RESOURCE_DESCRIPTOR *\r
 EFIAPI\r
 FspGetResourceDescriptorByOwner (\r
-  IN EFI_GUID   *OwnerGuid\r
+  IN EFI_GUID  *OwnerGuid\r
   );\r
 \r
 /**\r
@@ -34,18 +28,8 @@ FspGetResourceDescriptorByOwner (
 VOID\r
 EFIAPI\r
 FspGetSystemMemorySize (\r
-  IN OUT UINT64              *LowMemoryLength,\r
-  IN OUT UINT64              *HighMemoryLength\r
-  );\r
-\r
-/**\r
-  Migrate BootLoader data before destroying CAR.\r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-FspMigrateTemporaryMemory (\r
-  VOID\r
+  IN OUT UINT64  *LowMemoryLength,\r
+  IN OUT UINT64  *HighMemoryLength\r
   );\r
 \r
 /**\r
@@ -76,7 +60,7 @@ FspSiliconInitDone (
 VOID\r
 EFIAPI\r
 FspMemoryInitDone (\r
-  IN OUT VOID   **HobListPtr\r
+  IN OUT VOID  **HobListPtr\r
   );\r
 \r
 /**\r
@@ -102,4 +86,39 @@ FspWaitForNotify (
   VOID\r
   );\r
 \r
+/**\r
+  This function transfer control back to BootLoader after FspSiliconInit.\r
+\r
+  @param[in] Status return status for the FspSiliconInit.\r
+**/\r
+VOID\r
+EFIAPI\r
+FspSiliconInitDone2 (\r
+  IN EFI_STATUS  Status\r
+  );\r
+\r
+/**\r
+  This function returns control to BootLoader after MemoryInitApi.\r
+\r
+  @param[in] Status return status for the MemoryInitApi.\r
+  @param[in,out] HobListPtr The address of HobList pointer.\r
+**/\r
+VOID\r
+EFIAPI\r
+FspMemoryInitDone2 (\r
+  IN EFI_STATUS  Status,\r
+  IN OUT VOID    **HobListPtr\r
+  );\r
+\r
+/**\r
+  This function returns control to BootLoader after TempRamExitApi.\r
+\r
+  @param[in] Status return status for the TempRamExitApi.\r
+**/\r
+VOID\r
+EFIAPI\r
+FspTempRamExitDone2 (\r
+  IN EFI_STATUS  Status\r
+  );\r
+\r
 #endif\r