]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspPkg/FspSecCore/SecFsp.h
MdeModulePKg/BDS: Build meaningful description for Wi-Fi boot option
[mirror_edk2.git] / IntelFspPkg / FspSecCore / SecFsp.h
index 6582bb10f84665faf46b95ade5916de0cd85bcae..4dceebc31b4e03baf4ce4d86701c8c9d04b1686f 100644 (file)
 #define _SEC_FSPE_H_\r
 \r
 #include <PiPei.h>\r
+#include <FspApi.h>\r
 #include <Library/PcdLib.h>\r
 #include <Library/BaseLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/SerialPortLib.h>\r
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/FspCommonLib.h>\r
-\r
-#include <FspApi.h>\r
+#include <Library/FspSecPlatformLib.h>\r
 \r
 #define FSP_MCUD_SIGNATURE  SIGNATURE_32 ('M', 'C', 'U', 'D')\r
 #define FSP_PER0_SIGNATURE  SIGNATURE_32 ('P', 'E', 'R', '0')\r
@@ -47,14 +47,14 @@ FspGetExceptionHandler(
   It needs to be done as soon as possible after the stack is setup.\r
 \r
   @param[in,out] PeiFspData             Pointer of the FSP global data.\r
-  @param[in]     BootloaderStack        Bootloader stack.\r
+  @param[in]     BootLoaderStack        BootLoader stack.\r
   @param[in]     ApiIdx                 The index of the FSP API.\r
 \r
 **/\r
 VOID\r
 FspGlobalDataInit (\r
   IN OUT  FSP_GLOBAL_DATA    *PeiFspData,\r
-  IN UINT32                   BootloaderStack,\r
+  IN UINT32                   BootLoaderStack,\r
   IN UINT8                    ApiIdx\r
   );\r
 \r
@@ -80,7 +80,19 @@ FspDataPointerFixUp (
 **/\r
 UINT32\r
 EFIAPI\r
-GetFspBaseAddress (\r
+AsmGetFspBaseAddress (\r
+  VOID\r
+  );\r
+\r
+/**\r
+  This interface gets FspInfoHeader pointer\r
+\r
+  @return   FSP binary base address.\r
+\r
+**/\r
+UINT32\r
+EFIAPI\r
+AsmGetFspInfoHeader (\r
   VOID\r
   );\r
 \r