[librm] Discard argument as part of return from prot_call()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-02-16 23:16:49 +00:00
parent f468f12b1e
commit 9dc340d735
15 changed files with 6 additions and 22 deletions
-1
View File
@@ -373,7 +373,6 @@ start_runtime:
pushl $main
pushw %cs
call prot_call
popl %ecx /* discard */
/* Uninstall iPXE */
call uninstall
-1
View File
@@ -151,7 +151,6 @@ _exe_start:
pushl $main
pushw %cs
call prot_call
popl %ecx /* discard */
/* Uninstall iPXE */
call uninstall
-1
View File
@@ -102,7 +102,6 @@ start_image:
pushl $main
pushw %cs
call prot_call
popl %ecx /* discard */
/* Uninstall iPXE */
call uninstall
-1
View File
@@ -880,7 +880,6 @@ payload_death_message:
movw %ax, (prot_call_vector+2)
pushl $relocate
lcall *prot_call_vector
popl %edx /* discard */
/* Copy code to new location */
progress " copy\n"
-1
View File
@@ -200,7 +200,6 @@ no_cmd_line:
pushl $main
pushw %cs
call prot_call
popl %ecx /* discard */
/* Uninstall iPXE */
call uninstall
-1
View File
@@ -69,7 +69,6 @@ _nbi_start:
pushl $main
pushw %cs
call prot_call
popl %ecx /* discard */
/* Uninstall iPXE */
call uninstall
-1
View File
@@ -823,7 +823,6 @@ run_ipxe:
pushl $main
pushw %cs
call prot_call
popl %ecx /* discard */
/* Uninstall iPXE */
call uninstall
-1
View File
@@ -807,7 +807,6 @@ exec: /* Set %ds = %cs */
pushl $main
pushw %cs
call prot_call
popl %eax /* discard */
/* Set up flat real mode for return to BIOS */
call flatten_real_mode
+1 -3
View File
@@ -41,9 +41,7 @@ undiloader:
pushw %ax
pushw $prot_call
lret
1: popw %bx /* discard */
popw %bx /* discard */
/* Restore registers and return */
1: /* Restore registers and return */
popw %bx
popw %es
popw %ds