| /freebsd-13.1/sys/powerpc/include/ |
| H A D | reg.h | 19 struct fpreg { struct 20 double fpreg[32]; argument 48 struct fpreg data; 68 int fill_fpregs(struct thread *, struct fpreg *); 69 int set_fpregs(struct thread *, struct fpreg *); 80 #define fill_fpregs32(td, reg) fill_fpregs(td,(struct fpreg *)reg) 81 #define set_fpregs32(td, reg) set_fpregs(td,(struct fpreg *)reg)
|
| /freebsd-13.1/sys/arm/include/ |
| H A D | reg.h | 24 struct fpreg { struct 38 int fill_fpregs(struct thread *, struct fpreg *); argument 39 int set_fpregs(struct thread *, struct fpreg *);
|
| /freebsd-13.1/sys/riscv/include/ |
| H A D | reg.h | 54 struct fpreg { struct 69 int fill_fpregs(struct thread *, struct fpreg *); argument 70 int set_fpregs(struct thread *, struct fpreg *);
|
| /freebsd-13.1/sys/i386/linux/ |
| H A D | linux_ptrace.c | 174 map_fpregs_to_linux(struct fpreg *bsd_r, struct linux_pt_fpreg *linux_r) in map_fpregs_to_linux() 187 map_fpregs_from_linux(struct fpreg *bsd_r, struct linux_pt_fpreg *linux_r) in map_fpregs_from_linux() 242 struct linux_pt_fpreg fpreg; in linux_ptrace() member 247 struct fpreg bsd_fpreg; in linux_ptrace() 312 map_fpregs_to_linux(&u.bsd_fpreg, &r.fpreg); in linux_ptrace() 313 error = copyout(&r.fpreg, (void *)uap->data, in linux_ptrace() 314 sizeof(r.fpreg)); in linux_ptrace() 319 error = copyin((void *)uap->data, &r.fpreg, sizeof(r.fpreg)); in linux_ptrace() 321 map_fpregs_from_linux(&u.bsd_fpreg, &r.fpreg); in linux_ptrace()
|
| /freebsd-13.1/sys/mips/include/ |
| H A D | reg.h | 60 struct fpreg { struct 89 int fill_fpregs(struct thread *, struct fpreg *); 91 int set_fpregs(struct thread *, struct fpreg *);
|
| /freebsd-13.1/sys/arm64/include/ |
| H A D | reg.h | 54 struct fpreg { struct 94 int fill_fpregs(struct thread *, struct fpreg *); 95 int set_fpregs(struct thread *, struct fpreg *);
|
| /freebsd-13.1/sys/x86/include/ |
| H A D | reg.h | 87 #define __fpreg32 fpreg 93 #define __fpreg64 fpreg 255 int fill_fpregs(struct thread *, struct fpreg *); 256 int set_fpregs(struct thread *, struct fpreg *);
|
| /freebsd-13.1/lib/libthread_db/ |
| H A D | libpthread_db.h | 88 void pt_fpreg_to_ucontext(const struct fpreg *, ucontext_t *); 89 void pt_ucontext_to_fpreg(const ucontext_t *, struct fpreg *);
|
| /freebsd-13.1/lib/libthread_db/arch/powerpc/ |
| H A D | libpthread_md.c | 55 pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc) in pt_fpreg_to_ucontext() 64 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) in pt_ucontext_to_fpreg()
|
| /freebsd-13.1/lib/libthread_db/arch/mips/ |
| H A D | libpthread_md.c | 65 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) in pt_fpreg_to_ucontext() 73 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) in pt_ucontext_to_fpreg()
|
| /freebsd-13.1/sys/sys/ |
| H A D | ptrace.h | 217 struct fpreg; 222 int proc_read_fpregs(struct thread *_td, struct fpreg *_fpreg); 223 int proc_write_fpregs(struct thread *_td, struct fpreg *_fpreg);
|
| H A D | procfs.h | 38 typedef struct fpreg fpregset_t;
|
| /freebsd-13.1/lib/libthread_db/arch/aarch64/ |
| H A D | libpthread_md.c | 66 pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc) in pt_fpreg_to_ucontext() 75 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) in pt_ucontext_to_fpreg()
|
| /freebsd-13.1/lib/libthread_db/arch/i386/ |
| H A D | libpthread_md.c | 56 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) in pt_fpreg_to_ucontext() 71 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) in pt_ucontext_to_fpreg()
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | machdep_kdb.c | 106 fill_fpregs(struct thread *td, struct fpreg *regs) in fill_fpregs() 127 set_fpregs(struct thread *td, struct fpreg *regs) in set_fpregs()
|
| /freebsd-13.1/lib/libthread_db/arch/riscv/ |
| H A D | libpthread_md.c | 81 pt_fpreg_to_ucontext(const struct fpreg *r __unused, ucontext_t *uc __unused) in pt_fpreg_to_ucontext() 90 pt_ucontext_to_fpreg(const ucontext_t *uc __unused, struct fpreg *r __unused) in pt_ucontext_to_fpreg()
|
| /freebsd-13.1/lib/libthread_db/arch/arm/ |
| H A D | libpthread_md.c | 90 pt_fpreg_to_ucontext(const struct fpreg *r __unused, ucontext_t *uc) in pt_fpreg_to_ucontext() 101 pt_ucontext_to_fpreg(const ucontext_t *uc __unused, struct fpreg *r) in pt_ucontext_to_fpreg()
|
| /freebsd-13.1/lib/libthread_db/arch/amd64/ |
| H A D | libpthread_md.c | 95 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc) in pt_fpreg_to_ucontext() 102 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r) in pt_ucontext_to_fpreg()
|
| /freebsd-13.1/sys/kern/ |
| H A D | sys_process.c | 144 proc_read_fpregs(struct thread *td, struct fpreg *fpregs) in proc_read_fpregs() 151 proc_write_fpregs(struct thread *td, struct fpreg *fpregs) in proc_write_fpregs() 476 struct fpreg fpreg; in sys_ptrace() member 503 bzero(&r.fpreg, sizeof(r.fpreg)); in sys_ptrace() 512 error = copyin(uap->addr, &r.fpreg, sizeof(r.fpreg)); in sys_ptrace() 557 error = copyout(&r.fpreg, uap->addr, sizeof(r.fpreg)); in sys_ptrace()
|
| /freebsd-13.1/sys/mips/mips/ |
| H A D | pm_machdep.c | 384 fill_fpregs(struct thread *td, struct fpreg *fpregs) in fill_fpregs() 388 memcpy(fpregs, &td->td_frame->f0, sizeof(struct fpreg)); in fill_fpregs() 394 set_fpregs(struct thread *td, struct fpreg *fpregs) in set_fpregs() 398 memcpy(&td->td_frame->f0, fpregs, sizeof(struct fpreg)); in set_fpregs()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeRegisterContextFreeBSD_powerpc.h | 59 std::array<uint8_t, sizeof(reg) + sizeof(fpreg)> m_reg_data;
|
| H A D | NativeRegisterContextFreeBSD_arm64.h | 66 std::array<uint8_t, sizeof(reg) + sizeof(fpreg)> m_reg_data;
|
| /freebsd-13.1/sys/fs/procfs/ |
| H A D | procfs_fpregs.c | 84 struct fpreg r; in procfs_doprocfpregs()
|
| /freebsd-13.1/sys/powerpc/powerpc/ |
| H A D | exec_machdep.c | 666 fill_fpregs(struct thread *td, struct fpreg *fpregs) in fill_fpregs() 674 memset(fpregs, 0, sizeof(struct fpreg)); in fill_fpregs() 678 memcpy(&fpregs->fpreg[i], &pcb->pcb_fpu.fpr[i].fpr, in fill_fpregs() 704 set_fpregs(struct thread *td, struct fpreg *fpregs) in set_fpregs() 713 memcpy(&pcb->pcb_fpu.fpr[i].fpr, &fpregs->fpreg[i], in set_fpregs()
|
| /freebsd-13.1/usr.bin/gcore/ |
| H A D | elfcore.c | 93 static void elf_convert_fpregset(elfcore_fpregset_t *rd, struct fpreg *rs); 686 fpregset_t fpreg; in elf_note_fpregset() local 692 ptrace(PT_GETFPREGS, tid, (void *)&fpreg, 0); in elf_note_fpregset() 693 elf_convert_fpregset(fpregset, &fpreg); in elf_note_fpregset()
|