mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 13:00:39 +03:00
[librm] Discard argument as part of return from real_call()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -192,7 +192,6 @@ extern void remove_user_from_rm_stack ( userptr_t data, size_t size );
|
||||
#define REAL_CODE( asm_code_str ) \
|
||||
"push $1f\n\t" \
|
||||
"call real_call\n\t" \
|
||||
"addl $4, %%esp\n\t" \
|
||||
TEXT16_CODE ( "\n1:\n\t" \
|
||||
asm_code_str \
|
||||
"\n\t" \
|
||||
|
||||
@@ -518,7 +518,7 @@ rc_rmode:
|
||||
rc_pmode:
|
||||
/* Restore registers and return */
|
||||
popal
|
||||
ret
|
||||
ret $4
|
||||
|
||||
|
||||
/* Function vector, used because "call xx(%sp)" is not a valid
|
||||
|
||||
Reference in New Issue
Block a user