mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
[librm] Convert prot_call() to a real-mode near call
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -121,7 +121,6 @@ pxenv_null_entry:
|
||||
.code16
|
||||
pxenv_entry:
|
||||
pushl $pxe_api_call
|
||||
pushw %cs
|
||||
call prot_call
|
||||
lret
|
||||
.size pxenv_entry, . - pxenv_entry
|
||||
|
||||
Reference in New Issue
Block a user