X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFspWrapperPkg%2FLibrary%2FBaseFspApiLib%2FIA32%2FDispatchExecute.c;h=bf1774e5d2c14f5f5f0a397a390f0430eee7beea;hp=15d0a023b814f99799ff90303128a7482c8cc799;hb=e8015f2facfffa31db8a06c1121647f76f1035dc;hpb=a33a2f62218e6e49a25d63474b7fe423d8ee4b71 diff --git a/IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c b/IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c index 15d0a023b8..bf1774e5d2 100644 --- a/IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c +++ b/IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c @@ -1,14 +1,8 @@ /** @file Execute 32-bit code in Protected Mode. - Copyright (c) 2014, Intel Corporation. All rights reserved.
- This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php. - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -16,8 +10,8 @@ #include typedef -FSP_STATUS -(FSPAPI *FSP_FUNCTION) ( +EFI_STATUS +(EFIAPI *FSP_FUNCTION) ( IN VOID *Param1 ); @@ -28,16 +22,16 @@ FSP_STATUS @param[in] Function The 32bit code entry to be executed. @param[in] Param1 The first parameter to pass to 32bit code. - @return FSP_STATUS. + @return EFI_STATUS. **/ -FSP_STATUS +EFI_STATUS Execute32BitCode ( IN UINT64 Function, IN UINT64 Param1 ) { FSP_FUNCTION EntryFunc; - FSP_STATUS Status; + EFI_STATUS Status; EntryFunc = (FSP_FUNCTION) (UINTN) (Function); Status = EntryFunc ((VOID *)(UINTN)Param1);