Commit Graph

21857 Commits

Author SHA1 Message Date
Sebastian Huber
5c4e0c5947 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h, score/include/rtems/score/scheduler.h,
	score/inline/rtems/score/scheduler.inl,
	score/inline/rtems/score/schedulerpriority.inl,
	score/src/schedulerpriority.c,
	score/src/schedulerprioritythreadschedulerallocate.c,
	score/src/schedulerprioritythreadschedulerfree.c,
	score/src/schedulerprioritythreadschedulerupdate.c,
	score/src/schedulerpriorityyield.c: Added attribute unused.  Renamed
	types and fields to follow the Score naming conventions.
2010-11-25 13:24:26 +00:00
Sebastian Huber
215f4014e6 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/scheduler.h,
	score/include/rtems/score/schedulerpriority.h: Whitespace removal.
	Moved C++ extern directive.
2010-11-25 12:42:50 +00:00
Sebastian Huber
fb01c02230 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spchain/init.c, spchain/spchain.scn: More test cases.
2010-11-25 12:38:57 +00:00
Sebastian Huber
76da5fa89d 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1711/cpukit
	* 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().  The
	Chain_Control is now a union to avoid casts.  The function
	_Chain_Is_empty() takes now a const pointer parameter.
2010-11-25 11:48:11 +00:00
Sebastian Huber
ce002b161d 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/dosfs/fat_file.c, libfs/src/imfs/imfs_debug.c,
	libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_getchild.c,
	posix/src/killinfo.c, score/inline/rtems/score/schedulerpriority.inl,
	score/inline/rtems/score/watchdog.inl, score/src/apiext.c,
	score/src/chain.c, score/src/coremsgflushsupp.c,
	score/src/coremsginsert.c, score/src/objectshrinkinformation.c,
	score/src/schedulerpriorityyield.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: Avoid chain API violations.
2010-11-25 09:27:06 +00:00
Joel Sherrill
692775fa56 2010-11-24 Gedare Bloom <giddyup44@yahoo.com>
PR 1647/cpukit
	* tm26/task1.c, tm27/task1.c: Update documentation to reflect
	refactoring of SuperCore to add Scheduler Handler.
2010-11-24 16:06:37 +00:00
Joel Sherrill
95ec9e9879 2010-11-24 Gedare Bloom <giddyup44@yahoo.com>
PR 1647/cpukit
	* spsize/size.c: Update documentation to reflect refactoring of
	SuperCore to add Scheduler Handler.
2010-11-24 16:06:22 +00:00
Joel Sherrill
db9964f185 2010-11-24 Gedare Bloom <giddyup44@yahoo.com>
PR 1647/cpukit
	* user/conf.t, user/schedule.t: Update documentation to reflect
	refactoring of SuperCore to add Scheduler and ability for user to
	configure a scheduler.
2010-11-24 15:52:21 +00:00
Joel Sherrill
0faa9dad07 2010-11-24 Gedare Bloom <giddyup44@yahoo.com>
PR 1647/cpukit
	* posix/src/nanosleep.c, posix/src/sched_yield.c,
	rtems/src/taskwakeafter.c, sapi/include/confdefs.h,
	sapi/include/rtems/config.h, sapi/src/exinit.c, score/Makefile.am,
	score/preinstall.am, score/include/rtems/score/prioritybitmap.h,
	score/include/rtems/score/thread.h,
	score/inline/rtems/score/thread.inl, score/src/thread.c,
	score/src/threadchangepriority.c, score/src/threadclearstate.c,
	score/src/threadclose.c, score/src/threadinitialize.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,
	score/src/threadtickletimeslice.c: Refactor scheduler out of thread
	handler to facilitate alternate scheduler implementations.
	* score/src/threadyieldprocessor.c: Removed.
	* score/src/schedulerprioritythreadschedulerupdate.c,
	score/src/schedulerprioritythreadschedulerfree.c,
	score/src/schedulerpriorityblock.c, score/src/scheduler.c,
	score/src/schedulerprioritythreadschedulerallocate.c,
	score/src/schedulerpriorityunblock.c,
	score/src/schedulerpriority.c, score/src/schedulerpriorityyield.c,
	score/include/rtems/score/schedulerpriority.h,
	score/include/rtems/score/scheduler.h,
	score/inline/rtems/score/scheduler.inl,
	score/inline/rtems/score/schedulerpriority.inl: New files.
2010-11-24 15:51:28 +00:00
Joel Sherrill
505866a0d8 Remove duplicate entry. 2010-11-23 23:44:06 +00:00
Sebastian Huber
9c2da80f4e 2010-11-23 Gedare Bloom <giddyup44@yahoo.com>
PR 1719/cpukit
	* shared/start/start.S: Avoid "bx" instruction to support ARMv4 and
	below.
2010-11-23 16:01:09 +00:00
Sebastian Huber
db26513608 2010-11-23 Gedare Bloom <giddyup44@yahoo.com>
PR 1719/cpukit
	* arm_exc_abort.S: Avoid "bx" instruction to support ARMv4 and below.
2010-11-23 15:59:18 +00:00
Sebastian Huber
8720a3a509 2010-11-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
	Avoid dead code if POSIX API is enabled.
2010-11-23 15:26:52 +00:00
Sebastian Huber
4e3d9b8a84 2010-11-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/iterateoverthreads.c, libmisc/cpuuse/cpuusagereport.c:
	Fixed NULL pointer access in case POSIX API is disabled.
2010-11-23 14:59:05 +00:00
Sebastian Huber
71c8457dc0 2010-11-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Set alignment requirements according to AAPCS.
2010-11-22 13:06:46 +00:00
Sebastian Huber
3ff9156f6b 2010-11-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/monitor/mon-monitor.c: Fixed broken monitor command list.
2010-11-19 09:44:21 +00:00
Sebastian Huber
3246789a52 2010-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mscan/mscan-base.c: Do not use sleep mode to enter init mode.  Do
	not wait for sleep mode acknowledge.
2010-11-18 11:08:41 +00:00
Joel Sherrill
02591de7de 2010-11-16 Gedare Bloom <giddyup44@yahoo.com>
* rtems/score/sparc64.h: Fix typo.
2010-11-16 23:22:47 +00:00
Joel Sherrill
b5df1f9a7d 2010-11-16 Gedare Bloom <giddyup44@yahoo.com>
PR 1691/bsps
	* shared/clock/ckinit.c: The sparc64/shared/clock driver has
	a bug that causes nested timer interrupts to not be serviced,
	which leads to non-preemptive behavior especially when dispatching
	work from the timer ISR.
2010-11-16 23:22:13 +00:00
Joel Sherrill
722c0fdfdf 2010-11-15 Gedare Bloom <giddyup44@yahoo.com>
PR 1691/bsps
	* shared/include/traptable.h, shared/start/trap_table.S,
	shared/startup/linkcmds: Create a dummy trap table
	that jumps to the firmware trap table for default trap handlers.
2010-11-16 23:20:08 +00:00
Joel Sherrill
982b484912 2010-11-15 Gedare Bloom <giddyup44@yahoo.com>
PR 1691/bsps
	* usiii/start/bspinit.S: Create a dummy trap table that jumps
	to the firmware trap table for default trap handlers.
2010-11-16 23:19:58 +00:00
Joel Sherrill
db5f1341c2 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1718/cpukit
	* sapi/include/confdefs.h: POSIX threads are allocated twice the
	minimum stack space by default. confdefs.h only accounts for one
	minimum -- not the 2x factor.
2010-11-16 19:14:10 +00:00
Joel Sherrill
2b76c8dc25 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp70/init.c, sp70/sp70.scn: Fix bug in test which lead to random
	memory corruption.
2010-11-16 19:01:29 +00:00
Joel Sherrill
80675f0d64 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1717/cpukit
	* libcsupport/src/gxx_wrappers.c: Free memory on error.
2010-11-16 18:51:34 +00:00
Joel Sherrill
c8b3806d1a 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-monitor.c: Move node code into multiprocessing
	ifdef.
2010-11-16 17:51:02 +00:00
Joel Sherrill
16d7b65331 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/objectnametoid.c, score/src/objectnametoidstring.c:
	Remove useless variable pointed out by clang.
	* score/src/threadstackallocate.c: Remove useless variable
	initialization pointed out by clang.
2010-11-16 17:50:26 +00:00
Joel Sherrill
5290c5aeb8 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c:
	Remove unchecked return status pointed out by clang.
2010-11-16 17:48:06 +00:00
Joel Sherrill
fd83f1687d 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/putk.c: Remove useless variable initialization
	pointed out by clang.
2010-11-16 17:47:06 +00:00
Joel Sherrill
fc8a8aab53 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove unused variable reported by clang.
2010-11-16 17:41:56 +00:00
Sebastian Huber
ddd5640ff6 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* make/custom/dp2.cfg, startup/linkcmds.dp2: New files.
	* Makefile.am, preinstall.am: Reflect change above.  Install
	<bsp/utility.h>.  Install BestComm header files.
	* configure.ac: Changed BSP options.
	* include/mpc5200.h: Added module structures and register defines.
	* bestcomm/bestcomm_api.c, bestcomm/bestcomm_api.h,
	bestcomm/bestcomm_glue.c, bestcomm/bestcomm_glue.h,
	bestcomm/bestcomm_priv.h, bestcomm/load_task.c,
	bestcomm/tasksetup_bdtable.c, bestcomm/task_api/bestcomm_cntrl.h: C++
	compatibility.  Use special heap to manage the SRAM region.  Use
	interrupt extension API.  Fixed warnings.
	* console/console.c: Fixed console registration.  Fixed warnings.
	Added GPS module registration.
	* ide/pcmcia_ide.h: Fixed clock value macros.
	* ide/pcmcia_ide.c: Update for BestComm API changes.
	DP2 specific initialization.  Removed zero loop in PIO receive
	function.
	* include/bsp.h: Added DP2 variant.  Removed obsolete defines.
	* include/mscan-base.h, mscan/mscan-base.c: Use volatile qualifier.
	Format.
	* irq/irq.c: Fixed peripheral interrupt handling.
	* network_5200/network.c: Update for BestComm API changes.
	* start/start.S: U-Boot fixes.
	* startup/cpuinit.c: Enable write-back cache strategy.  Added special
	memory regions.
	* startup/linkcmds.brs5l: Fixed memory size.
2010-11-15 10:55:02 +00:00
Sebastian Huber
8a54204379 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console/console.h, console/console.c, console/config.c,
	console/ns16550cfg.c: Removed files.
	* console/console-config.c: New file.
	* Makefile.am: Reflect changes above.
	* configure.ac: New BSP options.
	* include/bsp.h: Use new BSP options.
	* network/network.c: Avoid memory leak.
	* startup/bspstart.c: Initialize console port table.
	* spi/spi_init.c: Update for SD card API changes.
2010-11-12 14:16:57 +00:00
Sebastian Huber
ed2ab950b1 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* misc/system-clocks.c: Use define instead of function call to allow
	smaller delays.
2010-11-12 13:45:33 +00:00
Sebastian Huber
82dcbc8e1e 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtc/rtc-config.c: Fixed type.
2010-11-12 13:29:14 +00:00
Sebastian Huber
fe5d5048c6 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/irq.h: Include missing <bspopts.h>.  Format.
	* mpc83xx/include/mpc83xx.h, mpc83xx/i2c/mpc83xx_i2cdrv.h,
	mpc83xx/i2c/mpc83xx_i2cdrv.c: Changes to use this driver for the
	MPC55XX familiy.
2010-11-12 12:43:28 +00:00
Joel Sherrill
0badd50930 2010-11-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1716/doc
	* user/concepts.t: print_name example used a variable which did not
	match the name of the passed in parameter.
2010-11-11 14:01:32 +00:00
Sebastian Huber
fc75117609 2010-11-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/userext.h: Documentation.
2010-11-11 13:37:03 +00:00
Ralf Corsepius
2c9b61f8ea Regenerate. 2010-11-09 14:22:14 +00:00
Ralf Corsepius
d22fa9e492 binutils-2.20.90 2010-11-09 14:21:04 +00:00
Ralf Corsepius
91234a4195 New. Rebase patch against binutils-2.20.90. 2010-11-09 14:19:51 +00:00
Sebastian Huber
42d6ed845a 2010-11-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/watchdoginsert.c: Removed superfluous cast and use
	appropriate API function.  This special case handling is obsolete
	since 2006 with the introduction of compiler memory barriers in the
	interrupt routines.  Removed obsolete comments.
2010-11-09 09:14:10 +00:00
Joel Sherrill
2e5a8933c1 2010-11-06 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1715/cpukit
	* rtems/score/cpu.h: Fix typo on _CPU_Context_Restart_self.
2010-11-06 22:32:06 +00:00
Ralf Corsepius
b7e0c21304 Housekeeping. 2010-11-06 06:48:07 +00:00
Joel Sherrill
1123658086 2010-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/stackchk/check.c: Make compile again.
	* sapi/src/io.c, score/src/heap.c: Address dead assignment
	issues found by clang.
2010-11-04 23:00:04 +00:00
Joel Sherrill
16b1546e0b 2010-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/stackchk/check.c: Address casting issue highlighted by clang.
	There was no need for an intermediate cast to a structure pointer.
2010-11-04 22:22:49 +00:00
Joel Sherrill
a14b982755 2010-11-01 Alin Rus <alin.codejunkie@gmail.com>
* psxaio01/init.c, psxaio02/init.c: Improve coverage.
2010-11-01 17:33:08 +00:00
Joel Sherrill
5f92568509 2010-11-01 Alin Rus <alin.codejunkie@gmail.com>
* posix/include/rtems/posix/aio_misc.h, posix/src/aio_misc.c: Small
	fixes.
2010-11-01 17:32:53 +00:00
Joel Sherrill
d84ff53acf 2010-11-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1714/doc
	* user/datatypes.t: Add missing description of rtems_status_codes.
2010-11-01 15:58:05 +00:00
Sebastian Huber
4b25ab8b9c 2010-10-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/powerpc/registers.h: Added HID2 define.  Fixed comments.
2010-10-29 07:32:30 +00:00
Joel Sherrill
ec12a7e366 Spacing. 2010-10-26 04:24:28 +00:00
Joel Sherrill
4cdce0e45a 2010-10-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* spchain/init.c: Attempt to improve coverage.
2010-10-26 04:22:55 +00:00