patch-2.4.0-prerelease linux/arch/sh/boot/compressed/head.S
Next file: linux/arch/sh/kernel/Makefile
Previous file: linux/arch/sh/Makefile
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Dec 29 14:07:20 2000
- Orig file:
v2.4.0-test12/linux/arch/sh/boot/compressed/head.S
- Orig date:
Wed Aug 9 13:59:04 2000
diff -u --recursive --new-file v2.4.0-test12/linux/arch/sh/boot/compressed/head.S linux/arch/sh/boot/compressed/head.S
@@ -50,3 +50,22 @@
.long decompress_kernel
kernel_start_addr:
.long _text+0x1000
+
+ .align 9
+fake_headers_as_bzImage:
+ .word 0
+ .ascii "HdrS" ! header signature
+ .word 0x0202 ! header version number (>= 0x0105)
+ ! or else old loadlin-1.5 will fail)
+ .word 0 ! default_switch
+ .word 0 ! SETUPSEG
+ .word 0x1000
+ .word 0 ! pointing to kernel version string
+ .byte 0 ! = 0, old one (LILO, Loadlin,
+ ! 0xTV: T=0 for LILO
+ ! V = version
+ .byte 1 ! Load flags bzImage=1
+ .word 0x8000 ! size to move, when setup is not
+ .long 0x100000 ! 0x100000 = default for big kernel
+ .long 0 ! address of loaded ramdisk image
+ .long 0 # its size in bytes
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)