Ignore:
Timestamp:
Oct 27, 2017, 4:18:40 AM (19 months ago)
Author:
Hesham Almatary <heshamelmatary@…>
Branches:
master
Children:
8fa827c
Parents:
2126438a
git-author:
Hesham Almatary <heshamelmatary@…> (10/27/17 04:18:40)
git-committer:
Hesham Almatary <heshamelmatary@…> (10/31/17 23:10:27)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/aclocal/rtems-cpu-subdirs.m4

    r2126438a r11ff3a9  
    2424_RTEMS_CPU_SUBDIR([or1k],[$1]);;
    2525_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
    26 _RTEMS_CPU_SUBDIR([riscv32],[$1]);;
     26_RTEMS_CPU_SUBDIR([riscv],[$1]);;
    2727_RTEMS_CPU_SUBDIR([sh],[$1]);;
    2828_RTEMS_CPU_SUBDIR([sparc],[$1]);;
Note: See TracChangeset for help on using the changeset viewer.