source: rtems/cpukit/score/cpu/sparc/Makefile.am @ a4bc90af

4.115
Last change on this file since a4bc90af was a4bc90af, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 24, 2014 at 11:45:00 AM

sparc: Fix CPU counter support

The SPARC processors supported by RTEMS have no built-in CPU counter
support. We have to use some hardware counter module for this purpose.
The BSP must provide a 32-bit register which contains the current CPU
counter value and a function for the difference calculation. It can use
for example the GPTIMER instance used for the clock driver.

  • Property mode set to 100644
File size: 645 bytes
Line 
1include $(top_srcdir)/automake/compile.am
2
3include_rtemsdir = $(includedir)/rtems
4include_rtems_HEADERS = rtems/asm.h
5
6include_rtems_scoredir = $(includedir)/rtems/score
7include_rtems_score_HEADERS = rtems/score/sparc.h
8include_rtems_score_HEADERS += rtems/score/cpu.h
9include_rtems_score_HEADERS += rtems/score/types.h
10include_rtems_score_HEADERS += rtems/score/cpuatomic.h
11
12noinst_LIBRARIES = libscorecpu.a
13libscorecpu_a_SOURCES = cpu.c cpu_asm.S
14libscorecpu_a_SOURCES += sparc-counter.c
15libscorecpu_a_SOURCES += sparcv8-atomic.c
16libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
17
18include $(srcdir)/preinstall.am
19include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.