Commit Graph
18544 Commits
Author SHA1 Message Date
Till Straumann 7347b0d9b4 2007-03-20 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h, startup/bspstart.c: confdefs.h now wants
	us to use BSP_INTERRUPT_STACK_SIZE instead of
	CONFIGURE_INTERRUPT_STACK_MEMORY. Removed reference to
	CONFIGURE_INTERRUPT_STACK_MEMORY from bspstart.c
2008-03-21 06:38:04 +00:00
Till Straumann 49bce16b2d 2008-03-20 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeTsi148.c: type of 5th argument
	to pci_read_config_dword() is now uint32_t*.
2008-03-21 06:30:52 +00:00
Till Straumann 73c7cf1e10 2008-03-19 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c: install pointer
	to rtems_malloc_sbrk_helpers_table. This (and derived)
	BSPs rely on sbrk delivering even the first/initial
	chunk of memory.
2008-03-20 19:10:03 +00:00
Till Straumann d56c6783e5 2008-03-20 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: don't disable irqs
	at the interrupt controller (PIC) during initialization -- this
	caused problems where some BSPs's BSP_disable_irq_at_pic() routine
	did not ignore IRQ lines associated with cascaded PICs.
	Rely on the BSP (BSP_setup_the_pic()) to provide a good
	initial setup.
2008-03-20 19:08:52 +00:00
Ralf Corsepius b0fc2ec5a7 Add mpfr. 2008-03-20 11:54:54 +00:00
Ralf Corsepius 229f500a9e New. 2008-03-20 11:54:34 +00:00
Ralf Corsepius 0d4551f235 Add gmp. 2008-03-20 09:27:08 +00:00
Ralf Corsepius 4ae0edf615 New. 2008-03-20 09:26:44 +00:00
Ralf Corsepius f9dff196e8 Disable debug_package for cygwin. 2008-03-20 07:01:06 +00:00
Till Straumann 8e8614442b 2008-03-19 Till Straumann <strauman@slac.stanford.edu>
* shared/console/console.c, shared/console/uart.c,
	shared/console/uart.h: added support for task-driven
	console.
2008-03-20 06:50:14 +00:00
Till Straumann e6c4e669bc 2008-03-19 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c: install pointer
	to rtems_malloc_sbrk_helpers_table. This (and derived)
	BSPs rely on sbrk delivering even the first/initial
	chunk of memory.
2008-03-20 04:18:15 +00:00
Ralf Corsepius 310132c304 Add _libdir for cygwin. 2008-03-20 04:04:44 +00:00
Ralf Corsepius 28904d4152 Add cygwin optflags hack. 2008-03-20 04:03:34 +00:00
Ralf Corsepius fc7d623f77 Use %__tar instead of /usr/bin/star. 2008-03-20 04:02:31 +00:00
Ralf Corsepius a0291e05f4 Rename Source60 into Source70. 2008-03-19 17:07:56 +00:00
Ralf Corsepius 5a63a1e176 Upgrade to cygwin-1.5.25-11, w32api-3.11-1. 2008-03-19 12:48:48 +00:00
Till Straumann bf1b08c14e 2008-03-17 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeTsi148.c: Initialize VME Master
	'VTON' timer and bus-release policy to less aggressive
	values than the chip's defaults. The default VTON easily
	overrides any settings used by the DMA engine.
2008-03-19 00:19:44 +00:00
Ralf Corsepius 5589eac07b Add %{_bindir} to PATH to cater CdnX-builds.
Set CFLAGS_FOR_BUILD.
2008-03-18 06:12:40 +00:00
Ralf Corsepius 7940f9678f Add %{_bindir} to PATH to catter CdnX-builds. 2008-03-18 06:11:17 +00:00
Ralf Corsepius 1fb6a01539 BR: @rpmprefix@%{_host}-gcc for CdnX-builds. 2008-03-18 06:09:42 +00:00
Ralf Corsepius 18f7bf5aa0 Set CFLAGS_FOR_BUILD and CC for CdnX-builds. 2008-03-18 05:39:21 +00:00
Ralf Corsepius 368708b768 BR: @rpmprefix@@tool_target@-gcc and @rpmprefix@%{_host}-gcc for CdnX-builds. 2008-03-18 05:37:40 +00:00
Ralf Corsepius 7da626b0d0 BR: @rpmprefix@@tool_target@-gcc-c++ for CdnX-builds. 2008-03-18 05:36:13 +00:00
Ralf Corsepius 5431a7179a Bump RPMRELS. Sync with rtems-4-8-branch. 2008-03-14 16:14:48 +00:00
Ralf Corsepius d06b28e38a Fix typo. 2008-03-14 16:05:12 +00:00
Ralf Corsepius 211c22ebe9 Regenerate. 2008-03-14 15:34:59 +00:00
Till Straumann 35506215c9 2008-03-13 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/README,
	new-exceptions/bspsupport/ppc_exc_hdl.c:
	Thomas Doerfler clarified (thanks!) that raising an
	exception and executing the 1st instruction is not
	an atomical operation. I added a fix to the code that
	checks if a lower-priority interrupt is under way:
	we now not only test if the 'lock' variable was set
	but also check if the interrupted PC points to the
	'write lock' instruction.
	Added more comments and updated README.
2008-03-13 19:28:33 +00:00
Joel Sherrill bd7a91b01a 2008-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Fix typo.
2008-03-12 22:05:13 +00:00
Joel Sherrill 9d7739369f 2008-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/cmds.c: Directly register the command structure to
	avoid unnecessary duplication of static strings. We know best this
	time.
2008-03-12 16:20:07 +00:00
Joel Sherrill 66a9381db4 2008-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* leaf.cfg, custom/pc386.cfg, custom/pc386dx.cfg: It appears that the
	default processor model optimization has changed in gcc 4.3.0.
2008-03-12 15:24:46 +00:00
Till Straumann d0014c7545 2008-03-11 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix;
	need to crand not cror when testing lower priority locks
	during machine-check handling.
2008-03-12 05:17:13 +00:00
Ralf Corsepius dcd4562ca6 Add binutils-patch. 2008-03-12 03:25:39 +00:00
Ralf Corsepius 672465e162 New. 2008-03-12 03:24:11 +00:00
Joel Sherrill 2f99eeb035 2008-03-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Do not reserve 2 * minimum stack size
	for the ITRON initialization tasks ALL the time.
	Do not reserve memory for the object name table since it does not
	exist any longer.
	* sapi/include/rtems/sptables.h: Fix typo.
2008-03-11 20:59:58 +00:00
Joel Sherrill 04b1660769 2008-03-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Update version.
2008-03-11 20:52:02 +00:00
Joel Sherrill 3617ebe66f 2008-03-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg: Switch to explicit .exe instead of EXEEXT to get it to
	work. Primarily move the executable transformation rules to leaf.cfg.
2008-03-11 20:51:33 +00:00
Joel Sherrill b1a66feaa3 2008-03-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/av5282.cfg, custom/bare.cfg, custom/default.cfg,
	custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/idp.cfg,
	custom/mbx8xx.cfg, custom/mcf5235.cfg, custom/mcp750.cfg,
	custom/mrm332.cfg, custom/mtx603e.cfg, custom/mvme136.cfg,
	custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg,
	custom/mvme167.cfg, custom/mvme2100.cfg, custom/mvme2307.cfg,
	custom/mvme3100.cfg, custom/mvme5500.cfg, custom/nios2_iss.cfg,
	custom/pc386.cfg, custom/posix.cfg, custom/score603e.cfg,
	custom/sim68000.cfg, custom/simcpu32.cfg, custom/ss555.cfg,
	custom/ts_386ex.cfg, custom/uC5282.cfg, custom/virtex.cfg: Switch to
	explicit .exe instead of EXEEXT to get it to work.
2008-03-11 20:50:58 +00:00
Joel Sherrill 3c769d9bb3 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* runtest.in: Skip all fatal error tests.
2008-03-11 20:17:23 +00:00
Joel Sherrill 0bac405f59 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* runtest: Skip all fatal error tests.
2008-03-11 20:17:13 +00:00
Joel Sherrill 216f66f604 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: Increase default C Program Heap size to be able to
	run Ada ACATS testsuite.
2008-03-11 20:14:15 +00:00
Joel Sherrill d43dd822c6 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/mptest.ads, mptests/mp02/mptest.ads,
	mptests/mp03/mptest.ads, mptests/mp04/mptest.ads,
	mptests/mp05/mptest.ads, mptests/mp06/mptest.ads,
	mptests/mp07/mptest.ads, mptests/mp08/mptest.ads,
	mptests/mp09/mptest.ads, mptests/mp10/mptest.ads,
	mptests/mp11/mptest.ads, mptests/mp12/mptest.ads,
	mptests/mp13/mptest.ads, mptests/mp14/mptest.ads,
	samples/base_mp/mptest.ads, samples/base_sp/sptest.ads,
	samples/hello/sptest.ads, samples/nsecs/sptest.ads,
	samples/ticker/sptest.ads, sptests/sp01/sptest.ads,
	sptests/sp02/sptest.ads, sptests/sp03/sptest.ads,
	sptests/sp04/sptest.ads, sptests/sp05/sptest.ads,
	sptests/sp06/sptest.ads, sptests/sp07/sptest.ads,
	sptests/sp08/sptest.ads, sptests/sp09/sptest.ads,
	sptests/sp11/sptest.ads, sptests/sp12/sptest.ads,
	sptests/sp13/sptest.ads, sptests/sp14/sptest.ads,
	sptests/sp15/sptest.ads, sptests/sp16/sptest.ads,
	sptests/sp17/sptest.ads, sptests/sp19/sptest.ads,
	sptests/sp20/sptest.ads, sptests/sp22/sptest.ads,
	sptests/sp23/sptest.ads, sptests/sp24/sptest.ads,
	sptests/sp25/sptest.ads, sptests/spname01/spname01.adb,
	tmtests/tm01/tmtest.ads, tmtests/tm02/tmtest.ads,
	tmtests/tm03/tmtest.ads, tmtests/tm04/tmtest.ads,
	tmtests/tm05/tmtest.ads, tmtests/tm06/tmtest.ads,
	tmtests/tm07/tmtest.ads, tmtests/tm08/tmtest.ads,
	tmtests/tm09/tmtest.ads, tmtests/tm10/tmtest.ads,
	tmtests/tm11/tmtest.ads, tmtests/tm12/tmtest.ads,
	tmtests/tm13/tmtest.ads, tmtests/tm14/tmtest.ads,
	tmtests/tm15/tmtest.ads, tmtests/tm16/tmtest.ads,
	tmtests/tm17/tmtest.ads, tmtests/tm18/tmtest.ads,
	tmtests/tm19/tmtest.ads, tmtests/tm20/tmtest.adb,
	tmtests/tm20/tmtest.ads, tmtests/tm21/tmtest.ads,
	tmtests/tm22/tmtest.ads, tmtests/tm23/tmtest.ads,
	tmtests/tm24/tmtest.ads, tmtests/tm25/tmtest.ads,
	tmtests/tm28/tmtest.ads, tmtests/tm29/tmtest.ads,
	tmtests/tmck/tmtest.ads, tmtests/tmoverhd/tmtest.ads:
	Added pragma Convention C as required by gcc > 4.3.
2008-03-11 20:12:52 +00:00
Joel Sherrill a2f56a44eb 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb, rtems.ads: Refactored rtems_clock_get into 5 methods
	which are single purpose and more strongly typed.  They are:
	    rtems_clock_get_tod - Get TOD in Classic API structure
	    rtems_clock_get_tod_timeval - Get TOD in struct timeval
	    rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
	    rtems_clock_get_ticks_since_boot - Get ticks since boot
	    rtems_clock_get_ticks_per_second - Get ticks per second
	Also switch from using 'Unchecked_Access to 'Access.
	Added pragma Convention C as required by gcc > 4.3.
	Changed style of parenthese on subprogram calls to match GNAT.
2008-03-11 20:12:09 +00:00
Joel Sherrill bf6d03d192 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/clock.t: Refactored rtems_clock_get into 5 methods which
	are single purpose and more strongly typed.  They are:
	    rtems_clock_get_tod - Get TOD in Classic API structure
	    rtems_clock_get_tod_timeval - Get TOD in struct timeval
	    rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
	    rtems_clock_get_ticks_since_boot - Get ticks since boot
	    rtems_clock_get_ticks_per_second - Get ticks per second
2008-03-11 20:10:08 +00:00
Joel Sherrill d7d7859166 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Makefile.am, rtems/include/rtems/rtems/clock.h,
	rtems/src/clockget.c:
	* rtems/src/clockgetsecondssinceepoch.c,
	rtems/src/clockgettickspersecond.c,
	rtems/src/clockgettickssinceboot.c, rtems/src/clockgettod.c,
	rtems/src/clockgettodtimeval.c: New files.
	Refactored rtems_clock_get into 5 methods which are single purpose
	and more strongly typed.  They are:
	    rtems_clock_get_tod - Get TOD in Classic API structure
	    rtems_clock_get_tod_timeval - Get TOD in struct timeval
	    rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988
	    rtems_clock_get_ticks_since_boot - Get ticks since boot
	    rtems_clock_get_ticks_per_second - Get ticks per second
2008-03-11 20:07:49 +00:00
Joel Sherrill 85659eeeb6 2008-03-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c,
	libmisc/shell/shell_script.c: Add memset() of getopt_data to
	ensure it is zeroed out each time we use getopt_r().
	* libmisc/shell/shell.c: Do not echo commands if input is not a tty.
	This makes the scripts behave more like UNIX scripts.
2008-03-07 20:09:36 +00:00
Joel Sherrill df96913ae7 2008-03-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/Makefile.am: Make clock_settime() available always just like
	clock_gettime().
2008-03-07 17:41:53 +00:00
Till Straumann 97a40898fc 2008-03-06 Till Straumann <strauman@slac.stanford.edu>
* custom/mvme3100.cfg: Fixed typo, 'endef' not 'endif'.
2008-03-07 05:30:27 +00:00
Joel Sherrill 6087a69257 Make all BSPs use the same rules for invoking gcc and g++ to link an application. Share as much logic as possible for .num file and size information. Let BSPs provide custom rules to tranform executable from linked .exe to downloadable RTEMS Application Loadable File (RALF) .ralf file. 2008-03-06 21:51:01 +00:00
Ralf Corsepius 44cc441d05 Switch back to old GCC_RPMREL versioning scheme. 2008-03-06 15:35:51 +00:00
Ralf Corsepius cd7b673cfb Bump version. 2008-03-06 15:34:40 +00:00