Deleted Added
sdiff udiff text old ( 85294 ) new ( 92842 )
full compact
1/* $NetBSD: reg.h,v 1.4 2000/06/04 09:30:44 tsubai Exp $ */
2/* $FreeBSD: head/sys/powerpc/include/reg.h 85294 2001-10-21 22:16:48Z des $ */
3
4#ifndef _POWERPC_REG_H_
5#define _POWERPC_REG_H_
6
7struct reg {
8 register_t fixreg[32];
9 register_t lr;
10 int cr;

--- 10 unchanged lines hidden (view full) ---

21struct dbreg {
22 unsigned long junk;
23};
24
25#ifdef _KERNEL
26/*
27 * XXX these interfaces are MI, so they should be declared in a MI place.
28 */
29void setregs __P((struct thread *, u_long, u_long, u_long));
30int fill_regs __P((struct thread *, struct reg *));
31int set_regs __P((struct thread *, struct reg *));
32int fill_fpregs __P((struct thread *, struct fpreg *));
33int set_fpregs __P((struct thread *, struct fpreg *));
34int fill_dbregs __P((struct thread *, struct dbreg *));
35int set_dbregs __P((struct thread *, struct dbreg *));
36#endif
37
38#endif /* _POWERPC_REG_H_ */