/* Wrapper to execute 64-bit code directly from long mode. */
EFI_STATUS Execute64BitCode(IN UINT64 Function, IN UINT64 Param1, IN UINT64 Param2)
/* Wrapper to execute 64-bit code directly from long mode. */
EFI_STATUS Execute64BitCode(IN UINT64 Function, IN UINT64 Param1, IN UINT64 Param2)
{
  FSP_FUNCTION  EntryFunc;
  EFI_STATUS    Status;
  EntryFunc = (FSP_FUNCTION)(UINTN)(Function);
  Status    = EntryFunc ((VOID *)(UINTN)Param1, (VOID *)(UINTN)Param2);
  return Status;
}