1 /* SPDX-License-Identifier: GPL-2.0 */
3 * linux/arch/h8300/boot/compressed/head.S
5 * Copyright (C) 2006 Yoshinori Sato
8 #include <linux/linkage.h>
10 .section .text..startup,"ax"
26 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