diff options
Diffstat (limited to 'src/arch/x86/interface')
-rw-r--r-- | src/arch/x86/interface/pcbios/bios_console.c | 4 | ||||
-rw-r--r-- | src/arch/x86/interface/pcbios/bios_reboot.c | 2 | ||||
-rw-r--r-- | src/arch/x86/interface/syslinux/comboot_call.c | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/x86/interface/pcbios/bios_console.c b/src/arch/x86/interface/pcbios/bios_console.c index 81e3a7d7..08fa6d03 100644 --- a/src/arch/x86/interface/pcbios/bios_console.c +++ b/src/arch/x86/interface/pcbios/bios_console.c @@ -521,12 +521,12 @@ static void bios_inject_startup ( void ) { __asm__ __volatile__ ( TEXT16_CODE ( "\nint16_wrapper:\n\t" "pushfw\n\t" - "cmpb $0, %cs:bios_inject_lock\n\t" + "cmpb $0, %%cs:bios_inject_lock\n\t" "jnz 1f\n\t" VIRT_CALL ( bios_inject ) "\n1:\n\t" "popfw\n\t" - "ljmp *%cs:int16_vector\n\t" ) ); + "ljmp *%%cs:int16_vector\n\t" ) : ); /* Hook INT 16 */ hook_bios_interrupt ( 0x16, ( ( intptr_t ) int16_wrapper ), diff --git a/src/arch/x86/interface/pcbios/bios_reboot.c b/src/arch/x86/interface/pcbios/bios_reboot.c index c6c5a5a9..071173f1 100644 --- a/src/arch/x86/interface/pcbios/bios_reboot.c +++ b/src/arch/x86/interface/pcbios/bios_reboot.c @@ -48,7 +48,7 @@ static void bios_reboot ( int warm ) { put_real ( flag, BDA_SEG, BDA_REBOOT ); /* Jump to system reset vector */ - __asm__ __volatile__ ( REAL_CODE ( "ljmp $0xf000, $0xfff0" ) ); + __asm__ __volatile__ ( REAL_CODE ( "ljmp $0xf000, $0xfff0" ) : ); } /** diff --git a/src/arch/x86/interface/syslinux/comboot_call.c b/src/arch/x86/interface/syslinux/comboot_call.c index 2f5c252c..e70f200e 100644 --- a/src/arch/x86/interface/syslinux/comboot_call.c +++ b/src/arch/x86/interface/syslinux/comboot_call.c @@ -663,7 +663,7 @@ void hook_comboot_interrupts ( ) { VIRT_CALL ( int20 ) "clc\n\t" "call patch_cf\n\t" - "iret\n\t" ) ); + "iret\n\t" ) : ); hook_bios_interrupt ( 0x20, ( intptr_t ) int20_wrapper, &int20_vector ); @@ -672,7 +672,7 @@ void hook_comboot_interrupts ( ) { VIRT_CALL ( int21 ) "clc\n\t" "call patch_cf\n\t" - "iret\n\t" ) ); + "iret\n\t" ) : ); hook_bios_interrupt ( 0x21, ( intptr_t ) int21_wrapper, &int21_vector ); @@ -681,7 +681,7 @@ void hook_comboot_interrupts ( ) { VIRT_CALL ( int22 ) "clc\n\t" "call patch_cf\n\t" - "iret\n\t" ) ); + "iret\n\t" ) : ); hook_bios_interrupt ( 0x22, ( intptr_t ) int22_wrapper, &int22_vector ); } |