patch-2.3.37 linux/arch/i386/boot/setup.S
Next file: linux/arch/i386/config.in
Previous file: linux/arch/arm/kernel/bios32.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Jan 4 18:28:26 2000
- Orig file:
v2.3.36/linux/arch/i386/boot/setup.S
- Orig date:
Tue Dec 7 09:32:40 1999
diff -u --recursive --new-file v2.3.36/linux/arch/i386/boot/setup.S linux/arch/i386/boot/setup.S
@@ -202,9 +202,9 @@
xorb %bh, %bh
movb (497), %bl # get setup sect from bootsect
subw $4, %bx # LILO loads 4 sectors of setup
- shlw $7, %bx # convert to dwords (1sect=2^7 dwords)
+ shlw $8, %bx # convert to words (1sect=2^8 words)
movw %bx, %cx
- shrw $2, %bx # convert to segment
+ shrw $3, %bx # convert to segment
addw $SYSSEG, %bx
movw %bx, %cs:start_sys_seg
# Move rest of setup code/data to here
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)