mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 13:00:39 +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"
|
||||
|
||||
Reference in New Issue
Block a user