[PATCH 0/3] *** implementation of generic atomic ops for UP ***

Gedare Bloom gedare at rtems.org
Tue Apr 23 19:53:28 UTC 2013


OK to commit from me.

If no complaints I will commit in a couple days.

On Tue, Apr 23, 2013 at 3:49 PM, Gedare Bloom <gedare at rtems.org> wrote:
> The testsuite fixes can be done separately.  I have tested psim and
> jmr3904, logs are attached. Many of the jmr3904 tests did not
> terminate. But what did run seems correct.
>
> On Tue, Apr 23, 2013 at 3:46 PM, Gedare Bloom <gedare at rtems.org> wrote:
>> Some of the spatomic tests are not terminating within the 60 second
>> window used by the rtems-testing scripts. My guess is that the "Wait
>> task" is wasting a lot of time while spinning. Maybe reduce its
>> priority so it will only be scheduled when the other tasks are done?
>>
>> On Tue, Apr 23, 2013 at 12:34 PM, WeiY <wei.a.yang at gmail.com> wrote:
>>> From: WeiY <wei.a.yang at gmail.com>
>>>
>>> *** BLURB HERE ***
>>>
>>> WeiY (3):
>>>   Implement a generic atomic ops for all UP mode architectures with
>>>     disable/enable-IRQ function simulated.
>>>   Using the generic atomic ops to implement UP mode atomic for all
>>>     architectures. SMP atomic port will be later.
>>>   Clear the atomic conditional compilation.
>>>
>>>  cpukit/configure.ac                                |    7 -
>>>  cpukit/rtems/Makefile.am                           |    2 -
>>>  cpukit/rtems/preinstall.am                         |    3 +-
>>>  cpukit/score/Makefile.am                           |    3 +-
>>>  cpukit/score/cpu/arm/Makefile.am                   |    1 +
>>>  cpukit/score/cpu/arm/preinstall.am                 |    3 +
>>>  cpukit/score/cpu/arm/rtems/score/cpuatomic.h       |   40 +++
>>>  cpukit/score/cpu/avr/Makefile.am                   |    1 +
>>>  cpukit/score/cpu/avr/preinstall.am                 |    4 +
>>>  cpukit/score/cpu/avr/rtems/score/cpuatomic.h       |   40 +++
>>>  cpukit/score/cpu/bfin/Makefile.am                  |    1 +
>>>  cpukit/score/cpu/bfin/preinstall.am                |    3 +
>>>  cpukit/score/cpu/bfin/rtems/score/cpuatomic.h      |   40 +++
>>>  cpukit/score/cpu/h8300/Makefile.am                 |    1 +
>>>  cpukit/score/cpu/h8300/preinstall.am               |    3 +
>>>  cpukit/score/cpu/h8300/rtems/score/cpuatomic.h     |   40 +++
>>>  cpukit/score/cpu/lm32/Makefile.am                  |    1 +
>>>  cpukit/score/cpu/lm32/preinstall.am                |    3 +
>>>  cpukit/score/cpu/lm32/rtems/score/cpuatomic.h      |   40 +++
>>>  cpukit/score/cpu/m32c/Makefile.am                  |    1 +
>>>  cpukit/score/cpu/m32c/preinstall.am                |    3 +
>>>  cpukit/score/cpu/m32c/rtems/score/cpuatomic.h      |   40 +++
>>>  cpukit/score/cpu/m32r/Makefile.am                  |    1 +
>>>  cpukit/score/cpu/m32r/preinstall.am                |    3 +
>>>  cpukit/score/cpu/m32r/rtems/score/cpuatomic.h      |   40 +++
>>>  cpukit/score/cpu/m68k/Makefile.am                  |    1 +
>>>  cpukit/score/cpu/m68k/preinstall.am                |    3 +
>>>  cpukit/score/cpu/m68k/rtems/score/cpuatomic.h      |   40 +++
>>>  cpukit/score/cpu/mips/Makefile.am                  |    1 +
>>>  cpukit/score/cpu/mips/preinstall.am                |    3 +
>>>  cpukit/score/cpu/mips/rtems/score/cpuatomic.h      |   40 +++
>>>  cpukit/score/cpu/moxie/Makefile.am                 |    1 +
>>>  cpukit/score/cpu/moxie/preinstall.am               |    3 +
>>>  cpukit/score/cpu/moxie/rtems/score/cpuatomic.h     |   40 +++
>>>  cpukit/score/cpu/nios2/Makefile.am                 |    1 +
>>>  cpukit/score/cpu/nios2/preinstall.am               |    3 +
>>>  cpukit/score/cpu/nios2/rtems/score/cpuatomic.h     |   40 +++
>>>  cpukit/score/cpu/sh/Makefile.am                    |    1 +
>>>  cpukit/score/cpu/sh/preinstall.am                  |    3 +
>>>  cpukit/score/cpu/sh/rtems/score/cpuatomic.h        |   40 +++
>>>  cpukit/score/cpu/sparc/Makefile.am                 |    1 +
>>>  cpukit/score/cpu/sparc/preinstall.am               |    3 +
>>>  cpukit/score/cpu/sparc/rtems/score/cpuatomic.h     |   40 +++
>>>  cpukit/score/cpu/sparc64/Makefile.am               |    1 +
>>>  cpukit/score/cpu/sparc64/preinstall.am             |    3 +
>>>  cpukit/score/cpu/sparc64/rtems/score/cpuatomic.h   |   40 +++
>>>  cpukit/score/cpu/v850/Makefile.am                  |    1 +
>>>  cpukit/score/cpu/v850/preinstall.am                |    3 +
>>>  cpukit/score/cpu/v850/rtems/score/cpuatomic.h      |   40 +++
>>>  .../score/include/rtems/score/genericatomicops.h   |  274 ++++++++++++++++++++
>>>  cpukit/score/preinstall.am                         |    7 +-
>>>  testsuites/sptests/configure.ac                    |    4 -
>>>  testsuites/sptests/spatomic01/Makefile.am          |    4 -
>>>  testsuites/sptests/spatomic02/Makefile.am          |    4 -
>>>  testsuites/sptests/spatomic03/Makefile.am          |    4 -
>>>  testsuites/sptests/spatomic04/Makefile.am          |    4 -
>>>  testsuites/sptests/spatomic05/Makefile.am          |    4 -
>>>  testsuites/sptests/spatomic06/Makefile.am          |    4 -
>>>  testsuites/sptests/spatomic07/Makefile.am          |    4 -
>>>  59 files changed, 942 insertions(+), 47 deletions(-)
>>>  create mode 100644 cpukit/score/cpu/arm/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/avr/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/bfin/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/h8300/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/lm32/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/m32c/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/m32r/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/m68k/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/mips/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/moxie/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/nios2/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/sh/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/sparc/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/sparc64/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/cpu/v850/rtems/score/cpuatomic.h
>>>  create mode 100644 cpukit/score/include/rtems/score/genericatomicops.h
>>>
>>> _______________________________________________
>>> rtems-devel mailing list
>>> rtems-devel at rtems.org
>>> http://www.rtems.org/mailman/listinfo/rtems-devel



More information about the devel mailing list