freebsd-dev/sys/arm/include/ptrace.h
John Baldwin 197e3ae5fc Add ptrace operations to fetch and store VFP registers.
Reviewed by:	mmel, kib
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D12294
2017-09-14 15:03:43 +00:00

24 lines
472 B
C

/* $NetBSD: ptrace.h,v 1.2 2001/02/23 21:23:52 reinoud Exp $ */
/* $FreeBSD$ */
#ifndef _MACHINE_PTRACE_H_
#define _MACHINE_PTRACE_H_
#define __HAVE_PTRACE_MACHDEP
/*
* Must match mcontext_vfp_t. Note that mcontext_vfp_t does not
* include explicit padding.
*/
struct vfpreg {
__uint64_t vfp_reg[32];
__uint32_t vfp_scr;
__uint32_t vfp_pad0;
};
#define PT_GETVFPREGS (PT_FIRSTMACH + 0)
#define PT_SETVFPREGS (PT_FIRSTMACH + 1)
#endif /* !_MACHINE_PTRACE_H */