source: rtems/cpukit/score/cpu/riscv/Makefile.am @ 65f868c

5
Last change on this file since 65f868c was 65f868c, checked in by Sebastian Huber <sebastian.huber@…>, on May 23, 2018 at 12:17:25 PM

Add _CPU_Counter_frequency()

Add rtems_counter_frequency() API function. Use it to initialize the
counter value converter via the new system initialization step
(RTEMS_SYSINIT_CPU_COUNTER). This decouples the counter implementation
and the counter converter. It avoids an unnecessary pull in of the
64-bit integer division from libgcc.

Update #3456.

  • Property mode set to 100644
File size: 638 bytes
Line 
1include $(top_srcdir)/automake/compile.am
2noinst_LIBRARIES = libscorecpu.a
3libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
4libscorecpu_a_SOURCES  = cpu.c
5libscorecpu_a_SOURCES += ../no_cpu/cpucounterfrequency.c
6libscorecpu_a_SOURCES += riscv-exception-handler.S
7libscorecpu_a_SOURCES += riscv-exception-default.c
8libscorecpu_a_SOURCES += riscv-exception-frame-print.c
9libscorecpu_a_SOURCES += riscv-context-switch.S
10libscorecpu_a_SOURCES += riscv-context-initialize.c
11libscorecpu_a_SOURCES += riscv-context-validate.S
12libscorecpu_a_SOURCES += riscv-context-volatile-clobber.S
13
14include $(top_srcdir)/automake/local.am
15include $(srcdir)/headers.am
Note: See TracBrowser for help on using the repository browser.