Changeset d3d4e77 in rtems


Ignore:
Timestamp:
Jan 18, 2019, 11:37:55 AM (4 weeks ago)
Author:
Jiri Gaisler <jiri@…>
Branches:
master
Children:
afd50b3
Parents:
c1dcd6af
git-author:
Jiri Gaisler <jiri@…> (01/18/19 11:37:55)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/22/19 11:50:09)
Message:

riscv: add griscv bsp

Update #3678.

Files:
18 added
4 edited
2 moved

Legend:

Unmodified
Added
Removed
  • bsps/riscv/riscv/clock/clockdrv.c

    rc1dcd6af rd3d4e77  
    190190}
    191191
     192CPU_Counter_ticks _CPU_Counter_read( void )
     193{
     194  return *_RISCV_Counter;
     195}
     196
    192197RTEMS_SYSINIT_ITEM(
    193198  riscv_counter_initialize,
  • c/src/lib/libbsp/riscv/acinclude.m4

    rc1dcd6af rd3d4e77  
    33[
    44  case "$1" in
     5  griscv )
     6    AC_CONFIG_SUBDIRS([griscv]);;
    57  riscv )
    68    AC_CONFIG_SUBDIRS([riscv]);;
  • c/src/lib/libbsp/riscv/riscv/Makefile.am

    rc1dcd6af rd3d4e77  
    1919###############################################################################
    2020
    21 start.$(OBJEXT): ../../../../../../bsps/riscv/riscv/start/start.S
     21start.$(OBJEXT): ../../../../../../bsps/riscv/shared/start/start.S
    2222        $(CPPASCOMPILE) -o $@ -c $<
    2323project_lib_DATA = start.$(OBJEXT)
    2424
    2525project_lib_DATA += linkcmds
    26 project_lib_DATA += ../../../../../../bsps/riscv/riscv/start/linkcmds.base
     26project_lib_DATA += ../../../../../../bsps/riscv/shared/start/linkcmds.base
    2727
    2828###############################################################################
  • cpukit/score/cpu/riscv/include/rtems/score/cpu.h

    rc1dcd6af rd3d4e77  
    440440extern volatile uint32_t * const _RISCV_Counter;
    441441
    442 static inline CPU_Counter_ticks _CPU_Counter_read( void )
    443 {
    444   return *_RISCV_Counter;
    445 }
     442CPU_Counter_ticks _CPU_Counter_read( void );
    446443
    447444static inline CPU_Counter_ticks _CPU_Counter_difference(
Note: See TracChangeset for help on using the changeset viewer.