xref: /openbsd/sys/arch/arm/include/machdep.h (revision e5dd7070)
1 /*	$OpenBSD: machdep.h,v 1.5 2016/09/24 13:43:25 kettenis Exp $	*/
2 /* $NetBSD: machdep.h,v 1.7 2002/02/21 02:52:21 thorpej Exp $ */
3 
4 #ifndef _ARM_MACHDEP_H_
5 #define _ARM_MACHDEP_H_
6 
7 /* misc prototypes used by the many arm machdeps */
8 void halt (void);
9 void parse_mi_bootargs (char *);
10 void data_abort_handler (trapframe_t *);
11 void prefetch_abort_handler (trapframe_t *);
12 void undefinedinstruction_bounce (trapframe_t *);
13 void dumpsys	(void);
14 
15 /*
16  * note that we use void * as all the platforms have different ideas on what
17  * the structure is
18  */
19 u_int initarm (void *, void *, void *, paddr_t);
20 
21 /* from arm/arm/intr.c */
22 void dosoftints (void);
23 void set_spl_masks (void);
24 #ifdef DIAGNOSTIC
25 void dump_spl_masks (void);
26 #endif
27 #endif
28