summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-13 15:13:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-13 15:13:37 +0000
commitc37fdc28c2cfdf41a549ba245c1cad85b757e53a (patch)
tree2812daa6196bae9eb0a4233aa1b28f6eb7902c44 /nuttx/arch/sh
parenta3933a716fd10ac4c87089ce7fac43ee24b3a2d4 (diff)
downloadpx4-nuttx-c37fdc28c2cfdf41a549ba245c1cad85b757e53a.tar.gz
px4-nuttx-c37fdc28c2cfdf41a549ba245c1cad85b757e53a.tar.bz2
px4-nuttx-c37fdc28c2cfdf41a549ba245c1cad85b757e53a.zip
Eliminate some hcs12 compile errors/warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2329 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sh')
-rw-r--r--nuttx/arch/sh/include/m16c/types.h4
-rw-r--r--nuttx/arch/sh/include/sh1/types.h4
-rw-r--r--nuttx/arch/sh/include/types.h2
3 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/arch/sh/include/m16c/types.h b/nuttx/arch/sh/include/m16c/types.h
index 4c3cad9bd..8037a4617 100644
--- a/nuttx/arch/sh/include/m16c/types.h
+++ b/nuttx/arch/sh/include/m16c/types.h
@@ -68,6 +68,10 @@ typedef unsigned long uint32;
typedef long long sint64;
typedef unsigned long long uint64;
+/* A pointer is 2 bytes */
+
+typedef unsigned int uintptr;
+
/* This is the size of the interrupt state save returned by
* irqsave()
*/
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()
*/
diff --git a/nuttx/arch/sh/include/types.h b/nuttx/arch/sh/include/types.h
index 593d88306..e50a71c00 100644
--- a/nuttx/arch/sh/include/types.h
+++ b/nuttx/arch/sh/include/types.h
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*