[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 16:36:04 +00:00
parent df2509db95
commit 196f0f2551
16 changed files with 6 additions and 23 deletions

View File

@@ -534,7 +534,6 @@ static void bios_inject_startup ( void ) {
"cmpb $0, %%cs:bios_inject_lock\n\t"
"jnz 1f\n\t"
"pushl %0\n\t"
"pushw %%cs\n\t"
"call prot_call\n\t"
"\n1:\n\t"
"popfw\n\t"

View File

@@ -1481,7 +1481,6 @@ static void int13_hook_vector ( void ) {
"orb $0, %%al\n\t"
"stc\n\t"
"pushl %0\n\t"
"pushw %%cs\n\t"
"call prot_call\n\t"
/* Chain if OF not set */
"jo 1f\n\t"