summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-01-23 12:38:15 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-01-23 12:38:15 +0000
commit2c4e47174515d1e5be801bfac5cdc61df27df9d9 (patch)
treea2556ec5e74c3c443d314f636485d95a1265dc40 /sys/arch
parent01bcf7e2a506dfe544648673ee50656a73bbf566 (diff)
Revise 'struct fpreg' such that it can actually represent the full VFPv3-D32
state. ok patrick@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm/include/reg.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/arm/include/reg.h b/sys/arch/arm/include/reg.h
index 237c789ef6b..7f401677dcd 100644
--- a/sys/arch/arm/include/reg.h
+++ b/sys/arch/arm/include/reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.h,v 1.2 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: reg.h,v 1.3 2018/01/23 12:38:14 kettenis Exp $ */
/* $NetBSD: reg.h,v 1.1 2001/02/11 14:51:55 bjh21 Exp $ */
/*
@@ -37,8 +37,6 @@
#ifndef _ARM_REG_H_
#define _ARM_REG_H_
-#include <machine/fp.h>
-
struct reg {
unsigned int r[13];
unsigned int r_sp;
@@ -48,8 +46,8 @@ struct reg {
};
struct fpreg {
- unsigned int fpr_fpsr;
- fp_reg_t fpr[8];
+ uint64_t fp_reg[32];
+ uint32_t fp_scr;
};
#endif /* !_ARM_REG_H_ */