Path: blob/master/arch/h8300/boot/compressed/head.S
10818 views
/*1* linux/arch/h8300/boot/compressed/head.S2*3* Copyright (C) 2006 Yoshinori Sato4*/56.h8300h7#include <linux/linkage.h>89#define SRAM_START 0xff40001011.section .text..startup12.global startup13startup:14mov.l #SRAM_START+0x8000, sp15mov.l #__sbss, er016mov.l #__ebss, er117sub.l er0, er118shlr er119shlr er120sub.l er2, er2211:22mov.l er2, @er023adds #4, er024dec.l #1, er125bne 1b26jsr @_decompress_kernel27jmp @0x4000002829.align 930fake_headers_as_bzImage:31.word 032.ascii "HdrS" ; header signature33.word 0x0202 ; header version number (>= 0x0105)34; or else old loadlin-1.5 will fail)35.word 0 ; default_switch36.word 0 ; SETUPSEG37.word 0x100038.word 0 ; pointing to kernel version string39.byte 0 ; = 0, old one (LILO, Loadlin,40; 0xTV: T=0 for LILO41; V = version42.byte 1 ; Load flags bzImage=143.word 0x8000 ; size to move, when setup is not44.long 0x100000 ; 0x100000 = default for big kernel45.long 0 ; address of loaded ramdisk image46.long 0 ; its size in bytes474849