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
@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
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