patch-2.2.15 linux/arch/i386/boot/setup.S
Next file: linux/arch/i386/config.in
Previous file: linux/arch/i386/boot/compressed/head.S
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Fri Apr 21 12:45:45 2000
- Orig file:
v2.2.14/arch/i386/boot/setup.S
- Orig date:
Sat Aug 14 02:27:13 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/arch/i386/boot/setup.S linux/arch/i386/boot/setup.S
@@ -343,7 +343,6 @@
mov ax,cs ! aka #SETUPSEG
sub ax,#DELTA_INITSEG ! aka #INITSEG
mov ds,ax
- mov ds,ax
xor ax,ax
mov [0xa0], ax ! set table length to 0
mov ah, #0xc0
@@ -404,7 +403,11 @@
int 0x15 ! ignore return code
mov ax,#0x05303 ! 32 bit connect
- xor bx,bx
+ xor ebx,ebx
+ xor cx,cx ! paranoia
+ xor dx,dx ! ...
+ xor esi,esi ! ...
+ xor di,di ! ...
int 0x15
jc no_32_apm_bios ! error
@@ -420,6 +423,7 @@
!
mov ax,#0x05300 ! APM BIOS installation check
xor bx,bx
+ xor cx,cx ! paranoia
int 0x15
jc apm_disconnect ! error -> should not happen, tidy up
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)