]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c
DynamicTablesPkg: GTDT updates for ACPI 6.3
[mirror_edk2.git] / IntelFspWrapperPkg / Library / BaseFspApiLib / IA32 / DispatchExecute.c
index 15d0a023b814f99799ff90303128a7482c8cc799..bf1774e5d2c14f5f5f0a397a390f0430eee7beea 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   Execute 32-bit code in Protected Mode.\r
 \r
-  Copyright (c) 2014, 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
+  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -16,8 +10,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 +22,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