mirror of
https://github.com/ipxe/ipxe
synced 2026-01-14 18:39:06 +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:
@@ -661,7 +661,6 @@ void hook_comboot_interrupts ( ) {
|
||||
__asm__ __volatile__ (
|
||||
TEXT16_CODE ( "\nint20_wrapper:\n\t"
|
||||
"pushl %0\n\t"
|
||||
"pushw %%cs\n\t"
|
||||
"call prot_call\n\t"
|
||||
"clc\n\t"
|
||||
"call patch_cf\n\t"
|
||||
@@ -673,7 +672,6 @@ void hook_comboot_interrupts ( ) {
|
||||
__asm__ __volatile__ (
|
||||
TEXT16_CODE ( "\nint21_wrapper:\n\t"
|
||||
"pushl %0\n\t"
|
||||
"pushw %%cs\n\t"
|
||||
"call prot_call\n\t"
|
||||
"clc\n\t"
|
||||
"call patch_cf\n\t"
|
||||
@@ -685,7 +683,6 @@ void hook_comboot_interrupts ( ) {
|
||||
__asm__ __volatile__ (
|
||||
TEXT16_CODE ( "\nint22_wrapper:\n\t"
|
||||
"pushl %0\n\t"
|
||||
"pushw %%cs\n\t"
|
||||
"call prot_call\n\t"
|
||||
"clc\n\t"
|
||||
"call patch_cf\n\t"
|
||||
|
||||
Reference in New Issue
Block a user