[Bug 1711] New: Chain API implementation and usage cleanup

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Oct 20 13:50:21 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1711

           Summary: Chain API implementation and usage cleanup
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: sebastian.huber at embedded-brains.de


Created an attachment (id=1055)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=1055)
Proposal.

2010-10-20    Sebastian Huber <sebastian.huber at embedded-brains.de>

    * score/inline/rtems/score/chain.inl,
    score/src/chain.c: New functions _Chain_Immutable_head(),
    _Chain_Immutable_tail(), _Chain_Immutable_first(), and
    _Chain_Immutable_last().  Use Chain_Control fields only in
    _Chain_Head(), _Chain_Immutable_head(), _Chain_Tail(), and
    _Chain_Immutable_tail() functions. The function _Chain_Is_empty()
    takes now a const pointer parameter.
    * score/inline/rtems/score/thread.inl,
    score/inline/rtems/score/watchdog.inl,
    score/src/apiext.c,
    score/src/coremsgflushsupp.c,
    score/src/coremsginsert.c,
    score/src/objectshrinkinformation.c,
    score/src/threadqdequeuepriority.c,
    score/src/threadqenqueuepriority.c,
    score/src/threadqextractpriority.c,
    score/src/threadqfirstfifo.c,
    score/src/threadqfirstpriority.c,
    score/src/threadyieldprocessor.c,
    score/src/userextthreadbegin.c,
    score/src/userextthreadcreate.c,
    score/src/userextthreaddelete.c,
    score/src/userextthreadrestart.c,
    score/src/userextthreadstart.c,
    score/src/userextthreadswitch.c,
    score/src/watchdogreportchain.c,
    posix/src/aio_misc.c,
    posix/src/killinfo.c,
    libfs/src/dosfs/fat_file.c,
    libfs/src/imfs/imfs_debug.c,
    libfs/src/imfs/imfs_directory.c,
    libfs/src/imfs/imfs_getchild.c: Clean up chain API violations.
    * score/src/watchdoginsert.c: In 2003-07-18 a volatile cast was added
    to fix a synchronization problem with ISRs.  This fix is obsolete
    since 2006-03-07 because _ISR_Flash() uses now a compiler memory
    barrier.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list