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:
parent
eadebd68d1
commit
4cea2e419a
@ -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;
|
||||
|
@ -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 *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user