| 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 | */ |
| 13 | |
| 14 | #ifndef _hndcpu_h_ |
| 15 | #define _hndcpu_h_ |
| 16 | |
| 17 | #if defined(mips) |
| 18 | #include <hndmips.h> |
| 19 | #elif defined(__arm__) || defined(__thumb__) || defined(__thumb2__) |
| 20 | #include <hndarm.h> |
| 21 | #endif |
| 22 | |
| 23 | extern uint sb_irq(sb_t *sbh); |
| 24 | extern uint32 sb_cpu_clock(sb_t *sbh); |
| 25 | extern void hnd_cpu_wait(sb_t *sbh); |
| 26 | extern void hnd_cpu_jumpto(void *addr); |
| 27 | extern void hnd_cpu_reset(sb_t *sbh); |
| 28 | |
| 29 | #endif /* _hndcpu_h_ */ |
| 30 | |