Added SDHC support with GUI
[tomato.git] / release / src-rt / include / hndcpu.h
blobf6b466a0b8ea3c91a7e4ae62563219f33b113f4f
1 /*
2 * HND SiliconBackplane MIPS/ARM cores software interface.
4 * Copyright (C) 2009, 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.
12 * $Id: hndcpu.h,v 13.9.2.1 2008/07/26 00:46:31 Exp $
15 #ifndef _hndcpu_h_
16 #define _hndcpu_h_
18 #if defined(mips)
19 #include <hndmips.h>
20 #elif defined(__arm__) || defined(__thumb__) || defined(__thumb2__)
21 #include <hndarm.h>
22 #endif
24 extern uint si_irq(si_t *sih);
25 extern uint32 si_cpu_clock(si_t *sih);
26 extern uint32 si_mem_clock(si_t *sih);
27 extern void hnd_cpu_wait(si_t *sih);
28 extern void hnd_cpu_jumpto(void *addr);
29 extern void hnd_cpu_reset(si_t *sih);
31 #endif /* _hndcpu_h_ */