Changeset 3e201139 in rtems


Ignore:
Timestamp:
May 23, 2014, 8:00:33 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6c7caa1a
Parents:
1fc2e960
git-author:
Sebastian Huber <sebastian.huber@…> (05/23/14 08:00:33)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/03/14 06:15:16)
Message:

score: Add Resource Handler

A resource is something that has at most one owner at a time and may
have multiple rivals in case an owner is present. The owner and rivals
are impersonated via resource nodes. A resource is represented via the
resource control structure. The resource controls and nodes are
organized as trees. It is possible to detect deadlocks via such a
resource tree. The _Resource_Iterate() function can be used to iterate
through such a resource tree starting at a top node.

Files:
7 added
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/Makefile.am

    r1fc2e960 r3e201139  
    5252include_rtems_score_HEADERS += include/rtems/score/rbtree.h
    5353include_rtems_score_HEADERS += include/rtems/score/rbtreeimpl.h
     54include_rtems_score_HEADERS += include/rtems/score/resource.h
     55include_rtems_score_HEADERS += include/rtems/score/resourceimpl.h
    5456include_rtems_score_HEADERS += include/rtems/score/scheduler.h
    5557include_rtems_score_HEADERS += include/rtems/score/schedulerimpl.h
     
    338340libscore_a_SOURCES += src/profilingisrentryexit.c
    339341libscore_a_SOURCES += src/once.c
     342libscore_a_SOURCES += src/resourceiterate.c
    340343
    341344EXTRA_DIST = src/Unlimited.txt
  • cpukit/score/preinstall.am

    r1fc2e960 r3e201139  
    187187        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/rbtreeimpl.h
    188188PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/rbtreeimpl.h
     189
     190$(PROJECT_INCLUDE)/rtems/score/resource.h: include/rtems/score/resource.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
     191        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/resource.h
     192PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/resource.h
     193
     194$(PROJECT_INCLUDE)/rtems/score/resourceimpl.h: include/rtems/score/resourceimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
     195        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/resourceimpl.h
     196PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/resourceimpl.h
    189197
    190198$(PROJECT_INCLUDE)/rtems/score/scheduler.h: include/rtems/score/scheduler.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
  • testsuites/sptests/Makefile.am

    r1fc2e960 r3e201139  
    3838_SUBDIRS += sp29
    3939endif
     40_SUBDIRS += spresource01
    4041_SUBDIRS += spmrsp01
    4142_SUBDIRS += spscheduler01
  • testsuites/sptests/configure.ac

    r1fc2e960 r3e201139  
    4141# Explicitly list all Makefiles here
    4242AC_CONFIG_FILES([Makefile
     43spresource01/Makefile
    4344spmrsp01/Makefile
    4445spscheduler01/Makefile
Note: See TracChangeset for help on using the changeset viewer.