Commit Graph
15532 Commits
Author SHA1 Message Date
Ralf Corsepius b7154b59ca Use LIBGNAT. 2008-06-30 14:49:37 +00:00
Ralf Corsepius 363d29128b 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* acinclude.m4: Add magic to update cpuopt.h.
	* configure.ac: Remove magic to update cpuopt.h.
2008-06-30 13:36:41 +00:00
Ralf Corsepius 4c656cb915 Remove magic to update cpuopt.h. 2008-06-30 13:36:33 +00:00
Ralf Corsepius 05aec0c9c9 Add magic to update cpuopt.h. 2008-06-30 13:36:20 +00:00
Ralf Corsepius 961571bcc7 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
	* configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
	Cleanup mal-formated RTEMS_CPUOPT's.
2008-06-30 13:20:57 +00:00
Ralf Corsepius b4dca71a17 Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
Cleanup mal-formated RTEMS_CPUOPTs.
2008-06-30 13:20:48 +00:00
Ralf Corsepius 3058695ba0 Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI. 2008-06-30 13:20:17 +00:00
Ralf Corsepius 6208c2a53e 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-06-30 08:54:41 +00:00
Ralf Corsepius 75cd18ce47 Require AC_DISABLE_OPTION_CHECKING. AC_PREREQ(2.62). 2008-06-29 06:27:06 +00:00
Ralf Corsepius 6a75acbd0d 2008-06-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-06-29 06:26:44 +00:00
Ralf Corsepius c8d2f3a5d8 changes 2008-06-29 05:24:54 +00:00
Joel Sherrill e0652f1479 2008-06-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* acinclude.m4: Regenerated.
2008-06-27 12:20:42 +00:00
Joel Sherrill 9f68808a6e 2008-06-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore: New file.
2008-06-23 12:58:01 +00:00
Joel Sherrill 8218f5fa6a 2008-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/io.t: Fix typos for IO unregister reported by Catalin Morosan
	<catalin.morosan at gmail.com>.
2008-06-20 17:14:00 +00:00
Joel Sherrill 14f4d654a2 2008-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Use wildcard on .data section.
2008-06-20 16:30:25 +00:00
Joel Sherrill 2dc5cac633 2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* custom/mcf5329.cfg: New file.
2008-06-20 15:01:13 +00:00
Joel Sherrill 5c9be63a88 2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am, configure.ac, preinstall.am: Adding mcf5329 BSP and CPU
	support.
	* mcf532x/include/mcf532x.h: New file.
2008-06-20 14:58:59 +00:00
Joel Sherrill 6b56ec3327 2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac, gdb-init,
	preinstall.am, clock/clock.c, console/console.c, include/bsp.h,
	include/bspopts.h.in, include/coverhd.h, include/tm27.h,
	network/network.c, start/start.S, startup/bspclean.c,
	startup/bspstart.c, startup/cfinit.c, startup/init5329.c,
	startup/linkcmds, startup/linkcmdsflash, timer/timer.c: New files.
2008-06-20 14:58:34 +00:00
Chris Johns 8d26950fca 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* startup/cfinit.c, startup/init52235.c: Missed the last patch.
2008-06-19 06:27:29 +00:00
Chris Johns d488f12bc9 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* custom/mcf52235.cfg: Change to mcf5223x.
2008-06-19 05:48:01 +00:00
Chris Johns eaaade27f3 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf5223x/include/mcf5223x.h: New.
2008-06-19 05:46:45 +00:00
Chris Johns 9374e9b082 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/README, mcf52235/gdb-init, mcf52235/clock/clock.c,
	mcf52235/console/console.c, mcf52235/include/bsp.h,
	mcf52235/include/coverhd.h, mcf52235/start/start.S,
	mcf52235/startup/bspclean.c, mcf52235/startup/bspstart.c,
	mcf52235/startup/linkcmds, mcf52235/timer/timer.c: Cleaned up
	white space and code formmated to adhere to RTEMS standards. Fixed
	a bug in the nano seconds since last tick support. Fixed a bug
	with the location of the start stack (no longer within
	.bss). Removed double definition of IPSBAR and some type defs
	etc.. Added timing test overhead results.
2008-06-19 05:46:19 +00:00
Chris Johns 8f25cec8bb 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* sapi/include/confdefs.h: Use the PRIORITY_DEFAULT_MAXIMUM rather
	than a number.
2008-06-19 05:40:20 +00:00
Chris Johns 775f8e52e8 2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/include/mcf52235.h: Removed. Moved to the more generic
	mcf5223x.h.
	* mcf5223x/include/mcf5223x.h: New. Was mcf52235.h.
	* Makefile.am, configure.ac, preinstall.am: Changed from mcf52235
	to mcf5223x.
2008-06-19 05:38:57 +00:00
Joel Sherrill 42b1fe6ed7 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Disable confdefs.h debug.
2008-06-17 21:10:25 +00:00
Joel Sherrill 4175abd19e 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: When you disabled newlib reentrancy, it
	still reserved memory for the reentrancy structure. This is about 1K
	per task. On psim, we now reserve only 1936 bytes and only 240 remain
	after all allocations. Further analysis will be required to narrow
	that down. In addition, the new constant CONFIGURE_CONFDEFS_DEBUG can
	be defined and the structure named Configuration_Memory_Debug will be
	instantiated. This structure contains many of the component values
	that go into the memory reservation computation. This is helpful when
	tracking down problems.
2008-06-17 20:51:23 +00:00
Joel Sherrill f2a776acb5 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: The math in the _Configure_Object_RAM macro
	was always adding heap overhead even when the number of objects
	configured was zero and we would not do an allocation. This resulted
	in an over estimation of the amount of Workspace required (~2K on
	minimum.exe on PowerPC).
2008-06-17 18:52:30 +00:00
Joel Sherrill bbfe59b4fd 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* iostream/system.h: Init task was close to blowing stack on PowerPC.
	* minimum/init.c: Disable Classic API Notepads.
2008-06-17 18:50:30 +00:00
Joel Sherrill 1bdf29debf 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems++/System.h: Account for extra task stacks properly.
2008-06-17 18:49:37 +00:00
Joel Sherrill f5f519bdaf 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxrwlock01/main.c, psxspin01/main.c: Now accounts for extra stack
	requested for initialization task.
2008-06-17 15:28:05 +00:00
Chris Johns 805cddc0c4 hris Johns <chrisj@rtems.org>
* cpukit/sapi/include/confdefs.h: Add missing quote to string to
	remove warning.

	* cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
	priority level for large memory Coldfires.
2008-06-16 23:37:42 +00:00
Joel Sherrill d695dfca82 2008-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t: Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
2008-06-16 15:54:27 +00:00
Joel Sherrill 4cb19041d7 2008-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
	rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
	Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
2008-06-16 15:54:21 +00:00
Joel Sherrill f02ada817b 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Add CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
	CONFIGURE_MAXIMUM_PRIORITY. Workspace usage now reduces to 4696 bytes
	on psim.
2008-06-13 22:13:44 +00:00
Joel Sherrill 80f9d7763a 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h, score/include/rtems/score/priority.h: Add
	CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
	CONFIGURE_MAXIMUM_PRIORITY.
2008-06-13 22:13:12 +00:00
Joel Sherrill 1603ecd4b4 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/m68k.h: There is no point in defining the maximum
	priorities to 255. priority.h will default it to this.
2008-06-13 22:13:02 +00:00
Joel Sherrill e66dccf239 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t: Add CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION and
	CONFIGURE_MAXIMUM_PRIORITY.
2008-06-13 22:12:10 +00:00
Joel Sherrill 0e3de759b3 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t: Add CONFIGURE_MINIMUM_STACK_SIZE.
2008-06-13 22:00:40 +00:00
Joel Sherrill 2156876d0e 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* minimum/init.c: Exerise new ability for application to configure
	minimum stack size. This test still runs the same with a 7.5K stack
	on the powerpc but reserves 15K less Workspace on the PowerPC.
2008-06-13 15:08:40 +00:00
Joel Sherrill b912f95737 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/bsp.t, user/conf.t, user/task.t: Add ability for application to
	configure minimum stack size. Add RTEMS_CONFIGURED_MINIMUM_STACK_SIZE
	constant so user can clearly indicate they want the configured as
	opposed to the recommended minimum stack size.
2008-06-13 15:06:56 +00:00
Joel Sherrill ecf0f4c4c1 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
	posix/src/pthreadcreate.c, rtems/include/rtems.h, rtems/src/attr.c,
	sapi/include/confdefs.h, sapi/include/rtems/config.h,
	score/inline/rtems/score/stack.inl, score/src/isr.c,
	score/src/mpci.c, score/src/threadcreateidle.c,
	score/src/threadinitialize.c, score/src/threadstackallocate.c: Add
	ability for application to configure minimum stack size. Add
	RTEMS_CONFIGURED_MINIMUM_STACK_SIZE constant so user can clearly
	indicate they want the configured as opposed to the recommended
	minimum stack size.
2008-06-13 15:06:32 +00:00
Chris Johns a552181af9 2008-06-10 Chris Johns <chrisj@rtems.org>
* score/include/rtems/score/priority.h: Let the CPU define the
	maximum and minimum priority levels to reduce the amount of memory
	thread chains use.
2008-06-11 08:19:53 +00:00
Chris Johns e339d8b718 hris Johns <chrisj@rtems.org>
* cpu_asm.S: Add Coldfire FPU support.
	* rtems/score/m68k.h: Change the Coldfire CPU defines to be based
	on the instruction set. Add Tiny RTEMS support to the small memory
	model RTEMS processors.
	* rtems/score/cpu.h: Handle the new Tiny RTEMS support.
2008-06-11 08:19:13 +00:00
Chris Johns 84fff68d09 hris Johns <chrisj@rtems.org>
* custom/av5282.cfg, custom/csb360.cfg, custom/gen68302.cfg,
	custom/gen68340.cfg, custom/gen68360.cfg, custom/mcf5206elite.cfg,
	custom/mcf5235.cfg, custom/mrm332.cfg, custom/mvme136.cfg,
	custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg,
	custom/mvme167.cfg, custom/ods68302.cfg, custom/sim68000.cfg,
	custom/simcpu32.cfg, custom/uC5282.cfg: Change CCFLAGS to use the
	-mcpu= option for Coldfires now supported in GCC 4.3.0.

2008-06-10	Matthew Riek <matthew.riek@ibiscomputer.com.au>

	* custom/mcf52235.cfg: New.
2008-06-11 08:17:27 +00:00
Chris Johns 9af830802d 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/include/mcf52235.h: New.
	* preinstall.am, configure.ac, Makefile.am: Add 52235 support.
2008-06-11 08:07:48 +00:00
Chris Johns 56e8ee4ebd 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* shared/m68kbspgetworkarea.c: Fix extern type to RamSize.
	* shared/m68kpretaskinghook.c: Do not handle the RAM allocation if
	the BSP is handling it.
	* acinclude.m4: Add the mcf52235 BSP.
2008-06-11 08:06:30 +00:00
Chris Johns b7ad0ed12b 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am: Add shared/m68kbspgetworkarea.c to sources.
	* configure.ac: Add RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION.
	* include/bsp.h: Add include bspopts.h.
	* start/start.S: Formatting changes.
	* startup/bspstart.c: Updated to use the shared BSP support.
2008-06-11 08:03:50 +00:00
Chris Johns 3aac2db317 2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs,
	clock/clock.c, configure.ac, console/console.c, gdb-init,
	include/bsp.h, include/bspopts.h.in, include/coverhd.h,
	include/tm27.h, preinstall.am, start/start.S, startup/bspclean.c,
	startup/bspstart.c, startup/cfinit.c, startup/init52235.c,
	startup/linkcmds, timer/timer.c: New.
2008-06-11 07:59:03 +00:00
Joel Sherrill 913b3a2770 2008-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.c: Add units.
2008-06-10 18:53:21 +00:00
Ralf Corsepius 7e851f9236 Upgrade to gcc-4.3.1 2008-06-09 14:31:19 +00:00