TianoCore EDK2 master
Loading...
Searching...
No Matches
DispatchExecute.c
Go to the documentation of this file.
1
9#include <Uefi.h>
10#include <FspEas.h>
11
20typedef
22(EFIAPI *FSP_FUNCTION)(
23 IN VOID *Param1,
24 IN VOID *Param2
25 );
26
39 IN UINT64 Function,
40 IN UINT64 Param1,
41 IN UINT64 Param2
42 )
43{
44 FSP_FUNCTION EntryFunc;
45 EFI_STATUS Status;
46
47 EntryFunc = (FSP_FUNCTION)(UINTN)(Function);
48 Status = EntryFunc ((VOID *)(UINTN)Param1, (VOID *)(UINTN)Param2);
49
50 return Status;
51}
52
65 IN UINT64 Function,
66 IN UINT64 Param1,
67 IN UINT64 Param2
68 )
69{
70 return EFI_UNSUPPORTED;
71}
UINT64 UINTN
EFI_STATUS Execute32BitCode(IN UINT64 Function, IN UINT64 Param1, IN UINT64 Param2)
EFI_STATUS Execute64BitCode(IN UINT64 Function, IN UINT64 Param1, IN UINT64 Param2)
EFI_STATUS(EFIAPI * FSP_FUNCTION)(IN VOID *Param1, IN VOID *Param2)
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29