Changeset 1c59cad in rtems


Ignore:
Timestamp:
Apr 24, 2015, 2:05:50 PM (5 years ago)
Author:
Alexander Krutwig <alexander.krutwig@…>
Branches:
4.11, master
Children:
9588946
Parents:
a9c4f15d
git-author:
Alexander Krutwig <alexander.krutwig@…> (04/24/15 14:05:50)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/21/15 07:37:36)
Message:

sparc: Add support for sptests/spcontext01

Implement _CPU_Context_validate() and _CPU_Context_volatile_clobber().

Update #2270.

Location:
cpukit/score/cpu/sparc
Files:
2 added
2 edited

Legend:

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

    ra9c4f15d r1c59cad  
    1212noinst_LIBRARIES = libscorecpu.a
    1313libscorecpu_a_SOURCES = cpu.c cpu_asm.S
     14libscorecpu_a_SOURCES += sparc-context-volatile-clobber.S
     15libscorecpu_a_SOURCES += sparc-context-validate.S
    1416libscorecpu_a_SOURCES += sparc-counter.c
    1517libscorecpu_a_SOURCES += sparcv8-atomic.c
  • cpukit/score/cpu/sparc/rtems/score/cpu.h

    ra9c4f15d r1c59cad  
    12171217);
    12181218
    1219 static inline void _CPU_Context_volatile_clobber( uintptr_t pattern )
    1220 {
    1221   /* TODO */
    1222 }
    1223 
    1224 static inline void _CPU_Context_validate( uintptr_t pattern )
    1225 {
    1226   while (1) {
    1227     /* TODO */
    1228   }
    1229 }
     1219void _CPU_Context_volatile_clobber( uintptr_t pattern );
     1220
     1221void _CPU_Context_validate( uintptr_t pattern );
    12301222
    12311223typedef struct {
Note: See TracChangeset for help on using the changeset viewer.