]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c
Update IntelFspWrapperPkg according to FSP1.1.
[mirror_edk2.git] / IntelFspWrapperPkg / Library / BaseFspApiLib / IA32 / DispatchExecute.c
index 15d0a023b814f99799ff90303128a7482c8cc799..8bc3501b50698daf7ff0d369697272fb5cdccc31 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Execute 32-bit code in Protected Mode.\r
 \r
-  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2015, 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
@@ -16,8 +16,8 @@
 #include <FspApi.h>\r
 \r
 typedef\r
-FSP_STATUS\r
-(FSPAPI *FSP_FUNCTION) (\r
+EFI_STATUS\r
+(EFIAPI *FSP_FUNCTION) (\r
   IN VOID *Param1\r
   );\r
 \r
@@ -28,16 +28,16 @@ FSP_STATUS
   @param[in] Function     The 32bit code entry to be executed.\r
   @param[in] Param1       The first parameter to pass to 32bit code.\r
 \r
-  @return FSP_STATUS.\r
+  @return EFI_STATUS.\r
 **/\r
-FSP_STATUS\r
+EFI_STATUS\r
 Execute32BitCode (\r
   IN UINT64      Function,\r
   IN UINT64      Param1\r
   )\r
 {\r
   FSP_FUNCTION               EntryFunc;\r
-  FSP_STATUS                 Status;\r
+  EFI_STATUS                 Status;\r
 \r
   EntryFunc = (FSP_FUNCTION) (UINTN) (Function);\r
   Status    = EntryFunc ((VOID *)(UINTN)Param1);\r