source: rtems/cpukit/score/cpu/nios2/Makefile.am @ 6f90ef7

4.11
Last change on this file since 6f90ef7 was 24bf11e, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 12, 2014 at 9:31:38 AM

score: Add CPU counter support

Add a CPU counter interface to allow access to a free-running counter.
It is useful to measure short time intervals. This can be used for
example to enable profiling of critical low-level functions.

Add two busy wait functions rtems_counter_delay_ticks() and
rtems_counter_delay_nanoseconds() implemented via the CPU counter.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1include $(top_srcdir)/automake/compile.am
2
3CLEANFILES =
4DISTCLEANFILES =
5
6include_rtemsdir = $(includedir)/rtems
7
8include_rtems_HEADERS = rtems/asm.h
9
10include_rtems_scoredir = $(includedir)/rtems/score
11
12include_rtems_score_HEADERS =
13include_rtems_score_HEADERS += rtems/score/cpu.h
14include_rtems_score_HEADERS += rtems/score/nios2.h
15include_rtems_score_HEADERS += rtems/score/nios2-utility.h
16include_rtems_score_HEADERS += rtems/score/nios2-count-zeros.h
17include_rtems_score_HEADERS += rtems/score/cpu_asm.h
18include_rtems_score_HEADERS += rtems/score/types.h
19include_rtems_score_HEADERS += rtems/score/cpuatomic.h
20
21noinst_LIBRARIES = libscorecpu.a
22
23libscorecpu_a_SOURCES =
24libscorecpu_a_SOURCES += ../no_cpu/cpucounterread.c
25libscorecpu_a_SOURCES += nios2-context-initialize.c
26libscorecpu_a_SOURCES += nios2-context-switch.S
27libscorecpu_a_SOURCES += nios2-context-validate.S
28libscorecpu_a_SOURCES += nios2-context-volatile-clobber.S
29libscorecpu_a_SOURCES += nios2-eic-il-low-level.S
30libscorecpu_a_SOURCES += nios2-eic-rsie-low-level.S
31libscorecpu_a_SOURCES += nios2-exception-frame-print.c
32libscorecpu_a_SOURCES += nios2-fatal-halt.c
33libscorecpu_a_SOURCES += nios2-iic-low-level.S
34libscorecpu_a_SOURCES += nios2-iic-irq.c
35libscorecpu_a_SOURCES += nios2-initialize.c
36libscorecpu_a_SOURCES += nios2-initialize-vectors.c
37libscorecpu_a_SOURCES += nios2-isr-get-level.c
38libscorecpu_a_SOURCES += nios2-isr-install-raw-handler.c
39libscorecpu_a_SOURCES += nios2-isr-install-vector.c
40libscorecpu_a_SOURCES += nios2-isr-is-in-progress.c
41libscorecpu_a_SOURCES += nios2-isr-set-level.c
42libscorecpu_a_SOURCES += nios2-mpu-add-region.c
43libscorecpu_a_SOURCES += nios2-mpu-configuration.c
44libscorecpu_a_SOURCES += nios2-mpu-descriptor.c
45libscorecpu_a_SOURCES += nios2-mpu-disable-protected.c
46libscorecpu_a_SOURCES += nios2-mpu-reset.c
47libscorecpu_a_SOURCES += nios2-thread-dispatch-disabled.c
48
49libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
50
51all-local: $(PREINSTALL_FILES)
52
53include $(srcdir)/preinstall.am
54
55include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.