2 * linux/arch/h8300/boot/compressed/head.S
4 * Copyright (C) 2006 Yoshinori Sato
8 #include <linux/linkage.h>
10 #define SRAM_START 0xff4000
12 .section .text.startup
15 mov.l #SRAM_START+0x8000, sp
27 jsr @_decompress_kernel
31 fake_headers_as_bzImage:
33 .ascii "HdrS" ; header signature
34 .word 0x0202 ; header version number (>= 0x0105)
35 ; or else old loadlin-1.5 will fail)
36 .word 0 ; default_switch
39 .word 0 ; pointing to kernel version string
40 .byte 0 ; = 0, old one (LILO, Loadlin,
43 .byte 1 ; Load flags bzImage=1
44 .word 0x8000 ; size to move, when setup is not
45 .long 0x100000 ; 0x100000 = default for big kernel
46 .long 0 ; address of loaded ramdisk image
47 .long 0 ; its size in bytes