Commit Graph

15899 Commits

Author SHA1 Message Date
Joel Sherrill
80863b1129 Formatting. 2008-08-13 14:46:23 +00:00
Joel Sherrill
ec5916d7ae 2008-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am: Add dummy linkcmds so autoconf tests work
	on installed BSP.
	* startup/linkcmds: New file.
2008-08-12 21:43:03 +00:00
Joel Sherrill
61bd749415 2008-08-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: All SPARC executables should include
	rtems_get_version_string so the monitor used can provide RTEMS
	awareness based upon the version.
2008-08-08 15:54:59 +00:00
Joel Sherrill
fdafb96cc1 2008-08-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/msgmp.h: Fix MP code missed by Sebastian.
2008-08-08 14:23:52 +00:00
Joel Sherrill
89423b90d1 Fix joel mistake. 2008-08-08 14:19:45 +00:00
Joel Sherrill
2975e716e0 2008-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c: Fixed calculation of bsp_click_per_usec.
2008-08-08 13:51:00 +00:00
Joel Sherrill
3b14b7adab 2008-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h,
	score/include/rtems/score/thread.h, score/src/threadreset.c,
	score/src/threadrestart.c, score/src/threadstart.c: New type
	Thread_Entry_numeric_type for numeric arguments in thread entry
	functions with at least one numeric argument.
2008-08-08 13:50:28 +00:00
Joel Sherrill
8ad2468ccf 2008-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* user/msg.t, user/sem.t, user/task.t: Update to new parameter types.
	Emphasize that you can use a pointer for task arguments.
2008-08-08 13:49:19 +00:00
Joel Sherrill
35454e27a0 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Major update. Now more likely not to run away.
2008-08-07 18:51:05 +00:00
Joel Sherrill
02d989c0ef 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Make _System_state_Is_multiprocessing unused when
	multiprocessing is not enabled. Saves one more variable from single
	processor configuration.
2008-08-07 18:23:54 +00:00
Joel Sherrill
22ce088191 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/sysstate.h,
	score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make
	_System_state_Is_multiprocessing unused when multiprocessing is not
	enabled. Saves one more variable from single processor configuration.
2008-08-07 18:23:48 +00:00
Joel Sherrill
a96504330e Format. 2008-08-07 18:21:44 +00:00
Joel Sherrill
94fb30d46d 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/datatypes.t: Add rtems_name. Add comment about
	rtems_task_argument changing from simple unsigned thirty two bit
	integer to being derived from a C99 uintptr_t in 4.8 and newer.
2008-08-07 13:44:58 +00:00
Chris Johns
8192e4ff61 2008-08-07 Chris Johns <chrisj@rtems.org>
* libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
	to see if the 'to' path was a directory and removed the directory.

	* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv command.

	* libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
2008-08-07 02:23:11 +00:00
Chris Johns
24625412d2 2008-08-06 Chris Johns <chrisj@rtems.org>
* smc/smc.c: Fix the fix. The field is bufnum.
2008-08-06 09:39:10 +00:00
Chris Johns
6f162ed27a 2008-08-06 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
	the new bdbuf code.
2008-08-06 04:38:53 +00:00
Chris Johns
b7898e271c 2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
* libblock/src/diskdevs.c: PR1192. Update the disktap pointer
	after the realloc.
2008-08-06 04:17:46 +00:00
Chris Johns
904ced08bb 2008-08-06 Till Straumann <strauman@slac.stanford.edu>
* libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
	than release it.
2008-08-06 04:04:59 +00:00
Joel Sherrill
5a21e2feed 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 537/bsps
	* bsplibc.c: Eliminate vestiges of ticks_per_timeslice controlling
	newlib reentrancy. The parameter was ignored in libc_init().
2008-08-05 16:52:01 +00:00
Joel Sherrill
8b08935eb8 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 537/bsps
	* libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
	libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate
	vestiges of ticks_per_timeslice controlling newlib reentrancy. The
	parameter was ignored in libc_init().
2008-08-05 16:51:45 +00:00
Joel Sherrill
46cb968176 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 741/networking
	* libmisc/dummy/dummy.c: Add dummy network configuration.
2008-08-05 16:33:03 +00:00
Joel Sherrill
3d58766b55 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* smc/smc.c: Fix warning.
2008-08-05 15:52:05 +00:00
Joel Sherrill
aa05837816 2008-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* start/start.S: Clear environment pointer for bootcard.
2008-08-05 13:33:02 +00:00
Joel Sherrill
3f4eb31d56 2008-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/start.S: Clear environment pointer for bootcard.
2008-08-05 13:32:58 +00:00
Joel Sherrill
7a7c6f3fee 2008-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* start/start.S: Clear environment pointer for bootcard.  Fixed wrong
	address increment in mpc83xx_zero_4().
2008-08-05 13:32:54 +00:00
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