summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/include/rtems/stdint.h14
2 files changed, 19 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 2e4006a792..f7b7203871 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
+ * include/rtems/stdint.h: Add signed8, signed16, signed32,
+ unsigned8, unsigned16, unsigned32.
+
+2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
+
* score/include/rtems/score/heap.h: Use uintptr_t for _H_uptr_t.
* score/inline/rtems/score/address.inl: Remove
RTEMS_CPU_HAS_16_BIT_ADDRESSES.
diff --git a/cpukit/include/rtems/stdint.h b/cpukit/include/rtems/stdint.h
index 3abdcc4109..66a552662f 100644
--- a/cpukit/include/rtems/stdint.h
+++ b/cpukit/include/rtems/stdint.h
@@ -21,4 +21,18 @@
#include <inttypes.h>
#endif
+typedef uint8_t unsigned8; /* unsigned 8-bit integer */
+typedef uint16_t unsigned16; /* unsigned 16-bit integer */
+typedef uint32_t unsigned32; /* unsigned 32-bit integer */
+#if 0
+typedef uint64_t unsigned64; /* unsigned 64-bit integer */
+#endif
+
+typedef int8_t signed8; /* signed 8-bit integer */
+typedef int16_t signed16; /* signed 16-bit integer */
+typedef int32_t signed32; /* signed 32-bit integer */
+#if 0
+typedef int64_t signed64; /* signed 64-bit integer */
+#endif
+
#endif