Date: Thu, 14 Sep 2017 15:06:29 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r323583 - in head/sys/arm: arm include Message-ID: <201709141506.v8EF6TNO061887@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Thu Sep 14 15:06:29 2017 New Revision: 323583 URL: https://svnweb.freebsd.org/changeset/base/323583 Log: Export get/set_vfpcontext from machdep.c. Should have been part of the previous commit to add ptrace operations for VFP registers. MFC after: 1 month Modified: head/sys/arm/arm/machdep.c head/sys/arm/include/vfp.h Modified: head/sys/arm/arm/machdep.c ============================================================================== --- head/sys/arm/arm/machdep.c Thu Sep 14 15:03:43 2017 (r323582) +++ head/sys/arm/arm/machdep.c Thu Sep 14 15:06:29 2017 (r323583) @@ -405,7 +405,7 @@ exec_setregs(struct thread *td, struct image_params *i /* * Get machine VFP context. */ -static void +void get_vfpcontext(struct thread *td, mcontext_vfp_t *vfp) { struct pcb *pcb; @@ -425,7 +425,7 @@ get_vfpcontext(struct thread *td, mcontext_vfp_t *vfp) /* * Set machine VFP context. */ -static void +void set_vfpcontext(struct thread *td, mcontext_vfp_t *vfp) { struct pcb *pcb; Modified: head/sys/arm/include/vfp.h ============================================================================== --- head/sys/arm/include/vfp.h Thu Sep 14 15:03:43 2017 (r323582) +++ head/sys/arm/include/vfp.h Thu Sep 14 15:06:29 2017 (r323583) @@ -142,6 +142,8 @@ struct vfp_state { }; #ifdef _KERNEL +void get_vfpcontext(struct thread *, mcontext_vfp_t *); +void set_vfpcontext(struct thread *, mcontext_vfp_t *); void vfp_init(void); void vfp_store(struct vfp_state *, boolean_t); void vfp_discard(struct thread *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709141506.v8EF6TNO061887>