Commit Graph

17342 Commits

Author SHA1 Message Date
Ralf Corsepius
b3f8c9e15b Include <errno.h> (POSIX,C99) instead of <sys/errno.h> (BSD'ism). 2008-12-22 07:47:28 +00:00
Ralf Corsepius
91d6372f5b 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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/heap.h,
	score/include/rtems/score/isr.h,
	score/include/rtems/score/object.h,
	score/include/rtems/score/objectmp.h,
	score/include/rtems/score/protectedheap.h,
	score/include/rtems/score/thread.h,
	score/include/rtems/score/threadq.h,
	score/include/rtems/score/tod.h,
	score/include/rtems/score/userext.h,
	score/include/rtems/score/wkspace.h:
	Eliminate TRUE/FALSE.
2008-12-22 06:05:45 +00:00
Ralf Corsepius
c6b37199d9 Eliminate TRUE/FALSE. 2008-12-22 06:05:34 +00:00
Ralf Corsepius
063f66f898 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/apimutex.c, score/src/apimutexallocate.c,
	score/src/apimutexlock.c, score/src/corebarrierwait.c,
	score/src/coremsg.c, score/src/coremsgseize.c,
	score/src/coremutexseize.c, score/src/coremutexsurrender.c,
	score/src/coresemseize.c, score/src/coretod.c,
	score/src/coretodset.c, score/src/heapfree.c,
	score/src/heapsizeofuserarea.c, score/src/heapwalk.c,
	score/src/interr.c, score/src/isr.c,
	score/src/mpci.c, score/src/objectinitializeinformation.c,
	score/src/objectmp.c, score/src/objectnametoid.c,
	score/src/objectnametoidstring.c, score/src/objectsetname.c,
	score/src/thread.c, score/src/threadblockingoperationcancel.c,
	score/src/threadchangepriority.c, score/src/threadclearstate.c,
	score/src/threadcreateidle.c, score/src/threaddispatch.c,
	score/src/threadevaluatemode.c, score/src/threadhandler.c,
	score/src/threadinitialize.c, score/src/threadmp.c,
	score/src/threadqextractpriority.c,
	score/src/threadqextractwithproxy.c,
	score/src/threadqrequeue.c, score/src/threadready.c,
	score/src/threadresettimeslice.c, score/src/threadrestart.c,
	score/src/threadresume.c, score/src/threadrotatequeue.c,
	score/src/threadsetstate.c, score/src/threadstartmultitasking.c,
	score/src/threadsuspend.c, score/src/threadyieldprocessor.c,
	score/src/timespecgreaterthan.c, score/src/timespecisvalid.c,
	score/src/timespeclessthan.c, score/src/userextthreadcreate.c,
	score/src/wkspace.c: Eliminate TRUE/FALSE.
2008-12-22 05:52:44 +00:00
Ralf Corsepius
aae7f1a12b Eliminate TRUE/FALSE. 2008-12-22 05:52:32 +00:00
Ralf Corsepius
52cece81c4 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* libi2c/libi2c.h: Change header guard to RTEMS conventions.
	Add extern's.
2008-12-22 04:36:28 +00:00
Ralf Corsepius
1e62bd9915 Change header guard to RTEMS conventions.
Add extern's.
2008-12-22 04:36:04 +00:00
Ralf Corsepius
26cc5909ba 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* optman/rtems/no-barrier.c, optman/rtems/no-dpmem.c,
	optman/rtems/no-msg.c, optman/rtems/no-part.c,
	optman/rtems/no-region.c, optman/rtems/no-rtmon.c,
	optman/rtems/no-sem.c, optman/rtems/no-timer.c,
	optman/sapi/no-ext.c, optman/sapi/no-io.c:
	Revert previous patch (cvs clash with Joel hacking cpukit).
2008-12-22 04:29:33 +00:00
Ralf Corsepius
367ea7f380 Revert previous patch. 2008-12-22 04:29:18 +00:00
Ralf Corsepius
ab92255414 Remove tic4x. 2008-12-22 03:58:22 +00:00
Ralf Corsepius
fd9d071056 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4: Remove tic4x.
2008-12-22 03:58:12 +00:00
Ralf Corsepius
be442b969b 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* i2c/i2c_init.c: Include <errno.h> instead of <sys/errno.h>.
2008-12-22 03:49:03 +00:00
Ralf Corsepius
dd9cc9f779 Include <errno.h> instead of <sys/errno.h>. 2008-12-22 03:48:52 +00:00
Ralf Corsepius
b503274b5a 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/rtc/ds1375.c: Include <errno.h> instead of <sys/errno.h>.
2008-12-22 03:45:47 +00:00
Ralf Corsepius
44415fde4d 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* optman/rtems/no-barrier.c, optman/rtems/no-dpmem.c,
	optman/rtems/no-msg.c, optman/rtems/no-part.c,
	optman/rtems/no-region.c, optman/rtems/no-rtmon.c,
	optman/rtems/no-sem.c, optman/rtems/no-timer.c,
	optman/sapi/no-ext.c, optman/sapi/no-io.c:
	Fix prototypes.
2008-12-22 03:43:14 +00:00
Ralf Corsepius
e1b524c6e4 Fix prototypes. 2008-12-22 03:43:02 +00:00
Joel Sherrill
6fee03898f 2008-12-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc_statistics_helpers.c: Use intptr_t not
	ssize_t.
2008-12-21 21:29:03 +00:00
Joel Sherrill
27b7e81d91 2008-12-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/object.inl, score/src/objectgetbyindex.c:
	Fix issues when using 16-bit object Ids.
2008-12-21 21:28:05 +00:00
Joel Sherrill
b7b450efac 2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/itronsys/types.h: Derive ITRON ID type from Objects_Id
	to avoid sizing mismatches.
2008-12-19 19:30:37 +00:00
Joel Sherrill
6895375ac9 2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* index.html.in: Remove manuals that are dead.
2008-12-19 17:49:33 +00:00
Joel Sherrill
1de98d9713 2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/dpmemcreate.c: Spacing.
	* rtems/src/timerserver.c: Move error check to RTEMS_DEBUG. Cannot
	happen under normal circumstances.
2008-12-19 16:32:33 +00:00
Joel Sherrill
51a6fd555d 2008-12-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/irq-info.h, src/irq-info.c, src/irq-shell.c: New files.
	* include/irq-generic.h, src/irq-generic.c: Improved interrupt handler
	dispatch function.
2008-12-19 15:00:09 +00:00
Joel Sherrill
eb96196183 2008-12-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/ide_part_table.c: Fixed NULL pointer access.
	* libmisc/monitor/mon-command.c, libmisc/monitor/mon-editor.c,
	libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h,
	libmisc/shell/cmds.c: The list of registered monitor commands is now
	private and only accessible via a lookup and iterate function.
2008-12-19 14:59:35 +00:00
Joel Sherrill
52410c2695 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* capture/test1.c: Add const to eliminate warning.
2008-12-18 21:14:16 +00:00
Joel Sherrill
0f4ad5709f 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/serial/ns16550_p.h: Remove prototype with no implementation.
2008-12-18 21:10:04 +00:00
Joel Sherrill
738ea75250 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* zutil.c, zutil.h: Make code match prototype to eliminate warnings.
2008-12-18 20:49:37 +00:00
Joel Sherrill
ec11156e23 2008-12-18 Michael Hamel <nigel@adi.co.nz>
PR 1349/bsps
	* startup/bspstart.c: Add missing volatile on UART access pointer.
2008-12-18 18:51:28 +00:00
Joel Sherrill
534c893634 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/shmdr/dump.c, libchip/shmdr/init.c, libchip/shmdr/send.c,
	libchip/shmdr/shm_driver.h: Cleanup and remove variables which
	duplicated data.
2008-12-18 17:15:51 +00:00
Joel Sherrill
584ab9e16e 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/regionmp.h, sapi/include/rtems/config.h,
	sapi/src/exinit.c, score/Makefile.am,
	score/include/rtems/score/object.h,
	score/include/rtems/score/objectmp.h, score/src/objectmp.c: Eliminate
	Object Handler Initialization routine since it was all for MP
	configurations.
	* score/src/object.c: Removed.
2008-12-18 17:15:13 +00:00
Joel Sherrill
b6bebc3bed 2008-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/cmds.c: Revert back to public. Used to execute monitor
	commands in test code.
2008-12-18 17:14:26 +00:00
Joel Sherrill
8fbb48a68a 2008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* user/cpuuse.t: Reflect change in CPU Usage report format.
2008-12-18 15:26:09 +00:00
Joel Sherrill
e41eaa881a 2008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h:
	Fixed incompatible return value.

	* libmisc/cpuuse/cpuusagereport.c: Changed output format.

	* libmisc/Makefile.am, libmisc/monitor/mon-editor.c: New file.

	* libmisc/capture/capture-cli.c, libmisc/monitor/mon-command.c,
	libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
	libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-symbols.c,
	libmisc/monitor/monitor.h, libmisc/shell/cat_file.c,
	libmisc/shell/cmds.c, libmisc/shell/internal.h,
	libmisc/shell/main_help.c, libmisc/shell/shell.c,
	libmisc/shell/shell.h, libmisc/shell/shell_cmdset.c,
	libmisc/shell/shell_getchar.c, libmisc/shell/str2int.c: Various global
	data is now read only.  Added 'const' qualifier to many pointer
	parameters.  It is no longer possible to remove monitor commands.
	Moved monitor line editor into a separate file to avoid unnecessary
	dependencies.
2008-12-18 15:25:27 +00:00
Joel Sherrill
1fae1c6b7c 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* optman/sapi/no-ext.c, optman/sapi/no-io.c: Convert SAPI manager and
	SuperCore Handler initialization routines to directly pull parameters
	from configuration table.
2008-12-17 22:47:55 +00:00
Joel Sherrill
790b50b8da 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/extension.h, sapi/include/rtems/io.h,
	sapi/src/exinit.c, sapi/src/extension.c, sapi/src/io.c,
	score/include/rtems/score/mpci.h, score/include/rtems/score/object.h,
	score/include/rtems/score/thread.h, score/include/rtems/score/tod.h,
	score/include/rtems/score/userext.h,
	score/include/rtems/score/wkspace.h, score/src/coretod.c,
	score/src/mpci.c, score/src/object.c, score/src/thread.c,
	score/src/userext.c, score/src/wkspace.c: Convert SAPI manager and
	SuperCore Handler initialization routines to directly pull parameters
	from configuration table.
2008-12-17 22:46:05 +00:00
Joel Sherrill
e06ecec518 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/config.h,
	itron/include/rtems/itron/eventflags.h,
	itron/include/rtems/itron/fmempool.h,
	itron/include/rtems/itron/mbox.h,
	itron/include/rtems/itron/msgbuffer.h,
	itron/include/rtems/itron/port.h,
	itron/include/rtems/itron/semaphore.h,
	itron/include/rtems/itron/task.h,
	itron/include/rtems/itron/vmempool.h, itron/src/eventflags.c,
	itron/src/fmempool.c, itron/src/itroninittasks.c,
	itron/src/itronsem.c, itron/src/mbox.c, itron/src/msgbuffer.c,
	itron/src/port.c, itron/src/task.c, itron/src/vmempool.c,
	sapi/src/itronapi.c: Convert ITRON manager initialization routines to
	directly pull parameters from configuration table.
2008-12-17 22:12:24 +00:00
Joel Sherrill
7252caf20a 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/config.h: Fix typo.
2008-12-17 22:12:01 +00:00
Joel Sherrill
309e2f6f8b 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/barrier.h,
	posix/include/rtems/posix/cond.h, posix/include/rtems/posix/key.h,
	posix/include/rtems/posix/mqueue.h,
	posix/include/rtems/posix/mutex.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/spinlock.h,
	posix/include/rtems/posix/timer.h, posix/src/cond.c, posix/src/key.c,
	posix/src/mqueue.c, posix/src/mutex.c, posix/src/pbarrier.c,
	posix/src/prwlock.c, posix/src/psignal.c, posix/src/pspin.c,
	posix/src/pthread.c, posix/src/pthreadinitthreads.c,
	posix/src/ptimer.c, posix/src/semaphore.c, sapi/src/posixapi.c:
	Convert POSIX manager initialization routines to directly pull
	parameters from configuration table.
2008-12-17 21:23:37 +00:00
Joel Sherrill
45c4499e03 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* optman/rtems/no-barrier.c, optman/rtems/no-dpmem.c,
	optman/rtems/no-event.c, optman/rtems/no-mp.c, optman/rtems/no-msg.c,
	optman/rtems/no-part.c, optman/rtems/no-region.c,
	optman/rtems/no-rtmon.c, optman/rtems/no-sem.c,
	optman/rtems/no-signal.c, optman/rtems/no-timer.c: Convert manager
	initialization routines to directly pull parameters from
	configuration table. Eliminate empty routines sportted.
2008-12-17 20:25:43 +00:00
Joel Sherrill
db80f11c9c 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Makefile.am, rtems/include/rtems/rtems/attr.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/intr.h,
	rtems/include/rtems/rtems/message.h,
	rtems/include/rtems/rtems/part.h,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/sem.h,
	rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
	rtems/src/barrier.c, rtems/src/dpmem.c, rtems/src/msg.c,
	rtems/src/part.c, rtems/src/ratemon.c, rtems/src/region.c,
	rtems/src/rtemstimer.c, rtems/src/sem.c, rtems/src/tasks.c,
	sapi/src/rtemsapi.c: Convert manager initialization routines to
	directly pull parameters from configuration table. Eliminate empty
	routines sportted.
	* rtems/src/intr.c: Removed.
2008-12-17 20:21:40 +00:00
Ralf Corsepius
07fdc9c2a3 Add sim/m32c hack to work around build vs. host CC bugs. 2008-12-17 13:33:07 +00:00
Ralf Corsepius
4590417bf5 Use gdb-6.8-rtems4.10-20081217.diff 2008-12-17 13:31:48 +00:00
Ralf Corsepius
d965b2e77d Bump GDB_RPMREL. 2008-12-17 13:31:23 +00:00
Ralf Corsepius
69be08eef6 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/ns16550.c: Add CVS-Id. Fix #define mess.
2008-12-17 12:48:04 +00:00
Ralf Corsepius
f7cb3cfe56 Fix broken changelog entry. 2008-12-17 12:46:27 +00:00
Ralf Corsepius
051072f546 Regenerate. 2008-12-17 06:43:28 +00:00
Ralf Corsepius
0fd062bc10 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove include/rtems/stdint.h.
	* include/rtems/stdint.h: Remove.
2008-12-17 06:41:52 +00:00
Ralf Corsepius
b8c5277fcd Remove include/rtems/stdint.h. 2008-12-17 06:41:36 +00:00
Ralf Corsepius
5726c42b3f Remove (Abandoned). 2008-12-17 06:41:21 +00:00
Ralf Corsepius
52a634e998 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require stdint.h.
2008-12-17 06:39:14 +00:00
Ralf Corsepius
314b835657 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/m68k.h: Don't include rtems/score/types.h,
	rtems/stdint.h.
2008-12-17 06:35:31 +00:00