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