summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/epiphany/include/rtems/score/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/epiphany/include/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/epiphany/include/rtems/score/cpu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/cpu/epiphany/include/rtems/score/cpu.h b/cpukit/score/cpu/epiphany/include/rtems/score/cpu.h
index 34ac8ae6c6..8979381259 100644
--- a/cpukit/score/cpu/epiphany/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/epiphany/include/rtems/score/cpu.h
@@ -39,8 +39,8 @@
extern "C" {
#endif
+#include <rtems/score/basedefs.h>
#include <rtems/score/epiphany.h> /* pick up machine definitions */
-#include <rtems/score/types.h>
#ifndef ASM
#include <rtems/bspIo.h>
#include <stdint.h>
@@ -864,6 +864,9 @@ static inline CPU_Counter_ticks _CPU_Counter_difference(
return second - first;
}
+/** Type that can store a 32-bit integer or a pointer. */
+typedef uintptr_t CPU_Uint32ptr;
+
#endif /* ASM */
#ifdef __cplusplus