Home | History | Annotate | Line # | Download | only in arm32
machdep.h revision 1.3
      1 /* $NetBSD: machdep.h,v 1.3 2002/01/20 03:41:48 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_section(vaddr_t, vaddr_t, paddr_t, int);
     15 void	map_pagetable(vaddr_t, vaddr_t, paddr_t);
     16 void	map_entry(vaddr_t, vaddr_t, paddr_t);
     17 void	map_entry_nc(vaddr_t, vaddr_t, paddr_t);
     18 void	map_entry_ro(vaddr_t, vaddr_t, paddr_t);
     19 vsize_t map_chunk(vaddr_t, vaddr_t, vaddr_t, paddr_t, vsize_t,
     20 	    u_int, u_int);
     21 
     22 /*
     23  * note that we use void * as all the platforms have different ideas on what
     24  * the structure is
     25  */
     26 u_int initarm __P((void *));
     27 
     28 /* from arm/arm32/intr.c */
     29 void dosoftints __P((void));
     30 void set_spl_masks __P((void));
     31 #ifdef DIAGNOSTIC
     32 void dump_spl_masks __P((void));
     33 #endif
     34 #endif
     35