From a55e305ed3406b935a24ceb9becdff58a1a87948 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 29 Jul 2010 17:52:10 +0000 Subject: 2010-07-29 Gedare Bloom PR 1635/cpukit * sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/bitfield.h, score/include/rtems/score/priority.h, score/include/rtems/score/thread.h, score/inline/rtems/score/priority.inl, score/inline/rtems/score/thread.inl, score/src/threadchangepriority.c, score/src/threadclearstate.c, score/src/threadready.c, score/src/threadresume.c, score/src/threadsetpriority.c, score/src/threadsetstate.c, score/src/threadsettransient.c, score/src/threadsuspend.c: Refactoring of priority handling, to isolate the bitmap implementation of priorities in the supercore so that priority management is a little more modular. This change is in anticipation of scheduler implementations that can select how they manage tracking priority levels / finding the highest priority ready task. Note that most of the changes here are simple renaming, to clarify the use of the bitmap-based priority management. * score/include/rtems/score/prioritybitmap.h, score/inline/rtems/score/prioritybitmap.inl: New files. --- cpukit/score/preinstall.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/score/preinstall.am') diff --git a/cpukit/score/preinstall.am b/cpukit/score/preinstall.am index 71e489d02f..9768f8c81d 100644 --- a/cpukit/score/preinstall.am +++ b/cpukit/score/preinstall.am @@ -107,6 +107,10 @@ $(PROJECT_INCLUDE)/rtems/score/priority.h: include/rtems/score/priority.h $(PROJ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/priority.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/priority.h +$(PROJECT_INCLUDE)/rtems/score/prioritybitmap.h: include/rtems/score/prioritybitmap.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/prioritybitmap.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/prioritybitmap.h + $(PROJECT_INCLUDE)/rtems/score/stack.h: include/rtems/score/stack.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/stack.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/stack.h @@ -237,6 +241,10 @@ $(PROJECT_INCLUDE)/rtems/score/priority.inl: inline/rtems/score/priority.inl $(P $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/priority.inl PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/priority.inl +$(PROJECT_INCLUDE)/rtems/score/prioritybitmap.inl: inline/rtems/score/prioritybitmap.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/prioritybitmap.inl +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/prioritybitmap.inl + $(PROJECT_INCLUDE)/rtems/score/stack.inl: inline/rtems/score/stack.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/stack.inl PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/stack.inl -- cgit v1.2.3