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 <asm/linkage.h>
14 #include <asm/regs267x.h>
16 .global SYMBOL_NAME(_start)
17 .global SYMBOL_NAME(_command_line)
18 .global SYMBOL_NAME(_platform_gpio_table)
19 .global SYMBOL_NAME(_target_name)
26 SYMBOL_NAME_LABEL(_start)
31 bset #5,@INTCR:8 /* Interrupt mode 2 */
33 /* Peripheral Setup */
36 #if !defined(CONFIG_H8S_SIM)
37 mov.l #__begin_data,er5
62 /* linux kernel start */
63 ldc #0x90,ccr /* running kernel */
64 mov.l #SYMBOL_NAME(init_thread_union),sp
73 /* I/O port assign information */
74 __platform_gpio_table:
120 /* interrupt vector */
121 .section .vectors,"ax"
126 .long _interrupt_redirect_table+vector*4