]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c
IntelFspPkg&IntelFspWrapperPkg: Remove them
[mirror_edk2.git] / IntelFspWrapperPkg / Library / BaseFspApiLib / IA32 / DispatchExecute.c
diff --git a/IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c b/IntelFspWrapperPkg/Library/BaseFspApiLib/IA32/DispatchExecute.c
deleted file mode 100644 (file)
index bf1774e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/** @file\r
-  Execute 32-bit code in Protected Mode.\r
-\r
-  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
-  SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#include <Uefi.h>\r
-#include <FspApi.h>\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *FSP_FUNCTION) (\r
-  IN VOID *Param1\r
-  );\r
-\r
-/**\r
-  Wrapper for a thunk  to transition from long mode to compatibility mode to execute 32-bit code and then transit back to\r
-  long mode.\r
-\r
-  @param[in] Function     The 32bit code entry to be executed.\r
-  @param[in] Param1       The first parameter to pass to 32bit code.\r
-\r
-  @return EFI_STATUS.\r
-**/\r
-EFI_STATUS\r
-Execute32BitCode (\r
-  IN UINT64      Function,\r
-  IN UINT64      Param1\r
-  )\r
-{\r
-  FSP_FUNCTION               EntryFunc;\r
-  EFI_STATUS                 Status;\r
-\r
-  EntryFunc = (FSP_FUNCTION) (UINTN) (Function);\r
-  Status    = EntryFunc ((VOID *)(UINTN)Param1);\r
-\r
-  return Status;\r
-}\r
-\r