2 * linux/include/asm-arm/arch-arc/system.h
4 * Copyright (c) 1996 Russell King and Dave Gilbert
6 #ifndef __ASM_ARCH_SYSTEM_H
7 #define __ASM_ARCH_SYSTEM_H
9 #include <linux/config.h>
11 #ifdef CONFIG_ARCH_ARC
16 __asm__ __volatile__( \
18 " orr %0, %0, #0x0c000000\n" \
26 extern __inline__
void arch_reset(char mode
)
28 extern void ecard_reset(int card
);
31 * Do any cleanups that the processor may require
36 * Reset all expansion cards.
41 * copy branch instruction to reset location and call it
43 *(unsigned long *)0 = *(unsigned long *)0x03800000;