Commit Graph

5440 Commits

Author SHA1 Message Date
Joel Sherrill
d58ea3b065 2009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/devfs/devfs.h: Fix spelling error.
2009-08-26 13:22:27 +00:00
Joel Sherrill
7bbedbe22b 2009-08-26 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sapi/include/rtems/config.h: Changed stack allocator signature to
	match the one of _Workspace_Allocate().
2009-08-26 12:18:42 +00:00
Joel Sherrill
371cea31d3 2009-08-24 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* libmisc/stackchk/check.c, rtems/src/regionreturnsegment.c,
	rtems/src/regiongetsegmentsize.c, src/heapalignupuptr.c,
	src/heapallocatealigned.c, src/heapallocate.c, src/heap.c,
	src/heapextend.c, src/heapfree.c, src/heapgetfreeinfo.c,
	src/heapgetinfo.c, src/heapresizeblock.c, src/heapsizeofuserarea.c,
	src/heapwalk.c, src/pheapgetblocksize.c, inline/rtems/score/heap.inl,
	include/rtems/score/heap.h: Overall cleanup.  Changed all types for
	addresses, sizes, offsets and alignments to uintptr_t.  Reformatted.
	Added variables for clarity.  Renamed various objects.  Enabled
	_HAssert() for all instances.  More changes follow.
2009-08-26 12:00:24 +00:00
Joel Sherrill
0d32490025 2009-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* libfs/src/devfs/devfs_eval.c: Fix bug where use of strncmp() resulted
	in a partial match being considered a full name match. On ERC32,
	looking for /dev/console would match /dev/console_b first.
2009-08-25 13:45:30 +00:00
Thomas Doerfler
da422590ae Define M68K_FP_STATE_SIZE also if used in assembler files. 2009-08-24 10:29:10 +00:00
Joel Sherrill
cb09a5da6a 2009-08-21 Roxana Leontie <roxana.leontie@gmail.com>
* Makefile.am, preinstall.am, libmisc/Makefile.am: Changed the name of
	mw-fb directory into fb.  Relocated files.
	* libmisc/fb/fb.h, libmisc/fb/mw_uid.c, libmisc/fb/mw_uid.h: New files.
	* libmisc/mw-fb/fb.h, libmisc/mw-fb/mw_uid.c, libmisc/mw-fb/mw_uid.h:
	Removed.
2009-08-21 18:39:59 +00:00
Joel Sherrill
93f7ea15e5 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h, score/Makefile.am,
	score/include/rtems/score/thread.h: Only instantiate
	_Thread_Idle_body() if it is going ot be used.
	* score/src/threadidlebody.c: Removed.
2009-08-19 16:40:03 +00:00
Joel Sherrill
db0df7b6df 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Mark _CPU_Context_restore() as noreturn so the
	compiler will not generate code thinking it returns.
2009-08-19 16:39:05 +00:00
Joel Sherrill
a1f0ca28c0 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/pthread.c: Address sporadic server edge cases. Do not
	change priority if thread is holding a priority ceiling or
	inheritance mutex. Do not change it if it looks like the thread has
	manually changed its priority. Style cleanup on file with new
	comments added.
2009-08-19 15:18:19 +00:00
Joel Sherrill
3a95c67925 2009-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/heapallocatealigned.c: Remove unused label.
2009-08-18 18:40:14 +00:00
Joel Sherrill
09794266c4 2009-08-18 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* score/src/heapallocatealigned.c: Change break to continue to fix
	issue encountered on ARM. Fix indentation.
2009-08-18 16:15:16 +00:00
Joel Sherrill
63b3dff5ec 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/timerreset.c: Rework to ease analysis.
2009-08-18 15:35:51 +00:00
Joel Sherrill
118472cf87 2009-08-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* aclocal/check-networking.m4: Disable BSD TCP/IP for small memory
	targets.
2009-08-17 21:18:34 +00:00
Joel Sherrill
e0d71f7a56 2009-08-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/clockget.c: Restructure to ease coverage analysis of
	deprecated routine.
2009-08-17 13:31:20 +00:00
Joel Sherrill
400a04a200 2009-08-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libi2c/libi2c.c: Fix warnings.
2009-08-16 15:15:01 +00:00
Joel Sherrill
8e582082e2 2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/termios_baud2num.c: B134 should return 134 not 135.
2009-08-15 20:59:23 +00:00
Joel Sherrill
717391f502 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/malloc_boundary.c: This is currently non-funcitonal.
	Do not build it when doing coverage until it works again.
	* sapi/include/confdefs.h: Address linking errors when building for
	configuration.
2009-08-12 20:53:33 +00:00
Joel Sherrill
07e6793035 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am: Obsolete coverage file.
	* libcsupport/src/end_profile.c: Removed.
2009-08-12 17:12:29 +00:00
Joel Sherrill
3390ba8832 2009-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/preinstall.am,
	posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am,
	rtems/preinstall.am, score/Makefile.am, score/preinstall.am: Revert
	modifications accidentally committed.
2009-08-12 14:20:20 +00:00
Joel Sherrill
877de9773c 2009-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/debug.h: Fix typo.
2009-08-11 19:00:45 +00:00
Joel Sherrill
cdfe85a7f3 2009-08-11 Josh Switnicki <josh.switnicki@utoronto.ca>
* cpu.c, cpu_asm.S, rtems/score/cpu.h: Fix bug in
	_CPU_Context_Initialize.
2009-08-11 17:03:01 +00:00
Joel Sherrill
f0266e1693 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/__times.c, libfs/src/nfsclient/src/nfsTest.c,
	libfs/src/nfsclient/src/rpcio.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:10:37 +00:00
Joel Sherrill
d81bfed2af 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/heapresizeblock.c: Remove printk's that were accidentally
	committed.
2009-08-09 17:42:20 +00:00
Joel Sherrill
235aaf0c10 2009-08-09 Xi Yang <hiyangxi@gmail.com>
* libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am,
	sapi/Makefile.am, score/Makefile.am,
	score/include/rtems/score/heap.h: HEAP_BLOCK_USED_OVERHEAD was under
	by one uint32_t. This showed up in the unlimited and heapwalk tests
	on ARM targets.
2009-08-09 15:23:10 +00:00
Joel Sherrill
f32c036de0 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/objectextendinformation.c: Minor rework to eliminate
	uncovered ranges introduced by Chris' patch.
2009-08-07 00:19:04 +00:00
Joel Sherrill
d68c788e47 Revert 2009-08-06 21:45:28 +00:00
Joel Sherrill
ac893a9731 2009-08-06 Chris Johns <chrisj@rtems.org>
* score/src/objectextendinformation.c: Ensure that nothing is moved or
	copied until all memory is successfully allocated.
2009-08-06 20:43:30 +00:00
Joel Sherrill
f0bf33260a Revert. 2009-08-06 20:43:19 +00:00
Joel Sherrill
e41a7481f8 Fix comment 2009-08-06 20:40:19 +00:00
Joel Sherrill
684e243dd0 Revert. 2009-08-06 20:39:27 +00:00
Joel Sherrill
53afba1268 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mqueuecreatesupp.c, posix/src/mqueuenametoid.c,
	posix/src/mqueueopen.c, posix/src/semaphorecreatesupp.c: Tinker with
	error handling for name too long. Use strnlen to ensure we do not run
	off the end of the maximum length string.
2009-08-06 19:26:56 +00:00
Joel Sherrill
e4f2fe13e7 2009-08-06 Christian Mauderer <christian.mauderer@embedded-brains.de>
* rtems/include/rtems/rtems/types.h: Improve documentation.
2009-08-06 16:32:54 +00:00
Joel Sherrill
529760865d 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/bspcmdline/bspcmdline.h, libmisc/bspcmdline/bspcmdline_get.c,
	libmisc/bspcmdline/bspcmdline_getparam.c,
	libmisc/bspcmdline/bspcmdline_getparamraw.c,
	libmisc/bspcmdline/bspcmdline_getparamrhs.c: Add rtems_ as prefix to
	all routines.
2009-08-06 15:21:14 +00:00
Joel Sherrill
04a62dce21 2009-08-05 Josh Switnicki <josh.switnicki@utoronto.ca>
* Makefile.am: added AVR specific Header files to score/cpu/avr/avr.
	These are from avr-libc 1.6 and assumed to exist by AVR applications.
	* preinstall.am: Regenerated.
2009-08-06 14:52:07 +00:00
Chris Johns
945884fe9f 2009-08-06 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: Fix group user logic.
        * libblock/include/rtems/blkdev.h, libblock/src/blkdev.c,
        libblock/src/nvdisk.c, libblock/src/flashdisk.c: Add set block
        size, and get media block size support.
2009-08-06 03:58:09 +00:00
Joel Sherrill
14d9ae4190 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/sigaction.c: _POSIX_signals_Clear_process_signals now takes
	signal number not mask.
2009-08-05 21:39:49 +00:00
Joel Sherrill
88157a76de 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, rtems/Makefile.am, rtems/preinstall.am,
	sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am,
	score/preinstall.am, score/include/rtems/score/heap.h,
	score/inline/rtems/score/heap.inl: Remove inline version now that it
	is in a C file.
	* libcsupport/src/end_profile.c: New file.
2009-08-05 21:18:29 +00:00
Joel Sherrill
e6faab6503 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am: Move from inline to body to avoid path explosion
	from inlining this. Makes coverage analysis easier.
	* score/src/heapalignupuptr.c: New file.
2009-08-05 21:16:49 +00:00
Joel Sherrill
34788417b4 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/bspcmdline/bspcmdline.h, libmisc/bspcmdline/bspcmdline_get.c,
	libmisc/bspcmdline/bspcmdline_getparam.c,
	libmisc/bspcmdline/bspcmdline_getparamraw.c,
	libmisc/bspcmdline/bspcmdline_getparamrhs.c: New files.
	Missed in previous commit.
2009-08-05 20:16:28 +00:00
Joel Sherrill
e152ecb7ec 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, libmisc/Makefile.am, wrapup/Makefile.am:
	Add new BSP Boot Command Line helper routines. Recently boot_card()
	has grown the ability to have a command line string pointer. These
	routines provide an interface to that string.
2009-08-05 19:37:55 +00:00
Joel Sherrill
2b558ffdd0 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Fix typo.
2009-08-05 19:13:27 +00:00
Joel Sherrill
21de9dcbda 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/psignalclearsignals.c: Add comments.
2009-08-05 19:09:21 +00:00
Joel Sherrill
c85ab23ab7 2009-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h,
	libcsupport/src/fs_null_handlers.c: Null handlers are now const.
	* libi2c/libi2c.c, libi2c/libi2c.h: Documentation. Do not create
	semaphores on the fly.
	* cpukit/libblock/src/bdpart.c: Fixed format specifier.
	* cpukit/libblock/include/rtems/bdbuf.h, rtems/include/rtems.h,
	rtems/include/rtems/rtems/asr.h, rtems/include/rtems/rtems/attr.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/barriermp.h,
	rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
	rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h,
	rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/eventmp.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/include/rtems/rtems/intr.h, rtems/include/rtems/rtems/message.h,
	rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
	rtems/include/rtems/rtems/msgmp.h, rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/regionmp.h,
	rtems/include/rtems/rtems/rtemsapi.h, rtems/include/rtems/rtems/sem.h,
	rtems/include/rtems/rtems/semmp.h, rtems/include/rtems/rtems/signal.h,
	rtems/include/rtems/rtems/signalmp.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/support.h,
	rtems/include/rtems/rtems/taskmp.h, rtems/include/rtems/rtems/tasks.h,
	rtems/include/rtems/rtems/timer.h, rtems/include/rtems/rtems/types.h,
	rtems/inline/rtems/rtems/support.inl: Documentation.
	* include/rtems/irq-extension.h: Documentation. Added API for
	interrupt servers.
2009-08-05 18:17:12 +00:00
Joel Sherrill
61ae99b802 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Account for memory for POSIX message queue
	file descriptors.
2009-08-05 16:43:33 +00:00
Joel Sherrill
a07c8dedb0 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mqueuecreatesupp.c: Now that the number of POSIX message
	queues and message queue descriptors are independently configured,
	this code is reachable.
2009-08-05 16:04:36 +00:00
Joel Sherrill
b2bf0e4814 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/include/rtems/posix/psignal.h, posix/src/mqueuecreatesupp.c,
	posix/src/psignalclearprocesssignals.c,
	posix/src/psignalclearsignals.c: Minor rework to ease coverage
	analysis.
2009-08-05 15:39:59 +00:00
Joel Sherrill
2b3692d315 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/intr.h, rtems/src/intrcatch.c: Disable
	rtems_interrupt_catch on targets which do not use the simple vectored
	interrupt model.
2009-08-05 15:36:49 +00:00
Joel Sherrill
74f4edaf44 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/heapallocatealigned.c: Fix spacing.
2009-08-05 15:35:55 +00:00
Joel Sherrill
a2fa532d7b 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/wkspace.c: Improve debug output.
2009-08-05 15:35:02 +00:00
Joel Sherrill
ade173922b 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/include/rtems/posix/config.h, posix/src/mqueue.c,
	sapi/include/confdefs.h: Add configuration of posix message queue
	file descriptors as separate entity.
2009-08-05 15:29:19 +00:00