Commit Graph
22127 Commits
Author SHA1 Message Date
Joel Sherrill 32aaaff486 2009-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/inline/rtems/score/coremsg.inl: Fix compilation issue when
	notifications are not enabled.
2009-09-13 22:11:41 +00:00
Joel Sherrill 41163687e4 Typo. 2009-09-13 22:10:46 +00:00
Joel Sherrill 46605724c1 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Some POSIX tests exercise functionality which is
	enabled when the POSIX threading is disabled. So build this suite all
	the time and let the psxtests select the specific tests to build.
2009-09-13 21:09:47 +00:00
Joel Sherrill bacf79e0b9 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/thread.h, score/src/threadinitialize.c,
	score/src/threadstackfree.c: Disable capability for API to let user
	provide thread stack when no API configured includes this capability.
2009-09-13 21:00:11 +00:00
Joel Sherrill 8907a01c00 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/coresem.h, score/src/coresemseize.c:
	Disable body of _CORE_semaphore_Seize() if it is not used because all
	APIs using it are disabled.
2009-09-13 20:54:01 +00:00
Joel Sherrill 0fa8b4d1b0 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/tod.h: Fix typo.
2009-09-13 20:50:56 +00:00
Joel Sherrill e552d0577f 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/config.h: Add
	rtems_configuration_get_maximum_semaphores().
2009-09-13 20:44:37 +00:00
Joel Sherrill 33046a5d9e 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am, posix/src/clockgetres.c: Add clockgetres.c to set
	of clock and delayt methods built when POSIX threads are disabled.
	Ensure it builds when POSIX is disabled.
2009-09-13 20:42:10 +00:00
Joel Sherrill cd4884a82d 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/Makefile.am, sp43/init.c, sp43/sp43.scn, sp43/system.h: Add test
	for Id which is in range for the object class but not allocated yet.
2009-09-13 20:37:54 +00:00
Joel Sherrill 88271c3308 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, psx01/init.c, psx01/psx01.scn: Add new
	test to exercise clock and delay services enabled when POSIX threads
	are disabled. This is split from psx01. POSIX test suite now enabled
	when POSIX threads are disabled so only enable tests which are
	appropriate.
	* psxclock/.cvsignore, psxclock/Makefile.am, psxclock/init.c,
	psxclock/psxclock.doc, psxclock/psxclock.scn: New files.
2009-09-13 20:36:36 +00:00
Joel Sherrill 039cb994a9 2009-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsgbroadcast.c: Fix typo.
2009-09-13 20:12:09 +00:00
Joel Sherrill 50d1e15412 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/coremsgsubmit.c: Remove extra #else.
2009-09-13 16:37:11 +00:00
Joel Sherrill 939ba8162f 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
	score/src/coremsgbroadcast.c, score/src/coremsginsert.c,
	score/src/coremsgseize.c, score/src/coremsgsubmit.c: Add wrappers for
	accessing message priority. Since these are empty when priority-based
	message queues are disabled, this eliminates some of the
	conditionals.
2009-09-13 16:05:14 +00:00
Ralf Corsepius 302e4367bb Don't cvsignore rtems*.spec. 2009-09-13 03:51:21 +00:00
Ralf Corsepius 3c078c7ae6 Regenerate. 2009-09-13 03:43:04 +00:00
Ralf Corsepius 468036455a newlib-1.17.0-rtems4.10-20090911.diff. 2009-09-13 03:41:21 +00:00
Ralf Corsepius d6c9c1d023 Bump GCC_RPMREL for mass rebuild against binutils-2.19.90. 2009-09-13 03:37:08 +00:00
Ralf Corsepius c91a0c7596 Regenerate. 2009-09-13 03:34:26 +00:00
Ralf Corsepius a0b9cc0c22 Upgrade to binutils 2.19.90. 2009-09-13 03:33:44 +00:00
Joel Sherrill 88bbb93e24 2009-09-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/coremsgseize.c: Fix typo.
2009-09-12 14:31:51 +00:00
Till Straumann 6b7ef8a30d 2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* network/gdb-6.8-psim-hw_ethtap.diff: Added gdb patch
	which implements the NIC hardware emulation.
2009-09-11 22:56:39 +00:00
Till Straumann a1e516f234 2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, bsp.h, network/if_sim.c, network/README:
	added driver for NIC emulation.
2009-09-11 22:53:25 +00:00
Till Straumann 5a6d25fcd5 2009-09-11 Till Straumann <Till.Straumann@TU-Berlin.de>
* psim-top.in, psim-bottom: Added support for options
	-d (print device tree and exit), -h (usage info) and
	-n (enable NIC support).

	* psim-gdb-bottom: Added support for options -s (force sysv IPC),
	-h (usage info) and -n (enable NIC support).
	Allow user to override GDB variable from environment.

	* psim-shared: cat NIC properties into device file if the
	user had specified '-n'.

	* runtest-top.in: removed unsupported options -o, -d from
	usage info.
2009-09-11 22:42:00 +00:00
Joel Sherrill 507d38261d 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/coremsg.h,
	score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
	score/src/coremsginsert.c, score/src/coremsgseize.c,
	score/src/coremsgsubmit.c, score/src/objectnametoidstring.c: Disable
	the Core Message Queue features of notification, priority messages,
	and blocking sends when no API requires them.
2009-09-11 20:00:30 +00:00
Till Straumann b09423368b 2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, preinstall.am, irq/no_pic.c (REMOVED),
	irq/irq.h, irq/irq_init.c:
	use openpic from 'shared' area instead of no_pic.
	* inlude/psim.h:
	use openpic from 'shared' area instead of no_pic.
	Added 'extern' declaration for (linker-script defined) RamBase
	and RamSize symbols. Let CPP macros expand to these symbols
	instead of static constants.
	Added register definitions for OpenPIC in the register area.
	Added register definitions for ethernet controller in the register
	area.
	* startup/linkcmds: Increased RamSize to 16M. Increased 'RAM'
	memory region to 32M (there is really no disadvantage in making
	this large). Added comment explaining the inter-relation between
	RamSize, the size of the memory region, the device-tree property
	"oea-memory-size" and the DBAT setting.
	* tools/psim-shared: Try to determine RamSize from executable
	and set 'oea-memory-size' accordingly. May be overridden if 'RAM_SIZE'
	envvar is set.
	Added openpic to device-tree.
	Added ethernet controller to device-tree (commented because a PSIM
	patch is currently required to use this device).
	* startup/bspstart: Increase DBAT0 mapping to size of 32M.
2009-09-11 17:13:42 +00:00
Till Straumann 1b290ce7e5 2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* shared/openpic/openpic.c: include the more generic <rtems/pci.h>
	rather than <bsp/pci.h>.
2009-09-11 16:58:30 +00:00
Till Straumann f85ad07618 2009-09-11 Till Straumann <strauman@slac.stanford.edu>
* irq/openpic_i8259_irq.c: Do not include <bsp/VMEConfig.h>
	if the bsp.h defines HAVE_NO_VME so that BSPs w/o VME do not
	have to create a dummy VMEConfig.h header.
2009-09-11 16:57:07 +00:00
Joel Sherrill 442eac699d 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/thread.h, score/src/threadhandler.c,
	score/src/threadinitialize.c, score/src/threadtickletimeslice.c:
	Disable thread protocol and scheduling capabilities not exercised
	when POSIX or ITRON API is disabled.
2009-09-11 15:35:52 +00:00
Ralf Corsepius c0e7fb79e0 New. 2009-09-11 15:21:59 +00:00
Ralf Corsepius 7cc05543c1 Update. 2009-09-11 15:20:49 +00:00
Joel Sherrill 47988fb37b 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/object.h,
	score/inline/rtems/score/object.inl,
	score/src/objectgetnameasstring.c, score/src/objectidtoname.c,
	score/src/objectinitializeinformation.c,
	score/src/objectnamespaceremove.c, score/src/objectnametoidstring.c,
	score/src/objectsetname.c, score/src/thread.c,
	score/src/threadcreateidle.c: Disable object string name support when
	POSIX is not enabled.
2009-09-11 14:54:29 +00:00
Joel Sherrill 6dad79ffa4 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/capture/capture.c: Use public API to obtain object name.
2009-09-11 14:53:40 +00:00
Ralf Corsepius b5060e5e3c Regenerate. 2009-09-11 02:07:30 +00:00
Ralf Corsepius 100fb17497 newlib-1.17.0-rtems4.10-20090910.diff 2009-09-11 02:06:45 +00:00
Ralf Corsepius 6cf310c142 Bump GCC_RPMREL. 2009-09-11 02:06:28 +00:00
Joel Sherrill 97f46a8070 2009-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Make heap alignment 4 which is greater than
	CPU_ALIGNMENT but minimum for heap.
2009-09-11 00:08:50 +00:00
Till Straumann fabc115705 *** empty log message *** 2009-09-10 21:40:10 +00:00
Till Straumann b14bfbba45 2009-09-10 Till Straumann <strauman@slac.stanford.edu>
* shared/misc/m68kidle.c: added "cc" clobber to inline
	asm; STOP instruction modifies CCR!
2009-09-10 21:20:49 +00:00
Ralf Corsepius 533a334a5b New. 2009-09-10 08:38:14 +00:00
Joel Sherrill 27e7b14411 2009-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1435/bsps
	* Makefile.am: Use shared implementation of bsp_idle_thread().
	* startup/bspidle.c: Removed.
2009-09-10 01:21:38 +00:00
Joel Sherrill 2c183cdf42 2009-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1435/bsps
	* startup/bspidle.c: Removed.
2009-09-10 01:20:23 +00:00
Joel Sherrill 0d70642a69 2009-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1435/bsps
	* shared/startup/bspidle.c: New file.
2009-09-10 01:19:31 +00:00
Joel Sherrill ab0f90b701 2009-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1435/bsps
	* Makefile.am: Use shared implementation of bsp_idle_thread().
2009-09-10 01:17:52 +00:00
Joel Sherrill f52ba5837d 2009-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp46/init.c, sp46/sp46.scn: Fix numbering.
2009-09-09 18:28:18 +00:00
Joel Sherrill b2f05456e3 2009-09-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* heapwalk/heapwalk.scn, heapwalk/init.c: Add missing _Heap_Walk test
	cases to get back to 100% object coverage.
2009-09-09 16:30:14 +00:00
Joel Sherrill 809fb589fc 2009-09-09 Christian Mauderer <christian.mauderer@embedded-brains.de>
* heapwalk/init.c, heapwalk/heapwalk.scn, malloctest/init.c,
	malloctest/malloctest.scn: New test cases.
	* stackchk/blow.c, stackchk/stackchk.scn: Update for heap API changes.
2009-09-09 14:59:09 +00:00
Joel Sherrill 518c2aeba2 2009-09-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* score/include/rtems/score/heap.h, score/inline/rtems/score/heap.inl,
	score/src/heapallocate.c, score/src/heap.c, score/src/heapextend.c,
	score/src/heapresizeblock.c, score/src/heapwalk.c: Documenation.
	Simplified block resize. Improved heap walk. Changed heap layout to
	avoid a special case for _Heap_Is_used() and _Heap_Is_free().
	* libmisc/stackchk/check.c: Update for heap API changes.
2009-09-09 14:58:37 +00:00
Ralf Corsepius 1c6b22861b Remove. 2009-09-09 14:09:54 +00:00
Ralf Corsepius ed5bd27bac Regenerate. 2009-09-09 14:06:56 +00:00
Ralf Corsepius 8c5fc41ca2 newlib-1.17.0-rtems4.10-20090909.diff. 2009-09-09 14:05:50 +00:00