Ignore:
Timestamp:
Feb 24, 2014, 11:45:00 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
3378be95
Parents:
95d0c98
git-author:
Sebastian Huber <sebastian.huber@…> (02/24/14 11:45:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/24/14 15:12:02)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/Makefile.am

    r95d0c98 ra4bc90af  
    1212noinst_LIBRARIES = libscorecpu.a
    1313libscorecpu_a_SOURCES = cpu.c cpu_asm.S
     14libscorecpu_a_SOURCES += sparc-counter.c
    1415libscorecpu_a_SOURCES += sparcv8-atomic.c
    1516libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS)
Note: See TracChangeset for help on using the changeset viewer.