2 * linux/arch/h8300/platform/h8s/generic/crt0_rom.S
4 * Yoshinori Sato <ysato@users.sourceforge.jp>
6 * Platform depend startup
7 * Target Archtecture: generic
13 #include <linux/config.h>
14 #include <asm/linkage.h>
15 #include <asm/regs267x.h>
17 .global SYMBOL_NAME(_start)
18 .global SYMBOL_NAME(_command_line)
19 .global SYMBOL_NAME(_platform_gpio_table)
20 .global SYMBOL_NAME(_target_name)
27 SYMBOL_NAME_LABEL(_start)
32 bset #5,@INTCR:8 /* Interrupt mode 2 */
34 /* Peripheral Setup */
37 #if !defined(CONFIG_H8S_SIM)
38 mov.l #__begin_data,er5
63 /* linux kernel start */
64 ldc #0x90,ccr /* running kernel */
65 mov.l #SYMBOL_NAME(init_thread_union),sp
74 /* I/O port assign information */
75 __platform_gpio_table:
121 /* interrupt vector */
122 .section .vectors,"ax"
127 .long _interrupt_redirect_table+vector*4