--- src/sys/i386/include/Attic/reg.h 2003/08/26 21:42:18 1.3 +++ src/sys/i386/include/Attic/reg.h 2005/10/27 03:15:47 1.4 @@ -141,13 +141,17 @@ struct dbreg { #ifdef _KERNEL + +struct proc; +struct lwp; + /* * XXX these interfaces are MI, so they should be declared in a MI place. */ -int set_fpregs (struct proc *, struct fpreg *); -int set_regs (struct proc *p, struct reg *regs); +int set_fpregs (struct lwp *, struct fpreg *); +int set_regs (struct lwp *lp, struct reg *regs); void setregs (struct proc *, u_long, u_long, u_long); -int set_dbregs (struct proc *p, struct dbreg *dbregs); +int set_dbregs (struct lwp *lp, struct dbreg *dbregs); #endif #endif /* !_MACHINE_REG_H_ */