Commit Graph

15874 Commits

Author SHA1 Message Date
Joel Sherrill
f773c0122a 2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
	Changed option set type to rtems_option.

	* score/src/objectgetinfo.c: Check return value of
	_Objects_API_maximum_class().

	* libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
	rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
	rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
	rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
	rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
	score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
	score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
	score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
	score/src/coremsgsubmit.c:
	Removed parameters of _Message_queue_Allocate().  Changed option set
	type to rtems_option.  Changed type of maximum message and packet size
	to size_t.  Changed the input buffer type for message send functions to
	"const void *".  Changed the pointer to the second return argument in
	the thread wait information to a union.  This union can contain a
	pointer to an immutable or a mutable object.  This is somewhat fragile.
	An alternative would be to add a third pointer for immutable objects,
	but this would increase the structure size.
2008-08-05 13:32:39 +00:00
Joel Sherrill
334b3c1e83 2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/new-exceptions/cpu.h: Changed define
	CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER to UINT32_MAX to avoid comparison
	between signed and unsigned.
2008-08-05 13:32:27 +00:00
Joel Sherrill
14f4b7124f 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1294/bsps
	* startup/spurious.c: Correct prototype and usage of
	sparc_disable_interrupts.
2008-08-05 13:31:52 +00:00
Joel Sherrill
efea3afd09 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Strip .exe or .ralf from file names.
2008-08-05 13:29:43 +00:00
Joel Sherrill
cccd632c8d 2008-08-05 Xudong Guan <xudong.guan@criticalsoftware.com>
PR 1212/cpukit
	* Makefile.am, configure.ac: Time slicing will not happen if the task
	mode is changed from a non-timeslicing mode to timeslicing mode if it
	is done by the executing thread (e.g. in its task body). This change
	includes sp44 to demonstrate the problem and verify the correction.
	* sp44/.cvsignore, sp44/Makefile.am, sp44/init.c, sp44/sp44.scn: New files.
2008-08-05 13:10:26 +00:00
Joel Sherrill
c0f4682bbf 2008-08-05 Xudong Guan <xudong.guan@criticalsoftware.com>
PR 1212/cpukit
	* rtems/src/taskmode.c, score/src/threadtickletimeslice.c: Time slicing
	will not happen if the task mode is changed from a non-timeslicing
	mode to timeslicing mode if it is done by the executing thread (e.g.
	in its task body). This change includes sp44 to demonstrate the
	problem and verify the correction.
2008-08-05 13:10:16 +00:00
Joel Sherrill
6e97bf6236 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
	warnings.
2008-08-04 21:31:51 +00:00
Joel Sherrill
95b60d57e1 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1263/doc
	* user/part.t: Improve discussion of alignment and minimum buffer
	sizes.
2008-08-04 20:45:24 +00:00
Joel Sherrill
cc34770468 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1294/bsps
	* startup/spurious.c: Correct prototype and usage of
	sparc_disable_interrupts.
2008-08-04 20:36:13 +00:00
Joel Sherrill
97b2d15f03 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1294/bsps
	* rtems/score/cpu.h, rtems/score/sparc.h: Correct prototype and usage
	of sparc_disable_interrupts.
2008-08-04 20:35:18 +00:00
Joel Sherrill
e9dba243cf 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Spacing.
2008-08-04 19:51:27 +00:00
Joel Sherrill
dc112f3f41 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1265/cpukit
	* score/include/rtems/score/object.h,
	score/src/objectallocatebyindex.c: Rename index argument to avoid
	warning when rtems.h and string.h are included at the same time by
	user code.
2008-08-04 19:46:13 +00:00
Joel Sherrill
bd547e3623 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1282/misc
	* src/rtemsInterrupt.cc: Correct vec/vector variable confusion.
2008-08-04 19:24:28 +00:00
Joel Sherrill
1be10249fb 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1288/doc
	* user/intr.t: Update callable from ISR section.
2008-08-04 19:09:28 +00:00
Joel Sherrill
6579ae0480 2008-08-04 Ray Xu <rayx.cn@gmail.com>
* shared/irq/irq_asm.S: Correct minor mistakes in adding Thumb code
	which prevented ARM from working.
2008-08-04 17:46:07 +00:00
Joel Sherrill
ce7803fe45 2008-08-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsem01/init.c: Spacing.
2008-08-04 16:13:10 +00:00
Joel Sherrill
decb0759ad 2008-08-04 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1293/tests
	* psx10/init.c: Make sure we do not let tv_nsec go to -1.
2008-08-04 14:39:45 +00:00
Ralf Corsepius
eb0e15a646 2008-08-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/tftpDriver.c: Add prototypes.
	* pppd/rtemsmain.c: Add prototypes.
	* zlib/crc32.c: Add prototypes.
2008-08-03 04:28:01 +00:00
Ralf Corsepius
b5cc0592f7 Add prototypes. 2008-08-03 04:27:50 +00:00
Ralf Corsepius
ba3f7a807a 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/telnetd.c: Add missing prototypes.
	Remove unused local declations.
2008-08-03 04:24:12 +00:00
Ralf Corsepius
c0cc9859bc Add missing prototypes.
Remove unused local declations.
2008-08-02 06:34:08 +00:00
Chris Johns
f031251cee 2008-08-02 Chris Johns <chrisj@rtems.org>
* libchip/i2c/spi-sd-card.c, libchip/ide/ata.c: Remove
	rtems_blkdev_request count and start references. Use
	RTEMS_BLKDEV_START_BLOCK.
2008-08-02 06:26:29 +00:00
Chris Johns
2eb89adc33 2008-08-02 Chris Johns (chrisj@rtems.org>
* libblock/include/rtems/blkdev.h: Remove count and start from
	rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.

	* libblock/src/bdbuf.c: Add read ahead blocks always consecutive
	comment. Change count to bufnum and remove start references. Sort
	the transfer list so blocks are consecutive where possible.

	* libblock/src/blkdev.c, libblock/src/nvdisk.c,
	libblock/src/ramdisk.c: Change count to bufnum and remove start
	references.
2008-08-02 06:23:45 +00:00
Ralf Corsepius
799ef3b92f 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostbydns.c,
	libnetworking/libc/gethostbyht.c,
	libnetworking/libc/gethostbynis.c,
	libnetworking/libc/gethostnamadr.c,
	libnetworking/libc/getnetbydns.c,
	libnetworking/libc/getnetbynis.c,
	libnetworking/libc/getnetnamadr.c,
	libnetworking/libc/nsap_addr.c,
	libnetworking/libc/res_debug.c,
	libnetworking/libc/res_send.c: Add missing prototypes.
2008-08-02 05:37:20 +00:00
Ralf Corsepius
082d4a2879 Add missing prototypes. 2008-08-02 05:37:10 +00:00
Ralf Corsepius
a39e2ee6e4 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libi2c/libi2c.c, libi2c/libi2c.h: Add missing prototypes.
2008-08-02 05:16:40 +00:00
Ralf Corsepius
ee0c82f413 Add missing prototypes. 2008-08-02 05:16:26 +00:00
Ralf Corsepius
f62e195419 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmd/md4.c, libmd/md5.c: Add missing prototypes.
2008-08-02 05:14:57 +00:00
Ralf Corsepius
2992ebbcf6 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-command.c, libmisc/shell/filemode.c,
	libmisc/shell/shell_script.c: Add missing prototypes.
2008-08-02 05:13:10 +00:00
Ralf Corsepius
c7ea80c99a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/xdr_mbuf.c: Add prototypes.
2008-08-01 17:14:39 +00:00
Ralf Corsepius
9b7fafe827 Add prototypes. 2008-08-01 17:14:19 +00:00
Ralf Corsepius
a15d47888d 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt.h: Cleanup.
	* librpc/include/rpc/svc.h: Cleanup.
2008-08-01 16:57:31 +00:00
Ralf Corsepius
0eeca97769 Cleanup. 2008-08-01 16:57:19 +00:00
Ralf Corsepius
848b53b54a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_stdio.c: Misc. ansifications.
	Add prototypes.
2008-08-01 16:54:35 +00:00
Ralf Corsepius
38f9509eee Misc. ansifications. Add prototypes. 2008-08-01 16:53:46 +00:00
Ralf Corsepius
1bfb6c2f6c 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_mem.c librpc/src/xdr/xdr_rec.c
	librpc/src/xdr/xdr_sizeof.c: Misc. ansifications.
	Add prototypes.
2008-08-01 16:45:44 +00:00
Ralf Corsepius
cd7916266e Misc. ansifications. Add prototypes. 2008-08-01 16:44:07 +00:00
Joel Sherrill
31a4efcc56 2008-08-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/msgqsend.c, rtems/src/msgqurgent.c: Fix typos.
2008-08-01 16:18:56 +00:00
Ralf Corsepius
84c5f0222a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/getrpcport.c: Misc. ansifications.
	* librpc/src/rpc/getrpcent.c: Remove stray local decls.
	Misc. ansifications.
2008-08-01 16:06:16 +00:00
Ralf Corsepius
123116dd99 Misc. ansifications. 2008-08-01 16:05:37 +00:00
Ralf Corsepius
9c873b1da9 Remove stray local decls. Misc. ansifications. 2008-08-01 16:04:25 +00:00
Ralf Corsepius
4e4969237b 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_perror.c: Misc. ansifications.
	* librpc/src/rpc/get_myaddress.c: Misc. ansifications.
	* librpc/src/rpc/svc_auth_unix.c: Misc. ansifications.
2008-08-01 15:59:20 +00:00
Ralf Corsepius
b58315677d Misc. ansifications. 2008-08-01 15:58:16 +00:00
Ralf Corsepius
bf5a6befac 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/pmap_clnt.c: Remove stray clnt_perror().
	* librpc/src/rpc/clnt_tcp.c: Add missing prototypes.
2008-08-01 15:51:57 +00:00
Ralf Corsepius
08ef2dd09c Remove stray clnt_perror(). 2008-08-01 15:51:19 +00:00
Ralf Corsepius
8f926f1341 Add missing prototypes. 2008-08-01 15:47:13 +00:00
Joel Sherrill
8fc3d7183f 2008-08-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/msg.t: Parameter is size not count. Spotted by Sebastian Huber.
2008-08-01 15:29:37 +00:00
Ralf Corsepius
8016f1a14b 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_raw.c: Add missing prototypes.
	* librpc/src/rpc/clnt_udp.c: Add missing prototypes.
	* librpc/src/rpc/svc_auth.c: Add missing prototypes.
2008-08-01 15:17:17 +00:00
Ralf Corsepius
b03af1c202 Add missing prototypes. 2008-08-01 15:16:38 +00:00
Ralf Corsepius
7013243f2b 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/svc_raw.c: Add missing prototypes.
2008-08-01 14:29:27 +00:00