summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/reg.h
blob: a05e566ca67fe7045aeb4f3b47732ed8b66fe843 (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
/* $NetBSD: reg.h,v 1.4 2000/06/04 09:30:44 tsubai Exp $	*/
/* $FreeBSD$	*/

#ifndef _POWERPC_REG_H_
#define	_POWERPC_REG_H_

struct reg {
	register_t fixreg[32];
	register_t lr;
	int cr;
	int xer;
	register_t ctr;
	register_t pc;
};

struct fpreg {
	double fpreg[32];
	double fpscr;
};

struct dbreg {
	unsigned long	junk;
};

void	setregs(struct thread *, u_long, u_long, u_long);

#endif /* _POWERPC_REG_H_ */
OpenPOWER on IntegriCloud