summaryrefslogtreecommitdiff
path: root/nuttx/arch/c5471/include/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/c5471/include/types.h')
-rw-r--r--nuttx/arch/c5471/include/types.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/arch/c5471/include/types.h b/nuttx/arch/c5471/include/types.h
index 7b39302f0..5ec6e81e1 100644
--- a/nuttx/arch/c5471/include/types.h
+++ b/nuttx/arch/c5471/include/types.h
@@ -52,6 +52,10 @@
* Type Declarations
************************************************************/
+#ifndef __ASSEMBLY__
+
+/* These are the sizes of the standard GNU types */
+
typedef char sbyte;
typedef unsigned char ubyte;
typedef unsigned char uint8;
@@ -63,6 +67,14 @@ typedef unsigned int uint32;
typedef long long sint64;
typedef unsigned long long uint64;
+/* This is the size of the interrupt state save returned by
+ * irqsave()
+ */
+
+typedef unsigned int irqstate_t;
+
+#endif /* __ASSEMBLY__ */
+
/************************************************************
* Global Function Prototypes
************************************************************/