Commit Graph

15496 Commits

Author SHA1 Message Date
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
Joel Sherrill
d9857c8a8c 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
	has no functional data in the user extension data area structure so
	this disables the definition, allocation and deallocation of that
	structure. If we ever have to add data to it, then it will be easy to
	reenable.
2008-06-05 14:32:14 +00:00
Joel Sherrill
2fd427c792 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Add CPU_SIMPLE_VECTORED_INTERRUPTS porting
	parameter to indicate that the port uses the Simple Vectored
	Interrupt model or the Programmable Interrupt Controller Model. The
	PIC model is implemented primarily in the BSP and it is responsible
	for all memory allocation.
2008-06-05 14:30:07 +00:00
Joel Sherrill
8c444f9a7b 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* tm02/system.h, tm10/system.h: Make configurations more accurate.
2008-06-05 14:24:28 +00:00
Joel Sherrill
86db88d270 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c: Corrections to configuration.
	* sp37/init.c: Correctly invoke rtems_interrupt_disable() body.
	* spsize/size.c: _ISR_Vector_table only exists on architectures
	which use the Simple Vectored Interrupt Model.
2008-06-05 14:23:57 +00:00
Joel Sherrill
5fe0640223 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* minimum/Makefile.am: Link against all managers.
	* minimum/init.c: Use existing confdefs.h macros to turn off more
	this test does not use.
2008-06-05 14:21:38 +00:00
Ralf Corsepius
5a820918f1 Remove. 2008-06-05 02:53:52 +00:00
Joel Sherrill
d8d373a1f2 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/objectgetinfo.c, score/src/objectidtoname.c,
	score/src/threadget.c: Make sure the pointer to the API object table
	is valid before derefencing it.
2008-06-04 23:05:37 +00:00
Joel Sherrill
e51cf6db88 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/tm27.h: New file. Stub version of tm27 support.
2008-06-04 23:04:18 +00:00
Joel Sherrill
14a80d03f9 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, preinstall.am: Need cplb.h
2008-06-04 23:03:51 +00:00
Joel Sherrill
6a325800c0 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, preinstall.am: Need tm27.h
2008-06-04 23:03:37 +00:00
Ralf Corsepius
1f5ac415ac Bump GCC_RPMREL. 2008-06-04 17:35:06 +00:00
Ralf Corsepius
37fe6ecb46 Upgrade to binutils-20080523-1. 2008-06-04 15:46:08 +00:00
Joel Sherrill
5a5bfea588 2008-06-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Use a constant for CPU_STACK_MINIMUM_SIZE so it
	can be used in cpp expressions. Using sizeof() requires actually
	compiling the file.
2008-06-04 14:55:01 +00:00
Ralf Corsepius
19fc33907f Add hack to adjust n/ncr260vt300wpp 2008-06-04 10:55:45 +00:00
Ralf Corsepius
b51c8b0690 Bump ncurses RPMREL. 2008-06-04 10:49:18 +00:00
Ralf Corsepius
704d9efbe9 BR/R: terminfo 2008-06-04 10:48:42 +00:00
Ralf Corsepius
56059395f1 Add hack to adjust Eterm-color 2008-06-04 10:45:51 +00:00
Ralf Corsepius
5743475ca3 Add hack to adjust Eterm-color 2008-06-04 10:41:56 +00:00
Ralf Corsepius
a53c42af01 New. 2008-06-04 10:23:46 +00:00