summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/include/sh1/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sh/include/sh1/types.h')
-rw-r--r--nuttx/arch/sh/include/sh1/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/arch/sh/include/sh1/types.h b/nuttx/arch/sh/include/sh1/types.h
index 1166fb40c..7b8876c93 100644
--- a/nuttx/arch/sh/include/sh1/types.h
+++ b/nuttx/arch/sh/include/sh1/types.h
@@ -67,6 +67,10 @@ typedef unsigned int uint32;
typedef long long sint64;
typedef unsigned long long uint64;
+/* A pointer is 4 bytes */
+
+typedef unsigned int uintptr;
+
/* This is the size of the interrupt state save returned by
* irqsave()
*/