2 * (C) Copyright 2007, 2010
3 * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5 * SPDX-License-Identifier: GPL-2.0+
8 #include <asm-offsets.h>
16 mov.l ._lowlevel_init, r0
24 add #(_sh_start-1b), r5
25 mov.l ._reloc_dst_end, r6
37 3: mov.l r1, @r4 /* bss clear */
42 mov.l ._gd_init, r13 /* global data */
43 mov.l ._stack_init, r15 /* stack */
45 mov.l ._sh_generic_init, r0
54 ._lowlevel_init: .long (lowlevel_init - (100b + 4))
55 ._reloc_dst: .long reloc_dst
56 ._reloc_dst_end: .long reloc_dst_end
57 ._bss_start: .long bss_start
58 ._bss_end: .long bss_end
59 ._gd_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE)
60 ._stack_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16)
61 ._sh_generic_init: .long sh_generic_init