]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/IA32/DispatchExecute.c
IntelFsp2WrapperPkg: BaseFspWrapperApiLib support for X64
[mirror_edk2.git] / IntelFsp2WrapperPkg / Library / BaseFspWrapperApiLib / IA32 / DispatchExecute.c
index 4f6a8dd1a73f49439666df3ed978dbb6750d772f..a17ca7dcabe85d737086df0e6cbb94683c3a4049 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Execute 32-bit code in Protected Mode.\r
 \r
-  Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -49,3 +49,24 @@ Execute32BitCode (
 \r
   return Status;\r
 }\r
+\r
+/**\r
+  Wrapper for a thunk to transition from compatibility mode to long mode to execute 64-bit code and then transit back to\r
+  compatibility mode.\r
+\r
+  @param[in] Function     The 64bit code entry to be executed.\r
+  @param[in] Param1       The first parameter to pass to 64bit code.\r
+  @param[in] Param2       The second parameter to pass to 64bit code.\r
+\r
+  @return EFI_STATUS.\r
+**/\r
+EFI_STATUS\r
+Execute64BitCode (\r
+  IN UINT64  Function,\r
+  IN UINT64  Param1,\r
+  IN UINT64  Param2\r
+  )\r
+{\r
+  return EFI_UNSUPPORTED;\r
+}\r
+\r