Commit Graph

15815 Commits

Author SHA1 Message Date
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
Ralf Corsepius
01c1694d75 Add gcc-4.3.1. Abandon gcc-4.2.3. 2008-06-09 07:36:08 +00:00
Ralf Corsepius
22bd52233d Upgrade to gcc-4.3.1. 2008-06-09 07:34:37 +00:00
Ralf Corsepius
ff1a93b36f Do not use string comparisions. 2008-06-09 07:33:25 +00:00
Ralf Corsepius
705c7b040d New. 2008-06-09 07:32:48 +00:00
Joel Sherrill
6826a4c567 2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h, irq/irq.c, irq/irq_init.c, startup/bspclean.c,
	startup/bspstart.c: Slightly better names for IRQ benchmarking. Make
	sure the routines are present all the time.
2008-06-06 21:43:02 +00:00
Joel Sherrill
e5b6bf463b 2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* samples/hello/config.h, sptests/spname01/config.h: These needed
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER.
2008-06-06 20:56:17 +00:00
Joel Sherrill
7bec8d0a9a 2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* started/buildc.t: Add paragraph on see CVS for latest patches.
	* user/conf.t: Add CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE and example
	of how to compute message CONFIGURE_MESSAGE_BUFFER_MEMORY using it.
2008-06-06 20:55:21 +00:00
Joel Sherrill
93e30a2318 2008-06-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/rtmon.t: Change to using new types.
2008-06-06 20:11:22 +00:00
Joel Sherrill
8c8fd64a70 2008-06-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, rtems/include/rtems/rtems/clock.h,
	rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/dpmem.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/include/rtems/rtems/object.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,
	rtems/include/rtems/rtems/types.h, rtems/src/ratemonperiod.c: Improve
	Classic API Doxygen.
2008-06-06 18:03:45 +00:00
Joel Sherrill
ebfd9eaec6 2008-06-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
	score/include/rtems/score/thread.h: Complete previous patch. Add
	typedef for cpu usage statistics.
2008-06-06 16:34:43 +00:00
Joel Sherrill
5fa5185324 2008-06-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c,
	libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c,
	rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
	rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h,
	score/src/threaddispatch.c, score/src/threadinitialize.c,
	score/src/threadtickletimeslice.c: Add typedefs for cpu usage and
	period timing statistics. Also renamed related variables and
	structure members so they are the same whether you are using
	nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t)
	granularity. This lays the groundwork for future cleanup.
2008-06-06 15:44:11 +00:00
Joel Sherrill
f176759649 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, include/m340uart.h: Use new shared
	termios_baud_to_number() routine.
2008-06-05 22:09:39 +00:00
Joel Sherrill
5877cc3af5 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Rework to be more accurate on allocation. In
	particular, there was a report from that Matthew Riek that memory was
	being reserved twice for the IDLE task. This was covering up other
	places that under allocated memory. Before I was done, I had reworked
	the file to be easier to read, maintain and be more accurate.
2008-06-05 14:41:42 +00:00
Joel Sherrill
32caf25fbf 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/isr.h, score/src/isr.c: Use
	CPU_SIMPLE_VECTORED_INTERRUPTS porting parameter to avoid allocating
	memory for vector table.
2008-06-05 14:39:19 +00:00
Joel Sherrill
9d4fa67830 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/wkspace.c: Fix error in comment.
2008-06-05 14:37:21 +00:00
Joel Sherrill
c7fae60091 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/psignal.c: Do not allocate any memory for queued signals if
	the configuration parameter is 0. Before we would end up with an
	allocation of 0 which rounded up and wasted some memory when POSIX
	was configured.
2008-06-05 14:36:11 +00:00
Joel Sherrill
393a861dbd 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/newlibc_exit.c: Only run the fini section on exit if
	the target toolset uses init/fini sections.
2008-06-05 14:33:22 +00:00