1 #include <linux/init.h>
2 #include <asm/thread_info.h>
4 #if defined(CONFIG_CPU_H8300H)
6 #include <asm/regs306x.h>
7 #define IRAMTOP 0xffff20
9 #if defined(CONFIG_CPU_H8S)
11 #include <asm/regs267x.h>
12 #define IRAMTOP 0xffc000
19 #if !defined(CONFIG_H8300H_SIM) && \
20 !defined(CONFIG_H8S_SIM)
24 mov.l #_begin_data,er5
49 /* get cmdline from gdb */
53 mov.l #command_line,er3
76 /* linux kernel start */
77 #if defined(CONFIG_CPU_H8300H)
78 ldc #0xd0,ccr /* running kernel */
82 #if defined(CONFIG_CPU_H8S)
85 bset #5,@INTCR:8 /* Interrupt mode 2 */
86 ldc #0x90,ccr /* running kernel */
88 mov.l #init_thread_union,sp