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