From 4797432ff75f5083cbc0f231a35965a8083fd37d Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Sat, 29 Mar 2014 10:11:19 +0000 Subject: [PATCH] Add more flags for the fpexc register from the ARM1176JZF-S Manual --- sys/arm/include/vfp.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/arm/include/vfp.h b/sys/arm/include/vfp.h index befba18eca5a..62345cec6107 100644 --- a/sys/arm/include/vfp.h +++ b/sys/arm/include/vfp.h @@ -92,6 +92,11 @@ /* VFPEXC */ #define VFPEXC_EX (0x80000000) /* exception v1 v2 */ #define VFPEXC_EN (0x40000000) /* vfp enable */ +#define VFPEXC_FP2V (0x10000000) /* FPINST2 valid */ +#define VFPEXC_INV (0x00000080) /* Input exception */ +#define VFPEXC_UFC (0x00000008) /* Underflow exception */ +#define VFPEXC_OFC (0x00000004) /* Overflow exception */ +#define VFPEXC_IOC (0x00000001) /* Invlaid operation */ /* version 3 registers */ /* VMVFR0 */