Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/include/reg.h
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
struct dbreg32 { | struct dbreg32 { | ||||
struct dbreg data; | struct dbreg data; | ||||
}; | }; | ||||
#define __HAVE_REG32 | #define __HAVE_REG32 | ||||
#endif | #endif | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
/* | |||||
* XXX these interfaces are MI, so they should be declared in a MI place. | |||||
*/ | |||||
int fill_regs(struct thread *, struct reg *); | |||||
int set_regs(struct thread *, struct reg *); | |||||
int fill_fpregs(struct thread *, struct fpreg *); | |||||
int set_fpregs(struct thread *, struct fpreg *); | |||||
int fill_dbregs(struct thread *, struct dbreg *); | |||||
int set_dbregs(struct thread *, struct dbreg *); | |||||
#ifdef COMPAT_FREEBSD32 | #ifdef COMPAT_FREEBSD32 | ||||
struct image_params; | struct image_params; | ||||
int fill_regs32(struct thread *, struct reg32 *); | |||||
int set_regs32(struct thread *, struct reg32 *); | |||||
void ppc32_setregs(struct thread *, struct image_params *, u_long); | void ppc32_setregs(struct thread *, struct image_params *, u_long); | ||||
#define fill_fpregs32(td, reg) fill_fpregs(td,(struct fpreg *)reg) | #define fill_fpregs32(td, reg) fill_fpregs(td,(struct fpreg *)reg) | ||||
#define set_fpregs32(td, reg) set_fpregs(td,(struct fpreg *)reg) | #define set_fpregs32(td, reg) set_fpregs(td,(struct fpreg *)reg) | ||||
#define fill_dbregs32(td, reg) fill_dbregs(td,(struct dbreg *)reg) | #define fill_dbregs32(td, reg) fill_dbregs(td,(struct dbreg *)reg) | ||||
#define set_dbregs32(td, reg) set_dbregs(td,(struct dbreg *)reg) | #define set_dbregs32(td, reg) set_dbregs(td,(struct dbreg *)reg) | ||||
#endif | #endif | ||||
#endif | #endif | ||||
#endif /* _POWERPC_REG_H_ */ | #endif /* _POWERPC_REG_H_ */ |