patch-2.4.1 linux/arch/i386/boot/bootsect.S
Next file: linux/arch/i386/config.in
Previous file: linux/arch/i386/Makefile
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Mon Jan 29 16:19:41 2001
- Orig file:
v2.4.0/linux/arch/i386/boot/bootsect.S
- Orig date:
Tue Jul 18 14:55:01 2000
diff -u --recursive --new-file v2.4.0/linux/arch/i386/boot/bootsect.S linux/arch/i386/boot/bootsect.S
@@ -25,10 +25,9 @@
* loads pretty fast by getting whole tracks at a time whenever possible.
*/
-#include <linux/config.h> /* for CONFIG_ROOT_RDONLY */
#include <asm/boot.h>
-SETUPSECS = 4 /* default nr of setup-sectors */
+SETUPSECTS = 4 /* default nr of setup-sectors */
BOOTSEG = 0x07C0 /* original address of boot-sector */
INITSEG = DEF_INITSEG /* we move boot here - out of the way */
SETUPSEG = DEF_SETUPSEG /* setup starts here */
@@ -46,8 +45,8 @@
#define RAMDISK 0
#endif
-#ifndef CONFIG_ROOT_RDONLY
-#define CONFIG_ROOT_RDONLY 1
+#ifndef ROOT_RDONLY
+#define ROOT_RDONLY 1
#endif
.code16
@@ -394,11 +393,11 @@
msg1: .byte 13, 10
.ascii "Loading"
-# XXX: This is a *very* snug fit.
+# XXX: This is a fairly snug fit.
.org 497
-setup_sects: .byte SETUPSECS
-root_flags: .word CONFIG_ROOT_RDONLY
+setup_sects: .byte SETUPSECTS
+root_flags: .word ROOT_RDONLY
syssize: .word SYSSIZE
swap_dev: .word SWAP_DEV
ram_size: .word RAMDISK
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)