]>
git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/IA32/DispatchExecute.c
4f6a8dd1a73f49439666df3ed978dbb6750d772f
2 Execute 32-bit code in Protected Mode.
4 Copyright (c) 2014 - 2016, 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
);