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
This commit is contained in:
John Baldwin 2017-09-14 15:06:29 +00:00
parent 197e3ae5fc
commit ca2b367f5c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323583
2 changed files with 4 additions and 2 deletions

View File

@ -405,7 +405,7 @@ exec_setregs(struct thread *td, struct image_params *imgp, u_long stack)
/*
* 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;

View File

@ -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 *);