summaryrefslogtreecommitdiffstats
path: root/arch/i386/boot/video.S
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-04 07:40:19 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-04 07:40:19 +0000
commit33263fc5f9ac8e8cb2b22d06af3ce5ac1dd815e4 (patch)
tree2d1b86a40bef0958a68cf1a2eafbeb0667a70543 /arch/i386/boot/video.S
parent216f5f51aa02f8b113aa620ebc14a9631a217a00 (diff)
Merge with Linux 2.3.32.
Diffstat (limited to 'arch/i386/boot/video.S')
-rw-r--r--arch/i386/boot/video.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/boot/video.S b/arch/i386/boot/video.S
index 77d22bef1..745f47275 100644
--- a/arch/i386/boot/video.S
+++ b/arch/i386/boot/video.S
@@ -1008,7 +1008,7 @@ vesa_modes:
vesa1:
# gas version 2.9.1, using BFD version 2.9.1.0.23 buggers the next inst.
# XXX: lodsw %gs:(%si), %ax # Get next mode in the list
- .byte 0x66, 0x65, 0xAD
+ .byte 0x65, 0xAD # %gs seg prefix + lodsw
cmpw $0xffff, %ax # End of the table?
jz vesar
@@ -1278,7 +1278,7 @@ no_s3: movb $0x35, %al # restore CRT register 0x35
no_s31: xorw %bp, %bp # Detection failed
s3rest: movb %bh, %ah
movb $0x38, %al # restore old value of CRT register 0x38
- call outidx
+ jmp outidx
idS3: .byte 0x81, 0x82, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95
.byte 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa8, 0xb0