]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/EbcDxe/EbcInt.h
Remove assumption on EAX and R10 usage for IA32 compiler and X64 compiler.
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcInt.h
index 98ba7e66f34629cb02f2d3691161edb2dff4e583..01ac4412151ce6b8be304b427a3236215c57985d 100644 (file)
@@ -145,21 +145,6 @@ EbcLLGetEbcEntryPoint (
   VOID\r
   );\r
 \r
-/**\r
-  Returns the caller's value of the stack pointer.\r
-\r
-  We adjust it by 4 here because when they called us, the return address\r
-  is put on the stack, thereby lowering it by 4 bytes.\r
-\r
-  @return The current value of the stack pointer for the caller.\r
-\r
-**/\r
-UINTN\r
-EFIAPI\r
-EbcLLGetStackPointer (\r
-  VOID\r
-  );\r
-\r
 /**\r
   This function is called to execute an EBC CALLEX instruction.\r
   This instruction requires that we thunk out to external native\r
@@ -172,8 +157,10 @@ EbcLLGetStackPointer (
   @param  EbcSp        The new EBC stack pointer.\r
   @param  FramePtr     The frame pointer.\r
 \r
+  @return The unmodified value returned by the native code.\r
+\r
 **/\r
-VOID\r
+INT64\r
 EFIAPI\r
 EbcLLCALLEXNative (\r
   IN UINTN        CallAddr,\r
@@ -205,21 +192,6 @@ EbcLLCALLEX (
   IN UINT8        Size\r
   );\r
 \r
-/**\r
-  When EBC calls native, on return the VM has to stuff the return\r
-  value into a VM register. It's assumed here that the value is still\r
-  in the register, so simply return and the caller should get the\r
-  return result properly.\r
-\r
-  @return The unmodified value returned by the native code.\r
-\r
-**/\r
-INT64\r
-EFIAPI\r
-EbcLLGetReturnValue (\r
-  VOID\r
-  );\r
-\r
 /**\r
   Returns the stack index and buffer assosicated with the Handle parameter.\r
 \r