convert brcm-2.4 to the new target structure
[openwrt/svn-archive/archive.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 2006, 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: hndcpu.h,v 1.1.1.1 2006/02/27 03:43:16 honor Exp $
13 */
14
15 #ifndef _hndcpu_h_
16 #define _hndcpu_h_
17
18 #if defined(mips)
19 #include <hndmips.h>
20 #elif defined(__ARM_ARCH_4T__)
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 sb_cpu_wait(void);
27
28 #endif /* _hndcpu_h_ */