1 /* $NetBSD: machdep.h,v 1.5 2002/02/20 02:32:57 thorpej Exp $ */ 2 3 #ifndef _ARM32_BOOT_MACHDEP_H_ 4 #define _ARM32_BOOT_MACHDEP_H_ 5 6 /* misc prototypes used by the many arm machdeps */ 7 void halt __P((void)); 8 void parse_mi_bootargs __P((char *)); 9 void data_abort_handler __P((trapframe_t *)); 10 void prefetch_abort_handler __P((trapframe_t *)); 11 void undefinedinstruction_bounce __P((trapframe_t *)); 12 void dumpsys __P((void)); 13 14 void map_pagetable(vaddr_t, vaddr_t, paddr_t); 15 vsize_t map_chunk(vaddr_t, vaddr_t, vaddr_t, paddr_t, vsize_t, 16 u_int, u_int); 17 18 /* 19 * note that we use void * as all the platforms have different ideas on what 20 * the structure is 21 */ 22 u_int initarm __P((void *)); 23 24 /* from arm/arm32/intr.c */ 25 void dosoftints __P((void)); 26 void set_spl_masks __P((void)); 27 #ifdef DIAGNOSTIC 28 void dump_spl_masks __P((void)); 29 #endif 30 #endif 31