summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-03-08 17:23:21 -0600
committerJoel Sherrill <joel@rtems.org>2018-03-12 14:29:40 -0500
commit5b88ec5b68b3773da09d78dae68d716e4f009215 (patch)
tree744f6b9303b54b4e8cfe56f3e0b39739233c5ca7 /cpukit/score/cpu/riscv/include/rtems/score/cpu.h
parentarm/include/rtems/score/types.h: Eliminate this file (diff)
downloadrtems-5b88ec5b68b3773da09d78dae68d716e4f009215.tar.bz2
riscv/include/rtems/score/types.h: Eliminate this file
Updates #3327.
Diffstat (limited to 'cpukit/score/cpu/riscv/include/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/riscv/include/rtems/score/cpu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
index 3f8af862bf..ada46ef9ee 100644
--- a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
@@ -39,8 +39,8 @@
extern "C" {
#endif
+#include <rtems/score/basedefs.h>
#include <rtems/score/riscv.h> /* pick up machine definitions */
-#include <rtems/score/types.h>
#include <rtems/score/riscv-utility.h>
#ifndef ASM
#include <rtems/bspIo.h>
@@ -595,6 +595,9 @@ static inline void _CPU_Context_Set_is_executing(
}
#endif /* RTEMS_SMP */
+/** Type that can store a 32-bit integer or a pointer. */
+typedef uintptr_t CPU_Uint32ptr;
+
#endif /* ASM */
#ifdef __cplusplus