xref: /freebsd/sys/arm/include/ptrace.h (revision 71625ec9ad2a9bc8c09784fbd23b759830e0ee5f)
16fc729afSOlivier Houchard /*	$NetBSD: ptrace.h,v 1.2 2001/02/23 21:23:52 reinoud Exp $	*/
26fc729afSOlivier Houchard 
36fc729afSOlivier Houchard #ifndef _MACHINE_PTRACE_H_
46fc729afSOlivier Houchard #define _MACHINE_PTRACE_H_
56fc729afSOlivier Houchard 
6*197e3ae5SJohn Baldwin #define	__HAVE_PTRACE_MACHDEP
7*197e3ae5SJohn Baldwin 
8*197e3ae5SJohn Baldwin /*
9*197e3ae5SJohn Baldwin  * Must match mcontext_vfp_t.  Note that mcontext_vfp_t does not
10*197e3ae5SJohn Baldwin  * include explicit padding.
11*197e3ae5SJohn Baldwin  */
12*197e3ae5SJohn Baldwin struct vfpreg {
13*197e3ae5SJohn Baldwin 	__uint64_t	vfp_reg[32];
14*197e3ae5SJohn Baldwin 	__uint32_t	vfp_scr;
15*197e3ae5SJohn Baldwin 	__uint32_t	vfp_pad0;
16*197e3ae5SJohn Baldwin };
17*197e3ae5SJohn Baldwin 
18*197e3ae5SJohn Baldwin #define	PT_GETVFPREGS	(PT_FIRSTMACH + 0)
19*197e3ae5SJohn Baldwin #define	PT_SETVFPREGS	(PT_FIRSTMACH + 1)
20*197e3ae5SJohn Baldwin 
216fc729afSOlivier Houchard #endif /* !_MACHINE_PTRACE_H */
22