Commit Graph

19354 Commits

Author SHA1 Message Date
Ralf Corsepius
39c37b39a8 Remove posix/unix. 2009-10-14 12:20:20 +00:00
Ralf Corsepius
87a04019fb Remove (Abandoned). 2009-10-14 12:17:42 +00:00
Ralf Corsepius
dcb98ff335 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/Makefile.am: Remove unix subdir.
2009-10-14 12:16:46 +00:00
Joel Sherrill
a34824cf01 2009-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Remove reference to timer_SOURCES.
2009-10-14 12:16:35 +00:00
Ralf Corsepius
fbfe76dac8 Remove unix subdir. 2009-10-14 12:16:34 +00:00
Ralf Corsepius
25bcc34db0 Remove (Abandoned) 2009-10-14 12:15:21 +00:00
Ralf Corsepius
6e4787aa62 2009-10-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4:
	Remove posix/unix simulator.
2009-10-14 12:12:34 +00:00
Ralf Corsepius
6cb0f7ed02 Remove posix/unix simulator. 2009-10-14 12:12:01 +00:00
Ralf Corsepius
47c6306595 2009-10-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4, aclocal/enable-posix.m4:
	Remove posix/unix simulator.
2009-10-14 12:10:40 +00:00
Ralf Corsepius
aab49c24a6 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/Cygwin-posix.cfg, custom/FreeBSD-posix.cfg,
	custom/Linux-posix.cfg, custom/Solaris-posix.cfg, custom/posix.cfg:
	Remove.
2009-10-14 12:09:24 +00:00
Ralf Corsepius
de885fe831 Remove. 2009-10-14 12:09:10 +00:00
Ralf Corsepius
ee1e72d89c 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Rework make/custom/* handling.
	* aclocal/check-custom-bsp.m4: Change *.cfg handling.
	* Makefile.am: Remove make/custom/default.cfg-rule.
2009-10-14 06:36:01 +00:00
Ralf Corsepius
31eae55805 Rework make/custom/* handling. 2009-10-14 06:35:53 +00:00
Ralf Corsepius
ebc9ae02be Change *.cfg handling. 2009-10-14 06:34:25 +00:00
Ralf Corsepius
089cf17d81 Remove make/custom/default.cfg-rule. 2009-10-14 06:32:37 +00:00
Till Straumann
d38038df34 2009-10-13 Till Straumann <strauman@slac.stanford.edu>
PR 1451/bsps
	* network/tsec.c: Fix mbuf leak when watchdog expires. The
	re-initialization algorithm failed to release mbuf chains
	held in the TX ring.
	Also, during initialization the initial link status is determined
	and IFF_OACTIVE set if no active link was detected.
2009-10-14 00:12:54 +00:00
Ralf Corsepius
a6b3438104 2009-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/bdbuf.h: Use size_t for swapout_workers.
	* libblock/src/bdpart.c: Add __attribute__((unused)) to suppress
	warnings.
2009-10-13 15:40:31 +00:00
Ralf Corsepius
e9d50abb3a Use size_t for sizes. 2009-10-13 15:40:21 +00:00
Ralf Corsepius
463b8dfe15 Add __attribute__((unused)) to suppress warnings. 2009-10-13 15:40:03 +00:00
Ralf Corsepius
b36a7d8953 Use size_t for swapout_workers. 2009-10-13 15:39:43 +00:00
Ralf Corsepius
253c3a1d21 2009-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/bdbuf.c: Fix broken printf formats.
	Use size_t for sizes.
2009-10-13 15:29:45 +00:00
Thomas Doerfler
7cafde2296 Enable interrupts during open to avoid NULL pointer access in interrupt handler. 2009-10-13 11:34:49 +00:00
Thomas Doerfler
94d7bd743c Update for block device API change. 2009-10-13 08:00:11 +00:00
Thomas Doerfler
b96e09cb42 * libblock/include/rtems/diskdevs.h: Added driver data pointer to IO
control function.  The IO control handler takes now the disk device as
        first parameter instead of the physical device number.
        * cpukit/libblock/include/rtems/blkdev.h, libblock/src/bdbuf.c,
        libblock/src/blkdev.c, libblock/src/diskdevs.c, libblock/src/nvdisk.c,
        libblock/src/flashdisk.c, libblock/src/ramdisk.c: Update for block
        device API change.
2009-10-13 07:58:33 +00:00
Joel Sherrill
2e92a5d690 2009-10-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bootcard: Update for heap API changes.
2009-10-12 20:22:18 +00:00
Ralf Corsepius
68b0a2a8cf Reflect having introduced rtems_error_code_t. 2009-10-12 16:17:37 +00:00
Ralf Corsepius
8ed3d52ee7 Introduce rtems_error_code_t.
Minor portability code-massaging.
2009-10-12 16:17:19 +00:00
Joel Sherrill
bff419ffc2 2009-10-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpuuse/init.c, cpuuse/system.h: Use minimum stack size.
2009-10-12 13:31:01 +00:00
Joel Sherrill
1fbf17b679 2009-10-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: BSP has plenty of memory.
	* startup/cmain.c: Comment out prints.
2009-10-12 13:30:04 +00:00
Ralf Corsepius
7577a80a5a 2009-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/interr.h: Introduce Internal_errors_t.
	* score/src/interr.c, score/include/rtems/score/userext.h,
	score/src/userextthreadbegin.c: Reflect having introduced
	Internal_errors_t.
2009-10-12 12:17:18 +00:00
Ralf Corsepius
749d64a86d Reflect having introduced Internal_errors_t. 2009-10-12 12:16:23 +00:00
Ralf Corsepius
25e02d50ce Introduce Internal_errors_t. 2009-10-12 12:15:59 +00:00
Thomas Doerfler
4349a40fc5 increase size of ROM to 4 Meg 2009-10-12 09:36:52 +00:00
Joel Sherrill
f1887691cd 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c, psx05/psx05.scn: Add test for bad mutex type.
2009-10-12 00:07:16 +00:00
Joel Sherrill
a3a9a2d0ef 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcleanup/system.h: Fix typo.
	* Makefile.am, configure.ac: Add new test for exercising pushing
	and popping a clean up handler without actually executing it.
	* psxcleanup01/.cvsignore, psxcleanup01/Makefile.am,
	psxcleanup01/init.c, psxcleanup01/psxcleanup01.doc,
	psxcleanup01/psxcleanup01.scn: New files.
2009-10-12 00:00:04 +00:00
Joel Sherrill
8f6b7b5122 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/alarm.c: If 0 seconds do not insert timer.
	* rtems/src/regionextend.c: Eliminate warning.  Use default else.
2009-10-11 22:37:38 +00:00
Joel Sherrill
a450697323 2009-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new test to ensure that canceling an
	alarm works as defined.
	* psxalarm01/.cvsignore, psxalarm01/Makefile.am, psxalarm01/init.c,
	psxalarm01/psxalarm01.doc, psxalarm01/psxalarm01.scn: New files.
2009-10-11 22:32:03 +00:00
Joel Sherrill
f46fddfced 2009-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxtimer01/psxtimer.c: Actually pass the pointer we initialized.
2009-10-11 18:38:11 +00:00
Joel Sherrill
157354e9aa 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtimer01/psxtimer.c: Make sure we have null and not-null as return
	parameter to timer_settime().
2009-10-11 14:44:00 +00:00
Joel Sherrill
6aa3ce3bfe 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/thread.inl, score/src/threaddispatch.c:
	Correct conditionals so _Thread_Enable_dispatch() is always inlined
	when intended.
2009-10-11 14:18:03 +00:00
Joel Sherrill
5b5dd1c873 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/bspgetworkarea.c: Add debug prints of memory information.
2009-10-10 21:24:15 +00:00
Joel Sherrill
171bbec508 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
	posix/src/canceleval.c: Make psxcancel run again.
	_POSIX_Thread_Exit() can be called on running thread or another
	thread when it is cancelled.
2009-10-10 16:03:38 +00:00
Joel Sherrill
6805ac3718 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
	posix/src/mutextimedlock.c, posix/src/prwlocktimedrdlock.c,
	posix/src/prwlocktimedwrlock.c, posix/src/semtimedwait.c: Switch from
	switch to if's because only one value needed to be tested. This
	shrinks the code and makes it easier to do coverage analysis on.
2009-10-10 15:21:41 +00:00
Joel Sherrill
681d452637 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/object.inl: _Objects_Get_local_object() is
	only called from places where the index is known to be valid.
	_Objects_Set_local_object() already assumed this. Eliminates
	unreachable code.
2009-10-10 15:19:15 +00:00
Joel Sherrill
2f95352cc6 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/timerserver.c: Indentation.
2009-10-10 15:16:47 +00:00
Joel Sherrill
58a8a4717d 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/regiondelete.c, rtems/src/regionextend.c,
	rtems/src/regiongetfreeinfo.c, rtems/src/regiongetinfo.c,
	rtems/src/regiongetsegment.c, rtems/src/regionresizesegment.c,
	rtems/src/regionreturnsegment.c: Avoid initializing status code. This
	generates dead code on some targets. Add default case to eliminate
	unitialized variable warning.
2009-10-10 15:15:12 +00:00
Joel Sherrill
1c78f6a975 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtimer01/psxtimer.c: Modify so it passes in a NULL to
	timer_settime() for previous value. We are not using the
	value in this particular case and this path must be exercised.
	* psxtimer01/psxtimer01.scn: Update so it matches output on sis.
2009-10-10 15:09:36 +00:00
Joel Sherrill
c257fb9ed5 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise when the ticks
	since boot wraps around 0 and the timer server must deal with that
	condition.
	* sp67/.cvsignore, sp67/Makefile.am, sp67/init.c, sp67/sp67.doc,
	sp67/sp67.scn: New files.
2009-10-10 15:03:30 +00:00
Till Straumann
7cb7a5ef09 2009-10-09 Till Straumann <strauman@slac.stanford.edu>
* shared/vmeUniverse/vmeUniverse.c: print message and
	let vmeUniverseIntLoopbackTst() fail if odd-numbered
	vector is used (cannot program the chip to reply with
	such a vector).
2009-10-09 19:50:33 +00:00
Joel Sherrill
031b57caa3 2009-10-09 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* cpukit/sapi/include/rtems/io.h: Documentation.
	* cpukit/sapi/src/ioregisterdriver.c: Call from interrupt context is
	an error.
	* cpukit/sapi/src/iounregisterdriver.c: Disable preemption during
	critical section.
2009-10-09 13:46:39 +00:00