Commit Graph

446 Commits

Author SHA1 Message Date
Sebastian Huber
a89ae540c1 2011-12-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/heapiterate.c, score/src/pheapiterate.c: New files.
	* score/Makefile.am: Reflect changes above.
	* score/include/rtems/score/heap.h: Declare _Heap_Iterate() and define
	Heap_Block_visitor.
	* score/include/rtems/score/protectedheap.h: Declare
	_Protected_heap_Iterate().
	* score/src/heapgetinfo.c: Use _Heap_Iterate().
2011-12-06 14:23:26 +00:00
Joel Sherrill
b0bd1b697c 2011-11-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1967/cpukit
	* score/include/rtems/score/object.h,
	score/src/objectinitializeinformation.c: Remove
	OBJECTS_NAME_ALIGNMENT and uses.
2011-11-29 21:55:18 +00:00
Joel Sherrill
ece175945c 2011-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1941/cpukit
	* libmisc/monitor/mon-server.c, score/include/rtems/system.h: Remove
	use of RTEMS_offset() in favor of standard offsetof(). This was
	undocumented and there was only one internal use. Change noted in
	4.11 release notes.
2011-11-28 17:51:47 +00:00
Gedare Bloom
b4959ec327 2011-11-26 Gedare Bloom <gedare@rtems.org>
PR 1963
	* score/include/rtems/score/rbtree.h: Fix _RBTree_Container_of macro to
	use correct arithmetic.
2011-11-26 18:15:39 +00:00
Joel Sherrill
0f7afe507a 2011-11-09 Werner Almesberger <werner@almesberger.net>
PR 1957/cpukit
	* score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/threadmp.inl: Add parentheses to protect
	macro arguments.
2011-11-09 18:42:17 +00:00
Ralf Corsepius
050adc2712 2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/rbtree.h (_RBTree_Container_of):
	Use offsetof. Don't cast to size_t. Include <stddef.h>.
2011-10-20 11:58:54 +00:00
Jennifer Averett
35453000cc 2011-10-17 Daniel Hellstrom <daniel@gaisler.com>
PR 1935/cpukit
	* score/include/rtems/score/smplock.h, score/src/smplock.c: SMP nested
	count variable was being overritten when nested lock was taken more
	than once.
2011-10-17 18:51:44 +00:00
Sebastian Huber
d63f1c9243 2011-10-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1938/cpukit
	* score/include/rtems/score/thread.h: Removed obsolete suspend_count
	field from Thread_Control.
2011-10-17 15:54:41 +00:00
Jennifer Averett
1072d53dcd 2011-10-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1922
	* score/include/rtems/score/schedulercbs.h, score/src/schedulercbs.c:
	EDF and CBS scheduler: extern declarations fix.
2011-10-04 15:18:59 +00:00
Sebastian Huber
8d7aea0d28 2011-09-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/tod.h: Declare _TOD_Set_with_timestamp()
	and _TOD_Get_as_timestamp().
	* score/src/coretodset.c: Define _TOD_Set_with_timestamp().
	* score/src/coretodget.c: Define _TOD_Get_as_timestamp().
	* rtems/src/clockset.c: Use _TOD_Set_with_timestamp().
	* score/include/rtems/score/timestamp64.h, score/src/ts64set.c:
	Changed parameter types of _Timestamp64_Set().
	* rtems/src/clocktodtoseconds.c: Year 2100 is not a leap year.
2011-09-29 09:55:54 +00:00
Sebastian Huber
3a42e6fd10 2011-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1914/cpukit
	* score/src/timespecgreaterthan.c, score/src/ts64greaterthan.c:
	Removed files.
	* score/Makefile.am: Reflect changes above.
	* score/include/rtems/score/timespec.h,
	score/include/rtems/score/timestamp.h,
	score/include/rtems/score/timestamp64.h, score/src/ts64addto.c,
	score/src/ts64divide.c, score/src/ts64dividebyinteger.c,
	score/src/ts64equalto.c, score/src/ts64getnanoseconds.c,
	score/src/ts64getseconds.c, score/src/ts64lessthan.c,
	score/src/ts64set.c, score/src/ts64settozero.c,
	score/src/ts64subtract.c, score/src/ts64toticks.c,
	score/src/ts64totimespec.c: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC,
	CPU_TIMESTAMP_USE_INT64, and CPU_TIMESTAMP_USE_INT64_INLINE.  Removed
	copy and paste.
2011-09-28 14:42:12 +00:00
Joel Sherrill
fdc70e2d4e 2011-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/thread.h: Ensure CBS builds with POSIX
	disabled.
2011-09-15 17:09:15 +00:00
Joel Sherrill
82db8e5675 2011-09-15 Petr Benes <benesp16@fel.cvut.cz>
PR 1906/cpukit
	* sapi/Makefile.am, sapi/preinstall.am, sapi/include/confdefs.h,
	score/Makefile.am, score/preinstall.am: Add the CBS (Constant
	Bandwidth Server) scheduler. This is a complex scheduling policy
	built atop of the EDF scheduler. Unlike other schedulers, this one
	provides a user API and handles not only deadlines of tasks but also
	claimed budget per period. The main aim of the scheduler is isolation
	of tasks so that each task is guaranteed to meet all deadlines
	regardless of how other tasks behave.
	* sapi/include/rtems/cbs.h, sapi/inline/rtems/cbs.inl,
	score/include/rtems/score/schedulercbs.h, score/src/schedulercbs.c,
	score/src/schedulercbsattachthread.c,
	score/src/schedulercbscleanup.c,
	score/src/schedulercbscreateserver.c,
	score/src/schedulercbsdestroyserver.c,
	score/src/schedulercbsdetachthread.c,
	score/src/schedulercbsgetapprovedbudget.c,
	score/src/schedulercbsgetexecutiontime.c,
	score/src/schedulercbsgetparameters.c,
	score/src/schedulercbsgetremainingbudget.c,
	score/src/schedulercbsgetserverid.c,
	score/src/schedulercbsreleasejob.c,
	score/src/schedulercbssetparameters.c,
	score/src/schedulercbsunblock.c: New files.
2011-09-15 15:49:32 +00:00
Sebastian Huber
3f764a8d0d 2011-09-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1898/cpukit
	* score/include/rtems/score/percpu.h: Use CPU_STRUCTURE_ALIGNMENT for
	_Per_CPU_Information.
2011-09-14 14:16:56 +00:00
Joel Sherrill
5472ad414f 2011-09-11 Petr Benes <benesp16@fel.cvut.cz>
PR 1896/cpukit
	* sapi/include/confdefs.h, score/Makefile.am, score/preinstall.am: Add
	Earliest Deadline First (EDF) Scheduling Algorithm implementation.
	* score/include/rtems/score/scheduleredf.h, score/src/scheduleredf.c,
	score/src/scheduleredfallocate.c, score/src/scheduleredfblock.c,
	score/src/scheduleredfenqueue.c,
	score/src/scheduleredfenqueuefirst.c,
	score/src/scheduleredfextract.c, score/src/scheduleredffree.c,
	score/src/scheduleredfprioritycompare.c,
	score/src/scheduleredfreleasejob.c, score/src/scheduleredfschedule.c,
	score/src/scheduleredfunblock.c, score/src/scheduleredfupdate.c,
	score/src/scheduleredfyield.c: New files.
2011-09-11 20:52:37 +00:00
Sebastian Huber
5817297df3 2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1873/cpukit
	* score/include/rtems/score/heap.h: Revert previous commit.
	* sapi/include/confdefs.h: Use proper constants in
	_Configure_From_workspace().
2011-09-09 11:02:03 +00:00
Sebastian Huber
d689de0b3c 2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/basedefs.h: Typo.
	* score/src/mpci.c, rtems/src/eventmp.c, rtems/src/msgmp.c,
	rtems/src/partmp.c, rtems/src/regionmp.c, rtems/src/semmp.c,
	rtems/src/signalmp.c, rtems/src/taskmp.c: Use RTEMS_STATIC_ASSERT() to
	ensure that the packet size is small enough.
2011-09-09 10:57:58 +00:00
Joel Sherrill
ac9d2ecc46 2011-09-01 Petr Benes <benesp16@fel.cvut.cz>
PR 1895/cpukit
	* rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
	rtems/src/ratemonperiod.c, sapi/include/confdefs.h,
	score/Makefile.am, score/include/rtems/score/scheduler.h,
	score/include/rtems/score/schedulerpriority.h,
	score/include/rtems/score/schedulersimple.h,
	score/include/rtems/score/schedulersimplesmp.h,
	score/inline/rtems/score/scheduler.inl,
	score/inline/rtems/score/schedulerpriority.inl,
	score/src/coremutexseize.c: Add priority_compare and release_job
	hooks interfaces to scheduler interface.
	* score/src/schedulerpriorityprioritycompare.c,
	score/src/schedulerpriorityreleasejob.c: New files.
2011-09-01 18:13:54 +00:00
Jennifer Averett
dad36c52b8 2011-08-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1876
	* score/Makefile.am, score/include/rtems/score/isr.h, score/src/isr.c,
	score/src/smp.c, score/src/smplock.c, score/src/threaddispatch.c,
	score/src/threaddispatchdisablelevel.c: Add smp isr support.
	* score/src/isrsmp.c: New file.
2011-08-22 18:26:08 +00:00
Joel Sherrill
74f1c73e96 2011-08-21 Petr Benes <benesp16@fel.cvut.cz>
PR 1886/cpukit
	* sapi/include/rtems/rbtree.h, sapi/inline/rtems/rbtree.inl,
	score/include/rtems/score/rbtree.h,
	score/inline/rtems/score/rbtree.inl, score/src/rbtree.c,
	score/src/rbtreeinsert.c: This patch enables inserting duplicate keys
	into rbtree. It is possible to turn on this feature when initializing
	the tree.
2011-08-21 20:07:11 +00:00
Joel Sherrill
74ac113b6e 2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1873/cpukit
	* score/include/rtems/score/heap.h: When using heap protection, we
	should account for adding an aligned protection footer.
2011-08-21 19:51:41 +00:00
Joel Sherrill
13c4f853e6 2011-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1877/cpukit
	* libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/memfile.c,
	sapi/inline/rtems/rbtree.inl, score/include/rtems/score/rbtree.h,
	score/inline/rtems/score/rbtree.inl, score/src/rbtree.c,
	score/src/rbtreefind.c, score/src/rbtreeinsert.c: Add comparison
	function for RBTrees.
2011-08-02 19:25:59 +00:00
Jennifer Averett
3c50a488e9 2011-08-02 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/include/rtems/score/coremutex.h: Move check dispatch for seize
	into its own macro and add smp support.
2011-08-02 13:59:48 +00:00
Jennifer Averett
32eba7457a 2011-08-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/include/rtems/score/isr.h: Cleaned up comments.
2011-08-01 19:21:47 +00:00
Jennifer Averett
e3d64d4f43 2011-08-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/include/rtems/score/smplock.h: Fix comments.
2011-08-01 17:30:20 +00:00
Joel Sherrill
5eda9a4511 2011-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/mppkt.h: Remove extra spaces.
2011-07-22 20:24:01 +00:00
Sebastian Huber
51ab73b5d2 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1842/cpukit
	* score/include/rtems/score/basedefs.h: Added RTEMS_STATIC_ASSERT().
2011-07-21 12:00:20 +00:00
Joel Sherrill
1dcccc2449 2011-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/chain.h: Fix typo.
2011-07-19 18:35:30 +00:00
Jennifer Averett
df00777ccf 2011-07-15 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/Makefile.am, score/preinstall.am,
	score/include/rtems/score/isr.h, score/include/rtems/score/percpu.h:
	Split isrlevel into its own file to avoid a circular dependancy in
	smp code.
	* score/include/rtems/score/isrlevel.h: New file.
2011-07-15 14:36:37 +00:00
Joel Sherrill
c5a4332700 2011-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Makefile.am, score/include/rtems/score/schedulersimplesmp.h,
	score/src/schedulersimplesmptick.c: Build schedulersimplesmptick.c
	and fix typos.
2011-06-28 20:31:36 +00:00
Joel Sherrill
21242c252a 2011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/rtems/bspIo.h, include/rtems/concat.h,
	include/rtems/endian.h, include/rtems/fs.h, include/rtems/irq.h,
	include/rtems/pci.h, include/rtems/userenv.h,
	libblock/include/rtems/flashdisk.h,
	libblock/include/rtems/nvdisk-sram.h,
	libblock/include/rtems/nvdisk.h, libcsupport/include/clockdrv.h,
	libcsupport/include/console.h, libcsupport/include/iosupp.h,
	libcsupport/include/spurious.h,
	libcsupport/include/motorola/mc68230.h,
	libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/error.h,
	libcsupport/include/rtems/framebuffer.h,
	libcsupport/include/rtems/gxx_wrappers.h,
	libcsupport/include/rtems/libcsupport.h,
	libcsupport/include/rtems/libio_.h,
	libcsupport/include/rtems/malloc.h,
	libcsupport/include/rtems/termiostypes.h,
	libcsupport/include/sys/statvfs.h, libcsupport/include/sys/termios.h,
	libcsupport/include/sys/utsname.h, libcsupport/include/zilog/z8036.h,
	libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h,
	libfs/src/imfs/imfs.h, libfs/src/pipe/pipe.h,
	libmisc/capture/capture-cli.h, libmisc/capture/capture.h,
	libmisc/cpuuse/cpuuse.h, libmisc/devnull/devnull.h,
	libmisc/devnull/devzero.h, libmisc/dumpbuf/dumpbuf.h,
	libmisc/fb/fb.h, libmisc/fb/mw_uid.h, libmisc/mouse/mouse_parser.h,
	libmisc/shell/shellconfig.h, libmisc/stringto/stringto.h,
	libmisc/untar/untar.h, libnetworking/memory.h, posix/include/aio.h,
	posix/include/mqueue.h, posix/include/semaphore.h,
	posix/include/rtems/posix/aio_misc.h,
	posix/include/rtems/posix/barrier.h,
	posix/include/rtems/posix/cond.h, posix/include/rtems/posix/config.h,
	posix/include/rtems/posix/key.h, posix/include/rtems/posix/mqueue.h,
	posix/include/rtems/posix/mutex.h,
	posix/include/rtems/posix/posixapi.h,
	posix/include/rtems/posix/priority.h,
	posix/include/rtems/posix/psignal.h,
	posix/include/rtems/posix/pthread.h,
	posix/include/rtems/posix/ptimer.h,
	posix/include/rtems/posix/rwlock.h,
	posix/include/rtems/posix/semaphore.h,
	posix/include/rtems/posix/sigset.h,
	posix/include/rtems/posix/spinlock.h,
	posix/include/rtems/posix/threadsup.h,
	posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h,
	posix/inline/rtems/posix/barrier.inl,
	posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/mqueue.inl,
	posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/priority.inl,
	posix/inline/rtems/posix/pthread.inl,
	posix/inline/rtems/posix/rwlock.inl,
	posix/inline/rtems/posix/semaphore.inl,
	posix/inline/rtems/posix/spinlock.inl,
	posix/inline/rtems/posix/timer.inl, rtems/mainpage.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/timer.h,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/timer.inl,
	rtems/src/semtranslatereturncode.c, sapi/include/rtems/config.h,
	sapi/include/rtems/fatal.h, sapi/include/rtems/mptables.h,
	score/include/rtems/score/object.h,
	score/include/rtems/score/priority.h,
	score/inline/rtems/score/object.inl,
	score/inline/rtems/score/priority.inl: Add @file Doxygen directives
	and descriptions to files which originated with RTEMS. This improves
	the file list page generated by Doxygen.
2011-06-24 17:52:58 +00:00
Joel Sherrill
27a1a6a19b 2011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* Doxyfile.in, score/include/rtems/score/apimutex.h,
	score/include/rtems/score/basedefs.h,
	score/include/rtems/score/coremsg.h,
	score/include/rtems/score/object.h: Fix some Doxygen warnings.
2011-06-24 17:50:31 +00:00
Joel Sherrill
d8cd045c7c 2011-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/types.h,
	score/include/rtems/score/address.h,
	score/include/rtems/score/apiext.h,
	score/include/rtems/score/bitfield.h,
	score/include/rtems/score/context.h,
	score/include/rtems/score/corebarrier.h,
	score/include/rtems/score/coremsg.h,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/corerwlock.h,
	score/include/rtems/score/coresem.h,
	score/include/rtems/score/corespinlock.h,
	score/include/rtems/score/interr.h, score/include/rtems/score/isr.h,
	score/include/rtems/score/mpci.h, score/include/rtems/score/mppkt.h,
	score/include/rtems/score/objectmp.h,
	score/include/rtems/score/percpu.h,
	score/include/rtems/score/priority.h,
	score/include/rtems/score/rbtree.h,
	score/include/rtems/score/scheduler.h,
	score/include/rtems/score/smp.h, score/include/rtems/score/smplock.h,
	score/include/rtems/score/stack.h,
	score/include/rtems/score/states.h,
	score/include/rtems/score/thread.h,
	score/include/rtems/score/threadq.h,
	score/include/rtems/score/threadsync.h,
	score/include/rtems/score/timespec.h,
	score/include/rtems/score/timestamp.h,
	score/include/rtems/score/timestamp64.h,
	score/include/rtems/score/tod.h, score/include/rtems/score/tqdata.h,
	score/include/rtems/score/watchdog.h,
	score/include/rtems/score/wkspace.h: Mark Score files as in Score
	Group to improve Doxygen output.
2011-06-17 15:40:09 +00:00
Joel Sherrill
4b72da419b 2011-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/malloc.h, libmisc/stackchk/stackchk.h,
	posix/include/rtems/posix/time.h, rtems/include/rtems/rtems/object.h,
	score/include/rtems/score/apiext.h,
	score/include/rtems/score/interr.h, score/include/rtems/score/mpci.h,
	score/include/rtems/score/objectmp.h,
	score/include/rtems/score/thread.h,
	score/include/rtems/score/threadmp.h,
	score/include/rtems/score/threadq.h,
	score/include/rtems/score/timespec.h,
	score/include/rtems/score/timestamp.h,
	score/include/rtems/score/timestamp64.h,
	score/include/rtems/score/tod.h,
	score/include/rtems/score/watchdog.h,
	score/include/rtems/score/wkspace.h: Make @brief formatting more
	consistent.
	* score/include/rtems/score/rbtree.h: Also reformat.
2011-06-17 14:55:27 +00:00
Joel Sherrill
3203e09507 2011-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1819/cpukit
	* rtems/src/clocktick.c, score/Makefile.am,
	score/include/rtems/score/scheduler.h,
	score/include/rtems/score/schedulerpriority.h,
	score/include/rtems/score/schedulersimple.h,
	score/include/rtems/score/schedulersimplesmp.h,
	score/include/rtems/score/thread.h,
	score/inline/rtems/score/scheduler.inl: Add a scheduler entry point
	which is invoked at each clock tick. _Thread_Tickle_timeslice() is
	now a method owned by the Deterministic Priority Scheduler and shared
	by the Simple Priority Scheduler. The Simple SMP Scheduler has its
	own variation on this which does timeslicing bookkeeping on all
	cores.
	* score/src/schedulerprioritytick.c,
	score/src/schedulersimplesmptick.c: New files.
	* score/src/threadtickletimeslice.c: Removed.
2011-06-17 14:31:46 +00:00
Jennifer Averett
d4dc7c8196 2011-05-26 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1796/cpukit
	* sapi/src/exshutdown.c, score/include/rtems/score/percpu.h,
	score/include/rtems/score/smp.h, score/src/smp.c,
	score/src/threaddispatch.c, score/src/threadhandler.c: Added SMP
	interprocess communications.
2011-05-26 18:07:07 +00:00
Ralf Corsepius
dacdda304b Remove white-spaces. 2011-05-24 02:44:58 +00:00
Jennifer Averett
3a8a999786 2011-05-23 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/Makefile.am, score/include/rtems/score/thread.h,
	score/inline/rtems/score/thread.inl: Add smp support to dispable
	dispatch level accesses.
	* score/src/threaddispatchdisablelevel.c: New file.
2011-05-23 13:30:15 +00:00
Jennifer Averett
a8d7e2ab16 2011-05-20 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1787/cpukit
	* score/include/rtems/score/percpu.h,
	score/include/rtems/score/smplock.h, score/src/smp.c,
	score/src/smplock.c: Add nesting support to smp spinlock.
2011-05-20 12:36:01 +00:00
Joel Sherrill
ba7bc099a8 2011-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1789/cpukit
	* sapi/include/confdefs.h, score/Makefile.am, score/preinstall.am: Add
	Simple SMP Priority Scheduler.
	* score/include/rtems/score/schedulersimplesmp.h,
	score/src/schedulersimplesmpblock.c,
	score/src/schedulersimplesmpschedule.c,
	score/src/schedulersimplesmpunblock.c: New files.
2011-05-17 19:48:44 +00:00
Joel Sherrill
68c6900dd2 2011-05-12 Joel Sherrill <joel.sherrilL@OARcorp.com>
* score/include/rtems/score/schedulersimple.h,
	score/inline/rtems/score/schedulersimple.inl,
	score/src/schedulersimpleenqueue.c,
	score/src/schedulersimpleenqueuefirst.c,
	score/src/schedulersimplereadyqueueenqueue.c,
	score/src/schedulersimplereadyqueueenqueuefirst.c,
	score/src/schedulersimpleunblock.c: Correct names as pointed out by
	Gedare.
2011-05-12 13:54:30 +00:00
Joel Sherrill
0a101d572d 2011-05-12 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1788/cpukit
	* score/include/rtems/score/percpu.h,
	score/include/rtems/score/thread.h: Make time of last context switch
	part of per cpu information since each core has a different context
	switch to track.
2011-05-12 13:23:12 +00:00
Joel Sherrill
743def0ffb 2011-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Makefile.am, score/include/rtems/score/isr.h: Replace tabs with
	spaces.
2011-05-11 19:49:40 +00:00
Jennifer Averett
42bb344e49 2011-05-11 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/Makefile.am, score/preinstall.am,
	score/include/rtems/score/percpu.h, score/src/percpu.c,
	score/src/threadcreateidle.c: Modifications to restrict compilation
	of SMP only code to when SMP is enabled. Entire SMP specific files
	are disabled via Makefile.am.
2011-05-11 14:22:35 +00:00
Jennifer Averett
0d5a9f1bb7 2011-04-27 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1784
	* sapi/src/exinit.c, score/Makefile.am, score/preinstall.am,
	score/include/rtems/bspsmp.h, score/src/percpu.c, score/src/smp.c,
	score/src/threadcreateidle.c: Split bspsmp.h into two files smp.h and
	bspsmp.h
	* score/include/rtems/score/smp.h: New file.
2011-04-27 17:18:59 +00:00
Jennifer Averett
fe40096f2e 2011-04-25 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/include/rtems/bspsmp.h: Did some prototype cleanup.
2011-04-25 15:06:41 +00:00
Joel Sherrill
f78831f13b 2011-04-22 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1782/cpukit
	* score/include/rtems/score/thread.h: Disable deferred FPU context
	switches when SMP is enabled. Per code tracking of deferred contexts
	is not implemented.
2011-04-22 17:54:31 +00:00
Jennifer Averett
d7c388321a 2011-04-21 Jennifer Averett <Jennifer.Averett@OARcorp.com
PR 1777/cpukit
	* libcsupport/src/malloc_deferred.c, libcsupport/src/realloc.c,
	score/Makefile.am, score/cpu/lm32/irq.c, score/cpu/nios2/irq.c,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/thread.h,
	score/inline/rtems/score/thread.inl, score/src/heapfree.c,
	score/src/pheapwalk.c, score/src/smp.c, score/src/threaddispatch.c:
	Consolidated access to _Thread_Dispatch_disable_level.
	* score/src/threaddisabledispatch.c, score/src/threadenabledispatch.c:
	New files.
2011-04-21 19:05:15 +00:00
Joel Sherrill
bd9baa8184 2010-07-28 Gedare Bloom <giddyup44@yahoo.com>
PR 1641/cpukit
	* sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am,
	score/preinstall.am: Add Red Black Tree data structure to score.
	* sapi/include/rtems/rbtree.h, sapi/inline/rtems/rbtree.inl,
	score/include/rtems/score/rbtree.h, score/inline/rtems/score/rbtree.inl,
	score/src/rbtree.c, score/src/rbtreeextract.c,
	score/src/rbtreefind.c, score/src/rbtreefindheader.c,
	score/src/rbtreeget.c, score/src/rbtreeinsert.c,
	score/src/rbtreepeek.c: New files.
2011-04-04 18:44:16 +00:00
Joel Sherrill
e79093acb1 2011-04-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1773/cpukit
	* sapi/include/confdefs.h, sapi/src/exinit.c,
	score/include/rtems/bspsmp.h, score/src/percpu.c, score/src/thread.c:
	Rename rtems_smp_maximum_processor to
	rtems_configuration_smp_maximum_processor. Eliminate printk().
2011-04-04 16:40:00 +00:00