[librm] Convert prot_call() to a real-mode near call

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-02-18 17:12:16 +00:00
parent df2509db95
commit 196f0f2551
16 changed files with 6 additions and 23 deletions
-1
View File
@@ -371,7 +371,6 @@ start_runtime:
.section ".text16", "awx", @progbits
1:
pushl $main
pushw %cs
call prot_call
/* Uninstall iPXE */
-1
View File
@@ -149,7 +149,6 @@ _exe_start:
/* Run iPXE */
pushl $main
pushw %cs
call prot_call
/* Uninstall iPXE */
-1
View File
@@ -100,7 +100,6 @@ start_image:
.section ".text16", "awx", @progbits
1:
pushl $main
pushw %cs
call prot_call
/* Uninstall iPXE */
-1
View File
@@ -888,7 +888,6 @@ payload_death_message:
*/
progress " relocate\n"
pushl $relocate
pushw %cs
call prot_call
/* Jump back to .prefix segment */
-1
View File
@@ -198,7 +198,6 @@ no_cmd_line:
/* Run iPXE */
pushl $main
pushw %cs
call prot_call
/* Uninstall iPXE */
-1
View File
@@ -67,7 +67,6 @@ _nbi_start:
.section ".text16", "awx", @progbits
1:
pushl $main
pushw %cs
call prot_call
/* Uninstall iPXE */
-1
View File
@@ -821,7 +821,6 @@ run_ipxe:
/* Run main program */
pushl $main
pushw %cs
call prot_call
/* Uninstall iPXE */
-1
View File
@@ -808,7 +808,6 @@ exec: /* Set %ds = %cs */
/* Call main() */
pushl $main
pushw %cs
call prot_call
/* Set up flat real mode for return to BIOS */
-1
View File
@@ -46,7 +46,6 @@ undiloader:
1:
/* Call UNDI loader C code */
pushl $pxe_loader_call
pushw %cs
call prot_call
1: /* Restore registers and return */