]>
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 - 2015, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
14 (EFIAPI
*FSP_FUNCTION
) (
19 Wrapper for a thunk to transition from long mode to compatibility mode to execute 32-bit code and then transit back to
22 @param[in] Function The 32bit code entry to be executed.
23 @param[in] Param1 The first parameter to pass to 32bit code.
33 FSP_FUNCTION EntryFunc
;
36 EntryFunc
= (FSP_FUNCTION
) (UINTN
) (Function
);
37 Status
= EntryFunc ((VOID
*)(UINTN
)Param1
);