From 11ff3a9e72ca261a6024b16c34c6fb35054fd53a Mon Sep 17 00:00:00 2001 From: Hesham Almatary Date: Fri, 27 Oct 2017 15:18:40 +1100 Subject: cpukit: RISC-V - make riscv32 code work for riscv64 - v2 * Use #ifdefs for 32/64 bit code * Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 (register size) * Move the code to a new shared riscv folder to be shared between riscv32 and riscv64 * Rename RTEMS_CPU extracted from command line to shared riscv target s/riscv*/riscv Update #3109 --- c/src/aclocal/rtems-cpu-subdirs.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/aclocal') diff --git a/c/src/aclocal/rtems-cpu-subdirs.m4 b/c/src/aclocal/rtems-cpu-subdirs.m4 index b5b579eb68..3ec5884fd1 100644 --- a/c/src/aclocal/rtems-cpu-subdirs.m4 +++ b/c/src/aclocal/rtems-cpu-subdirs.m4 @@ -23,7 +23,7 @@ _RTEMS_CPU_SUBDIR([nios2],[$1]);; _RTEMS_CPU_SUBDIR([no_cpu],[$1]);; _RTEMS_CPU_SUBDIR([or1k],[$1]);; _RTEMS_CPU_SUBDIR([powerpc],[$1]);; -_RTEMS_CPU_SUBDIR([riscv32],[$1]);; +_RTEMS_CPU_SUBDIR([riscv],[$1]);; _RTEMS_CPU_SUBDIR([sh],[$1]);; _RTEMS_CPU_SUBDIR([sparc],[$1]);; _RTEMS_CPU_SUBDIR([sparc64],[$1]);; -- cgit v1.2.3