Commit Graph

15169 Commits

Author SHA1 Message Date
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
Ralf Corsepius
6a90a4a652 Use binutils-2.18-rtems4.9-20080211.diff. 2008-03-06 15:33:52 +00:00
Ralf Corsepius
d401b14a2e New. 2008-03-06 15:31:20 +00:00
Ralf Corsepius
fcac0c77cb Preps for gcc-4.3.0 final. 2008-03-06 15:30:45 +00:00
Ralf Corsepius
5b5a0dd405 Sync with freebsd7.0. 2008-03-06 05:44:25 +00:00
Ralf Corsepius
28c664d151 Upgrade to binutils-2.18.
Upgrade to gcc-4.2.3.
Activate objc.
2008-03-06 05:42:56 +00:00
Ralf Corsepius
f8ee67eb46 Require gmp and mpfr for gcc > 4.2.0 fortran. 2008-03-06 05:40:03 +00:00
Till Straumann
02d2330fcc 2007-03-05 Till Straumann <strauman@slac.stanford.edu>
* start/start.S, startup/bspstart.c: disable memory-select
	errors early (in start.S) to avoid hangs due to speculative
	memory access (motload maps absent memory in TLBs).
	Remove TLB mappings for which no physical memory is installed
	(bspstart). Enable HID1[RFXE] so that 'core_fault_in' errors
	result in a machine-check rather than stalling the machine.
	Re-enable memory-select errors at this point.
2008-03-06 01:13:43 +00:00
Till Straumann
9621c3a398 2007-03-05 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: add e500/mmu.rel to libbsp_a_LIBADD.
2008-03-06 01:09:14 +00:00
Till Straumann
ed5c4bd04f 2008-03-05 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: bugfix;
	need to andc with irq mask when disabling interrupts.
2008-03-06 00:16:52 +00:00
Ralf Corsepius
07640857b0 Sync with the freebsds. 2008-03-05 05:58:48 +00:00
Joel Sherrill
797df41c3d 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/copyrt.h: Update year.
2008-03-05 03:08:49 +00:00
Joel Sherrill
8ac8cb22a9 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed
	by gcc newer than the 4.3 release series.
2008-03-05 03:07:36 +00:00
Ralf Corsepius
dff0185279 Abandon freebsd6.1. 2008-03-05 03:03:47 +00:00
Ralf Corsepius
5aaa497586 Abandon. 2008-03-05 03:02:54 +00:00
Ralf Corsepius
6b81c78f74 Add freebsd6.3, freebsd7.0 2008-03-05 03:01:37 +00:00
Joel Sherrill
a3ddb08bec 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/main_cp.c,
	libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
	libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c,
	libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c,
	libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c,
	libmisc/shell/shell.c, libmisc/shell/shell.h,
	libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c,
	libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial
	capability to automatically execute a script from the filesystem. Add
	echo command from NetBSD and sleep command.
	* libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c,
	libmisc/shell/shell_script.c: New files.
2008-03-05 02:49:35 +00:00
Ralf Corsepius
905cbd11d7 New. 2008-03-05 02:47:30 +00:00
Ralf Corsepius
610c400cf0 Abandon freebsd6.0 2008-03-05 02:38:07 +00:00
Ralf Corsepius
2301a6445b Abandon. 2008-03-05 02:37:22 +00:00
Ralf Corsepius
01993e1790 Abandon freebsd5.2 2008-03-05 02:35:52 +00:00
Joel Sherrill
bf511e834a 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* gdbstub/rtems-stub-glue.c: Update to use the new
	rtems_object_get_name() service. This simplified the code a bit.
2008-03-03 23:08:49 +00:00
Joel Sherrill
9d0a618698 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds-le, startup/linkcmds-le.coff: Add
	wildcard to gcc_except_table section so programs compiled with gcc
	4.3.x can link.
2008-03-03 23:07:52 +00:00
Joel Sherrill
5926e0a187 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds.sim: Add wildcard to
	gcc_except_table section so programs compiled with gcc 4.3.x can
	link.
2008-03-03 23:07:50 +00:00
Joel Sherrill
d1f57b5f68 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Add wildcard to gcc_except_table section so
	programs compiled with gcc 4.3.x can link.
2008-03-03 23:07:47 +00:00
Joel Sherrill
91c96e1ad9 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/linkcmds: Add wildcard to gcc_except_table section so
	programs compiled with gcc 4.3.x can link.
2008-03-03 23:07:25 +00:00