summaryrefslogtreecommitdiff
path: root/sys/arch/ofppc/include/autoconf.h
blob: 0c8079d3031c276a0ed7f973fc730b7f35bf6309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*	$NetBSD: autoconf.h,v 1.5 2002/09/18 01:44:13 chs Exp $	*/

#ifndef _OFPPC_AUTOCONF_H_
#define _OFPPC_AUTOCONF_H_

struct confargs {
	const char	*ca_name;
	u_int		ca_node;
	int		ca_nreg;
	u_int		*ca_reg;
	int		ca_nintr;
	int		*ca_intr;

	u_int		ca_baseaddr;
	/* bus_space_tag_t ca_tag; */
};

#ifdef _KERNEL
void initppc(u_int, u_int, char *);
void strayintr(int);

void inittodr(time_t);
void resettodr(void);
void cpu_initclocks(void);
void decr_intr(struct clockframe *);
void setstatclockrate(int);
#endif /* _KERNEL */

#endif /* _OFPPC_AUTOCONF_H_ */