]>
git.proxmox.com Git - mirror_edk2.git/blob - IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c
2 Execute 32-bit code in Protected Mode.
4 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20 (FSPAPI
*FSP_FUNCTION
) (
25 Wrapper for a thunk to transition from long mode to compatibility mode to execute 32-bit code and then transit back to
28 @param[in] Function The 32bit code entry to be executed.
29 @param[in] Param1 The first parameter to pass to 32bit code.
39 FSP_FUNCTION EntryFunc
;
42 EntryFunc
= (FSP_FUNCTION
) (UINTN
) (Function
);
43 Status
= EntryFunc ((VOID
*)(UINTN
)Param1
);