1 #include <linux/init.h>
2 #include <asm/thread_info.h>
4 #if defined(CONFIG_CPU_H8300H)
7 #define IRAMTOP 0xffff20
10 #if defined(CONFIG_CPU_H8S)
12 #define INTCR 0xffff31
13 #define IRAMTOP 0xffc000
21 #if !defined(CONFIG_H8300H_SIM) && \
22 !defined(CONFIG_H8S_SIM)
26 mov.l #_begin_data,er5
51 /* get cmdline from gdb */
55 mov.l #command_line,er3
80 /* linux kernel start */
81 #if defined(CONFIG_CPU_H8300H)
82 ldc #0xd0,ccr /* running kernel */
86 #if defined(CONFIG_CPU_H8S)
89 bset #5,@INTCR:8 /* Interrupt mode 2 */
90 ldc #0x90,ccr /* running kernel */
92 mov.l #init_thread_union,sp
99 #if defined(CONFIG_ROMKERNEL)
100 /* interrupt vector */
101 .section .vectors,"ax"
106 .long _interrupt_redirect_table+vector*4