xref: /freebsd/sys/arm/include/reg.h (revision 9768746b)
1 /*	$NetBSD: reg.h,v 1.2 2001/02/23 21:23:52 reinoud Exp $	*/
2 /* $FreeBSD$ */
3 #ifndef MACHINE_REG_H
4 #define MACHINE_REG_H
5 
6 #include <sys/_types.h>
7 
8 struct reg {
9 	unsigned int r[13];
10 	unsigned int r_sp;
11 	unsigned int r_lr;
12 	unsigned int r_pc;
13 	unsigned int r_cpsr;
14 };
15 
16 struct fpreg {
17 	__uint64_t	fpr_r[32];
18 	__uint32_t	fpr_fpscr;
19 };
20 
21 struct dbreg {
22 #define	ARM_WR_MAX	16 /* Maximum number of watchpoint registers */
23 	unsigned int dbg_wcr[ARM_WR_MAX]; /* Watchpoint Control Registers */
24 	unsigned int dbg_wvr[ARM_WR_MAX]; /* Watchpoint Value Registers */
25 };
26 
27 #endif /* !MACHINE_REG_H */
28