]>
git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/IA32/DispatchExecute.c
2 Execute 32-bit code in Protected Mode.
4 Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
15 @param[in] Param1 The first parameter to pass to 32bit code.
16 @param[in] Param2 The second parameter to pass to 32bit code.
22 (EFIAPI
*FSP_FUNCTION
)(
28 Wrapper for a thunk to transition from long mode to compatibility mode to execute 32-bit code and then transit back to
31 @param[in] Function The 32bit code entry to be executed.
32 @param[in] Param1 The first parameter to pass to 32bit code.
33 @param[in] Param2 The second parameter to pass to 32bit code.
44 FSP_FUNCTION EntryFunc
;
47 EntryFunc
= (FSP_FUNCTION
)(UINTN
)(Function
);
48 Status
= EntryFunc ((VOID
*)(UINTN
)Param1
, (VOID
*)(UINTN
)Param2
);
54 Wrapper for a thunk to transition from compatibility mode to long mode to execute 64-bit code and then transit back to
57 @param[in] Function The 64bit code entry to be executed.
58 @param[in] Param1 The first parameter to pass to 64bit code.
59 @param[in] Param2 The second parameter to pass to 64bit code.
70 return EFI_UNSUPPORTED
;