78afb5256cc335de805d3aebf60d03b74e90fafe
[openwrt-10.03/.git] / target / linux / brcm-2.4 / files / arch / mips / bcm947xx / include / hndcpu.h
1 /*
2  * HND SiliconBackplane MIPS/ARM cores software interface.
3  *
4  * Copyright 2007, Broadcom Corporation
5  * All Rights Reserved.
6  * 
7  * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8  * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9  * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10  * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11  *
12  * $Id$
13  */
14
15 #ifndef _hndcpu_h_
16 #define _hndcpu_h_
17
18 #if defined(mips)
19 #include <hndmips.h>
20 #elif defined(__arm__) || defined(__thumb__) || defined(__thumb2__)
21 #include <hndarm.h>
22 #endif
23
24 extern uint sb_irq(sb_t *sbh);
25 extern uint32 sb_cpu_clock(sb_t *sbh);
26 extern void hnd_cpu_wait(sb_t *sbh);
27 extern void hnd_cpu_jumpto(void *addr);
28 extern void hnd_cpu_reset(sb_t *sbh);
29
30 #endif /* _hndcpu_h_ */