2001-06-10 02:39:37 +00:00
|
|
|
/* $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;
|
|
|
|
};
|
|
|
|
|
2001-09-20 00:47:17 +00:00
|
|
|
void setregs(struct thread *, u_long, u_long, u_long);
|
2001-06-10 02:39:37 +00:00
|
|
|
|
|
|
|
#endif /* _POWERPC_REG_H_ */
|