Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/include/reg.h
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
int fill_regs(struct thread *, struct reg *); | int fill_regs(struct thread *, struct reg *); | ||||
int set_regs(struct thread *, struct reg *); | int set_regs(struct thread *, struct reg *); | ||||
int fill_fpregs(struct thread *, struct fpreg *); | int fill_fpregs(struct thread *, struct fpreg *); | ||||
int set_fpregs(struct thread *, struct fpreg *); | int set_fpregs(struct thread *, struct fpreg *); | ||||
int fill_dbregs(struct thread *, struct dbreg *); | int fill_dbregs(struct thread *, struct dbreg *); | ||||
int set_dbregs(struct thread *, struct dbreg *); | int set_dbregs(struct thread *, struct dbreg *); | ||||
/* | |||||
* MD interfaces. | |||||
*/ | |||||
void cpu_save_thread_regs(struct thread *); | |||||
#ifdef COMPAT_FREEBSD32 | #ifdef COMPAT_FREEBSD32 | ||||
struct image_params; | struct image_params; | ||||
int fill_regs32(struct thread *, struct reg32 *); | int fill_regs32(struct thread *, struct reg32 *); | ||||
int set_regs32(struct thread *, struct reg32 *); | int set_regs32(struct thread *, struct reg32 *); | ||||
void ppc32_setregs(struct thread *, struct image_params *, uintptr_t); | void ppc32_setregs(struct thread *, struct image_params *, uintptr_t); | ||||
#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_ */ |