Commit Graph

13951 Commits

Author SHA1 Message Date
Joel Sherrill
e49e84c9ab 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage
	functionality into multiple files to eliminate unnecessary cohesion.
	Update README.
	* libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c:
	New files.
	* libmisc/cpuuse/cpuuse.c: Removed.
2007-05-21 20:28:02 +00:00
Joel Sherrill
a205b96b9b 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/clock/c_clock.c: Tinker with math so it does not overflow on
	psim and give a negative nanoseconds since last tick.
2007-05-21 19:29:34 +00:00
Joel Sherrill
ec2078d670 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/ratemonperiod.c: Fix math ordering bug which resulted in a
	negative value in some circumstances. Also cleaned up to share uptime
	declaration.
2007-05-21 19:28:55 +00:00
Joel Sherrill
4741b0b203 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* build-rpms.sh: Fix typos.
2007-05-21 19:27:34 +00:00
Ralf Corsepius
3fafc63cfd Add --libexecdir. 2007-05-21 10:55:01 +00:00
Joel Sherrill
ad3b11717b Fix typo. 2007-05-17 22:47:49 +00:00
Joel Sherrill
838167e630 2007-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, rtmonuse/task1.c: Clean up output and use FLUSH_OUTPUT()
	macro instead of fflush() directly.
2007-05-17 22:47:32 +00:00
Joel Sherrill
c3330a88ee 2007-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, configure.ac, libcsupport/src/__times.c,
	libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
	rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
	rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
	score/Makefile.am, score/include/rtems/score/thread.h,
	score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
	score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
	score/src/timespecdivide.c: Add nanoseconds granularity to the rate
	monotonic period statistics and CPU usage statistics. This capability
	is enabled by default although may be conditionally disabled by the
	user. It could be too much overhead on small targets but it does not
	appear to be bad in early testing. Its impact on code size has not
	been evaluated either. It is possible that both forms of statistics
	gathering could be disabled with further tweaking of the conditional
	compilation.
	* score/src/timespecdividebyinteger.c: New file.
2007-05-17 22:46:45 +00:00
Ralf Corsepius
e57739da09 Add .rh clause to extra_arg. 2007-05-17 15:39:50 +00:00
Ralf Corsepius
4ec03d7ebb Add --enable-os-subdir. Bump version to 0.6. 2007-05-17 15:34:10 +00:00
Ralf Corsepius
44302c7e14 Add --enable-os-subdir. 2007-05-17 15:33:51 +00:00
Ralf Corsepius
9d3f291ae9 Add OS_SUBDIR. 2007-05-17 15:33:13 +00:00
Joel Sherrill
eb64f2c6ff 2007-05-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/cpuuse/cpuuse.c: Use rtems_object_get_name and eliminate
	functionally similar code here. Also cleanup print formats.
2007-05-16 16:25:05 +00:00
Joel Sherrill
b9f0782367 2007-05-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/objectgetnameasstring.c: Internal threads use string names
	so in the current RTEMS source string object name can NOT be
	disabled. It is probably worth considering converting the internal
	threads to uint32_t style names so all the support for string names
	can be conditionally disabled.
2007-05-16 16:14:44 +00:00
Joel Sherrill
f919582d8f 2007-05-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Makefile.am, score/include/rtems/score/timespec.h: Add division
	and greater than operations for timespecs.
	* score/src/timespecdivide.c, score/src/timespecgreaterthan.c:
	New files.
2007-05-16 15:04:25 +00:00
Ralf Corsepius
717adfb3e8 2007-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/objectgetnameasstring.c: Remove bogus ifdef
	RTEMS_POSIX_API.
2007-05-16 06:51:53 +00:00
Ralf Corsepius
f14276370b 2007-05-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* nsecs/init.c: Remove stray "volatile int i".
2007-05-16 06:50:03 +00:00
Ralf Corsepius
412058fadf Remove (Obsolete). 2007-05-16 02:12:27 +00:00
Ralf Corsepius
d1a65f6ab5 2007-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/mvme5500.cfg: Use -O2 again.
2007-05-16 02:07:16 +00:00
Joel Sherrill
4f35ea9b2b 2007-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* README.configure, aclocal/check-bsps.m4: Remove references to
	mbx860_1b since it is just an alternate name for the mbx860_001b.
2007-05-15 20:22:01 +00:00
Joel Sherrill
81ee994488 2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtmonuse/init.c, rtmonuse/task1.c: Integrate Rate Monotonic
	Statistics and Period Usage into Rate Monotonic Manager. Added the
	following directives: rtems_rate_monotonic_get_statistics,
	rtems_rate_monotonic_reset_statistics,
	rtems_rate_montonic_reset_all_statistics,
	rtems_rate_montonic_report_statistics, and rtems_object_get_name.
	Obsoleted the rtems/rtmonuse.h file as a public interface.
2007-05-15 20:17:39 +00:00
Joel Sherrill
35a81f8814 2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/Makefile.am, user/concepts.t, user/rtmon.t: Integrate Rate
	Monotonic Statistics and Period Usage into Rate Monotonic Manager.
	Added the following directives: rtems_rate_monotonic_get_statistics,
	rtems_rate_monotonic_reset_statistics,
	rtems_rate_montonic_reset_all_statistics,
	rtems_rate_montonic_report_statistics, and rtems_object_get_name.
	Obsoleted the rtems/rtmonuse.h file as a public interface.
2007-05-15 20:17:21 +00:00
Joel Sherrill
05ddbf2565 2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, gen_section: Integrate Rate Monotonic Statistics and
	Period Usage into Rate Monotonic Manager. Added the following
	directives: rtems_rate_monotonic_get_statistics,
	rtems_rate_monotonic_reset_statistics,
	rtems_rate_montonic_reset_all_statistics,
	rtems_rate_montonic_report_statistics, and rtems_object_get_name.
	Obsoleted the rtems/rtmonuse.h file as a public interface.
	* rtmonuse.t: Removed.
2007-05-15 20:17:17 +00:00
Joel Sherrill
e1bce866cf 2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
	rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
	rtems/inline/rtems/rtems/ratemon.inl, rtems/src/ratemoncancel.c,
	rtems/src/ratemoncreate.c, rtems/src/ratemondelete.c,
	rtems/src/ratemongetstatus.c, rtems/src/ratemonident.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemontimeout.c,
	score/Makefile.am, score/include/rtems/score/object.h,
	score/src/threadhandler.c, wrapup/Makefile.am: Integrate Rate
	Monotonic Statistics and Period Usage into Rate Monotonic Manager.
	Added the following directives: rtems_rate_monotonic_get_statistics,
	rtems_rate_monotonic_reset_statistics,
	rtems_rate_montonic_reset_all_statistics,
	rtems_rate_montonic_report_statistics, and rtems_object_get_name.
	Obsoleted the rtems/rtmonuse.h file as a public interface.
	* rtems/src/ratemongetstatistics.c,
	rtems/src/ratemonreportstatistics.c, rtems/src/ratemonresetall.c,
	rtems/src/ratemonresetstatistics.c, rtems/src/rtemsobjectgetname.c,
	score/src/objectgetnameasstring.c: New files.
	* libmisc/rtmonuse/rtmonuse.c, libmisc/rtmonuse/rtmonuse.h: Removed.
2007-05-15 20:16:16 +00:00
Joel Sherrill
40082322fa 2007-05-15 Ray Xu <rayx@gmail.com>
* shared/abort/abort.c, shared/abort/simple_abort.c: New files.
2007-05-15 18:03:05 +00:00
Joel Sherrill
a5ef8c53fb 2007-05-15 Ray Xu <rayx@gmail.com>
* Makefile.am: Add abort.rel since it is now in the BSP shared source,
	not in score/cpu.
2007-05-15 18:02:16 +00:00
Joel Sherrill
8dcca11c62 2007-05-15 Ray Xu <rayx@gmail.com>
* Makefile.am: Add abort.rel since it is now in the BSP shared source
	-- not in score/cpu.
2007-05-15 18:01:46 +00:00
Joel Sherrill
91e07d0d89 2007-05-09 Ray Xu <rayx@gmail.com>
* cpu.c: move do_data_abort() to libbsp/arm/shared/abort/
          implement a compact do_data_abort() in simple_abort.c
2007-05-15 17:59:47 +00:00
Joel Sherrill
40a1237662 2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/bspstart.c: Add include <rtems/bspIo.h> to remove warning.
2007-05-15 17:38:51 +00:00
Ralf Corsepius
4c50a600a1 New (Re-base patch against gcc-4.2.0 final) 2007-05-15 06:24:01 +00:00
Joel Sherrill
8a5186d531 2007-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/src/unixlibc.c: Split off dummry
	rtems_io_register_name for use on unix.
	* libcsupport/src/unixlibc_io.c: New file.
2007-05-14 17:56:54 +00:00
Joel Sherrill
d4d4c0510b 2007-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Separate debug IO from console so console driver is not
	linked in all the time. This manaifested itself when the IO manager
	optional manager stub dropped some symbols.
2007-05-14 16:42:14 +00:00
Ralf Corsepius
f324b08c8a New (merge-in gcc-4.2.0 final patches). 2007-05-14 15:36:30 +00:00
Joel Sherrill
6dacdf9db9 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c, startup/spurious.c: hello and
	ticker now run using runtest.
2007-05-11 21:19:23 +00:00
Joel Sherrill
2f9e237f71 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/spurious.c: Fix typo from previous commit.
2007-05-11 21:14:52 +00:00
Joel Sherrill
e5330c1621 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Now tries to work with tsim.
2007-05-11 21:14:41 +00:00
Joel Sherrill
65332b45de 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/spurious.c: Fix typo from previous commit.
2007-05-11 21:03:55 +00:00
Joel Sherrill
13602a5c67 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Now works with tsim.
2007-05-11 21:03:48 +00:00
Joel Sherrill
404903b033 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsgseize.c: A blocking sender's message size was
	pulled out of the wrong field in the Wait information structure.
	* score/src/objectallocate.c: With the new optional manager support,
	we only stub out the initialization. This makes it possible to attempt
	to create an object with the information structure only initialized
	with all zeros.  This ensures we return an error cleanly in this case.
2007-05-11 20:10:37 +00:00
Joel Sherrill
70669f28ad 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
	an optional manager, we cannot depend on it do initialize the
	internal Allocator Mutex.  This was always a questionable place to
	do it, so this is a cleanup.
2007-05-11 20:07:47 +00:00
Joel Sherrill
4da36c1af3 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
	libmisc/stackchk/stackchk.h: Clean up as side-effect of making them
	suitable for inclusion in the Users Guide.
2007-05-11 20:01:37 +00:00
Joel Sherrill
e974f9d786 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/.cvsignore, user/cpuuse.t, user/stackchk.t: Stack checker and
	CPU usage chapters are now OK in the manual.
2007-05-11 20:00:30 +00:00
Joel Sherrill
71531a6fa0 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/buffer_test_io.h: Add support for using printk for
	output in tests. This should be followed up by disabling the console
	driver and other support when the tests are using printk.
2007-05-11 19:53:29 +00:00
Joel Sherrill
9de4e5be47 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpuuse/Makefile.am, malloctest/Makefile.am, putenvtest/Makefile.am,
	rtmonuse/Makefile.am, stackchk/Makefile.am, termios/Makefile.am: Add
	optional managers to Makefiles. Clean up test cases so last output
	line follows END OF pattern. Make sure test case all run. All tests
	appeared ok on sis.
2007-05-11 19:46:02 +00:00
Joel Sherrill
dd61160701 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* base_sp/Makefile.am, hello/Makefile.am, iostream/Makefile.am,
	loopback/Makefile.am, nsecs/Makefile.am,
	pppd/Makefile.am, ticker/Makefile.am, ticker/system.h,
	unlimited/Makefile.am: Add optional managers to Makefiles. Clean up
	test cases so last output line follows END OF pattern. Make sure test
	case all run. All tests appeared ok on sis.
	* nsecs/init.c: Commit hack so test will compile when POSIX is
	disabled.  Remove hack when clock_gettime() is present even when
	--disable-posix.
2007-05-11 19:45:50 +00:00
Joel Sherrill
dc172333df 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* tm05/Makefile.am, tm06/Makefile.am, tm07/Makefile.am,
	tm08/Makefile.am, tm09/Makefile.am, tm10/Makefile.am,
	tm11/Makefile.am, tm12/Makefile.am, tm13/Makefile.am,
	tm14/Makefile.am, tm15/Makefile.am, tm16/Makefile.am,
	tm17/Makefile.am, tm18/Makefile.am, tm19/Makefile.am,
	tm20/Makefile.am, tm22/Makefile.am, tm23/Makefile.am,
	tm24/Makefile.am, tm25/Makefile.am, tm26/Makefile.am,
	tm27/Makefile.am, tm28/Makefile.am, tm29/Makefile.am,
	tmck/Makefile.am, tmoverhd/Makefile.am: Add optional managers to
	Makefiles. Clean up test cases so last output line follows END OF
	pattern. Make sure test case all run. All tests appeared ok on sis.
2007-05-11 19:44:44 +00:00
Joel Sherrill
e58077cb55 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/Makefile.am, sp02/Makefile.am, sp03/Makefile.am,
	sp04/Makefile.am, sp05/Makefile.am, sp06/Makefile.am,
	sp07/Makefile.am, sp07/tdelete.c, sp08/Makefile.am, sp09/Makefile.am,
	sp11/Makefile.am, sp12/Makefile.am, sp13/Makefile.am,
	sp14/Makefile.am, sp15/Makefile.am, sp16/Makefile.am,
	sp17/Makefile.am, sp19/Makefile.am, sp20/Makefile.am,
	sp21/Makefile.am, sp22/Makefile.am, sp23/Makefile.am,
	sp24/Makefile.am, sp25/Makefile.am, sp26/Makefile.am,
	sp32/Makefile.am, sp33/Makefile.am, sp34/Makefile.am,
	sp35/Makefile.am, spfatal/Makefile.am, spsize/Makefile.am,
	spsize/size.c: Add optional managers to Makefiles. Clean up test
	cases so last output line follows END OF pattern. Make sure test case
	all run. All tests appeared ok on sis.
2007-05-11 19:44:27 +00:00
Joel Sherrill
e02db20c46 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxsem01/init.c, psxsem01/psxsem01.scn, psxtimer/psxtimer.c,
	psxtimer/psxtimer.scn: Add optional managers to Makefiles. Clean up
	test cases so last output line follows END OF pattern. Make sure test
	case all run. All tests appeared ok on sis.
2007-05-11 19:44:22 +00:00
Joel Sherrill
8247be669e 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* itronmbf01/init.c, itronmbf01/itronmbf01.scn, itrontask02/init.c,
	itrontask03/itrontask03.scn, itrontask03/task1.c,
	itrontask04/itrontask04.scn, itrontask04/task3.c: Add optional
	managers to Makefiles. Clean up test cases so last output line
	follows END OF pattern. Make sure test case all run. All tests
	appeared ok on sis.
2007-05-11 19:44:17 +00:00
Joel Sherrill
1a63b52872 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
	Per Jiri Gaisler remove unused erc32nfp and leon1 BSP variants.
2007-05-11 14:09:17 +00:00