Commit Graph

15152 Commits

Author SHA1 Message Date
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
Joel Sherrill
9c32deb4f4 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds.hsc_cm01,
	startup/linkcmds.mpc8349eamds: Add wildcard to gcc_except_table
	section so programs compiled with gcc 4.3.x can link.
2008-03-03 23:07:10 +00:00
Joel Sherrill
a557bdf6ed 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds.brs5l, startup/linkcmds.icecube,
	startup/linkcmds.pm520: Add wildcard to gcc_except_table section so
	programs compiled with gcc 4.3.x can link.
2008-03-03 23:07:08 +00:00
Joel Sherrill
bdced05eba 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds_ROM: Add wildcard to
	gcc_except_table section so programs compiled with gcc 4.3.x can
	link.
2008-03-03 23:06:30 +00:00
Joel Sherrill
33aa6355d5 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmdsflash, startup/linkcmdsram: Add
	wildcard to gcc_except_table section so programs compiled with gcc
	4.3.x can link.
2008-03-03 23:06:27 +00:00
Joel Sherrill
9e7555e04a 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds.flash: Add wildcard to
	gcc_except_table section so programs compiled with gcc 4.3.x can
	link.
2008-03-03 23:06:26 +00:00
Joel Sherrill
ae5969ebe1 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds.bootp, startup/linkcmds.prom: Add
	wildcard to gcc_except_table section so programs compiled with gcc
	4.3.x can link.
2008-03-03 23:06:24 +00:00
Ralf Corsepius
f0c4cf75b8 Add *_ARG to getopt.c. 2008-03-03 07:40:26 +00:00
Ralf Corsepius
fb974c6ab2 Regenerate. 2008-03-03 06:36:28 +00:00
Ralf Corsepius
d0abb93979 Bump GCC_RPMREL = 10.20080301.2%{?dist}. 2008-03-03 06:35:42 +00:00
Ralf Corsepius
84126da92e Bump GCC_RPMREL = 10.1%{?dist}. 2008-03-03 06:35:07 +00:00
Ralf Corsepius
834a670cd4 Bump GCC_RPMREL = 7%{?dist}. 2008-03-03 06:34:37 +00:00
Ralf Corsepius
94299fd333 Update to newlib-1.16.0-rtems4.9-20080302.diff. 2008-03-03 06:33:49 +00:00
Ralf Corsepius
5df181dbfc Add getopt*_r. 2008-03-03 06:14:59 +00:00
Ralf Corsepius
e2fe8948bf Regenerate. 2008-03-02 06:52:59 +00:00
Ralf Corsepius
3aa2d4016d Update to gcc-4.3.0-RC-20080301. 2008-03-02 06:51:36 +00:00
Joel Sherrill
faa242e89f 2008-02-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/general.t: Add sleep and echo commands.
2008-02-29 23:20:29 +00:00
Joel Sherrill
c2153cfd29 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/.cvsignore, shell/Makefile.am, shell/memory.t,
	shell/preface.texi, shell/shell.texi: Added much information the
	Preface. Created initial version of Configuration and Intialization
	chapter. Links are now complete from start to end of manual.
	* shell/confinit.t: New file.
2008-02-29 00:23:04 +00:00