3 #include <linux/init.h>
4 #include <asm/unistd.h>
6 #include <asm/segment.h>
7 #include <asm/linkage.h>
8 #include <asm/asm-offsets.h>
9 #include <asm/thread_info.h>
10 #include <asm/errno.h>
12 #if defined(CONFIG_CPU_H8300H)
14 #define SYSCR 0xfee012
15 #define IRAMTOP 0xffff20
17 #if defined(CONFIG_CPU_H8S)
19 #define INTCR 0xffff31
20 #define IRAMTOP 0xffc000
41 /* linux kernel start */
42 #if defined(CONFIG_CPU_H8300H)
43 ldc #0xd0,ccr /* running kernel */
47 #if defined(CONFIG_CPU_H8S)
50 bset #5,@INTCR:8 /* Interrupt mode 2 */
51 ldc #0x90,ccr /* running kernel */
53 mov.l #init_thread_union,sp