Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/include/reg.h
Show First 20 Lines • Show All 237 Lines • ▼ Show 20 Lines | |||||
#undef __reg32 | #undef __reg32 | ||||
#undef __reg64 | #undef __reg64 | ||||
#undef __fpreg32 | #undef __fpreg32 | ||||
#undef __fpreg64 | #undef __fpreg64 | ||||
#undef __dbreg32 | #undef __dbreg32 | ||||
#undef __dbreg64 | #undef __dbreg64 | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
struct thread; | |||||
/* | /* | ||||
markj: I think this declaration isn't needed anymore. | |||||
Not Done Inline ActionsThe comment isn't needed, but the function still exists. It is shared between DTrace and fill_regs(). jhb: The comment isn't needed, but the function still exists. It is shared between DTrace and… | |||||
* XXX these interfaces are MI, so they should be declared in a MI place. | * XXX these interfaces are MI, so they should be declared in a MI place. | ||||
*/ | */ | ||||
int fill_regs(struct thread *, struct reg *); | |||||
int fill_frame_regs(struct trapframe *, struct reg *); | int fill_frame_regs(struct trapframe *, 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 | |||||
int fill_regs32(struct thread *, struct reg32 *); | |||||
int set_regs32(struct thread *, struct reg32 *); | |||||
int fill_fpregs32(struct thread *, struct fpreg32 *); | |||||
int set_fpregs32(struct thread *, struct fpreg32 *); | |||||
int fill_dbregs32(struct thread *, struct dbreg32 *); | |||||
int set_dbregs32(struct thread *, struct dbreg32 *); | |||||
#endif | |||||
#endif | #endif | ||||
#endif /* !_MACHINE_REG_H_ */ | #endif /* !_MACHINE_REG_H_ */ |
I think this declaration isn't needed anymore.