Commit Graph

13823 Commits

Author SHA1 Message Date
Joel Sherrill
001b4b04f6 2007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Eliminate maximum_drivers configuration parameter since
	it was used to configure a no longer used feature. Device names are
	now part of the filesystem not in a table. This also eliminated the
	variables _IO_Number_of_devices and _IO_Driver_name_table from RTEMS
	as well as the memory allocation used to populate
	_IO_Driver_name_table.
2007-05-28 15:50:52 +00:00
Joel Sherrill
3a50a20695 2007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Eliminate maximum_drivers configuration parameter
	since it was used to configure a no longer used feature. Device names
	are now part of the filesystem not in a table. This also eliminated
	the variables _IO_Number_of_devices and _IO_Driver_name_table from
	RTEMS as well as the memory allocation used to populate
	_IO_Driver_name_table.
2007-05-28 15:50:27 +00:00
Joel Sherrill
1f94b1d56c 2007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1244/bsps
	* console/console.c: Remove definition of __assert.
2007-05-28 15:02:20 +00:00
Ralf Corsepius
f7d5d6e3b3 Backup. 2007-05-25 13:42:51 +00:00
Ralf Corsepius
24848b6979 New. 2007-05-25 13:42:27 +00:00
Ralf Corsepius
d183ac2a19 Add gprof.info handling. 2007-05-25 08:39:01 +00:00
Joel Sherrill
d902069a13 2007-05-24 Alain Schaefer <alani@easc.ch>
* rtems/score/cpu.h: Fix incorrect interrupt mask.
2007-05-24 14:24:23 +00:00
Joel Sherrill
00f13eec84 2007-05-24 Alain Schaefer <alani@easc.ch>
* startup/bspstart.c: Fix a problem in the InitEBIU method.
2007-05-24 14:23:51 +00:00
Ralf Corsepius
36c8e140b6 Remove %{_libdir}/libiberty.a 2007-05-24 02:58:23 +00:00
Joel Sherrill
7042065c29 2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Add CONFIGURE_MESSAGE_BUFFER_MEMORY so there
	is less dependence on CONFIGURE_MEMORY_OVERHEAD. Do not arbitrarily
	add 1 to CONFIGURE_MEMORY_OVERHEAD so we do not waste a kilobyte for
	unused Workspace. Round the workspace required size to an 8 byte
	boundary instead of a 0x400 byte one. We may end up needing to add 8
	bytes again to account for the alignment rounding.
2007-05-23 22:09:28 +00:00
Joel Sherrill
bfa0476d84 2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Add CONFIGURE_MESSAGE_BUFFER_MEMORY. Use
	rtems/confdefs.h instead of old confdefs.h.
2007-05-23 21:59:24 +00:00
Joel Sherrill
16e8d3d573 2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/init.c: Spacing cleanup.
2007-05-23 21:58:26 +00:00
Joel Sherrill
2ff6ada3e7 2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp13/system.h, sp34/changepri.c, sp35/priinv.c: Avoid using
	CONFIGURE_MEMORY_OVERHEAD and try to really account for the memory
	properly.
2007-05-23 21:57:40 +00:00
Joel Sherrill
c5b5725a51 2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
Yu Chen <chyyuu@gmail.com>
	* score/src/corespinlockwait.c: Per question posted as
	http://www.rtems.org/ml/rtems-users/2007/may/msg00180.html, changed
	logical operator to <=.
2007-05-23 18:47:46 +00:00
Joel Sherrill
60f016f59d 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/cpu/arm/cpu.c, score/cpu/avr/cpu.c, score/cpu/bfin/cpu.c,
	score/cpu/c4x/cpu.c, score/cpu/h8300/cpu.c, score/cpu/i386/cpu.c,
	score/cpu/m68k/cpu.c, score/cpu/mips/cpu.c, score/cpu/nios2/cpu.c,
	score/cpu/no_cpu/cpu.c, score/cpu/sh/cpu.c, score/cpu/sparc/cpu.c,
	cpukit/sapi/src/exinit.c: Move copying of CPU Table to shared
	executive initialization.
2007-05-22 20:57:34 +00:00
Joel Sherrill
804e3bd005 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Fix typo -- should have read kilobytes.
2007-05-22 15:27:39 +00:00
Joel Sherrill
e5200d5afe 2007-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/corerwlockrelease.c: Do not dereference NULL.
2007-05-22 15:02:02 +00:00
Ralf Corsepius
7860a37e64 Bump version to 0.7 2007-05-22 08:11:26 +00:00
Ralf Corsepius
54457f44e2 Add suse 2007-05-22 08:11:04 +00:00
Joel Sherrill
f851e8765d 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Eliminated the variables
	_RTEMS_tasks_User_initialization_tasks and
	_RTEMS_tasks_Number_of_initialization_tasks because they were only
	used in one place after initialized. It was a waste of space.
2007-05-21 23:25:24 +00:00
Joel Sherrill
401e6e37d7 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Makefile.am, rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.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, sapi/Makefile.am,
	sapi/include/rtems/extension.h: Split Classic API data instantiation
	into individual files. This reduces the size of the BSS section when
	an optional manager stub is used. Some tests showed about a 600 byte
	reduction in BSS size.
	* rtems/src/taskinitusers.c, sapi/src/rtemsapi.c, rtems/src/tasks.c:
	Eliminated the variables _RTEMS_tasks_User_initialization_tasks and
	_RTEMS_tasks_Number_of_initialization_tasks because they were only
	used in one place after initialized. It was a waste of space.
 	* rtems/src/barrierdata.c, rtems/src/dpmem.c, rtems/src/dpmemdata.c,
	rtems/src/eventdata.c, rtems/src/msgdata.c, rtems/src/partdata.c,
	rtems/src/ratemondata.c, rtems/src/regiondata.c,
	rtems/src/rtemstimerdata.c, rtems/src/semdata.c, rtems/src/taskdata.c,
	sapi/src/extensiondata.c: New files.
2007-05-21 23:24:31 +00:00
Joel Sherrill
6f1384cd4f Split Classic API data instantiation into individual files. This reduces the size of the BSS section when an optional manageer stub is used. Some tests showed about a 600 byte reduction in BSS size. Also eliminated the variables _RTEMS_tasks_User_initialization_tasks and _RTEMS_tasks_Number_of_initialization_tasks because they were only used in one place after initialized. It was a waste of space. 2007-05-21 23:19:36 +00:00
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