xref: /netbsd/sys/arch/ofppc/include/autoconf.h (revision c4a72b64)
1 /*	$NetBSD: autoconf.h,v 1.5 2002/09/18 01:44:13 chs Exp $	*/
2 
3 #ifndef _OFPPC_AUTOCONF_H_
4 #define _OFPPC_AUTOCONF_H_
5 
6 struct confargs {
7 	const char	*ca_name;
8 	u_int		ca_node;
9 	int		ca_nreg;
10 	u_int		*ca_reg;
11 	int		ca_nintr;
12 	int		*ca_intr;
13 
14 	u_int		ca_baseaddr;
15 	/* bus_space_tag_t ca_tag; */
16 };
17 
18 #ifdef _KERNEL
19 void initppc(u_int, u_int, char *);
20 void strayintr(int);
21 
22 void inittodr(time_t);
23 void resettodr(void);
24 void cpu_initclocks(void);
25 void decr_intr(struct clockframe *);
26 void setstatclockrate(int);
27 #endif /* _KERNEL */
28 
29 #endif /* _OFPPC_AUTOCONF_H_ */
30