Compare commits

...

2598 Commits
4.8.0 ... 4.9.5

Author SHA1 Message Date
Joel Sherrill
3601c29054 Ada getting started is gone. 2011-02-09 19:42:40 +00:00
Joel Sherrill
05ee8695eb Upgrade to 4.9.5 2011-02-09 18:16:33 +00:00
Joel Sherrill
f777f02428 2011-02-09 Joel Sherrill <joel.sherrilL@OARcorp.com>
* setup.def, common/cpright.texi: Update dates.
2011-02-09 17:31:32 +00:00
Joel Sherrill
3547ed63d8 2011-01-21 Eric Norum <wenorum@lbl.gov>
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
2011-01-21 19:40:37 +00:00
Joel Sherrill
9aff0a7946 2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, configure.ac, common/cpright.texi, common/rtems.texi.in,
	cpu_supplement/.cvsignore, started/Makefile.am, started/binaries.t,
	started/buildc.t, started/buildrt.t, started/intro.t,
	started/nextstep.t, started/nt.t, started/require.t,
	started/sample.t, started/started.texi: Major update which includes
	removal of references to specific tool versions and patches.
	* started/tversions.texi.in: Removed.
2010-12-16 20:54:34 +00:00
Joel Sherrill
84d67445f4 2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, configure.ac, develenv/direct.t: Remove Getting Started
	with GNAT/RTEMS.
	* started_ada/.cvsignore, started_ada/Makefile.am,
	started_ada/buildada.t, started_ada/gdb.t, started_ada/intro.t,
	started_ada/require.t, started_ada/sample.t,
	started_ada/started_ada.texi, started_ada/tversions.texi: Removed.
2010-12-16 20:42:23 +00:00
Joel Sherrill
700db92f0b 2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* SUPPORT: Update address.
2010-12-16 19:00:24 +00:00
Joel Sherrill
69d6686f4a 2010-11-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, preinstall.am: Add <bsp/tty_drv.h> to the set of
	installed .h files.
2010-11-23 18:41:53 +00:00
Joel Sherrill
9d2c281e2e 2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1718/cpukit
	* sapi/include/confdefs.h: POSIX threads are allocated twice the
	minimum stack space by default. confdefs.h only accounts for one
	minimum -- not the 2x factor.
2010-11-16 19:14:29 +00:00
Joel Sherrill
c4c3a1c3db 2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1717/cpukit
	* libcsupport/src/gxx_wrappers.c: Free memory on error.
2010-11-16 18:52:14 +00:00
Joel Sherrill
15d89e0500 2010-11-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1716/doc
	* user/concepts.t: print_name example used a variable which did not
	match the name of the passed in parameter.
2010-11-11 14:01:43 +00:00
Joel Sherrill
b9803bdeae 2010-11-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1714/doc
	* user/datatypes.t: Add missing description of rtems_status_codes.
2010-11-01 15:58:12 +00:00
Ralf Corsepius
47ce12c534 2010-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1708/build:
	* aclocal/check-cpuopts.m4: Fix m4-quoting.
2010-10-01 17:00:52 +00:00
Ralf Corsepius
101b1893ab 2010-09-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.
2010-09-23 14:51:33 +00:00
Joel Sherrill
913549fa12 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1693/filesystem
	* libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was
	checking incorrect pointer and thus had dead code.
2010-08-27 17:43:01 +00:00
Joel Sherrill
48dba6ee86 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1692/filesystem
	* libcsupport/include/rtems/libio.h, libfs/src/imfs/imfs_eval.c: Fix
	implementation and use of rtems_libio_is_valid_perms().
2010-08-27 17:33:23 +00:00
Till Straumann
66eaf3d9ce 2010-08-25 Till Straumann <strauman@slac.stanford.edu>
PR 1689/bsps
	* shared/flash/intelFlash.c: Scale erase timeout by actual
	system clock rate rather than assuming a fixed value.
2010-08-25 22:29:55 +00:00
Joel Sherrill
ca07e7db38 2010-06-21 Peter Dufault <dufault@hda.com>
PR 1570/cpukit
	* posix/src/semtimedwait.c: This routine is supposed to return -1/errno
	NOT the status directly.
2010-06-21 16:38:40 +00:00
Joel Sherrill
9511a0ab23 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1554/cpukit
	Coverity Id 17
	* libi2c/libi2c.c: Fix memory leak on error.
2010-06-21 16:27:23 +00:00
Joel Sherrill
219298adde 2010-06-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1568/doc
	* user/intr.t: Fix list of services callable from ISR.
2010-06-16 19:34:19 +00:00
Thomas Doerfler
26ed1e6a06 backport of access macros for indexed resources 2010-06-03 20:27:14 +00:00
Joel Sherrill
633ee2ddf9 2010-05-18 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1520/doc
	* user/part.t: Partition create discussion said it returned the number
	of buffers created but it does not.
2010-05-18 13:41:58 +00:00
Joel Sherrill
61a61c0fa1 Upgrade to 4.9.4 2010-03-18 14:02:28 +00:00
Joel Sherrill
f303ccc887 Fix spacing. 2010-03-18 13:55:33 +00:00
Chris Johns
2dbdec0955 2010-03-17 Chris Johns <chrisj@rtems.org>
* libfs/src/dosfs/msdos_create.c: Fix the date/time call order to
        'msdos_date_unix2dos'.
2010-03-16 21:28:07 +00:00
Eric Norum
a76b9d7048 Fix hex constants. 2010-03-16 15:53:26 +00:00
Ralf Corsepius
ea56621ac6 Remove. 2010-03-11 15:05:17 +00:00
Joel Sherrill
f1c5a5228f 2010-03-10 Gedare Bloom <gedare@gwu.edu>
PR 1495/bsp
	* clock/ckinit.c: Calling rtems_clock_get_uptime() in a tight loop
	sometimes showed time moving backwards.
2010-03-10 17:16:11 +00:00
Joel Sherrill
4f112b821a 2010-03-10 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1497/bsps
	* startup/bspclean.c: Do not enable interrupts while waiting for board
	to reset.
2010-03-10 16:39:01 +00:00
Till Straumann
d7b700d808 2010-02-01 Till Straumann <strauman@slac.stanford.edu>
PR 1492/bsps
	* shared/startup/sbrk.c: When BSP_sbrk_policy had the value (-1)
	(-> give all memory to the heap initially) then the computation
	of the remaining heap size was wrong.
2010-02-01 18:49:13 +00:00
Joel Sherrill
8e297158c2 2010-01-11 Marc Pignat <marc.pignat@hevs.ch>
PR 1490/doc
	* user/clock.t: Fix typo. rtems_clock_get_ticks_per_second not
	rtems_clock_get_ticks_per_seconds.
2010-01-11 16:17:44 +00:00
Ralf Corsepius
2d0c8a5b62 Update. 2010-01-11 13:02:45 +00:00
Ralf Corsepius
3a03bdcbdf Update. 2010-01-11 13:02:09 +00:00
Ralf Corsepius
1139b11a8c Update. 2010-01-11 13:01:28 +00:00
Ralf Corsepius
23226d1a38 Sync with CVS-HEAD. 2010-01-11 12:36:36 +00:00
Ralf Corsepius
217f347bc3 Add INSTALL. 2010-01-11 12:34:44 +00:00
Ralf Corsepius
f08ecf0eed Remove. 2010-01-11 12:34:31 +00:00
Glenn Humphrey
33bdd10ef2 2009-12-11 Glenn Humphrey <glenn.humphrey@OARcorp.com>
PR 1481/cpukit
	* rtems/src/ratemonperiod.c: Moved check for cpu usage being smaller
	than when period initiated.
2009-12-11 22:03:35 +00:00
Joel Sherrill
a06a3f712d 2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1482
	* posix/src/timersettime.c: Exit dispatching critical section.
2009-12-10 22:15:26 +00:00
Joel Sherrill
7af806ac22 2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1480/cpukit
	* rtems/src/ratemonperiod.c: Use _Rate_monotonic_Update_statistics()
	when period is expired, not _Rate_monotonic_Initiate_statistics().
	The cound of missed periods was never updated.
2009-12-10 20:23:09 +00:00
Ralf Corsepius
d258d355e8 Upgrade to automake-1.10.3 2009-12-09 09:29:27 +00:00
Joel Sherrill
b07d4453bf 2009-12-07 Cindy Cicalese <cicalese@mitre.org>
PR 1477/cpukit
	* score/src/objectsetname.c: Ensure destination is NULL terminated.
	String copy was not getting the NULL.
2009-12-07 17:27:07 +00:00
Ralf Corsepius
ef0bb7653b Regenerate. 2009-11-27 10:31:33 +00:00
Ralf Corsepius
3979832fed Bump GCC_RPMREL. 2009-11-27 10:30:50 +00:00
Ralf Corsepius
12fcc89207 Update. 2009-11-27 10:29:53 +00:00
Ralf Corsepius
96566954ee Eliminate g77, f95.
Add fortran.
2009-11-27 10:21:05 +00:00
Ralf Corsepius
eb714e6b8c Elminate build_gfortran. 2009-11-27 10:20:12 +00:00
Ralf Corsepius
99c0b19b81 Eliminate g77 2009-11-27 07:17:05 +00:00
Ralf Corsepius
28dd349833 Eliminate g77 2009-11-27 07:13:21 +00:00
Ralf Corsepius
3415fab7dd Sync with rtems4.10. 2009-11-27 06:56:20 +00:00
Joel Sherrill
c29dc1f758 Upgrade to 4.9.3 2009-11-13 16:21:53 +00:00
Joel Sherrill
e9e5234b92 2009-11-11 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1471/cpukit
	* libmisc/cpuuse/cpuusagereport.c: Rework statement to ensure 64-bit
	multiplication is used to avoid overflow with intermediate value.
2009-11-11 16:27:56 +00:00
Ralf Corsepius
e067753e6d Regenerate. 2009-11-11 15:16:46 +00:00
Ralf Corsepius
c1a7a9e444 Bump GDB_RPMREL. 2009-11-11 15:16:08 +00:00
Ralf Corsepius
ed71047f5e gdb-6.8-rtems4.9-20091111.diff 2009-11-11 15:14:45 +00:00
Ralf Corsepius
3ba8469f7b New. 2009-11-11 15:13:58 +00:00
Ralf Corsepius
001b4e5a53 Rework system_readline hacks 2009-11-11 15:11:23 +00:00
Joel Sherrill
c73cab2813 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1468/cpukit
	* score/src/timespecdividebyinteger.c: Rework statement to ensure
	64-bit multiplication is used.
2009-11-10 23:29:55 +00:00
Joel Sherrill
bdf5417eaa 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1462/cpukit
	* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c: Fine
	tune previous patch after analysis in application.
2009-11-10 23:27:01 +00:00
Till Straumann
9fb27e38c2 2009-11-09 Till Straumann <strauman@slac.stanford.edu>
PR 1469/cpukit
	* cpu.c: Add dummy entry for (non-existing) exception #15.
	Otherwise all slots for vectors >= 16 are one element off.
2009-11-10 04:03:39 +00:00
Joel Sherrill
f7c285e6ca 2009-10-30 Glenn Humphrey <glenn.humphrey@oarcorp.com>
PR pr1462/cpukit
	* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
	rtems/src/ratemontimeout.c: Fix bugs in rate monotonic statistics.
2009-10-30 17:54:15 +00:00
Till Straumann
1c2ea24536 2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: Bugfix. Broadcast address was declared
	uint8_t instead of uint8_t [8].
2009-10-20 17:13:54 +00:00
Joel Sherrill
fb557a90c7 2009-10-16 Jennifer Averett <jennifer@OARcorp.com>
* Makefile.am, configure.ac, preinstall.am, console/alloc360.c,
	console/config.c, console/console.c, console/m68360.h,
	console/mc68360_scc.c, console/rsPMCQ1.c, console/rsPMCQ1.h,
	include/bsp.h, irq/irq_init.c, irq/openpic_xxx_irq.c, start/start.S,
	startup/bspstart.c, startup/linkcmds, vme/VMEConfig.h:
        Updated and tested against RTEMS 4.9. Updated README file to latest
        source status. Modified to use the shared irq source code. Turned off
	debugging, cleaned up warnings, removed unused code. Tested with two
	PMCQ1 serial cards. Tested MC68360 serial ports and VME using
	external tests.
	* README, irq/irq.h, vme/vmeconfig.c: New files.
2009-10-16 16:42:03 +00:00
Joel Sherrill
af46ad9bde 2009-10-16 Jennifer Averett <jennifer@OARcorp.com>
* configure.ac: Default to having PSC8 mezzanine so code builds
	all the time.
	* startup/bspstart.c: Calibrated clock using an VMEBus controlled
	discrete pulsed at a 20ms rate.
2009-10-16 16:22:26 +00:00
Joel Sherrill
79df9d0473 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* mpc6xx/mmu/bat.c: Resolved bug: It is not an overlap if the batindex
	being set is the batindex of the overlap.
2009-10-16 16:12:42 +00:00
Joel Sherrill
17d5afe1c8 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* shared/include/io.h: Backport change from extern inline to static
	inline from head to avoid multiple definitions.
2009-10-16 16:11:31 +00:00
Joel Sherrill
77c103d606 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* startup/bspstart.c: Add bsp_clicks_per_usec.
2009-10-16 16:09:09 +00:00
Joel Sherrill
774aade601 2009-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Correct type of rtems_malloc_dirty_helper so
	usable.
2009-10-15 18:56:17 +00:00
Joel Sherrill
9943fac266 2009-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/rtems/malloc.h: Correct type of
	rtems_malloc_dirty_helper so usable.
2009-10-15 18:55:51 +00:00
Till Straumann
b7a6078a99 2009-10-13 Till Straumann <strauman@slac.stanford.edu>
PR 1451/bsps
	* network/tsec.c: Fix mbuf leak when watchdog expires. The
	re-initialization algorithm failed to release mbuf chains
	held in the TX ring.
	Also, during initialization the initial link status is determined
	and IFF_OACTIVE set if no active link was detected.
2009-10-14 00:14:08 +00:00
Ralf Corsepius
c4ad6185c6 Regenerate. 2009-09-23 16:41:27 +00:00
Ralf Corsepius
79c05a8cee New. 2009-09-23 16:38:51 +00:00
Ralf Corsepius
1afc7e05c2 Bump GDB_RPMREL. 2009-09-23 16:38:07 +00:00
Ralf Corsepius
81ddf5938d gdb-6.8-rtems4.9-20090923.diff 2009-09-23 16:37:46 +00:00
Ralf Corsepius
48569c7464 Regenerate. 2009-09-23 11:13:58 +00:00
Ralf Corsepius
002e4a4b34 Bump GDB_RPMREL. 2009-09-23 11:11:30 +00:00
Ralf Corsepius
a87e94df90 Sync with rtems-4.10. 2009-09-23 11:11:04 +00:00
Ralf Corsepius
209fadeaa5 Bump version. 2009-09-23 03:29:58 +00:00
Ralf Corsepius
6e81371002 Sync with rtems-4.10. 2009-09-23 03:29:15 +00:00
Ralf Corsepius
62af225355 Sync with rtems-4.10. 2009-09-23 03:27:24 +00:00
Till Straumann
51022e34d7 2009-09-15 Till Straumann <strauman@slac.stanford.edu>
PR 1344/bsps:
	* clock/ckinit.c: Fix more bugs (applied PR1344/attachment 702):
	TSC handler was used when 8254 was requested and vice versa.
	Also, nanosecond handler was never installed to RTEMS clock.
2009-09-16 00:03:35 +00:00
Ralf Corsepius
986f353e4a 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1441/cpukit
	* libcsupport/src/tcgetprgrp.c: Remove.
	* libcsupport/src/tcgetpgrp.c: New (Renamed from
	  libcsupport/src/tcgetprgrp.c).
	* libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c.
	  Remove libcsupport/src/tcgetprgrp.c.
2009-09-15 06:01:12 +00:00
cvs2git
ab514445be This commit was manufactured by cvs2svn to create branch 'rtems-4-9-branch'.
Cherrypick from master 2009-09-15 05:32:49 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2009-09-15	Ralf Corsépius <ralf.corsepius@rtems.org>':
    c/src/lib/libbsp/arm/gba/console/defaultfont.h
    c/src/lib/libbsp/arm/smdk2410/include/.cvsignore
    c/src/lib/libbsp/m68k/genmcf548x/include/.cvsignore
    c/src/lib/libbsp/m68k/mcf52235/include/.cvsignore
    c/src/lib/libbsp/m68k/mcf5329/include/.cvsignore
    c/src/lib/libbsp/mips/csb350/start/regs.h
    c/src/lib/libbsp/mips/genmongoosev/start/regs.h
    c/src/lib/libbsp/mips/hurricane/liblnk/regs.h
    c/src/lib/libbsp/mips/jmr3904/start/regs.h
    c/src/lib/libbsp/mips/rbtx4925/liblnk/regs.h
    c/src/lib/libbsp/mips/rbtx4938/liblnk/regs.h
    c/src/lib/libbsp/powerpc/mvme3100/include/.cvsignore
    c/src/lib/libbsp/powerpc/virtex/include/.cvsignore
    contrib/crossrpms/autotools/autoconf-sources.add
    contrib/crossrpms/autotools/automake-sources.add
    contrib/crossrpms/patches/gdb-6.5-bfinrtems-20090122.diff
    cpukit/libcsupport/src/tcgetpgrp.c
Cherrypick from master 2008-09-28 16:36:13 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'New.':
    c/src/lib/libbsp/bare/preinstall.am
2009-09-15 05:32:51 +00:00
Till Straumann
689140e885 *** empty log message *** 2009-09-10 21:39:45 +00:00
Till Straumann
048459aeac 2009-09-10 Till Straumann <strauman@slac.stanford.edu>
* shared/misc/m68kidle.c: added "cc" clobber to inline
	asm; STOP instruction modifies CCR!
2009-09-10 21:20:22 +00:00
Joel Sherrill
ff79baf05f 2009-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp46/init.c, sp46/sp46.scn: Fix numbering.
2009-09-09 18:28:00 +00:00
Till Straumann
6597e5839f 2009-09-09 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Added dummy implementation of firmware
	syscalls for use with QEMU. Dummy handler is installed if no
	pre-existing firmware handler is found.
2009-09-09 14:17:10 +00:00
Ralf Corsepius
32b09a90f4 Regenerate. 2009-08-25 05:10:22 +00:00
Ralf Corsepius
038b1fe297 gcc-core-4.3.2-rtems4.9-20090825.diff 2009-08-25 05:09:13 +00:00
Ralf Corsepius
8f0d728900 Bump GCC_RPMREL. 2009-08-25 05:09:00 +00:00
Ralf Corsepius
c64da0b58a avr: Use _exit from newlib 2009-08-25 05:07:55 +00:00
Till Straumann
e8ac5d470e 2009-08-17 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c, network/if_tsec_pub.h:
	Fixed bugs in multicast support; added reference-count
	for hash-table entries which allows for the implementation
	of a 'deletion' routine.
	NOTE: mcast support largely untested.
2009-08-17 14:27:55 +00:00
Ralf Corsepius
8131a3d808 Remove centos-4, tighten up suse, move fedora-9 to centos-5. 2009-08-13 03:29:53 +00:00
Eric Norum
ac1d1bc44d Try enabling the data cache. 2009-07-30 15:48:52 +00:00
Eric Norum
9bfb3c61aa PR 1420/bsps
Turn on buffered writes to DRAM. As Device Errata SECF124 notes this may cause
double writes, but that's not really a big problem and benchmarking tests have
shown that buffered writes do gain some performance.
2009-07-28 19:29:44 +00:00
Ralf Corsepius
80e932432b Regenerate. 2009-07-26 05:56:46 +00:00
Ralf Corsepius
2dcd85d439 Set amvers to 1.10. 2009-07-26 05:56:34 +00:00
Ralf Corsepius
65db3bf822 Sync with rtems-4.10. 2009-07-26 05:11:31 +00:00
Ralf Corsepius
a42ad6379c Don't pass %{?dist} to *_RPM_REL 2009-07-26 05:07:00 +00:00
Ralf Corsepius
118d237d1b Remove. 2009-07-23 09:04:58 +00:00
Ralf Corsepius
80f2a8bca4 Abandon cpukit. 2009-07-23 09:03:07 +00:00
Ralf Corsepius
e808cbd2fc Abandon mingw32. 2009-07-23 09:02:30 +00:00
Ralf Corsepius
38433f53f1 Abandon cygwin, mingw. 2009-07-23 09:01:39 +00:00
Ralf Corsepius
feb6eb60fd Abandon cygwin. 2009-07-23 09:00:39 +00:00
Ralf Corsepius
41d5d5f84b Regenerate. 2009-07-23 08:59:22 +00:00
Ralf Corsepius
a227867dcf Update to newlib-1.16.0-rtems4.9-20090324.diff. 2009-07-23 08:58:59 +00:00
Ralf Corsepius
7f43bed02b Regenerate. 2009-07-23 08:52:26 +00:00
Ralf Corsepius
794e505157 Bump GCC_RPMREL. 2009-07-23 08:51:30 +00:00
Ralf Corsepius
a6a241ecf8 Sync. with rtems-4.10. 2009-07-23 08:45:20 +00:00
Ralf Corsepius
b1f73665d9 Regenerate. 2009-07-21 06:11:40 +00:00
Ralf Corsepius
4a5abe718b Sync with rtems-4.10. 2009-07-21 06:10:41 +00:00
Ralf Corsepius
e71a70665a Bump GDB_RPMREL. 2009-07-21 06:10:18 +00:00
Ralf Corsepius
64181ed2f2 New (Backport from rtems-4.10). 2009-07-21 06:00:05 +00:00
Ralf Corsepius
fb7962d741 Regenerate. 2009-07-21 03:24:18 +00:00
Ralf Corsepius
a9efdc6fde Sync with rtems-4.10. 2009-07-21 03:23:49 +00:00
Ralf Corsepius
cda3317f2b Remove. 2009-07-21 03:22:11 +00:00
Ralf Corsepius
0e7cd63c56 Bump GCC_RPMREL. 2009-07-20 07:49:38 +00:00
Ralf Corsepius
a9c3667f84 Regenerate. 2009-07-20 07:44:48 +00:00
Ralf Corsepius
3985708ff2 Sync with rtems-4.10. 2009-07-20 07:40:32 +00:00
Ralf Corsepius
a7fb589b96 Remove %{?dist} from BINUTILS_RPMREL. 2009-07-20 07:40:01 +00:00
Ralf Corsepius
52dfb3483c Update to gdb-6.8-rtems4.9-20090312.diff. 2009-07-20 07:38:35 +00:00
Ralf Corsepius
eceb1588dd Bump GDB_RPMREL. 2009-07-20 07:38:00 +00:00
Ralf Corsepius
1c6fd3a622 Sync with rtems-4.10 2009-07-20 07:37:06 +00:00
Ralf Corsepius
a181ab011d Regenerate. 2009-07-19 15:20:27 +00:00
Ralf Corsepius
1edb562d79 Bump BINUTILS_RPMREL. 2009-07-19 15:18:25 +00:00
Ralf Corsepius
98311ac7d5 Sync with CVS-HEAD. 2009-07-18 04:44:26 +00:00
Joel Sherrill
bfa85f9bb1 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/region.t: Fix typos where semaphore referenced instead of region
	or segment.
2009-07-02 16:22:20 +00:00
Joel Sherrill
91c679226b 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/preface.texi: Correct list of supported CPU architectures.
2009-07-02 16:12:06 +00:00
Till Straumann
d267f07c14 2009-06-05 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c: silenced compiler warning.
2009-06-06 00:46:55 +00:00
Till Straumann
4488b88530 2009-06-05 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c, network/if_tsec_pub.h:
	added multicast support.
2009-06-06 00:45:57 +00:00
Joel Sherrill
29e867d473 Add PR 1420. 2009-06-03 14:14:25 +00:00
Ralf Corsepius
05b388029f 2009-06-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/assoc.h,
	libcsupport/include/rtems/malloc.h: Add extern "C" {} guards.
	* libcsupport/include/rtems/libio_.h: Move extern "C" {} guards.
2009-06-03 03:40:16 +00:00
Ralf Corsepius
feefa108a4 Move extern "C" {} guards. 2009-06-03 03:40:06 +00:00
Ralf Corsepius
dda372da19 Add extern "C" {} guards. 2009-06-03 03:39:59 +00:00
Eric Norum
7920d156e0 As per Freescale chip errata, disable buffered writes. 2009-06-02 21:13:23 +00:00
Joel Sherrill
ee2e3a1038 2009-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1415/cpukit
	* rtems/src/semcreate.c, rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/coremutex.inl, score/src/coremutex.c:
	Address two paths where a task with a priority above the ceiling
	could obtain a priority ceiling mutex.
2009-05-28 20:38:22 +00:00
Joel Sherrill
ff6b3fe781 2009-05-21 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1413/cpukit
	* rtems/src/timerserver.c: Fix bug where server based timers which
	reinitiated themselves did not get reinserted onto timer chain.
2009-05-21 15:40:00 +00:00
Joel Sherrill
ecf2e42310 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_asm.S: Add shared
	interrupt support to i386.
2009-05-18 17:45:21 +00:00
Joel Sherrill
120f283805 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1412/cpukit
	* score/src/coremutex.c: Add missing braces. Broken with strict mutex
	code added.
2009-05-18 14:47:11 +00:00
Joel Sherrill
f7e4067f3c 2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1411/cpukit
	* rtems/src/workspace.c, score/include/rtems/score/protectedheap.h,
	score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c: Improve
	workspace wrapper methods.
2009-05-13 16:48:22 +00:00
Joel Sherrill
b86d38e4e0 2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.c, network/if_1GHz/POSSIBLEBUG: Removed.
2009-05-08 18:38:30 +00:00
Joel Sherrill
82948ea1b5 2009-05-08 Kate Feng <feng1@bnl.gov>
PR1395/bsps
	* Updated the changes from RTEMS-4.8.0, which were made since Oct. 2007.
	* network/if_1GHz/if_wm.c: fixed some bugs in the 1GHz driver.
	* pci/pci_interface.c:
	  + Enabled PCI "Read", "Read Line", and "Read Multiple"
	  +  Agressive Prefetch to improve the performance of the PCI based
	     applications (e.g. 1GHz NIC).
	* irq/BSP_irq.c : Replaced the irq/irq.c, and used GT_GPP_Value
	register to monitor the cause of the level sensitive interrupts.
	This unique solution solves various bugs in the 1GHz network drivers
	Fixed bugs in compute_pic_masks_from_prio()
	* pci/pci.c : Updated it to be consistent with the original pci.c
	* written by Eric Valette.  There is no change in its function.
	* irq/irq_init.c : set defaultIrq->next_handler to be 0
	* for BSP_SHARED_HANDLER_SUPPORT.
2009-05-08 18:37:08 +00:00
Joel Sherrill
cf599996ba 2009-05-08 Kate Feng <feng1@bnl.gov>
PR1395/bsps
	* Updated the changes from RTEMS-4.8.0, which were made since Oct. 2007.
	* network/if_1GHz/if_wm.c: fixed some bugs in the 1GHz driver.
	* pci/pci_interface.c:
	  + Enabled PCI "Read", "Read Line", and "Read Multiple"
	  +  Agressive Prefetch to improve the performance of the PCI based
	     applications (e.g. 1GHz NIC).
	* irq/BSP_irq.c : Replaced the irq/irq.c, and used GT_GPP_Value
	register to monitor the cause of the level sensitive interrupts.
	This unique solution solves various bugs in the 1GHz network drivers
	Fixed bugs in compute_pic_masks_from_prio()
	* pci/pci.c : Updated it to be consistent with the original pci.c
	* written by Eric Valette.  There is no change in its function.
	* irq/irq_init.c : set defaultIrq->next_handler to be 0
	* for BSP_SHARED_HANDLER_SUPPORT.
2009-05-08 18:22:51 +00:00
Joel Sherrill
ef3a82f655 2009-05-06 Michael Walle <michael@walle.cc>
PR 1409/bsps
	* gdbstub/rtems-stub-glue.c: Print object names correctly.
2009-05-06 14:16:20 +00:00
Jennifer Averett
8e230e6cba 2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>
* new-exceptions/bspsupport/irq_supp.h: Split routine to allow bsps
	with nonstandard/non-existant pics to call with interrupts off.
2009-05-05 16:20:51 +00:00
Jennifer Averett
31a5ec8cb0 2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, README, configure.ac, preinstall.am, PCI_bus/PCI.c,
	PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c, console/85c30.c,
	console/85c30.h, console/console.c, console/consolebsp.h,
	console/tbl85c30.c, include/bsp.h, include/coverhd.h, include/gen2.h,
	include/irq-config.h, include/tm27.h, irq/FPGA.c, irq/irq.h,
	irq/irq_init.c, start/start.S, startup/Hwr_init.c,
	startup/bspstart.c, timer/timer.c, tod/tod.c: Updated and tested with
	the latest powerpc isr source
	* irq/no_pic.c: New file.
	* irq/irq.c, startup/genpvec.c, startup/setvec.c, startup/vmeintr.c: Removed.
2009-05-05 16:18:06 +00:00
Ralf Corsepius
56e12a173e Merge changes from CVS-HEAD addressing Fedora 11 rpm regressions. 2009-04-30 05:08:12 +00:00
Ralf Corsepius
58b52adbd1 Bump version. 2009-04-08 16:13:28 +00:00
Ralf Corsepius
26961759f1 Use mirrorlists. 2009-04-08 16:13:15 +00:00
Ralf Corsepius
b88d42431b Add rtems.eu 2009-04-07 09:25:21 +00:00
Ralf Corsepius
a81f210736 2009-04-02 Ralf Corsépius <ralfcorsepius@rtems.org>
* aclocal/check-rtems-debug.m4: Add missing ','.
2009-04-02 11:50:31 +00:00
Ralf Corsepius
df2afaee80 Backport from CVS-HEAD. 2009-03-30 05:53:04 +00:00
Ralf Corsepius
6be9bc0f28 Regenerate. 2009-03-24 05:15:07 +00:00
Ralf Corsepius
7b32a78efe Remove libc/machine/powerpc/times.c. 2009-03-24 05:14:33 +00:00
Ralf Corsepius
a70ea8027e newlib-1.16.0-rtems4.9-20090324.diff 2009-03-24 05:12:50 +00:00
Ralf Corsepius
6f0ad35745 Bump GCC_RPMREL. 2009-03-24 05:12:30 +00:00
Thomas Doerfler
596bcb6f10 * start/start.S, include/hwreg_vals.h, startup/cpuinit.c:
correct some init values for HSC_CM01 boards
2009-03-19 10:41:46 +00:00
Thomas Doerfler
273003877a * libblock/src/ide_part_table.c: Fixed NULL pointer access. 2009-03-19 10:20:10 +00:00
Joel Sherrill
4cbb5bf902 2009-03-12 Santosh G Vattam <vattam.santosh@gmail.com>
PR 1378/filesystem
	* libfs/src/imfs/deviceio.c: IMFS device lseek should return the
	current offset.
2009-03-12 21:13:25 +00:00
Joel Sherrill
262ce0812c Upgrade to 4.9.2 2009-03-12 17:03:39 +00:00
Joel Sherrill
c51fd29987 2009-03-12 Daniel Hellstrom <daniel@gaisler.com>
PR 1392/bsps
	* libchip/i2c/spi-memdrv.c: SPI Memory driver. Fix but where writes
	over multiple pages results in extra data being written.
2009-03-12 15:43:15 +00:00
Joel Sherrill
ec25c62143 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* ftpd/ftpd.h: Add extern C.
2009-03-12 15:34:38 +00:00
Joel Sherrill
d4311908c8 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1393/cpukit
	* posix/src/mutextranslatereturncode.c: Add entry to table for
	CORE_MUTEX_RELEASE_NOT_ORDER.
2009-03-12 15:32:09 +00:00
Joel Sherrill
ed7383d2c7 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* cpu_asm.S: When the type rtems_boolean was switched to the C99 bool,
	the size changed from 4 bytes to 1 byte. The interrupt dispatching
	code accesses two boolean variables for scheduling purposes and the
	assembly implementations of this code did not get updated.
2009-03-12 14:19:45 +00:00
Joel Sherrill
b38d27a939 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* mpc5xx/irq/irq_asm.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:19:28 +00:00
Joel Sherrill
0ef82c8cfe 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* shared/irq/irq_asm.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:19:11 +00:00
Joel Sherrill
92ce6ac76d 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* irq/irq_asm.S: When the type rtems_boolean was switched to the C99
	bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:17:29 +00:00
Joel Sherrill
952d8f718a 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* startup/exception.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:17:21 +00:00
Ralf Corsepius
1a813d50f5 Regenerate. 2009-03-12 09:48:47 +00:00
Ralf Corsepius
0d00cd53e1 Bump GDB_RPMREL. 2009-03-12 09:48:35 +00:00
Ralf Corsepius
46b86ddd5e gdb-6.8-rtems4.9-20090312.diff 2009-03-12 09:48:17 +00:00
Ralf Corsepius
30a4480fa5 Add psim/configure. 2009-03-12 09:47:45 +00:00
Ralf Corsepius
f6a237b1ec Sync w/ cvs-head. 2009-03-12 09:45:33 +00:00
Joel Sherrill
9cb3851b7d 2009-03-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h: Added missing include.
2009-03-09 17:00:40 +00:00
Joel Sherrill
199db78eed 2009-03-09 Antoine Lacroix <antoine.lacroix at sodern.fr>
PR 1391/bsps
	* startup/spurious.c: Format was %d but had leading 0x.
2009-03-09 16:53:45 +00:00
Joel Sherrill
a816fcf174 2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/tm27.h: Add include rtems/powerpc/powerpc.h
2009-03-09 16:26:55 +00:00
Joel Sherrill
64504e971d 2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1376/filesystem
	* libcsupport/include/rtems/libio.h, libfs/src/dosfs/fat_file.c,
	libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_dir.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/imfs/deviceio.c,
	libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_directory.c,
	libfs/src/imfs/memfile.c, libfs/src/nfsclient/src/nfs.c: lseek
	handlers should return off_t.
2009-03-09 14:12:58 +00:00
Eric Norum
c933a3d6b9 Clean up mishaps arising from multiple folks trying to fix the same problem.
This version matches the trunk.
2009-03-05 22:43:24 +00:00
Till Straumann
8cb4b08aea 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: removed legacy code (inherited
	from old mvme2307 BSP) -- for testing trapping into
	PPCBug -- which is irrelevant on this BSP.
	Removed warning about SPRG0 having been reassigned
	-- this BSP is OK.
2009-03-05 21:20:59 +00:00
Till Straumann
dec6367305 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* bootcard.c: use aligned heap_start (instead of
	original heap_start) when calculating default heap
	size (to take into account loss due to alignment).
2009-03-05 21:11:36 +00:00
Thomas Doerfler
f1f7563ae8 * shared/clock/clock.c: Standard decrementer exception is now more
robust against erroneous external exception disable times.
2009-03-05 13:45:57 +00:00
Joel Sherrill
cb54e10686 2009-03-02 Till Straumann <strauman@slac.stanford.edu>
PR 1375/bsps
	* clock/clock.c: Correct implementation of nanoseconds since last tick
	handler.
2009-03-02 18:57:20 +00:00
Joel Sherrill
73d1f0799f 2009-03-02 Daniel Hellstrom <daniel@gaisler.com>
PR 1390/bsps
	* startup/linkcmds: Fix sections so C++ global constructors and
	destructors work with late model (>= 4.3) gcc versions.
2009-03-02 17:28:45 +00:00
Joel Sherrill
beda88f83c 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* cdtest/main.cc: Use printk() in global destructors since printf() no
	longer works.
2009-03-02 17:28:35 +00:00
Joel Sherrill
66c25d4e07 2009-03-02 Ray Xu <rayx.cn@gmail.com>
PR 1380/bsps
	* include/bsp.h: Switch to English comments.
2009-03-02 17:03:05 +00:00
Joel Sherrill
15fa865c29 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* sp09/screen05.c, sp09/screen09.c, sp09/sp09.scn: Classic Semaphores
	allow both priority inherit and ceiling attributes to be set on
	semaphore create. These attributes are mutually exclusive and this
	should be an error.
2009-03-02 16:13:08 +00:00
Joel Sherrill
fe91be3678 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* rtems/src/semcreate.c: Classic Semaphores allow both priority inherit
	and ceiling attributes to be set on semaphore create. These
	attributes are mutually exclusive and this should be an error.
2009-03-02 16:13:00 +00:00
Joel Sherrill
dc5da2289c 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove unnecessary copy of cpu_asm.S
	* console/Modif_cpu_asm.S: Removed.
2009-02-27 19:20:41 +00:00
Joel Sherrill
108a2e7421 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1387/doc
	* user/intr.t: Add Interrupt Manager services to list of services
	callable from ISR.
2009-02-27 16:02:34 +00:00
Joel Sherrill
432ddefbcd 2009-02-27 Daniel Hellstrom <daniel@gaisler.com>
PR 1386/bsps
	* shared/start.S: Stack space not correctly initialized. Causes
	failures on unoptimized applications.
2009-02-27 15:33:16 +00:00
Joel Sherrill
06ff7d223c 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1371/bsps
	* network/network.c: mvme167 network driver buggy.
2009-02-17 18:37:14 +00:00
Joel Sherrill
3017689211 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1371/bsps
	* custom/mvme167.cfg: mvme167 needs to convert ELF -> pure binary RALF.
2009-02-17 18:35:15 +00:00
Joel Sherrill
c8dcab1e75 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1370/bsps
	* console/console.c: mvme167 console driver BSP_output_char fails to
	convert \n -> \n\r
2009-02-17 18:32:44 +00:00
Joel Sherrill
35c7648e9d 2009-02-17 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1377/shell
	* libmisc/shell/main_netstats.c: Remove #if 0 which should not have
	been there anyway.
2009-02-17 15:09:50 +00:00
Joel Sherrill
5e1fd51c99 2009-02-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/uC5282.cfg: Add cvs Id.
2009-02-17 14:37:23 +00:00
Joel Sherrill
89e2082c24 2009-02-11 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1374/misc
	* libmisc/stackchk/check.c: Fix printk formatting string.
2009-02-11 19:34:27 +00:00
Joel Sherrill
07d8cc542f 2009-02-11 Matt Rippa <mrippa@gemini.edu>
PR 1352/bsps
	* shared/console/reboot.c, shared/motorola/motorola.c: Include support
	for mvme2600/mvme2700.
2009-02-11 16:37:14 +00:00
Joel Sherrill
9c266d2d82 2009-02-11 Till Straumann <strauman@slac.stanford.edu>
PR 1369/bsps
	* Makefile.am, configure.ac: Fix name clashes when using MC68040 fpsp
	floating-point emulation.
2009-02-11 16:20:10 +00:00
Ralf Corsepius
00ac31c43c 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove stray % from '*startfile:' having crept in
	previous patch.
2009-02-11 07:25:48 +00:00
Ralf Corsepius
6cd53b29ea Sync with CVS-HEAD. 2009-02-07 09:26:19 +00:00
Ralf Corsepius
bdf53bd4c8 Regenerate. 2009-02-07 09:22:02 +00:00
Ralf Corsepius
c8d8a706dd Add NEWLIB_PKGVERS, NEWLIB_RPMREL. 2009-02-07 09:16:48 +00:00
Ralf Corsepius
8ec3c96cf9 Bump GCC_RPMREL.
Add NEWLIB_PKGVERS, NEWLIB_RPMREL.
2009-02-07 09:16:16 +00:00
Ralf Corsepius
58a6716bd4 newlib-1.16.0-rtems4.9-20090207.diff 2009-02-07 09:15:24 +00:00
Ralf Corsepius
deb0a5a365 Remove newlib/libc/include/sched.h. 2009-02-07 08:56:59 +00:00
Ralf Corsepius
5e7c1849be 2009-02-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Change SIX_MONTHS to time_t.
2009-02-05 05:22:38 +00:00
Thomas Doerfler
8ffe14563e * libnetworking/lib/ftpfs.c: Enable write and mount filesystem
with read-write access.
2009-02-04 17:14:06 +00:00
Ralf Corsepius
a039f846db 2009-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_ppp.h: Eliminate pppattach,  pppintr
	  (Unused).
	* libnetworking/net/if_ppp.c: Eliminate pppintr (Unused).
2009-02-04 15:53:04 +00:00
Ralf Corsepius
3ee0c3646b Eliminate pppintr (Unused). 2009-02-04 15:52:55 +00:00
Ralf Corsepius
7d365f6f5c Eliminate pppattach, pppintr (Unused). 2009-02-04 15:52:41 +00:00
Joel Sherrill
9ae7cd5237 2009-01-29 Nickolay Semyonov-Kolchin <nbkolchin@gmail.com>
PR 1359/cpukit
	* libcsupport/src/libio.c: rtems_libio_allocate:
	rtems_libio_iop_freelist incorrectly zeroed on semaphore error. Now
	checks error and does not modify anything until sure it has created
	semaphore.
2009-01-29 17:18:50 +00:00
Joel Sherrill
16bb8afbb1 2009-01-29 Gene Smith <gene.smith@siemens.com>
PR 1363/filesystem
	* libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written
	correctly in FAT f/s data.
2009-01-29 16:13:17 +00:00
Joel Sherrill
1813d94c7a 2009-01-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bsp_howto/console.t: Clarify interrupt transmit process.
	* user/concepts.t: Typo.
2009-01-29 14:57:28 +00:00
Joel Sherrill
897a86c454 2009-01-29 Eric Norum <norume@aps.anl.gov>
PR 1364/cpukit
	* libcsupport/src/gxx_wrappers.c: Fix compilation problems when
	diagnostics enabled.
2009-01-29 14:32:51 +00:00
Joel Sherrill
0e2f369c0e 2009-01-21 Nickolay Kolchin <nbkolchin@gmail.com>
Joel Sherrill <joel.sherrill@oarcorp.com>

	PR 1357/cpukit
	* rtems/src/tasks.c: Ensure creating a task with no ASR is honored.
2009-01-21 20:48:07 +00:00
Joel Sherrill
10fca441e0 2009-01-21 Frank Ueberschar <frank.ueberschar@dsa-volgmann.de>
PR 1354/bsps
	* network/network.c: In some cases it can occur that an empty mbuf is
	put on the descriptor chain. (We found it especially then when
	transmitting fragmented IP Packets.) Since the actual buffer
	descriptor pointer will be incremented after every inserted mbuf
	(txBd = sc->txBdBase + sc->txBdHead;) even if m->m_len of the current
	mbuf was zero. This leads to the bug.
2009-01-21 18:18:19 +00:00
Joel Sherrill
3a7df182ef 2009-01-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/i2c/spi-sd-card.c: Fixed RTEMS_BLKDEV_CAPABILITIES ioctl
	which caused invalid multiple block writes.
2009-01-21 18:07:31 +00:00
Joel Sherrill
06c12dd640 2009-01-21 Eric Norum <norume@aps.anl.gov>
PR 1358/bsps
	* clock/clock.c: Fix time-access bug in uc5282 BSP.
2009-01-21 16:49:56 +00:00
Ralf Corsepius
8594dc78d4 Bump GCC_RPMREL. 2009-01-21 15:26:50 +00:00
Ralf Corsepius
a7a8491dc0 Bump BINUTILS_RPMREL. 2009-01-21 12:19:03 +00:00
Ralf Corsepius
91a3c19bae Bump RPMREL. 2009-01-21 12:16:32 +00:00
Ralf Corsepius
7ad3289ab9 Regenerate. 2009-01-20 16:33:34 +00:00
Ralf Corsepius
4196eb67d8 Bump GDB_RPMREL. 2009-01-20 16:31:01 +00:00
Ralf Corsepius
de0575287e Sync with CVS-HEAD. 2009-01-20 16:29:13 +00:00
Joel Sherrill
b7a265496f 2009-01-06 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1350/bsps
	* network/lan91c11x.c: Do not write 65th element into 64 element array.
2009-01-06 16:26:42 +00:00
Joel Sherrill
8b6a056056 2009-01-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1351/cpukit
	* sapi/include/confdefs.h: Mask off unlimited object bit before using
	configured number in calculations.
2009-01-05 20:15:51 +00:00
Ralf Corsepius
eb63fa523d 2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/aio.h, posix/src/aio_suspend.c: Make aio_suspend()
	POSIX-compliant.
2009-01-02 09:53:24 +00:00
Ralf Corsepius
08fb27cc41 Make aio_suspend() POSIX-compliant. 2009-01-02 09:53:09 +00:00
Joel Sherrill
44cec3c504 2008-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* index.html.in: Remove dead manual references.
2008-12-19 17:52:20 +00:00
Joel Sherrill
d65c2b19ec 2008-12-18 Michael Hamel <nigel@adi.co.nz>
PR 1349/bsps
	* startup/bspstart.c: Add missing volatile on UART access pointer.
2008-12-18 18:51:49 +00:00
Ralf Corsepius
757e3465a2 Regenerate. 2008-12-14 05:28:55 +00:00
Ralf Corsepius
26dd59099b GCC_RPMREL = 18%{?dist}. 2008-12-14 05:27:39 +00:00
Ralf Corsepius
09a43cb2ea Activate c++. 2008-12-14 05:26:45 +00:00
Ralf Corsepius
7f93a2a271 Abandon gcc-4.3.1.
newlib-1.16.0-rtems4.9-20081203.diff
gcc-core-4.3.2-rtems4.9-20081214.diff.
2008-12-14 05:26:06 +00:00
Ralf Corsepius
5068408333 Remove rs6000 MULTILIB_EXTRA_OPTS. 2008-12-14 05:24:15 +00:00
Ralf Corsepius
40e91555b4 Regenerate. 2008-12-14 04:38:16 +00:00
Ralf Corsepius
112b0108c9 binutils-2.19. 2008-12-14 04:37:35 +00:00
Joel Sherrill
25f00a9a1f Upgrade to 4.9.1 2008-12-12 15:30:44 +00:00
Joel Sherrill
b86eb32e1a 2008-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/region.t: Malloc Family is not implemented in termios of Region
	Manager after 4.7. Correct documentation.
2008-12-12 14:48:49 +00:00
Joel Sherrill
f4b6dc0373 2008-12-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bsp_howto/console.t: Remove size constraints on image. Fix a
	sentence.
2008-12-12 14:03:28 +00:00
Joel Sherrill
47eab0ac22 2008-12-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrrill <joel.sherrill@oarcorp.com>

	* bsp_howto/Makefile.am, bsp_howto/console.t: Sebastian improved
	 documentation for termios device drivers.
	* bsp_howto/TERMIOSFlow.eps, bsp_howto/TERMIOSFlow.png: New files.
	Joel added Termios Flow figure from RTEMS Open Class material.
2008-12-11 15:50:02 +00:00
Ralf Corsepius
24df6ddfb4 2008-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/bdbuf.c: Fix typo having crept in during
	  boolean->bool transition.
2008-12-09 14:44:16 +00:00
Ralf Corsepius
71ae507b76 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS.
	* aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
2008-12-08 13:14:38 +00:00
Ralf Corsepius
3f6ffa3788 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/dirutils.c: #include <limits.h>.
2008-12-08 13:11:40 +00:00
Ralf Corsepius
2212e3f145 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/clock.h: #include <sys/time.h>
	* librpc/include/rpc/rpcent.h: #include <rpc/types.h>.
	* librpc/include/rpc/xdr.h: #include <rtems/bsd/sys/cdefs.h>.
2008-12-08 11:19:59 +00:00
Ralf Corsepius
c608efb2dc 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Backport from CVS-HEAD.
2008-12-08 05:16:05 +00:00
Joel Sherrill
4f511b8c4d 2008-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* psim-shared, runtest-bottom: Tidy up more bugs.
2008-12-05 21:59:58 +00:00
Joel Sherrill
aaf9273810 2008-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp46/sp46.scn: New file.
2008-12-05 18:18:23 +00:00
Ralf Corsepius
a1abe18a5a Update. 2008-12-05 08:34:16 +00:00
Ralf Corsepius
538c88e5be Regenerate. 2008-12-05 08:33:35 +00:00
Ralf Corsepius
c27b30db86 Bump GCC_RPMREL. 2008-12-05 08:33:23 +00:00
Ralf Corsepius
9d146ecc36 Make c99 io default.
Add prototype for ttyname_t.
2008-12-05 08:27:08 +00:00
Ralf Corsepius
b72be3b16f gcc/config/rs6000/t-rtems: Fix silly typo.
gcc/config/arm/rtems-elf.h: Undefine LINK_GCC_C_SEQUENCE_SPEC.
2008-12-05 08:26:25 +00:00
Joel Sherrill
deed2a08f6 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* psim-bottom, psim-gdb-bottom, psim-gdb-top.in, psim-shared,
	psim-top.in: Clean up and works better. Uses argv[0] to override
	configured target name.
2008-12-04 20:27:35 +00:00
Joel Sherrill
b6e3a7e26d 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1344/bsps
	* clock/ckinit.c: Committed code was not final. Corrections.
2008-12-04 17:57:26 +00:00
Joel Sherrill
b48cfa94ae 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* psim-bottom, psim-gdb-bottom, psim-shared, psim-top.in: Add ability
	to force psim configuration to include System V IPC devices even when
	the test does not appear to be multiprocessing. This is used by some
	RTEMS application developers for system simulation and could be used
	to simulate a framebuffer if a UNIX process mirrored the buffer.
2008-12-04 17:18:51 +00:00
Joel Sherrill
912488de67 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1348/cpukit
	* rtems/src/ratemonperiod.c: Properly handle period statistics after
	cpu usage information is reset while a period is running.
2008-12-04 15:58:08 +00:00
Joel Sherrill
d377e68648 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1348/cpukit
	* Makefile.am, configure.ac: Add test of special case of resetting cpu
	usage information while a period is running.
	* sp46/.cvsignore, sp46/Makefile.am, sp46/init.c, sp46/sp46.doc: New
	files.
2008-12-04 15:57:21 +00:00
Joel Sherrill
7dbdb91172 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* sp45/init.c: New file.
2008-12-03 21:36:18 +00:00
Joel Sherrill
37ac61f03a 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* rtems/include/rtems/rtems/timer.h, rtems/src/rtemstimer.c,
	rtems/src/timerreset.c, rtems/src/timerserver.c,
	rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c,
	score/Makefile.am, score/include/rtems/score/watchdog.h: Rework Timer
	Server to ensure that the context allows for blocking, allocating
	memory, and acquiring semaphores and mutexes.
	* score/src/watchdogadjusttochain.c: New file.
2008-12-03 21:01:09 +00:00
Joel Sherrill
58b727f6b0 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* Makefile.am, configure.ac, sp30/resume.c, sp30/task1.c, sp31/delay.c:
	Rework Timer Server to ensure that the context allows for blocking,
	allocating memory, and acquiring semaphores and mutexes.
	* sp45/.cvsignore, sp45/Makefile.am, sp45/sp45.doc, sp45/sp45.scn:
	New files.
2008-12-03 21:00:35 +00:00
Joel Sherrill
22629eeaa6 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1346/cpukit
	* rtems/include/rtems/rtems/ratemon.h: Sense of rate monotonic
	statistics nanoseconds or ticks granularity conditional is backwards.
2008-12-03 19:03:53 +00:00
Joel Sherrill
c6016f15d6 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
Michael South <msouth@msouth.org>

	PR 1344/bsps
	* cpuModel.h: Add use of TSC for nanoseconds granularity. i8254 is very
	slow on some systems. TSC use is auto-detected by default.
2008-12-03 17:29:13 +00:00
Joel Sherrill
dcbc0a89c2 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
Michael South <msouth@msouth.org>

	PR 1344/bsps
	* configure.ac, clock/ckinit.c, timer/timer.c: Add use of TSC for
	nanoseconds granularity. i8254 is very slow on some systems. TSC use
	is auto-detected by default.
2008-12-03 17:28:30 +00:00
Joel Sherrill
5fe1335662 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1345/Ada
	* rtems.ads: RTEMS boolean type is now C99 bool which is not an
	unsigned32.
2008-12-03 16:38:00 +00:00
Joel Sherrill
15d26f98e6 2008-12-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/ttyname.c: Correct prototype of ttyname_r() to use
	size_t for third parameter.
2008-12-02 18:51:09 +00:00
Joel Sherrill
dedb922940 2008-12-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/shell/main_cp.c, libmisc/shell/main_ls.c,
	libmisc/shell/main_mv.c, libmisc/shell/main_netstats.c,
	libmisc/shell/main_rm.c, libmisc/shell/shell_script.c: Add #define
	__need_getopt_newlib to enable getopt_r() support in newlib as
	required by 4.10 toolset.
2008-12-02 18:50:43 +00:00
Joel Sherrill
02ac910cfc 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/datatypes.t: Add C99 uint types.
2008-12-01 16:06:43 +00:00
Joel Sherrill
cb6c660501 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/concepts.t: Id has four parts not three.
2008-12-01 15:31:25 +00:00
Joel Sherrill
f82452b0ee 2008-11-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1341/cpukit
	* sapi/include/confdefs.h: The following macros were missing
	the _Configure_From_workspace() wrapper on their size estimate:
	  + CONFIGURE_INTERRUPT_STACK_MEMORY
	  + CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API
	  + CONFIGURE_INTERRUPT_VECTOR_TABLE
	  + CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS
	In addition, there was a duplicate definition of
	CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API.
2008-11-24 19:48:59 +00:00
Joel Sherrill
cc107c9cb2 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1340/cpukit
	* user/chains.t: Add rtems_chain_initialize to public chain API.
2008-11-20 21:11:43 +00:00
Joel Sherrill
74e8ad7cb5 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1340/cpukit
	* sapi/inline/rtems/chain.inl: Add rtems_chain_initialize to public
	chain API.
2008-11-20 21:11:38 +00:00
Joel Sherrill
0061512710 2008-11-20 Daron Chabot <daronchabot@gmail.com>
PR 1337/bsps
	* custom/pc386.cfg: Stripping .rodata section produces unusable
	executables for the i386-rtems target.
2008-11-20 15:26:51 +00:00
Joel Sherrill
21b1d51d58 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1339/Ada
	* user/io.t: Re-add IO Manager to Ada binding.
2008-11-20 15:22:29 +00:00
Joel Sherrill
f040148763 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1339/Ada
	* rtems.adb, rtems.ads: Re-add IO Manager to Ada binding.
2008-11-20 15:14:42 +00:00
Ralf Corsepius
73b019a066 Update. 2008-11-19 03:10:36 +00:00
Thomas Doerfler
eb32e3a386 include/bsp.h, include/hwreg_vals.h, network/network.c:
correct some init values for HSC_CM01 boards
change strategy to determine MAC address
2008-11-18 11:36:28 +00:00
Thomas Doerfler
d65b2da6cf libchip/serial/ns16550.c: Transmit the character in the polled write
function within a critical section for printk() compatibility.
2008-11-18 11:28:53 +00:00
Thomas Doerfler
2fafea29f9 console/console.c: Update for new NS16550 polled write function. 2008-11-18 11:28:04 +00:00
Joel Sherrill
906dd572fb 2008-11-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1336/cpukit
	* sapi/inline/rtems/chain.inl: Add rtems_chain_prepend_unprotected and
	rtems_chain_append_unprotected.
2008-11-13 15:10:24 +00:00
Joel Sherrill
b8b0920874 2008-11-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1336/cpukit
	* user/chains.t, user/dirstat.texi: Add rtems_chain_prepend_unprotected
	and rtems_chain_append_unprotected.
2008-11-13 15:10:15 +00:00
Ralf Corsepius
ea4cf27769 Regenerate. 2008-11-10 14:37:40 +00:00
Ralf Corsepius
d414399d87 Regenerate. 2008-11-10 14:33:26 +00:00
Ralf Corsepius
430c0f6d9b Bump GCC_RPMREL. 2008-11-10 14:32:26 +00:00
Ralf Corsepius
55666f5458 Sync with CVS-HEAD. 2008-11-10 13:06:03 +00:00
Ralf Corsepius
11c9109d80 Regenerate. 2008-11-08 03:25:35 +00:00
Ralf Corsepius
e5c9d674d0 Bump BINUTILS_RPMREL. 2008-11-08 03:25:13 +00:00
Joel Sherrill
a76b99ebb0 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/concepts.t: Use 32 bit version centered.
2008-11-07 20:16:31 +00:00
Joel Sherrill
7f843f201a 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* ada_user/Makefile.am: Make Ada manual build again after adding
	figure.
2008-11-07 18:58:13 +00:00
Ralf Corsepius
eaa5811507 Import changes from HEAD. 2008-11-07 03:18:23 +00:00
Ralf Corsepius
d3ae4470ac Sync with CVS-HEAD. 2008-11-06 07:36:41 +00:00
Ralf Corsepius
6fd1e6920a Remove cpukit (Unsupported). 2008-11-06 07:31:58 +00:00
Ralf Corsepius
7d3548a154 Remove (Unsupported). 2008-11-06 07:29:45 +00:00
Ralf Corsepius
e4bfb0b8e8 Abandon freebsd7.0 2008-11-05 16:28:29 +00:00
Ralf Corsepius
353014adff Abandon solaris2.7 2008-11-05 16:23:02 +00:00
Till Straumann
fadb4a76b9 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl()
	only from 'firstOpen' and only if this is a serial console.
2008-11-03 21:08:49 +00:00
Till Straumann
160e8fb59a 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl()
	only from 'firstOpen' and only if this is a serial console.
2008-11-03 20:56:02 +00:00
Till Straumann
8667514854 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/linkcmds: increased size of CODE memory
	area.
2008-11-03 20:35:51 +00:00
Till Straumann
3d15f1b209 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c, shared/startup/sbrk.c:
	Fixed PR#1335. Pass initial starting address to heap
	initialization to avoid 1st 'sbrk'. User may now define
	'BSP_sbrk_policy' variable (see sbrk.c) to tune behavior.
2008-11-03 19:58:43 +00:00
Joel Sherrill
d12091dc9d 2008-11-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1334/doc
	* user/Makefile.am, user/concepts.t, user/init.t, user/overview.t,
	user/part.t, user/task.t: Correct typos and correctly document 4
	parts of 32-bit object id.
	* user/ObjectId-32Bits.eps, user/ObjectId-32Bits.png: New files.
2008-11-03 19:02:25 +00:00
Joel Sherrill
421d76d763 2008-11-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1333/cpukit
	* libcsupport/include/rtems/termiostypes.h: Typo on type name -- should
	be rtems_device_minor_number.
2008-11-03 15:35:04 +00:00
Ralf Corsepius
2733f94506 Add %sysdir %{_prefix} to cater rpm5. 2008-10-28 22:10:09 +00:00
Ralf Corsepius
349ca0c56f Sync with HEAD. 2008-10-24 06:57:08 +00:00
Eric Norum
83e392b463 Reset card on RTEMS shutdown. 2008-10-23 13:45:55 +00:00
Thomas Doerfler
daad59a453 removed orphaned spi/mc68360_spidrv.c 2008-10-21 20:03:25 +00:00
Ralf Corsepius
1424cc452d Bump AUTOCONF_RPMREL, AUTOMAKE_RPMREL. 2008-10-16 13:57:37 +00:00
Ralf Corsepius
404e331f96 New. 2008-10-16 13:56:24 +00:00
Ralf Corsepius
283a60d0e9 Backport from CVS-HEAD. 2008-10-16 13:55:14 +00:00
Joel Sherrill
9811aabe56 2008-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1331/networking
	* libmisc/shell/shell.c, telnetd/check_passwd.c, telnetd/telnetd.c,
	telnetd/telnetd.h: Improve comments and explanation of options to
	rtems_telnetd_initialize. Add extra newline to login sequence from
	shell.
2008-10-15 17:38:12 +00:00
Joel Sherrill
c08349a85a 2008-10-14 Tim Cussins <timcussins@eml.cc>
PR 1330/cpukit
	* libcsupport/src/free.c: Should print begin field not start field.
2008-10-14 16:09:47 +00:00
Joel Sherrill
127d0a448f 2008-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Remove unused file.
	* pci/no_host_bridge.c: Removed.
2008-10-03 16:29:13 +00:00
Joel Sherrill
91a1e2ee83 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Regenerated.
2008-10-02 21:40:30 +00:00
Joel Sherrill
53fec8538d 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: bsp_cleanup() was wrong. Use stub. openpic.h not needed.
	* startup/bspclean.c: Removed.
2008-10-02 19:49:15 +00:00
Joel Sherrill
9b643f71cb 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/init68360.c: Delete unused code.
2008-10-02 19:46:58 +00:00
Joel Sherrill
b9ae23a01f 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1329/bsps
	* network_5200/network.c: Eliminate use of boolean so this compiles.
2008-10-02 14:12:06 +00:00
Thomas Doerfler
4d6ad9e2ad switch to decrementer clock driver
add U-Boot support
remove dead code
adjust console clock routing
fix CPIC interrupts
2008-10-02 12:43:10 +00:00
Thomas Doerfler
224a429bcb adapt timebase macros to support MPC8xx again 2008-10-02 12:41:56 +00:00
Joel Sherrill
e1efd54506 2008-10-01 Gene Smith <gene.smith@siemens.com>
PR 1328/cpukit
	* libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fix printing
	of more than 256 bytes.
2008-10-01 20:07:09 +00:00
Ralf Corsepius
4566e9c1e6 2008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
        * aclocal/check-bsps.m4: Adopt icecube changes from CVS-HEAD.
2008-10-01 01:16:55 +00:00
Joel Sherrill
978eba36bf 2008-09-30 Jennifer Averett <jennifer.averett@oarcorp.com>
* Makefile.am, preinstall.am, PCI_bus/universe.c, console/console.c,
	include/bsp.h, irq/FPGA.c, irq/irq.c, startup/Hwr_init.c,
	startup/bspstart.c, startup/vmeintr.c: Modifications required to run
	on hardware. Some cleanup.
	* include/irq-config.h: New file.
	* startup/spurious.c: Removed.
2008-09-30 23:17:15 +00:00
Joel Sherrill
db6e1f55b0 2008-09-30 Jennifer Averett <jennifer.averett@oarcorp.com>
* custom/score603e.cfg: Modifications required to run on hardware. Some
	cleanup.
2008-09-30 23:16:37 +00:00
Joel Sherrill
67c191b268 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Eliminate uses of old benchmark timer names.
2008-09-30 16:28:39 +00:00
Joel Sherrill
fcb90b6381 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/tm27.h: Do not use set_vector.
2008-09-30 16:27:41 +00:00
Joel Sherrill
46d17c9114 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/timer.t: Eliminate uses of old benchmark timer names.
2008-09-30 16:27:30 +00:00
Ralf Corsepius
5526734916 2008-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* start/startfor340only.S: Remove (unused).
2008-09-30 16:22:34 +00:00
Ralf Corsepius
04b38ae038 2008-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/defaultfont.c: Remove (Renamed into console/defaultfont.h).
	* console/defaultfont.h: New (Renamed from console/defaultfont.c).
	* Makefile.am, console/conio.c: Reflect renamer.
2008-09-30 04:35:31 +00:00
Joel Sherrill
3b1a322ee1 2008-09-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/timer_driver.adb, support/timer_driver.ads,
	tmtests/tm01/tmtest.adb, tmtests/tm02/tmtest.adb,
	tmtests/tm03/tmtest.adb, tmtests/tm04/tmtest.adb,
	tmtests/tm05/tmtest.adb, tmtests/tm06/tmtest.adb,
	tmtests/tm07/tmtest.adb, tmtests/tm08/tmtest.adb,
	tmtests/tm09/tmtest.adb, tmtests/tm10/tmtest.adb,
	tmtests/tm11/tmtest.adb, tmtests/tm12/tmtest.adb,
	tmtests/tm13/tmtest.adb, tmtests/tm14/tmtest.adb,
	tmtests/tm15/tmtest.adb, tmtests/tm16/tmtest.adb,
	tmtests/tm17/tmtest.adb, tmtests/tm18/tmtest.adb,
	tmtests/tm19/tmtest.adb, tmtests/tm20/config.h,
	tmtests/tm20/tmtest.adb, tmtests/tm21/tmtest.adb,
	tmtests/tm22/tmtest.adb, tmtests/tm23/tmtest.adb,
	tmtests/tm24/tmtest.adb, tmtests/tm25/tmtest.adb,
	tmtests/tm28/tmtest.adb, tmtests/tm29/tmtest.adb,
	tmtests/tmck/tmtest.adb, tmtests/tmoverhd/tmtest.adb: Clean up.
	Verified to run on psim with gcc 4.3.2.
2008-09-29 20:44:38 +00:00
Ralf Corsepius
e606ce0d44 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* liblnk/regs.S: Remove (Renamed into liblnk/regs.h).
        * liblnk/regs.h: New (Renamed from liblnk/regs.S).
        * Makefile.am, liblnk/pmon.S: Reflect renamer.
2008-09-29 13:31:03 +00:00
Ralf Corsepius
366c2b650f 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* liblnk/regs.S: Remove (Rename into liblnk/regs.h).
        * liblnk/regs.h: New (Renamed from liblnk/regs.S).
        * Makefile.am, liblnk/pmon.S: Reflect renamer.
2008-09-29 13:29:58 +00:00
Ralf Corsepius
8d9c428ce1 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* start/regs.S: Remove (Renamed into start/regs.h).
        * start/regs.h: New (Renamed from start/regs.S).
        * Makefile.am, start/start.S: Reflect renamer.
2008-09-29 13:25:38 +00:00
Ralf Corsepius
25c0236eb5 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* liblnk/regs.S: Remove (Renamed into liblnk/regs.h).
        * liblnk/regs.h: New (Renamed from liblnk/regs.S).
        * Makefile.am, liblnk/pmon.S: Reflect renamer.
2008-09-29 13:23:51 +00:00
Ralf Corsepius
7be8d6b95c 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove noinst_PROGRAMS (Unused).
2008-09-29 01:48:04 +00:00
Ralf Corsepius
53fe0ffe4b 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Cleanup.
2008-09-29 01:07:28 +00:00
Joel Sherrill
87b88cefa2 2008-09-26 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1316/cpukit
	* score/src/coremsgbroadcast.c: Give error when message is too large
	like when sending a message. This was the documented behavior.
2008-09-26 19:24:15 +00:00
Eric Norum
879e252a07 Let TCP/IP stack pick port rather than hard coding selection. Correction of 2008-09-23. 2008-09-26 14:40:17 +00:00
Joel Sherrill
e011297968 2008-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* setup.def, started/buildc.t: Update versions and patches.
2008-09-25 21:50:33 +00:00
Joel Sherrill
7cb4ce5e53 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Regenerated.
2008-09-24 17:16:13 +00:00
Joel Sherrill
564dfa32bd 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.maint: Bump rtems_api to 4.9.
2008-09-24 17:13:41 +00:00
Joel Sherrill
8c8146e3a3 Upgrade to 4.9.0 2008-09-24 17:12:19 +00:00
Joel Sherrill
a9546aaf52 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1326/cpukit
	* libi2c/libi2c.c: Use int for return value when negative values
	possible.
2008-09-24 14:31:37 +00:00
Joel Sherrill
8f60862612 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
	* aclocal/check-bsps.m4: Add missing icecube.
2008-09-24 14:07:51 +00:00
Ralf Corsepius
734e6f6fb3 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix
	  comparision of unsigned < 0).
2008-09-24 08:52:49 +00:00
Ralf Corsepius
bfcefdd435 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Eliminates libcpudir.
2008-09-24 07:34:21 +00:00
Ralf Corsepius
27af75498f Cosmetics. 2008-09-24 07:32:19 +00:00
Ralf Corsepius
35b692611f 2008-08-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1323/bsps
	* Makefile.am: Remove AM_CFLAGS += -msoft-float.
2008-09-24 05:38:50 +00:00
Ralf Corsepius
00f0563ea0 2008-09-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove empty HAS_NETWORKING conditional.
2008-09-24 03:06:42 +00:00
Ralf Corsepius
13c4012f4d 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1322/bsps
	* include/bspopts.h.in: Remove.
2008-09-24 02:47:22 +00:00
Ralf Corsepius
27ccae87c2 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1322/bsps
	* include/bspopts.h.in: Remove.
2008-09-24 02:19:03 +00:00
Joel Sherrill
5edccc1bcf 2008-09-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_howto/BSPInitFlowchart-49.png: Update figure.
2008-09-23 21:35:01 +00:00
Thomas Doerfler
6067359a14 make sure cahce is ON when MMU is off (important for exception handling) 2008-09-23 19:53:38 +00:00
Joel Sherrill
93f8efa7c6 2008-09-23 Eric Norum <norume@aps.anl.gov>
* libnetworking/lib/rtems_bsdnet_ntp.c: Let TCP/IP stack pick port
	rather than hard coding selection.
2008-09-23 15:21:37 +00:00
Thomas Doerfler
112490e44e correct bsp_clicks_per_usec initialization for non-U-Boot case 2008-09-19 16:25:52 +00:00
Joel Sherrill
1e3c7f856c 2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1314/bsps
	* custom/mvme3100.cfg: Remove old stuff.
2008-09-18 14:25:07 +00:00
Ralf Corsepius
bd331c83c6 Remove. 2008-09-18 08:50:00 +00:00
Ralf Corsepius
c07a9c00c5 Update to gdb-6.8-rtems4.9-20080917.diff. 2008-09-18 08:48:17 +00:00
Ralf Corsepius
977b1736a6 Sync with rtems-4.10. 2008-09-18 08:45:29 +00:00
Ralf Corsepius
e91c4bc8e9 Do not define rtems_boolean, rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given. 2008-09-18 03:04:11 +00:00
Ralf Corsepius
be8f45b014 2008-09-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/types.h: Do not define rtems_boolean,
	rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given.
2008-09-18 03:03:52 +00:00
Ralf Corsepius
0a37142076 2008-09-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Do not define boolean, single_precision,
	double_precision unless RTEMS_DEPRECATED_TYPES is given.
2008-09-18 03:02:09 +00:00
Ralf Corsepius
d0279f6e3a Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given. 2008-09-18 03:01:49 +00:00
Joel Sherrill
100198929c 2008-09-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Revert previous patch. Does not apply to
	head.
2008-09-16 22:43:08 +00:00
Joel Sherrill
a36866199e 2008-09-16 Gene Smith <gene.smith@siemens.com>
PR 564/cpukit
	* sapi/include/confdefs.h: Fix incorrect name. Was missed in an earlier
	renaming sweep.
2008-09-16 17:13:33 +00:00
Joel Sherrill
d3320bb7cf 2008-09-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in
	make-exe and make-cxx-exe definitions. This was resulting in the
	linker script being processed twice and breaking some BSPs.
2008-09-15 17:43:44 +00:00
Ralf Corsepius
5782420994 Use "double" instead of "rtems_double". 2008-09-15 13:56:19 +00:00
Ralf Corsepius
ee70857610 2008-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp19/system.h: Use "double" instead of "rtems_double".
2008-09-15 13:55:52 +00:00
Ralf Corsepius
913ece4074 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/nios2_iss.cfg: Remove.
2008-09-10 20:06:12 +00:00
Ralf Corsepius
4e3037b258 Remove from rtems-4-9-branch. 2008-09-10 19:54:49 +00:00
Ralf Corsepius
e00572f616 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Remove pre-production testing CFLAGS.
2008-09-10 19:53:40 +00:00
Ralf Corsepius
b4ff9f0b67 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove nios2.
2008-09-10 19:51:49 +00:00
Ralf Corsepius
98520091ea Regenerate. 2008-09-10 19:43:40 +00:00
Ralf Corsepius
bc26929055 Remove. 2008-09-10 19:42:48 +00:00
Ralf Corsepius
2344aa7405 Remove freebsd6.* 2008-09-10 19:40:51 +00:00
Ralf Corsepius
9652395558 Remove rtems-4.10. 2008-09-10 19:38:44 +00:00
Ralf Corsepius
8b66beb2e5 branch cleanup. 2008-09-10 19:37:15 +00:00
Joel Sherrill
92f3264acf 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* MAINTAINERS, README.configure, aclocal/bsp-alias.m4,
	aclocal/canonical-target-name.m4, aclocal/check-bsps.m4: Remove TI
	C4x and NIOS2 ports from 4.9 branch.
2008-09-10 16:03:10 +00:00
Joel Sherrill
c7df255f99 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Remove TI C4x and NIOS2 ports from 4.9 branch.
2008-09-10 16:02:20 +00:00
Joel Sherrill
74c15b62ea 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* ACKNOWLEDGEMENTS, TOOL_TARGETS: Remove TI C4x and NIOS2 ports from
	4.9 branch.
2008-09-10 16:00:41 +00:00
Joel Sherrill
abe94a6a83 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/canonical-target-name.m4, aclocal/rtems-cpu-subdirs.m4:
	Remove TI C4x and NIOS2 ports from 4.9 branch.
2008-09-10 15:59:44 +00:00
Joel Sherrill
a5e7b3ca94 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu_supplement/.cvsignore, cpu_supplement/Makefile.am,
	cpu_supplement/cpu_supplement.texi, porting/cpumodels.t,
	user/preface.texi: Remove TI C4x and NIOS2 ports from 4.9 branch.
	* cpu_supplement/tic4x.t: Removed.
2008-09-10 15:58:58 +00:00
Joel Sherrill
3757d4e1a0 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/canonical-target-name.m4: Remove TI C4x and NIOS2 ports from
	4.9 branch.
2008-09-10 15:57:26 +00:00
Joel Sherrill
5463b374ac 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/c3xsim.cfg, custom/c4xsim.cfg: Removed.
2008-09-10 15:57:08 +00:00
Joel Sherrill
f1990656e8 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/cpu/c4x/.cvsignore, score/cpu/c4x/ChangeLog,
	score/cpu/c4x/Makefile.am, score/cpu/c4x/cpu.c,
	score/cpu/c4x/cpu_asm.S, score/cpu/c4x/irq.c,
	score/cpu/c4x/preinstall.am, score/cpu/c4x/rtems/asm.h,
	score/cpu/c4x/rtems/score/c4x.h, score/cpu/c4x/rtems/score/cpu.h,
	score/cpu/c4x/rtems/score/cpu_asm.h,
	score/cpu/c4x/rtems/score/types.h, score/cpu/c4x/rtems/tic4x/c4xio.h,
	score/cpu/nios2/.cvsignore, score/cpu/nios2/ChangeLog,
	score/cpu/nios2/Makefile.am, score/cpu/nios2/cpu.c,
	score/cpu/nios2/cpu_asm.S, score/cpu/nios2/irq.c,
	score/cpu/nios2/preinstall.am, score/cpu/nios2/rtems/asm.h,
	score/cpu/nios2/rtems/score/cpu.h,
	score/cpu/nios2/rtems/score/cpu_asm.h,
	score/cpu/nios2/rtems/score/nios2.h,
	score/cpu/nios2/rtems/score/types.h: Removed.
2008-09-10 15:49:32 +00:00
Joel Sherrill
4f20b858ea 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* c4x/.cvsignore, c4x/ChangeLog, c4x/Makefile.am, c4x/acinclude.m4,
	c4x/configure.ac, c4x/c4xsim/.cvsignore, c4x/c4xsim/ChangeLog,
	c4x/c4xsim/Makefile.am, c4x/c4xsim/README, c4x/c4xsim/bsp_specs,
	c4x/c4xsim/configure.ac, c4x/c4xsim/preinstall.am,
	c4x/c4xsim/clock/clock.c, c4x/c4xsim/console/console.c,
	c4x/c4xsim/console/consolereserveresources.c,
	c4x/c4xsim/console/debugio.c, c4x/c4xsim/console/simio.c,
	c4x/c4xsim/include/.cvsignore, c4x/c4xsim/include/bsp.h,
	c4x/c4xsim/include/simio.h, c4x/c4xsim/include/tm27.h,
	c4x/c4xsim/start/start.S, c4x/c4xsim/startup/bspstart.c,
	c4x/c4xsim/startup/linkcmds, c4x/c4xsim/startup/spurious.c,
	c4x/c4xsim/timer/timer.c, c4x/c4xsim/tools/.cvsignore,
	c4x/c4xsim/tools/ChangeLog, c4x/c4xsim/tools/Makefile.am,
	c4x/c4xsim/tools/configure.ac, c4x/c4xsim/tools/runtest.in,
	c4x/shared/bspspuriousinit.c, c4x/shared/c3xspurious.c,
	c4x/shared/c4xspurious.c, nios2/.cvsignore, nios2/ChangeLog,
	nios2/Makefile.am, nios2/README, nios2/acinclude.m4,
	nios2/configure.ac, nios2/nios2_iss/.cvsignore,
	nios2/nios2_iss/ChangeLog, nios2/nios2_iss/Makefile.am,
	nios2/nios2_iss/bsp_specs, nios2/nios2_iss/configure.ac,
	nios2/nios2_iss/nios2_iss.ptf, nios2/nios2_iss/nios2_iss.sh,
	nios2/nios2_iss/preinstall.am, nios2/nios2_iss/times,
	nios2/nios2_iss/clock/clock.c, nios2/nios2_iss/console/console.c,
	nios2/nios2_iss/include/.cvsignore, nios2/nios2_iss/include/bsp.h,
	nios2/nios2_iss/include/coverhd.h, nios2/nios2_iss/include/tm27.h,
	nios2/nios2_iss/shmsupp/addrconv.c, nios2/nios2_iss/shmsupp/getcfg.c,
	nios2/nios2_iss/shmsupp/lock.c, nios2/nios2_iss/shmsupp/mpisr.c,
	nios2/nios2_iss/start/crtnn.s, nios2/nios2_iss/start/start.S,
	nios2/nios2_iss/startup/bspclean.c,
	nios2/nios2_iss/startup/bspstart.c, nios2/nios2_iss/startup/linkcmds,
	nios2/nios2_iss/startup/main.c, nios2/nios2_iss/startup/setvec.c,
	nios2/nios2_iss/timer/timer.c: Removed.
2008-09-10 15:47:31 +00:00
Joel Sherrill
26c4cb4811 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, aclocal/canonical-target-name.m4,
	score/cpu/Makefile.am: Remove TI C4x and NIOS2 ports from 4.9 branch.
2008-09-10 15:43:54 +00:00
cvs2git
59ccbe2f34 This commit was manufactured by cvs2svn to create branch 'rtems-4-9-branch'.
Sprout from master 2008-09-09 18:14:52 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2008-09-09	Joel Sherrill <joel.sherrill@oarcorp.com>'
Cherrypick from shttpd 2007-06-11 13:24:29 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Import from shttpd-1.37.':
    cpukit/shttpd/auth.c
    cpukit/shttpd/cgi.c
    cpukit/shttpd/compat_unix.c
    cpukit/shttpd/compat_unix.h
    cpukit/shttpd/compat_win32.c
    cpukit/shttpd/compat_win32.h
    cpukit/shttpd/compat_wince.c
    cpukit/shttpd/compat_wince.h
    cpukit/shttpd/config.c
    cpukit/shttpd/io.h
    cpukit/shttpd/io_cgi.c
    cpukit/shttpd/io_dir.c
    cpukit/shttpd/io_emb.c
    cpukit/shttpd/io_file.c
    cpukit/shttpd/io_socket.c
    cpukit/shttpd/io_ssl.c
    cpukit/shttpd/llist.h
    cpukit/shttpd/md5.c
    cpukit/shttpd/md5.h
    cpukit/shttpd/mime_type.c
    cpukit/shttpd/shttpd.1
    cpukit/shttpd/shttpd.c
    cpukit/shttpd/shttpd.h
    cpukit/shttpd/ssl.h
    cpukit/shttpd/standalone.c
    cpukit/shttpd/std_includes.h
Cherrypick from B_rtems_mvme3100_bsp_slac 2007-12-14 06:30:15 UTC Till Straumann <strauman@slac.stanford.edu> ' - imported MVME3100 BSP (from SLAC repository)':
    c/src/lib/libbsp/powerpc/mvme3100/.cvsignore
    c/src/lib/libbsp/powerpc/mvme3100/KNOWN_PROBLEMS
    c/src/lib/libbsp/powerpc/mvme3100/LICENSE
    c/src/lib/libbsp/powerpc/mvme3100/README
    c/src/lib/libbsp/powerpc/mvme3100/bsp_specs
    c/src/lib/libbsp/powerpc/mvme3100/configure.ac
    c/src/lib/libbsp/powerpc/mvme3100/flash/flashcfg.c
    c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h
    c/src/lib/libbsp/powerpc/mvme3100/include/bspopts.h.in
    c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h
    c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h
    c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c
    c/src/lib/libbsp/powerpc/mvme3100/tod/todcfg.c
    c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h
Cherrypick from zlib 2005-10-28 07:22:42 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Import of zlib-1.2.2.2.tar.gz':
    cpukit/zlib/FAQ
    cpukit/zlib/INDEX
    cpukit/zlib/algorithm.txt
    cpukit/zlib/crc32.h
    cpukit/zlib/inffast.h
    cpukit/zlib/inffixed.h
    cpukit/zlib/inflate.h
    cpukit/zlib/trees.h
Cherrypick from rtemsdoc-4-5-branch 1997-05-27 12:40:10 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'base RTEMS documentation':
    doc/common/treedef.tex
Delete:
    contrib/crossrpms/cygwin/.cvsignore
    contrib/crossrpms/cygwin/Makefile.am
    contrib/crossrpms/cygwin/binutils.am
    contrib/crossrpms/cygwin/cygwin.am
    contrib/crossrpms/cygwin/expat.am
    contrib/crossrpms/cygwin/gcc-prep.add
    contrib/crossrpms/cygwin/gcc.am
    contrib/crossrpms/cygwin/gmp.am
    contrib/crossrpms/cygwin/i686/.cvsignore
    contrib/crossrpms/cygwin/i686/Makefile.am
    contrib/crossrpms/cygwin/i686/binutils-sources.add
    contrib/crossrpms/cygwin/i686/expat.add
    contrib/crossrpms/cygwin/i686/gcc-sources.add
    contrib/crossrpms/cygwin/i686/gmp.add
    contrib/crossrpms/cygwin/i686/libs.add
    contrib/crossrpms/cygwin/i686/mpfr.add
    contrib/crossrpms/cygwin/i686/ncurses.add
    contrib/crossrpms/cygwin/i686/readline.add
    contrib/crossrpms/cygwin/i686/target-expat.add
    contrib/crossrpms/cygwin/i686/target-gmp.add
    contrib/crossrpms/cygwin/i686/target-libs.add
    contrib/crossrpms/cygwin/i686/target-mpfr.add
    contrib/crossrpms/cygwin/i686/target-ncurses.add
    contrib/crossrpms/cygwin/i686/target-readline.add
    contrib/crossrpms/cygwin/i686/target-termcap.add
    contrib/crossrpms/cygwin/i686/target-terminfo.add
    contrib/crossrpms/cygwin/i686/target-w32api.add
    contrib/crossrpms/cygwin/i686/target-zlib.add
    contrib/crossrpms/cygwin/i686/termcap.add
    contrib/crossrpms/cygwin/i686/terminfo.add
    contrib/crossrpms/cygwin/i686/w32api.add
    contrib/crossrpms/cygwin/i686/zlib.add
    contrib/crossrpms/cygwin/mpfr.am
    contrib/crossrpms/cygwin/ncurses.am
    contrib/crossrpms/cygwin/readline.am
    contrib/crossrpms/cygwin/termcap.am
    contrib/crossrpms/cygwin/terminfo.am
    contrib/crossrpms/cygwin/w32api.am
    contrib/crossrpms/cygwin/zlib.am
    contrib/crossrpms/freebsd6.2/.cvsignore
    contrib/crossrpms/freebsd6.2/Makefile.am
    contrib/crossrpms/freebsd6.2/binutils.am
    contrib/crossrpms/freebsd6.2/gcc-prep.add
    contrib/crossrpms/freebsd6.2/gcc.am
    contrib/crossrpms/freebsd6.2/i586/.cvsignore
    contrib/crossrpms/freebsd6.2/i586/Makefile.am
    contrib/crossrpms/freebsd6.2/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.2/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.2/i586/libs.add
    contrib/crossrpms/freebsd6.2/i586/target-libs.add
    contrib/crossrpms/freebsd6.3/.cvsignore
    contrib/crossrpms/freebsd6.3/Makefile.am
    contrib/crossrpms/freebsd6.3/binutils.am
    contrib/crossrpms/freebsd6.3/gcc-prep.add
    contrib/crossrpms/freebsd6.3/gcc.am
    contrib/crossrpms/freebsd6.3/i586/.cvsignore
    contrib/crossrpms/freebsd6.3/i586/Makefile.am
    contrib/crossrpms/freebsd6.3/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.3/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.3/i586/libs.add
    contrib/crossrpms/freebsd6.3/i586/target-libs.add
    contrib/crossrpms/freebsd7.0/.cvsignore
    contrib/crossrpms/freebsd7.0/Makefile.am
    contrib/crossrpms/freebsd7.0/binutils.am
    contrib/crossrpms/freebsd7.0/gcc-prep.add
    contrib/crossrpms/freebsd7.0/gcc.am
    contrib/crossrpms/freebsd7.0/i586/.cvsignore
    contrib/crossrpms/freebsd7.0/i586/Makefile.am
    contrib/crossrpms/freebsd7.0/i586/binutils-sources.add
    contrib/crossrpms/freebsd7.0/i586/gcc-sources.add
    contrib/crossrpms/freebsd7.0/i586/libs.add
    contrib/crossrpms/freebsd7.0/i586/target-libs.add
    contrib/crossrpms/mingw32/.cvsignore
    contrib/crossrpms/mingw32/Makefile.am
    contrib/crossrpms/mingw32/binutils.am
    contrib/crossrpms/mingw32/gcc-prep.add
    contrib/crossrpms/mingw32/gcc.am
    contrib/crossrpms/mingw32/i686/.cvsignore
    contrib/crossrpms/mingw32/i686/Makefile.am
    contrib/crossrpms/mingw32/i686/binutils-sources.add
    contrib/crossrpms/mingw32/i686/gcc-sources.add
    contrib/crossrpms/mingw32/i686/libs.add
    contrib/crossrpms/mingw32/i686/target-libs.add
    contrib/crossrpms/mingw32/i686/target-w32api.add
    contrib/crossrpms/mingw32/i686/w32api.add
    contrib/crossrpms/solaris2.7/.cvsignore
    contrib/crossrpms/solaris2.7/Makefile.am
    contrib/crossrpms/solaris2.7/binutils.am
    contrib/crossrpms/solaris2.7/gcc-prep.add
    contrib/crossrpms/solaris2.7/gcc.am
    contrib/crossrpms/solaris2.7/sparc/.cvsignore
    contrib/crossrpms/solaris2.7/sparc/Makefile.am
    contrib/crossrpms/solaris2.7/sparc/binutils-sources.add
    contrib/crossrpms/solaris2.7/sparc/gcc-sources.add
    contrib/crossrpms/solaris2.7/sparc/libs.add
    contrib/crossrpms/solaris2.7/sparc/target-libs.add
    cpukit/zlib/doc/rfc1950.txt
    cpukit/zlib/doc/rfc1951.txt
    cpukit/zlib/doc/rfc1952.txt
    cpukit/zlib/doc/txtvsbin.txt
    cpukit/zlib/examples/enough.c
    cpukit/zlib/examples/zran.c
    cpukit/zlib/old/as400/bndsrc
    cpukit/zlib/old/as400/compile.clp
    cpukit/zlib/old/as400/readme.txt
    cpukit/zlib/old/visualc6/README.txt
    cpukit/zlib/old/visualc6/example.dsp
    cpukit/zlib/old/visualc6/minigzip.dsp
    cpukit/zlib/old/visualc6/zlib.dsw
    cpukit/zlib/zlib.pc.in
    cpukit/zlib/zlib2ansi
2008-09-09 18:14:53 +00:00
Joel Sherrill
cb4a77e043 2008-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/Developer-User-Timeline.png: Correct figure.
2008-09-09 18:14:52 +00:00
Joel Sherrill
e59d23ad10 2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg, compilers/gcc-target-default.cfg: Remove use of AM_LDFLAGS.
	Ensure LDFLAGS works all the time. Clean up BSPs which defined their
	own make-exe rules inappropriately.
2008-09-09 16:30:35 +00:00
Joel Sherrill
fb2205a11b 2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg, compilers/gcc-target-default.cfg, custom/bf537Stamp.cfg,
	custom/gen5200.cfg, custom/gen83xx.cfg, custom/genmcf548x.cfg,
	custom/mbx8xx.cfg, custom/mpc55xx.cfg, custom/nds.cfg,
	custom/pc386.cfg, custom/tqm8xx.cfg: Remove use of AM_LDFLAGS. Ensure
	LDFLAGS works all the time. Clean up BSPs which defined their own
	make-exe rules inappropriately.
2008-09-09 16:30:27 +00:00
Joel Sherrill
5aa18556b5 2008-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* README.configure: Updated list of BSPs.
2008-09-09 16:20:15 +00:00
Joel Sherrill
1457addbf3 Spacing. 2008-09-09 14:30:34 +00:00
Thomas Doerfler
85e87f16b6 added printk support
added port init, added phy support
init mmu
2008-09-09 13:20:04 +00:00
Thomas Doerfler
39dfbe1621 minor additions
i2c-driver: wait, 'til stop executed
2008-09-09 13:18:58 +00:00
Ralf Corsepius
ae52c9c642 2008-09-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* user/chains.t, user/conf.t, user/object.t, user/userext.t:
	More "bool" cleanup.
2008-09-09 08:20:25 +00:00
Ralf Corsepius
eaf1c0c44c More "bool" cleanup. 2008-09-09 08:19:38 +00:00
Ralf Corsepius
2d65b109fc 2008-09-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_howto/ata.t, bsp_howto/rtc.t, networking/networkapp.t,
	user/chains.t, user/stackchk.t: Convert to "bool".
2008-09-09 07:33:53 +00:00
Ralf Corsepius
e9233c57f6 Convert to "bool". 2008-09-09 07:33:46 +00:00
Ralf Corsepius
896f13f2dd 2008-09-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* user/datatypes.t: Add deprecation notices to
	"rtems_boolean", "rtems_single", "rtems_double".
	* user/intr.t, user/userext.t: Convert to "bool".
2008-09-09 07:25:01 +00:00
Ralf Corsepius
a4a422a0fa Add deprecation notices to "rtems_boolean", "rtems_single", "rtems_double". 2008-09-09 07:24:29 +00:00
Ralf Corsepius
b2adb4528f Convert to "bool". 2008-09-09 07:23:42 +00:00
Joel Sherrill
dad723f431 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add debug information for
	per task allocations.
	* score/src/objectextendinformation.c: Do not allocate memory for name
	tables because we do not use name tables any longer.
2008-09-08 23:14:23 +00:00
Ralf Corsepius
bcf21861bb 2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* i2c/i2c.c: Remove rtems_boolean having crept in again.
2008-09-08 22:44:35 +00:00
Ralf Corsepius
46a69b2c09 Remove rtems_boolean having crept in again. 2008-09-08 22:44:29 +00:00
Joel Sherrill
8a33503890 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm09/system.h, tm09/task1.c: Account for message buffer memory.
2008-09-08 21:47:23 +00:00
Joel Sherrill
92845aecf4 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* runtest.in: Work on .exe and .ralf files.
2008-09-08 21:45:53 +00:00
Joel Sherrill
b6de10ee00 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* runtest-bottom: Work on .exe and .ralf files.
2008-09-08 21:45:44 +00:00
Joel Sherrill
464ec0db13 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadinitialize.c: _Stack_Ensure_minimum was being called
	here and in _Thread_Stack_Allocate.
2008-09-08 21:45:29 +00:00
Joel Sherrill
943da2c2b8 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* runtest.in: Update to support .exe or .ralf extension.
2008-09-08 19:29:21 +00:00
Joel Sherrill
d1dde5954f 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c,
	mpc8xx/timer/timer.c: Fix nested extern declaration warnings.
2008-09-08 16:29:52 +00:00
Joel Sherrill
04cda3a16b 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, include/.cvsignore: New files.
2008-09-08 16:16:40 +00:00
Joel Sherrill
6a4deb5c74 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* acinclude.m4: Add tqm8xx.
2008-09-08 16:16:09 +00:00
Thomas Doerfler
3c12a247a9 added missing files, fixed some minors 2008-09-08 15:44:26 +00:00
Joel Sherrill
5265a27fa2 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp09/recvmsg.c, mp09/task1.c, mp10/task1.c, mp13/task1.c,
	mp14/msgtask1.c: Correct types to eliminate warnings.
2008-09-08 15:25:08 +00:00
Joel Sherrill
a5b6cdda58 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c,
	libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h,
	libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c,
	libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c,
	libmisc/monitor/monitor.h, libmisc/stackchk/internal.h,
	rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h,
	score/include/rtems/score/bitfield.h, score/src/mpci.c,
	score/src/objectextendinformation.c, score/src/threadmp.c: Remove
	extraneous spaces.
2008-09-08 15:19:34 +00:00
Joel Sherrill
df4fcaa0af 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove extraneous spaces.
2008-09-08 15:19:23 +00:00
Joel Sherrill
7fa919fc75 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Remove extraneous spaces.
2008-09-08 15:19:16 +00:00
Joel Sherrill
edb1810e66 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Remove extraneous spaces.
2008-09-08 15:19:14 +00:00
Joel Sherrill
5a1e7e8783 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/timer.t: Update documentation to reflect Timer Driver
	renaming.
2008-09-08 14:48:06 +00:00
Joel Sherrill
e33e7b8833 2008-09-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* ChangeLog: New file.
2008-09-08 13:34:18 +00:00
Joel Sherrill
7af2a172fb 2008-09-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* AUTHORS: Convert to UNIX CR/LF style.
2008-09-08 13:32:05 +00:00
Joel Sherrill
c68637e718 2008-09-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* AUTHORS, COPYING, README: Convert to UNIX CR/LF style.
2008-09-08 13:31:59 +00:00
Joel Sherrill
db81d0b218 2008-09-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* mcf548x/include/Freescale_license.txt: Convert to UNIX CR/LF style,
	eliminate characters with 8th bit set.
2008-09-08 13:29:20 +00:00
Joel Sherrill
2d29741ab6 2008-09-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp34/sp34.scn, sp35/sp35.scn: Convert to UNIX CR/LF style.
2008-09-08 13:26:34 +00:00
Thomas Doerfler
486f2204e9 Derive time base clicks from bus frequency 2008-09-08 11:04:18 +00:00
Ralf Corsepius
2528c9250a Add --enable-newlib-io-c99-formats. 2008-09-08 10:04:49 +00:00
Thomas Doerfler
1ac5fdc942 added BSP for tqm8xx based boards 2008-09-08 10:01:14 +00:00
Thomas Doerfler
5ca23e5e3d added new BSP for powerpc/tqm8xx boards 2008-09-08 09:59:42 +00:00
Thomas Doerfler
fba265ed63 added new bsp for tqm8xx 2008-09-08 09:58:46 +00:00
Thomas Doerfler
cc38ef1f11 some mpc8xx maintenance 2008-09-08 09:57:50 +00:00
Thomas Doerfler
49d872d93f maintenance 2008-09-08 09:57:15 +00:00
Thomas Doerfler
63de714ce7 added new BSP for TQM8xx boards 2008-09-08 09:55:39 +00:00
Thomas Doerfler
663e52939c added support for flexible PLL in MPC866 and friends 2008-09-08 09:54:22 +00:00
Thomas Doerfler
95c274ecf3 corrected parameters for done signalling 2008-09-08 09:53:40 +00:00
Thomas Doerfler
b06d055228 corrected parameters inside i2c driver for done signalling 2008-09-08 09:52:49 +00:00
Thomas Doerfler
4a260f074d corrected parameters in i2c driver for done signalling
updated mscan CAN driver
2008-09-08 09:51:46 +00:00
Ralf Corsepius
6a1c843517 2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* mcf548x/include/mcf548x.h: Convert to Unix file format.
2008-09-08 06:59:51 +00:00
Ralf Corsepius
d862ab7ab4 Convert to Unix file format. 2008-09-08 06:59:44 +00:00
Ralf Corsepius
ec07659679 2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.h: Convert to Unix file format.
2008-09-08 06:57:28 +00:00
Ralf Corsepius
e985827531 2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/auth.c, pppd/ccp.c, pppd/chap.c, pppd/ipcp.c, pppd/lcp.c,
	pppd/options.c, pppd/upap.c: Add missing initializers.
2008-09-08 06:45:53 +00:00
Ralf Corsepius
db09424d43 Add missing initializers. 2008-09-08 06:45:43 +00:00
Ralf Corsepius
b4dad2815c 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* httpd/webrom.c: Add missing initializers.
2008-09-07 18:07:39 +00:00
Ralf Corsepius
3eb3235171 Add missing initializers. 2008-09-07 18:07:30 +00:00
Ralf Corsepius
37181014d0 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h,
	libblock/include/rtems/ramdisk.h: Use "#include <..>" to include
	public headers.
2008-09-07 18:06:37 +00:00
Ralf Corsepius
90b2c07205 Use "#include <..>" to include public headers. 2008-09-07 18:06:27 +00:00
Ralf Corsepius
5d3211a7af 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_cksum_arm.h:
	Stop using old-style function definitions.
2008-09-07 15:34:38 +00:00
Ralf Corsepius
e4c4c42fc8 Stop using old-style function definitions. 2008-09-07 15:34:30 +00:00
Ralf Corsepius
6c283cbfb9 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Merge thumb/Makefile.am.
	* thumb/Makefile.am: Remove (superfluous).
2008-09-07 15:26:01 +00:00
Ralf Corsepius
77ceee29af 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove score/cpu/arm/thumb/Makefile.
2008-09-07 15:25:41 +00:00
Ralf Corsepius
f6876442e2 Remove score/cpu/arm/thumb/Makefile. 2008-09-07 15:25:35 +00:00
Ralf Corsepius
db507c1665 Merge thumb/Makefile.am. 2008-09-07 15:24:36 +00:00
Ralf Corsepius
03a699d2af Remove (superfluous). 2008-09-07 15:24:24 +00:00
Ralf Corsepius
301ad0a6ba 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/comm/i386-stub.c: Include stdbool.h.
2008-09-07 14:30:58 +00:00
Ralf Corsepius
e8d4c3601a Include stdbool.h. 2008-09-07 14:30:51 +00:00
Ralf Corsepius
38eb627b0d 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* itron/include/itronsys/types.h: Eliminate "boolean".
2008-09-07 07:04:47 +00:00
Ralf Corsepius
5b2be34998 Eliminate "boolean". 2008-09-07 07:04:38 +00:00
Ralf Corsepius
a268a9c268 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-prmisc.c: Add missing initializers.
2008-09-07 07:03:01 +00:00
Ralf Corsepius
bd5b34e564 Add missing initializers. 2008-09-07 07:02:47 +00:00
Ralf Corsepius
b4d0eec379 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/mc68681.c, libchip/serial/mc68681_p.h,
	libchip/serial/ns16550.c, libchip/serial/ns16550_p.h,
	libchip/serial/serial.h, libchip/serial/serprobe.c,
	libchip/serial/sersupp.h, libchip/serial/z85c30.c:
	Convert to "bool".
2008-09-07 03:44:23 +00:00
Ralf Corsepius
6640459d06 Convert to "bool". 2008-09-07 03:44:14 +00:00
Ralf Corsepius
d5150397ac 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/i2c/spi-flash-m25p40.c, libchip/i2c/spi-fram-fm25l256.c,
	libchip/i2c/spi-memdrv.h: Convert to "bool".
2008-09-07 03:42:23 +00:00
Ralf Corsepius
33c36c817b 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/rtc/ds1375-rtc.h, libchip/rtc/ds1375.c,
	libchip/rtc/mc146818a.c, libchip/rtc/mc146818a.h,
	libchip/rtc/rtc.h, libchip/rtc/rtcprobe.c: Convert to "bool".
2008-09-07 03:38:46 +00:00
Ralf Corsepius
2c0b59855d 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.c, libchip/ide/ata_internal.h,
	libchip/ide/ide_ctrl_cfg.h: Convert to "bool".
2008-09-07 03:35:43 +00:00
Ralf Corsepius
e7672d6db5 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/display/disp_hcms29xx.c, libchip/display/disp_hcms29xx.h:
	Convert to "bool".
2008-09-07 03:32:13 +00:00
Ralf Corsepius
90d21b3685 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/if_fxp.c, libchip/network/if_fxpvar.h:
	Convert to "bool".
2008-09-07 03:29:55 +00:00
Ralf Corsepius
686f66d81e 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/shmdr/fatal.c, libchip/shmdr/shm_driver.h:
	Convert to "bool".
2008-09-07 03:18:40 +00:00
Ralf Corsepius
e8d4c79790 Convert to "bool". 2008-09-07 03:18:29 +00:00
Ralf Corsepius
a0d7578489 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc5xx/irq/irq.c, mpc83xx/spi/mpc83xx_spidrv.c,
	new-exceptions/cpu.c, new-exceptions/raw_exception.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c,
	ppc403/clock/clock.c, ppc403/clock/clock_4xx.c,
	ppc403/console/console.c, ppc403/console/console.c.polled,
	ppc403/console/console405.c, ppc403/tty_drv/tty_drv.c:
	Convert to "bool".
2008-09-06 17:37:02 +00:00
Ralf Corsepius
39d08d55e9 Convert to "bool". 2008-09-06 17:36:55 +00:00
Ralf Corsepius
0a4c19ab2e 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* interrupt/interrupt.h, serial/spi.h, serial/twi.h, serial/uart.h:
	Convert to "bool".
2008-09-06 17:34:09 +00:00
Ralf Corsepius
76e9a958d6 Minor "bool" fixes. 2008-09-06 17:32:10 +00:00
Ralf Corsepius
71d3183de5 2008-09-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* irq/irq.c: Minor "bool" fixes.
2008-09-06 17:31:54 +00:00
Ralf Corsepius
d54bc53177 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/m68k-stub.c: Convert to "bool".
2008-09-06 17:30:13 +00:00
Ralf Corsepius
64c16003c7 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/gdbstub/m68k-stub.c: Convert to "bool".
2008-09-06 17:28:37 +00:00
Ralf Corsepius
b530825aec changes 2008-09-06 17:26:31 +00:00
Ralf Corsepius
cab0e5a32e 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq/irq.c: Convert to "bool".
2008-09-06 17:24:59 +00:00
Ralf Corsepius
f8a5905167 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Convert to "bool".
2008-09-06 17:23:47 +00:00
Ralf Corsepius
b1d8a81ad0 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.h: Convert to "bool".
2008-09-06 17:22:21 +00:00
Ralf Corsepius
cdba2dca09 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/config.c, console/console.h: Convert to "bool".
2008-09-06 17:20:18 +00:00
Ralf Corsepius
f73a288214 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Convert to "bool".
2008-09-06 17:18:18 +00:00
Ralf Corsepius
d747116977 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq/irq.c, startup/bspstart.c: Convert to bool.
2008-09-06 17:16:34 +00:00
Ralf Corsepius
9f91d0fcb5 Convert to bool. 2008-09-06 17:16:21 +00:00
Ralf Corsepius
bfaf852dd6 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* bestcomm/bestcomm_glue.c, ide/pcmcia_ide.c, tod/todcfg.c:
	Convert to "bool".
2008-09-06 17:14:45 +00:00
Ralf Corsepius
1b3f0c5c95 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* ide/pcmcia_ide.c, irq/irq.c, startup/bspstart.c,
	startup/bspstart.c.nocache: Convert to "bool".
2008-09-06 17:12:10 +00:00
Ralf Corsepius
c88bb57f15 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* misc/interr.c: Convert to "bool".
2008-09-06 17:09:14 +00:00
Ralf Corsepius
5abd94e36a 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* tod/todcfg.c:  Convert to "bool".
2008-09-06 17:06:20 +00:00
Ralf Corsepius
b4532059cc 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* ide/ide.c: Convert to "bool".
2008-09-06 17:04:55 +00:00
Ralf Corsepius
a271ab038f 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* spi/mc68360_spidrv.c: Convert to "bool".
2008-09-06 17:03:24 +00:00
Ralf Corsepius
6a64fa6ba1 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/comm/i386-stub.c, shared/irq/irq.c: Misc. "bool" changes.
2008-09-06 17:01:22 +00:00
Ralf Corsepius
a902c8d49e Misc. "bool" changes. 2008-09-06 17:01:15 +00:00
Ralf Corsepius
176f133fc9 Convert to Unix file format. 2008-09-06 04:41:19 +00:00
Ralf Corsepius
b3138479a2 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/ramdisk.h,
	libfs/src/nfsclient/proto/mount_prot.x: Convert to Unix file format.
2008-09-06 04:26:47 +00:00
Ralf Corsepius
d7001e476b Convert to Unix file format. 2008-09-06 04:25:51 +00:00
Ralf Corsepius
0422fde543 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/src/test_support.c: Convert to "bool".
2008-09-06 03:40:05 +00:00
Ralf Corsepius
f0157b8fd8 Convert to "bool". 2008-09-06 03:39:58 +00:00
Ralf Corsepius
b9073c3792 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* malloctest/init.c: Convert to "bool".
2008-09-06 03:37:48 +00:00
Ralf Corsepius
7b7073e834 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxcleanup/psxcleanup.c, psxfatal_support/init.c,
	psxfatal_support/system.h: Convert to "bool".
2008-09-06 03:33:27 +00:00
Ralf Corsepius
5cd68b4fdf 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* capture/system.h, capture/test1.c, fileio/init.c,
	unlimited/init.c, unlimited/system.h, unlimited/test1.c:
	Convert to "bool".
2008-09-06 03:31:27 +00:00
Ralf Corsepius
c502aa3dc0 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp35/priinv.c, sp37/init.c, sp38/init.c, sp39/init.c, sp41/init.c,
	sp42/init.c, sp43/init.c, spfatal/fatal.c, spfatal/system.h,
	spfatal_support/init.c, spfatal_support/system.h:
	Convert to "bool".
2008-09-06 03:28:15 +00:00
Joel Sherrill
34c33ff7bf 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sh7032/clock/ckinit.c, sh7045/clock/ckinit.c, sh7750/clock/ckinit.c:
	The Shared Memory Driver no longer requires the special IOCTL in
	Clock_control. This was a hack which has existed since before the
	Classic API Timer Manager was implemented. All implementations of and
	references to Clock_control were removed.
2008-09-05 22:06:56 +00:00
Joel Sherrill
dad34779e9 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/clock/clock.c, mpc6xx/clock/c_clock.c, mpc8260/clock/clock.c,
	mpc8xx/clock/clock.c, ppc403/clock/clock.c, ppc403/clock/clock_4xx.c:
	The Shared Memory Driver no longer requires the special IOCTL in
	Clock_control. This was a hack which has existed since before the
	Classic API Timer Manager was implemented. All implementations of and
	references to Clock_control were removed.
2008-09-05 22:06:54 +00:00
Joel Sherrill
34ef6c7a55 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: The Shared Memory Driver no longer requires the
	special IOCTL in Clock_control. This was a hack which has existed
	since before the Classic API Timer Manager was implemented. All
	implementations of and references to Clock_control were removed.
2008-09-05 22:06:51 +00:00
Joel Sherrill
1e6aed25b4 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* mcf5206/clock/ckinit.c, mcf5272/clock/ckinit.c: The Shared Memory
	Driver no longer requires the special IOCTL in Clock_control. This
	was a hack which has existed since before the Classic API Timer
	Manager was implemented. All implementations of and references to
	Clock_control were removed.
2008-09-05 22:06:49 +00:00
Joel Sherrill
bd84f817c5 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c: The Shared Memory Driver no longer requires the
	special IOCTL in Clock_control. This was a hack which has existed
	since before the Classic API Timer Manager was implemented. All
	implementations of and references to Clock_control were removed.
2008-09-05 22:06:47 +00:00
Joel Sherrill
16bd644c3d 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/clockdrv.h: The Shared Memory Driver no longer
	requires the special IOCTL in Clock_control. This was a hack which
	has existed since before the Classic API Timer Manager was
	implemented. All implementations of and references to Clock_control
	were removed.
2008-09-05 22:06:31 +00:00
Joel Sherrill
2d5e1ca04e 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* clockdrv_shell.c: The Shared Memory Driver no longer requires the
	special IOCTL in Clock_control. This was a hack which has existed
	since before the Classic API Timer Manager was implemented. All
	implementations of and references to Clock_control were removed.
2008-09-05 22:06:25 +00:00
Joel Sherrill
2d4d710be2 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/clock/clock.c: The Shared Memory Driver no longer requires the
	special IOCTL in Clock_control. This was a hack which has existed
	since before the Classic API Timer Manager was implemented. All
	implementations of and references to Clock_control were removed.
2008-09-05 22:06:04 +00:00
Joel Sherrill
1e78607802 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_howto/clock.t: The Shared Memory Driver no longer requires the
	special IOCTL in Clock_control. This was a hack which has existed
	since before the Classic API Timer Manager was implemented. All
	implementations of and references to Clock_control were removed.
2008-09-05 22:04:42 +00:00
Joel Sherrill
b3836ce3ec 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/corebarrier.c, score/src/corebarrierrelease.c,
	score/src/corebarrierwait.c, score/src/coremsg.c,
	score/src/coremsgbroadcast.c, score/src/coremsgclose.c,
	score/src/coremsgflush.c, score/src/coremsgflushsupp.c,
	score/src/coremsgflushwait.c, score/src/coremsginsert.c,
	score/src/coremsgseize.c, score/src/coremsgsubmit.c,
	score/src/corerwlock.c, score/src/coresem.c,
	score/src/coresemflush.c, score/src/coresemseize.c,
	score/src/coresemsurrender.c, score/src/corespinlock.c,
	score/src/threadblockingoperationcancel.c,
	score/src/threadqenqueue.c: Remove unnecessary include of mpci.h.
2008-09-05 21:54:20 +00:00
Joel Sherrill
dd1a460ef8 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/msgmp.c, rtems/src/msgqtranslatereturncode.c,
	rtems/src/semmp.c, rtems/src/semtranslatereturncode.c: Correct
	confusion over SuperCore proxy blocking status and Classic API proxy
	blocking status constants.
2008-09-05 21:39:16 +00:00
Joel Sherrill
cdf42cd9b7 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/objectgetinfo.c: Correct for multiprocessor systems when
	all object instances within a particular class are remote.
2008-09-05 21:37:20 +00:00
Joel Sherrill
f2b169a4a5 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/assocnamebad.c: Correct file name in message.
2008-09-05 21:35:04 +00:00
Joel Sherrill
252dea2fa1 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* shmsupp/lock.c: Disable CPU interrupts when we have the shared memory
	locked. This is necessary to prevent deadlock.
2008-09-05 21:33:41 +00:00
Joel Sherrill
538583f5b1 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psim-gdb-bottom: Also break on C_exception_handler so we can see what
	caused the exception. This indicates an error in the program.
2008-09-05 21:33:20 +00:00
Joel Sherrill
7753aa9fd5 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp14/delay.c, mp14/evtmtask.c: Pass task Id to TSR.
	* mp14/system.h: Semaphore_task_id and Semaphore_task_name arrays
	were one entry too short.
2008-09-05 21:30:17 +00:00
Ralf Corsepius
8cf1c1d318 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems++/rtemsTaskMode.h: Convert to "bool".
2008-09-05 17:45:59 +00:00
Ralf Corsepius
2c534dce47 Convert to "bool". 2008-09-05 17:45:51 +00:00
Joel Sherrill
913ede4f31 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Make sure
	CONFIGURE_TIMER_FOR_SHARED_MEMORY_DRIVER is defined to 0 in single
	processor configurations.
2008-09-05 16:42:47 +00:00
Ralf Corsepius
614e6bbd14 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* interrupt/interrupt.c, network/ethernet.c: Eliminate "boolean".
2008-09-05 14:54:27 +00:00
Ralf Corsepius
c0524f7cdf Eliminate "boolean". 2008-09-05 14:54:19 +00:00
Joel Sherrill
f0f450aabb 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Account for needed a Classic API Timer when
	using the Shared Memory MPCI driver.
2008-09-05 14:50:36 +00:00
Joel Sherrill
26f5aa0598 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/mpci.h,
	score/inline/rtems/score/threadmp.inl, score/src/mpci.c: Eliminate
	dependencies between MP .h files.
2008-09-05 14:50:10 +00:00
Joel Sherrill
5c980d0f99 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/Makefile.am, libchip/shmdr/init.c, libchip/shmdr/mpisr.c,
	libchip/shmdr/poll.c, libchip/shmdr/shm_driver.h: Update shared
	memory driver to not use the clock ioctl to install a method to poll
	for input. It now uses a Class API Timer which means we can eliminate
	this special IOCTL from all clock drivers.
	* libchip/shmdr/setckvec.c: Removed.
2008-09-05 14:48:37 +00:00
Joel Sherrill
3c4d041ce4 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/clock/c_clock.c: CLOCK_DRIVER_USE_FAST_IDLE must be checked to
	be equal to 1 -- not just defined.
2008-09-05 14:44:40 +00:00
Joel Sherrill
40c2d41e5b 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Must extern _MPCI_Semaphore because it is no longer
	declared in a public place.
2008-09-05 14:43:45 +00:00
Joel Sherrill
39cc10ab8a 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, shmsupp/getcfg.c, shmsupp/lock.c,
	startup/linkcmds: Now running mptests using new memory layout with
	updates patches against gdb 6.8.
	* include/psim.h, startup/psim_registers.c: New files.
2008-09-05 14:42:59 +00:00
Ralf Corsepius
94130dbbdf 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* i2c/i2c.c, i2c/i2cdrv.c: Convert to "bool".
2008-09-05 14:42:54 +00:00
Ralf Corsepius
b3bbcdf16c Convert to "bool". 2008-09-05 14:42:48 +00:00
Joel Sherrill
e0487edfc8 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psim-shared, psim-top.in, runtest-bottom, runtest-top.in: Now running
	mptests.
2008-09-05 14:42:35 +00:00
Joel Sherrill
7eb312d5c4 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am: Updating and
	fixing while running mptests on psim.
2008-09-05 14:41:49 +00:00
Joel Sherrill
a319ebef08 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp03/delay.c, mp06/task1.c, mp06/node2/mp06-node2.scn, mp07/task1.c:
	Updating and fixing while running them on psim.
2008-09-05 14:41:37 +00:00
Joel Sherrill
cf594ad7c0 2008-09-05 Eric Norum <norume@aps.anl.gov>
* libfs/src/nfsclient/src/rpcio.c: Correct breakage introduced by Joel
	removing asserts with side-effects.
2008-09-05 13:42:31 +00:00
Thomas Doerfler
9a49a969e8 Improved parameter checks for bit rate function. 2008-09-05 13:24:26 +00:00
Joel Sherrill
18039f10d1 Remove bogus entry. 2008-09-05 13:23:55 +00:00
Thomas Doerfler
7d8dadee05 derive timebase clicks from bus frequency 2008-09-05 13:23:39 +00:00
Ralf Corsepius
5c6d518663 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc83xx/network/tsec.c, new-exceptions/raw_exception.c:
	Convert to "bool".
2008-09-05 12:41:47 +00:00
Ralf Corsepius
bcd536844a Convert to "bool". 2008-09-05 12:41:40 +00:00
Ralf Corsepius
4fa2a98634 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc505/timer/timer.c, mpc5xx/timer/timer.c, mpc6xx/timer/timer.c,
	mpc8260/timer/timer.c, mpc8xx/timer/timer.c, ppc403/timer/timer.c:
	Convert to "bool".
2008-09-05 12:11:54 +00:00
Ralf Corsepius
3942ccef56 Convert to "bool". 2008-09-05 12:11:47 +00:00
Ralf Corsepius
1fb90150e5 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7032/timer/timer.c, sh7045/timer/timer.c, sh7750/timer/timer.c:
	Convert to "bool".
2008-09-05 12:09:15 +00:00
Ralf Corsepius
41fd3a987a 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Convert to "bool".
2008-09-05 12:01:07 +00:00
Ralf Corsepius
63e23b6edb Convert to "bool". 2008-09-05 12:00:59 +00:00
Ralf Corsepius
3553085fba 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* mcf5206/timer/timer.c, mcf5272/timer/timer.c: Convert to "bool".
2008-09-05 11:56:04 +00:00
Ralf Corsepius
3551166d7b Convert to "bool". 2008-09-05 11:55:58 +00:00
Ralf Corsepius
1e524b5199 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* network/ethernet.c, serial/twi.c, timer/timer.c: Convert to "bool".
2008-09-05 11:53:41 +00:00
Ralf Corsepius
b6fe6334d8 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* at91rm9200/timer/timer.c, lpc22xx/timer/timer.c,
	mc9328mxl/timer/timer.c, s3c2400/timer/timer.c,
	s3c24xx/timer/timer.c: Convert to "bool".
2008-09-05 11:49:08 +00:00
Ralf Corsepius
db29c95bb9 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/85c30.c, console/console.c, irq/FPGA.c, timer/timer.c,
	tod/tod.c: Convert to "bool".
2008-09-05 11:45:58 +00:00
Ralf Corsepius
45a2f3e55f 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/console/inch.c: Convert to "bool".
2008-09-05 11:40:44 +00:00
Ralf Corsepius
fcd74835fe Convert to "bool". 2008-09-05 11:40:32 +00:00
Ralf Corsepius
b40a6671ce 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Convert to "bool".
2008-09-05 11:38:25 +00:00
Ralf Corsepius
73f10b7f6f 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/config.c: Convert to "bool".
2008-09-05 11:35:44 +00:00
Ralf Corsepius
bd69579248 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, timer/timer.c: Convert to "bool".
2008-09-05 11:33:47 +00:00
Ralf Corsepius
914f586f47 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* i2c/i2c.c, i2c/i2cdrv.c: Convert to "bool".
2008-09-05 11:29:12 +00:00
Ralf Corsepius
e16fcaa3b2 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* spi/m360_spi.c, timer/timer.c: Convert to "bool".
2008-09-05 08:46:36 +00:00
Ralf Corsepius
907bf4b86b Convert to "bool". 2008-09-05 08:46:27 +00:00
Ralf Corsepius
a65f9a227b 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, fatal/bspfatal.c, include/fatal.h,
	timer/timer.c: Convert to "bool".
2008-09-05 08:43:19 +00:00
Ralf Corsepius
903a00b83c 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, timer/timer.c: Convert to "bool".
2008-09-05 08:40:40 +00:00
Ralf Corsepius
505b7e0404 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h, console/console.c, timer/timer.c: Convert to "bool".
2008-09-05 08:38:07 +00:00
Ralf Corsepius
c9dc54d302 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, timer/timer.c: Convert to "bool".
2008-09-05 08:35:34 +00:00
Ralf Corsepius
b9f9ca3769 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Convert to "bool".
2008-09-05 08:34:01 +00:00
Ralf Corsepius
9751d1783e 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, timer/timer.c: Convert to "bool".
2008-09-05 08:23:38 +00:00
Ralf Corsepius
1a52ce7907 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Convert to "bool".
2008-09-05 08:19:45 +00:00
Ralf Corsepius
6a29c7d5c7 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* timerstub.c, tod.c: Convert to "bool".
2008-09-05 08:08:45 +00:00
Ralf Corsepius
14d7c5a7b5 Convert to "bool". 2008-09-05 08:08:39 +00:00
Ralf Corsepius
4d4c81262e 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Convert to "bool".
2008-09-05 08:04:16 +00:00
Ralf Corsepius
917f816800 Stop using old-style defs. 2008-09-05 06:38:12 +00:00
Ralf Corsepius
a28ce53bce 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c: Stop using old-style defs.
2008-09-05 06:38:02 +00:00
Ralf Corsepius
f5cd06ceb0 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Remove bogus decl.
2008-09-05 06:36:54 +00:00
Ralf Corsepius
5a3e58f857 Remove bogus decl. 2008-09-05 06:36:46 +00:00
Ralf Corsepius
f7276df06b 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Convert to "bool".
2008-09-05 06:23:45 +00:00
Ralf Corsepius
0bbd74de37 Convert to "bool". 2008-09-05 06:23:37 +00:00
Ralf Corsepius
4fef24e8ba 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Convert to "bool".
2008-09-05 06:16:39 +00:00
Ralf Corsepius
5453f8a26e Convert to "bool". 2008-09-05 06:16:34 +00:00
Ralf Corsepius
bd6604698d 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Convert to "bool".
2008-09-05 05:47:21 +00:00
Ralf Corsepius
864320562d Convert to "bool". 2008-09-05 05:47:15 +00:00
Ralf Corsepius
f44b668574 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, timer/timer.c: Convert to "bool".
2008-09-05 05:44:55 +00:00
Ralf Corsepius
0c7d93fc7e 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console-io.c: Convert to "bool".
2008-09-05 05:28:35 +00:00
Ralf Corsepius
9e3c6d126a Convert to "bool". 2008-09-05 05:28:27 +00:00
Ralf Corsepius
8858097652 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console-io.c: Convert to "bool".
2008-09-05 05:03:55 +00:00
Ralf Corsepius
e53fbe8ddd Convert to "bool". 2008-09-05 05:03:36 +00:00
Ralf Corsepius
34bd389315 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Convert to "bool".
2008-09-05 05:00:45 +00:00
Ralf Corsepius
adf2b49828 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Convert to "bool".
2008-09-05 04:59:38 +00:00
Ralf Corsepius
8b549aff79 Convert to "bool". 2008-09-05 04:36:16 +00:00
Ralf Corsepius
dbf2619ae2 Fix broken entry. 2008-09-05 04:35:55 +00:00
Ralf Corsepius
7a4d16c4e9 2008-09-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* block/block.c, rtc/rtc.c: Convert to "bool".
2008-09-05 04:16:35 +00:00
Ralf Corsepius
f128263bf4 Convert to "bool". 2008-09-05 04:16:29 +00:00
Ralf Corsepius
765b0b5720 2008-09-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* gba/startup/cpu.c, gba/timer/timer.c: Convert to "bool".
2008-09-05 04:09:31 +00:00
Ralf Corsepius
b5059b33b7 2008-09-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* timer/timer.c: Use "true" instead of "1" for "bool"s.
2008-09-05 02:28:16 +00:00
Ralf Corsepius
cfdef83443 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, rtems/score/cpu.h: Convert to "bool".
2008-09-05 02:00:39 +00:00
Ralf Corsepius
5d42c1b7bc Convert to "bool". 2008-09-05 02:00:15 +00:00
Ralf Corsepius
8f5cdbb8ec 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/new-exceptions/cpu.h, rtems/score/cpu.h: Convert to "bool".
2008-09-05 01:59:18 +00:00
Ralf Corsepius
eb441f035c 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, rtems/score/cpu.h: Convert to "bool".
2008-09-05 01:49:49 +00:00
Ralf Corsepius
daacb89670 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* sapi/include/rtems/config.h,
	sapi/inline/rtems/chain.inl,
	sapi/inline/rtems/extension.inl,
	sapi/src/debug.c,
	sapi/src/extension.c,
	sapi/src/ioregisterdriver.c: Convert to "bool".
2008-09-04 17:46:48 +00:00
Ralf Corsepius
484a76996e Convert to "bool". 2008-09-04 17:46:39 +00:00
Ralf Corsepius
301fef142e 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/clocktodvalidate.c,
	rtems/src/intrbody.c,
	rtems/src/msgmp.c,
	rtems/src/msgqcreate.c,
	rtems/src/msgqreceive.c,
	rtems/src/partmp.c,
	rtems/src/regionmp.c,
	rtems/src/semmp.c,
	rtems/src/signalsend.c,
	rtems/src/taskcreate.c,
	rtems/src/taskmode.c,
	rtems/src/taskmp.c,
	rtems/src/tasks.c,
	rtems/src/timerserver.c,
	rtems/src/workspace.c: Convert to "bool".
2008-09-04 17:45:10 +00:00
Ralf Corsepius
8b33914025 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/inline/rtems/rtems/asr.inl,
	rtems/inline/rtems/rtems/attr.inl,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/dpmem.inl,
	rtems/inline/rtems/rtems/eventset.inl,
	rtems/inline/rtems/rtems/message.inl,
	rtems/inline/rtems/rtems/modes.inl,
	rtems/inline/rtems/rtems/options.inl,
	rtems/inline/rtems/rtems/part.inl,
	rtems/inline/rtems/rtems/ratemon.inl,
	rtems/inline/rtems/rtems/region.inl,
	rtems/inline/rtems/rtems/sem.inl,
	rtems/inline/rtems/rtems/status.inl,
	rtems/inline/rtems/rtems/support.inl,
	rtems/inline/rtems/rtems/tasks.inl,
	rtems/inline/rtems/rtems/timer.inl: Convert to "bool".
2008-09-04 17:43:30 +00:00
Ralf Corsepius
b59b7253aa 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/asr.h,
	rtems/include/rtems/rtems/clock.h,
	rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/sem.h,
	rtems/include/rtems/rtems/support.h: Convert to "bool".
2008-09-04 17:42:02 +00:00
Ralf Corsepius
cda4416c4d 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/corebarrierwait.c,
	score/src/coremsg.c,
	score/src/coremsginsert.c,
	score/src/coremsgseize.c,
	score/src/coremsgsubmit.c,
	score/src/coremutexseize.c,
	score/src/corerwlockobtainread.c,
	score/src/corerwlockobtainwrite.c,
	score/src/coresemseize.c,
	score/src/corespinlockwait.c,
	score/src/heapfree.c,
	score/src/heapresizeblock.c,
	score/src/heapsizeofuserarea.c,
	score/src/heapwalk.c,
	score/src/interr.c,
	score/src/objectinitializeinformation.c,
	score/src/objectmp.c,
	score/src/objectnametoid.c,
	score/src/objectsetname.c,
	score/src/pheapextend.c,
	score/src/pheapfree.c,
	score/src/pheapgetblocksize.c,
	score/src/pheapresizeblock.c,
	score/src/pheapwalk.c,
	score/src/threadchangepriority.c,
	score/src/threaddispatch.c,
	score/src/threadevaluatemode.c,
	score/src/threadinitialize.c,
	score/src/threadloadenv.c,
	score/src/threadqextractpriority.c,
	score/src/threadqextractwithproxy.c,
	score/src/threadrestart.c,
	score/src/threadresume.c,
	score/src/threadstart.c,
	score/src/timespecgreaterthan.c,
	score/src/timespecisvalid.c,
	score/src/timespeclessthan.c,
	score/src/userextthreadbegin.c,
	score/src/userextthreadcreate.c,
	score/src/wkspace.c: Convert to "bool".
2008-09-04 17:40:05 +00:00
Ralf Corsepius
567800ac21 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/address.inl,
	score/inline/rtems/score/chain.inl,
	score/inline/rtems/score/corebarrier.inl,
	score/inline/rtems/score/coremsg.inl,
	score/inline/rtems/score/coremutex.inl,
	score/inline/rtems/score/coresem.inl,
	score/inline/rtems/score/corespinlock.inl,
	score/inline/rtems/score/heap.inl,
	score/inline/rtems/score/isr.inl,
	score/inline/rtems/score/mppkt.inl,
	score/inline/rtems/score/object.inl,
	score/inline/rtems/score/objectmp.inl,
	score/inline/rtems/score/priority.inl,
	score/inline/rtems/score/stack.inl,
	score/inline/rtems/score/states.inl,
	score/inline/rtems/score/sysstate.inl,
	score/inline/rtems/score/thread.inl,
	score/inline/rtems/score/threadmp.inl,
	score/inline/rtems/score/tqdata.inl,
	score/inline/rtems/score/watchdog.inl:
	Convert to "bool".
2008-09-04 17:38:39 +00:00
Ralf Corsepius
a8e3bc3ba7 * score/include/rtems/debug.h,
score/include/rtems/score/context.h,
	score/include/rtems/score/corebarrier.h,
	score/include/rtems/score/coremsg.h,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/corerwlock.h,
	score/include/rtems/score/coresem.h,
	score/include/rtems/score/corespinlock.h,
	score/include/rtems/score/heap.h,
	score/include/rtems/score/interr.h,
	score/include/rtems/score/isr.h,
	score/include/rtems/score/object.h,
	score/include/rtems/score/objectmp.h,
	score/include/rtems/score/protectedheap.h,
	score/include/rtems/score/sysstate.h,
	score/include/rtems/score/thread.h,
	score/include/rtems/score/threadq.h,
	score/include/rtems/score/timespec.h,
	score/include/rtems/score/tod.h,
	score/include/rtems/score/userext.h,
	score/include/rtems/score/wkspace.h:
	Convert to "bool".
2008-09-04 17:36:32 +00:00
Ralf Corsepius
9ea0e3324e 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/object.c: Stop using old-style function definitions.
2008-09-04 17:34:08 +00:00
Ralf Corsepius
a04d5d3a81 Stop using old-style function definitions. 2008-09-04 17:33:40 +00:00
Ralf Corsepius
91242c9bf2 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* itron/include/rtems/itron/mbox.h,
	itron/include/rtems/itron/msgbuffer.h,
	itron/include/rtems/itron/semaphore.h,
	itron/inline/rtems/itron/eventflags.inl,
	itron/inline/rtems/itron/fmempool.inl,
	itron/inline/rtems/itron/mbox.inl,
	itron/inline/rtems/itron/msgbuffer.inl,
	itron/inline/rtems/itron/port.inl,
	itron/inline/rtems/itron/semaphore.inl,
	itron/inline/rtems/itron/task.inl,
	itron/inline/rtems/itron/vmempool.inl,
	itron/src/cre_tsk.c, itron/src/sta_tsk.c,
	itron/src/task.c, itron/src/trcv_mbf.c,
	itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
	itron/src/twai_sem.c: Convert to "bool".
2008-09-04 16:04:10 +00:00
Ralf Corsepius
22d66ab1af Convert to "bool". 2008-09-04 16:04:00 +00:00
Ralf Corsepius
f8437c81d5 Convert to "bool". 2008-09-04 15:23:12 +00:00
Ralf Corsepius
e866bd8dcc 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/cond.h,
	posix/include/rtems/posix/key.h,
	posix/include/rtems/posix/mqueue.h,
	posix/include/rtems/posix/mutex.h,
	posix/include/rtems/posix/priority.h,
	posix/include/rtems/posix/psignal.h,
	posix/include/rtems/posix/pthread.h,
	posix/include/rtems/posix/semaphore.h,
	posix/include/rtems/posix/timer.h: Convert to "bool".
	* posix/inline/rtems/posix/barrier.inl,
	posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/key.inl,
	posix/inline/rtems/posix/mqueue.inl,
	posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/priority.inl,
	posix/inline/rtems/posix/pthread.inl,
	posix/inline/rtems/posix/rwlock.inl,
	posix/inline/rtems/posix/semaphore.inl,
	posix/inline/rtems/posix/spinlock.inl,
	posix/inline/rtems/posix/timer.inl: Convert to "bool".
	* posix/src/cancel.c,
	posix/src/condsignalsupp.c,
	posix/src/condtimedwait.c,
	posix/src/condwaitsupp.c,
	posix/src/keyrundestructors.c,
	posix/src/killinfo.c,
	posix/src/mqueuerecvsupp.c,
	posix/src/mqueuesendsupp.c,
	posix/src/mqueuetimedreceive.c,
	posix/src/mqueuetimedsend.c,
	posix/src/mutexlocksupp.c,
	posix/src/mutextimedlock.c,
	posix/src/prwlocktimedrdlock.c,
	posix/src/prwlocktimedwrlock.c,
	posix/src/psignal.c,
	posix/src/psignalchecksignal.c,
	posix/src/psignalclearsignals.c,
	posix/src/psignalunblockthread.c,
	posix/src/pthread.c,
	posix/src/pthreadcreate.c,
	posix/src/pthreadkill.c,
	posix/src/pthreadsigmask.c,
	posix/src/semaphorewaitsupp.c,
	posix/src/semtimedwait.c,
	posix/src/setcancelstate.c,
	posix/src/setcanceltype.c,
	posix/src/sigtimedwait.c,
	posix/src/testcancel.c,
	posix/src/timerinserthelper.c,
	posix/src/timersettime.c,
	posix/src/timertsr.c: Convert to "bool".
2008-09-04 15:22:43 +00:00
Ralf Corsepius
f5b3ec91f8 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c: Use bool instead of boolean.
2008-09-04 15:22:24 +00:00
Ralf Corsepius
f002800eaf Use bool instead of boolean. 2008-09-04 14:20:51 +00:00
Ralf Corsepius
5b708c1737 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libi2c/libi2c.c, libi2c/libi2c.h: Use bool instead of boolean.
2008-09-04 14:18:07 +00:00
Ralf Corsepius
ea288b4580 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/dosfs.h, libfs/src/dosfs/fat.c,
	libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h,
	libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
	libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_misc.c,
	libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/ioman.c:
	Use "bool" instead of "rtems_boolean|boolean".
	* libfs/src/imfs/imfs_eval.c: Change "done" to bool.
	* libfs/src/nfsclient/src/xdr_mbuf.c: Stop using old-style
	  definitions.
2008-09-04 08:33:14 +00:00
Ralf Corsepius
0a896eb9ce Use "bool" instead of "rtems_boolean|boolean". 2008-09-04 08:33:06 +00:00
Ralf Corsepius
88d1c65935 Change "done" to bool. 2008-09-04 08:16:49 +00:00
Ralf Corsepius
92ba0a51e6 Stop using old-style definitions. 2008-09-04 08:15:10 +00:00
Ralf Corsepius
9589c66512 Regenerate. 2008-09-03 22:48:11 +00:00
Ralf Corsepius
d043ebc2d9 Sync with rtems-4.10. 2008-09-03 22:39:16 +00:00
Ralf Corsepius
3f010232f4 New. 2008-09-03 22:36:35 +00:00
Joel Sherrill
6d97132e92 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/system.h, sp07/tcreate.c: Convert to bool type.
2008-09-03 22:06:25 +00:00
Joel Sherrill
f2ad3d120b 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* mp05/system.h, mp05/task1.c, mp06/system.h, mp06/task1.c,
	mp07/system.h, mp07/task1.c, mp14/evtask1.c, mp14/evtmtask.c,
	mp14/init.c, mp14/msgtask1.c, mp14/pttask1.c, mp14/smtask1.c,
	mp14/system.h: Convert to bool type.
2008-09-03 22:06:22 +00:00
Joel Sherrill
344745466b 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* tod.c: Remove extern. RTC_Present is not defined anywhere.
2008-09-03 21:28:30 +00:00
Joel Sherrill
c8b03dbd81 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* timer/timer.c: Convert using "bool".
2008-09-03 20:44:22 +00:00
Joel Sherrill
40e7ae2296 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, README, configure.ac, console/85c30.c,
	console/console.c, console/consolebsp.h, include/bsp.h,
	include/gen2.h, irq/FPGA.c, irq/irq.c, irq/irq.h, irq/irq_init.c,
	start/start.S, startup/bspstart.c, startup/genpvec.c,
	startup/linkcmds, timer/timer.c, tod/tod.c: Initiate update and
	testing. Runs hello but does not run ticker yet.
2008-09-03 20:36:21 +00:00
Joel Sherrill
e36390a662 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, console/alloc360.c, console/console.c,
	console/console.h, console/m68360.h, console/mc68360_scc.c,
	console/ns16550cfg.c, console/rsPMCQ1.c, console/rsPMCQ1.h,
	include/bsp.h, irq/irq_init.c, vme/VMEConfig.h: Initiate update and
	testing. Add missing files. Does not run hello yet.
	* console/debugio.c, console/polled_io.c, irq/openpic_xxx_irq.c: New files.
2008-09-03 20:35:43 +00:00
Joel Sherrill
4598164a0b 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1304/bsps
	* Makefile.am: Add ../../shared/bsppredriverhook.c.
2008-09-03 19:28:19 +00:00
Joel Sherrill
ff9059586c 2008-09-03 Cindy Cicalese <cicalese@mitre.org>
* libmisc/shell/shell.c: FALSE accidentally changed to true in switch
	to bool type.
2008-09-03 18:57:51 +00:00
Joel Sherrill
001b41625e 2008-09-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Rework psim scripts to share code for
	creating device trees and actually running the tests. Overhaul the
	device tree generated to always include a block of Flash and a
	Real-Time Clock. When running MP tests enable the shared memory and
	semaphore devices.
	* psim-bottom, psim-gdb-bottom, psim-gdb-top.in, psim-shared,
	psim-top.in, runtest-bottom, runtest-top.in: New files.
	* psim, psim-gdb, runtest: Removed.
2008-09-03 18:37:51 +00:00
Joel Sherrill
6c45275ae0 2008-09-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, bestcomm/load_task.c,
	bestcomm/task_api/tasksetup_general.h: Eliminate requirement to build
	bestcomm as a relocatable lump. This should reduce the minimum
	footprint considerably.
2008-09-03 16:36:27 +00:00
Thomas Doerfler
d8b2e89c8d update to current PPC exception and memory map structure 2008-09-03 15:40:46 +00:00
Thomas Doerfler
6f776e7118 Changed to include new file
startup/linkcmds.base.  Supports small data area now.
2008-09-03 15:40:11 +00:00
Thomas Doerfler
82bd8d9d66 Converted to use shared
exception and interrupt code.
2008-09-03 15:39:03 +00:00
Thomas Doerfler
9ac98838d6 Moved general MSCAN functions into
separate header and source files (include/mscan-base.h and
        mscan/mscan-base.c).  Formatted code.
2008-09-03 15:36:45 +00:00
Thomas Doerfler
7dc035bb3b More CPU_CFLAGS: -meabi -msdata -fno-common 2008-09-03 15:34:39 +00:00
Ralf Corsepius
d5982b4fd9 Remove. 2008-09-03 09:29:30 +00:00
Ralf Corsepius
e09ecea818 2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1302/bsps
	* vmeUniverse/vmeUniverse.h: Remove
	_VME_UNIVERSE_DECLARE_SHOW_ROUTINES.
2008-09-02 16:22:05 +00:00
Ralf Corsepius
9caef03646 PR 1302/bsps
Remove _VME_UNIVERSE_DECLARE_SHOW_ROUTINES.
2008-09-02 16:21:58 +00:00
Joel Sherrill
09daf22246 2008-09-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add CONFIGURE_BSP_PREREQUISITE_DRIVERS and
	CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS.
2008-09-02 14:05:39 +00:00
Joel Sherrill
3d92d46eda 2008-09-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t: Add CONFIGURE_BSP_PREREQUISITE_DRIVERS and
	CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS.
2008-09-02 14:05:26 +00:00
Ralf Corsepius
4296ec6527 Eliminate rtems_boolean. 2008-09-02 13:55:05 +00:00
Ralf Corsepius
9459fae449 2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/rtc.c, console/inch.c, ne2000/ne2000.c, timer/timer.c:
	Eliminate rtems_boolean.
2008-09-02 13:49:44 +00:00
Ralf Corsepius
78b05d33ea Eliminate rtems_boolean. 2008-09-02 13:49:37 +00:00
Ralf Corsepius
81f1ce65e5 2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/rtc.c, network/ne2000.c: Eliminate rtems_boolean.
2008-09-02 13:05:05 +00:00
Ralf Corsepius
57bc54dc4e Eliminate rtems_boolean. 2008-09-02 13:04:59 +00:00
Ralf Corsepius
f58412d015 2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7750/sci/sh4uart.c: Misc. bool cleanup.
2008-09-02 12:56:59 +00:00
Ralf Corsepius
3938b43726 Misc. bool cleanup. 2008-09-02 12:56:52 +00:00
Ralf Corsepius
67b3516690 2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc83xx/i2c/mpc83xx_i2cdrv.c, mpc8xx/clock/clock.c,
	ppc403/clock/clock.c, ppc403/console/console.c.polled:
	Eliminate rtems_boolean.
2008-09-02 12:55:52 +00:00
Ralf Corsepius
9a73f42181 Eliminate rtems_boolean. 2008-09-02 12:55:44 +00:00
Ralf Corsepius
6197fb5f8d 2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* mcf5206/console/mcfuart.c, mcf5206/include/mcfuart.h:
	Eliminate rtems_boolean.
2008-09-02 12:52:58 +00:00
Ralf Corsepius
7e9c03b8aa 2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7045/include/sci.h, sh7045/sci/sci.c, sh7750/include/sh/sh4uart.h:
	Convert to using bool.
2008-09-02 12:27:03 +00:00
Ralf Corsepius
326cc87faf Convert to using bool. 2008-09-02 12:26:55 +00:00
Ralf Corsepius
5c753ea66c 2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1301/cpukit
	* sapi/src/debug.c: Let _Debug_Is_enabled return TRUE|FALSE.
2008-09-02 09:21:35 +00:00
Ralf Corsepius
ebbe04a554 2008-09-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* adler32.c, compress.c, crc32.c, deflate.c, gzio.c, infback.c,
	inflate.c, inffast.c, inftrees.c, trees.c, uncompr.c, zutil.c:
	Stop using old-style function definitions.
2008-09-02 08:59:56 +00:00
Ralf Corsepius
5d65704387 Stop using old-style function definitions. 2008-09-02 08:59:48 +00:00
Ralf Corsepius
d29a42b359 Stop using old-style function definitions. 2008-09-02 05:33:58 +00:00
Ralf Corsepius
9fe6e06629 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* ChangeLog.zlib, README, adler32.c, compress.c, crc32.c, deflate.c,
	deflate.h, gzio.c, infback.c, inflate.c, inftrees.c, inftrees.h,
	trees.c, uncompr.c, zconf.h, zlib.3, zlib.h, zutil.c, zutil.h:
	Upgrade to zlib-1.2.3.
2008-09-01 21:27:51 +00:00
Ralf Corsepius
b4983fe4c3 Upgrade to zlib-1.2.3. 2008-09-01 21:26:47 +00:00
Ralf Corsepius
1162b7a3c5 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/timerdrv.h,
	libcsupport/include/rtems/libcsupport.h,
	libcsupport/src/chdir.c, libcsupport/src/chmod.c,
	libcsupport/src/chown.c, libcsupport/src/free.c,
	libcsupport/src/link.c, libcsupport/src/lstat.c,
	libcsupport/src/malloc.c, libcsupport/src/malloc_deferred.c,
	libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
	libcsupport/src/mount.c, libcsupport/src/newlibc.c,
	libcsupport/src/open.c, libcsupport/src/readlink.c,
	libcsupport/src/readv.c, libcsupport/src/rmdir.c,
	libcsupport/src/stat.c, libcsupport/src/termios.c,
	libcsupport/src/unlink.c, libcsupport/src/unmount.c,
	libcsupport/src/utime.c, libcsupport/src/writev.c:
	Convert using "bool".
2008-09-01 11:42:27 +00:00
Ralf Corsepius
4088d01d9f Convert using "bool". 2008-09-01 11:42:19 +00:00
Ralf Corsepius
8f895e3e53 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/auth_none.c, librpc/src/rpc/authunix_prot.c,
	librpc/src/rpc/bindresvport.c, librpc/src/rpc/clnt_generic.c,
	librpc/src/rpc/clnt_udp.c, librpc/src/rpc/getrpcent.c,
	librpc/src/rpc/netname.c, librpc/src/rpc/netnamer.c,
	librpc/src/rpc/pmap_clnt.c, librpc/src/rpc/pmap_getmaps.c,
	librpc/src/rpc/pmap_getport.c, librpc/src/rpc/pmap_prot.c,
	librpc/src/rpc/pmap_prot2.c, librpc/src/rpc/rpc_callmsg.c,
	librpc/src/rpc/svc_run.c, librpc/src/xdr/xdr.c,
	librpc/src/xdr/xdr_array.c, librpc/src/xdr/xdr_float.c,
	librpc/src/xdr/xdr_reference.c:
	Stop using old-style function definitions.
2008-09-01 11:32:27 +00:00
Ralf Corsepius
a66bc0f761 Stop using old-style function definitions. 2008-09-01 11:32:18 +00:00
Ralf Corsepius
5426ceda12 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
	libmisc/capture/capture.h:
	Convert to using "bool".
	* libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
	libmisc/serdbg/serdbgcnf.h, libmisc/serdbg/serdbgio.c,
	libmisc/serdbg/termios_printk.c:
	Convert to using "bool".
	* libmisc/shell/main_logoff.c, libmisc/shell/shell.c,
	libmisc/shell/shell.h:
	Convert to using "bool".
2008-09-01 11:29:05 +00:00
Ralf Corsepius
11672356e7 Convert to using "bool". 2008-09-01 11:28:56 +00:00
Ralf Corsepius
4d624fead8 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-command.c, libmisc/monitor/mon-config.c,
	libmisc/monitor/mon-driver.c, libmisc/monitor/mon-extension.c,
	libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
	libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-network.c,
	libmisc/monitor/mon-object.c, libmisc/monitor/mon-part.c,
	libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
	libmisc/monitor/mon-sema.c, libmisc/monitor/mon-symbols.c,
	libmisc/monitor/mon-task.c, libmisc/monitor/monitor.h:
	Convert to using "bool".
2008-09-01 09:35:45 +00:00
Ralf Corsepius
2326f0d934 Convert to using "bool". 2008-09-01 09:35:34 +00:00
Ralf Corsepius
ab931777aa 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
	libmisc/stackchk/stackchk.h:
	Convert to using "bool".
2008-09-01 09:12:50 +00:00
Ralf Corsepius
937ec606fb Convert to using "bool". 2008-09-01 09:12:43 +00:00
Ralf Corsepius
36a150e947 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c,
	libblock/src/diskdevs.c, libblock/src/ide_part_table.c,
	libblock/src/ramdisk.c, libblock/src/show_bdbuf.c:
	Convert to using "bool".
2008-09-01 07:44:58 +00:00
Ralf Corsepius
4f971343a5 Convert to using "bool". 2008-09-01 07:44:48 +00:00
Ralf Corsepius
48c566019e 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/nvdisk-sram.c: Add missing HAVE_CONFIG_H.
2008-09-01 07:21:18 +00:00
Ralf Corsepius
e6a5f31ad0 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* httpd/asp.c, httpd/balloc.c, httpd/default.c,
	httpd/emfdb.c, httpd/form.c, httpd/handler.c,
	httpd/md5c.c, httpd/security.c, httpd/sock.c,
	httpd/socket.c, httpd/sym.c, httpd/uemf.c, httpd/um.c,
	httpd/webmain.c, httpd/webs.c, httpd/websuemf.c:
	Stop using old-style function definitions.
2008-09-01 07:02:12 +00:00
Ralf Corsepius
029c374c9c Stop using old-style function definitions. 2008-09-01 07:02:00 +00:00
Ralf Corsepius
9bac21652a 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/addr2ascii.c,
	libnetworking/libc/ascii2addr.c,
	libnetworking/libc/base64.c,
	libnetworking/libc/gethostbyht.c,
	libnetworking/libc/gethostnamadr.c,
	libnetworking/libc/getnetbyht.c,
	libnetworking/libc/getservbyport.c,
	libnetworking/libc/getservent.c,
	libnetworking/libc/herror.c,
	libnetworking/libc/inet_addr.c,
	libnetworking/libc/inet_lnaof.c,
	libnetworking/libc/inet_netof.c,
	libnetworking/libc/inet_network.c,
	libnetworking/libc/inet_ntoa.c,
	libnetworking/libc/inet_ntop.c,
	libnetworking/libc/inet_pton.c,
	libnetworking/libc/linkaddr.c,
	libnetworking/libc/map_v4v6.c,
	libnetworking/libc/res_comp.c,
	libnetworking/libc/res_debug.c,
	libnetworking/libc/res_init.c,
	libnetworking/libc/res_mkquery.c,
	libnetworking/libc/res_query.c,
	libnetworking/nfs/bootp_subr.c,
	libnetworking/rtems/rtems_glue.c:
	Stop using old-style function definitions.
2008-09-01 06:59:50 +00:00
Ralf Corsepius
525c6b63ab 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/if_ether.c,
	libnetworking/netinet/igmp.c,
	libnetworking/netinet/in.c,
	libnetworking/netinet/in_pcb.c,
	libnetworking/netinet/ip_icmp.c,
	libnetworking/netinet/ip_input.c,
	libnetworking/netinet/ip_mroute.c,
	libnetworking/netinet/ip_output.c,
	libnetworking/netinet/raw_ip.c,
	libnetworking/netinet/tcp_debug.c,
	libnetworking/netinet/tcp_input.c,
	libnetworking/netinet/tcp_output.c,
	libnetworking/netinet/tcp_subr.c,
	libnetworking/netinet/tcp_timer.c,
	libnetworking/netinet/tcp_usrreq.c,
	libnetworking/netinet/udp_usrreq.c:
	Stop using old-style function definitions.
2008-09-01 06:36:33 +00:00
Ralf Corsepius
dd967330f8 Stop using old-style function definitions. 2008-09-01 06:36:17 +00:00
Ralf Corsepius
084492f769 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/tcp_var.h: Fix broken declaration of
	tcp_trace().
2008-09-01 06:34:09 +00:00
Ralf Corsepius
2acc6eeb4f Fix broken declaration of tcp_trace(). 2008-09-01 06:33:59 +00:00
Ralf Corsepius
96eab15dc3 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/res_comp.c,
	libnetworking/netinet/igmp.c,
	libnetworking/netinet/in_cksum.c,
	libnetworking/netinet/in_proto.c,
	libnetworking/netinet/tcp_debug.c,
	libnetworking/netinet/tcp_input.c,
	libnetworking/netinet/tcp_output.c,
	libnetworking/netinet/tcp_timer.c:
	Remove BSD "Add clause" (From FreeBSD).
2008-09-01 06:26:30 +00:00
Ralf Corsepius
f5a2f211c4 Remove BSD "Add clause" (From FreeBSD). 2008-09-01 06:26:20 +00:00
Ralf Corsepius
320ffc354f 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_ethersubr.c, libnetworking/net/if_loop.c,
	libnetworking/net/if_ppp.c, libnetworking/net/ppp_tty.c,
	libnetworking/net/radix.c, libnetworking/net/raw_cb.c,
	libnetworking/net/raw_usrreq.c, libnetworking/net/route.c,
	libnetworking/net/rtsock.c, libnetworking/net/slcompress.c:
	Stop using old-style function definitions.
2008-09-01 04:56:44 +00:00
Ralf Corsepius
42e10fa24f Stop using old-style function definitions. 2008-09-01 04:56:33 +00:00
Ralf Corsepius
fbf3f981e9 Stop using old-style function definitions. 2008-09-01 03:35:37 +00:00
Joel Sherrill
b8730831a2 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/timerdrv.h: Rename timer driver methods to follow
	RTEMS programming conventions.
2008-08-31 19:42:12 +00:00
Joel Sherrill
0f7b64673b 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timerstub.c: Eliminate empty function from every benchmark timer
	driver. Fix spelling.
2008-08-31 18:18:49 +00:00
Joel Sherrill
5dff6e6ed0 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c, timer/timerisr.c: Eliminate empty function from every
	benchmark timer driver. Fix spelling.
2008-08-31 18:18:18 +00:00
Joel Sherrill
25c62b02bc 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Eliminate empty function from every benchmark timer
	driver. Fix spelling.
2008-08-31 18:18:17 +00:00
Joel Sherrill
6b2923cbc3 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c, timer/timerisr.S: Eliminate empty function from every
	benchmark timer driver. Fix spelling.
2008-08-31 18:17:35 +00:00
Joel Sherrill
722ab6dd03 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c, include/m340timer.h, timer/timer.c: Eliminate
	empty function from every benchmark timer driver. Fix spelling.
2008-08-31 18:15:27 +00:00
Joel Sherrill
e511e12626 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Eliminate empty function from every benchmark timer
	driver. Fix spelling.
2008-08-31 17:42:00 +00:00
Joel Sherrill
35eb543d87 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/src/tmtests_empty_function.c: New file.
2008-08-31 17:37:39 +00:00
Joel Sherrill
39c1a1afdc 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Eliminate empty function from every benchmark timer
	driver. Fix spelling.
2008-08-31 17:33:55 +00:00
Joel Sherrill
89866d84f8 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Eliminate empty function from every benchmark timer
	driver. Fix spelling.
2008-08-31 17:24:32 +00:00
Joel Sherrill
e0c13fa383 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* tmitronsem01/Makefile.am, tmitronsem01/init.c: Eliminate empty
	function from every benchmark timer driver. Fix spelling.
2008-08-31 17:22:21 +00:00
Joel Sherrill
dbf4f175ac 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/Makefile.am, tm01/task1.c, tm02/Makefile.am, tm02/task1.c,
	tm03/Makefile.am, tm03/task1.c, tm04/Makefile.am, tm04/task1.c,
	tm05/Makefile.am, tm05/task1.c, tm06/Makefile.am, tm06/task1.c,
	tm07/Makefile.am, tm07/task1.c, tm08/Makefile.am, tm08/task1.c,
	tm09/Makefile.am, tm09/task1.c, tm10/Makefile.am, tm10/task1.c,
	tm11/Makefile.am, tm11/task1.c, tm12/Makefile.am, tm12/task1.c,
	tm13/Makefile.am, tm13/task1.c, tm14/Makefile.am, tm14/task1.c,
	tm15/Makefile.am, tm15/task1.c, tm16/Makefile.am, tm16/task1.c,
	tm17/Makefile.am, tm17/task1.c, tm18/Makefile.am, tm18/task1.c,
	tm19/Makefile.am, tm19/task1.c, tm20/Makefile.am, tm20/task1.c,
	tm21/Makefile.am, tm21/task1.c, tm22/Makefile.am, tm22/task1.c,
	tm23/Makefile.am, tm23/task1.c, tm24/Makefile.am, tm24/task1.c,
	tm25/Makefile.am, tm25/task1.c, tm26/Makefile.am, tm26/task1.c,
	tm27/Makefile.am, tm27/task1.c, tm28/Makefile.am, tm28/task1.c,
	tm29/Makefile.am, tm29/task1.c, tmck/Makefile.am, tmck/task1.c,
	tmoverhd/Makefile.am, tmoverhd/testtask.c: Eliminate empty function
	from every benchmark timer driver. Fix spelling.
2008-08-31 17:21:47 +00:00
Joel Sherrill
18bfc42d67 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* arm/at91rm9200/timer/timer.c, arm/lpc22xx/timer/timer.c,
	arm/mc9328mxl/timer/timer.c, arm/s3c2400/timer/timer.c,
	arm/s3c24xx/timer/timer.c, bfin/timer/timer.c,
	m68k/mcf5206/timer/timer.c, m68k/mcf5272/timer/timer.c: Rename timer
	driver methods to follow RTEMS programming conventions.
2008-08-31 17:19:10 +00:00
Joel Sherrill
19b222386f 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* sh7032/timer/timer.c, sh7045/timer/timer.c, sh7750/timer/timer.c:
	Rename timer driver methods to follow RTEMS programming conventions.
2008-08-31 17:05:19 +00:00
Joel Sherrill
6427f1a24f 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc505/timer/timer.c, mpc5xx/timer/timer.c, mpc6xx/timer/timer.c,
	mpc8260/timer/timer.c, mpc8xx/timer/timer.c, ppc403/timer/timer.c:
	Rename timer driver methods to follow RTEMS programming conventions.
2008-08-31 17:03:54 +00:00
Joel Sherrill
a903b7beff 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Rename timer driver methods to follow RTEMS
	programming conventions.
2008-08-31 16:59:49 +00:00
Joel Sherrill
a5cd22710d 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* mcf5206/timer/timer.c, mcf5206/timer/timerisr.S,
	mcf5272/timer/timer.c, mcf5272/timer/timerisr.S: Rename timer driver
	methods to follow RTEMS programming conventions.
2008-08-31 16:59:23 +00:00
Joel Sherrill
8c84731227 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Rename timer driver methods to follow RTEMS
	programming conventions.
2008-08-31 16:53:16 +00:00
Joel Sherrill
7d6a5e2179 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* at91rm9200/timer/timer.c, lpc22xx/timer/timer.c,
	mc9328mxl/timer/timer.c, s3c2400/timer/timer.c,
	s3c24xx/timer/timer.c: Rename timer driver methods to follow RTEMS
	programming conventions.
2008-08-31 16:49:33 +00:00
Joel Sherrill
4074e70b03 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
	tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
	tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
	tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c,
	tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c,
	tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c,
	tmoverhd/testtask.c: Rename timer driver methods to follow RTEMS
	programming conventions.
2008-08-31 16:47:18 +00:00
Joel Sherrill
424ee2ba6a 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Rename timer driver methods to follow RTEMS
	programming conventions.
2008-08-31 16:47:17 +00:00
Joel Sherrill
674a980f1c 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c, timer/timerisr.S: Rename timer driver methods to
	follow RTEMS programming conventions.
2008-08-31 16:38:22 +00:00
Joel Sherrill
35f52a6982 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Rename timer driver methods to follow RTEMS
	programming conventions.
2008-08-31 16:07:58 +00:00
Joel Sherrill
e6778bc860 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c, timer/timerisr.c: Rename timer driver methods to
	follow RTEMS programming conventions.
2008-08-31 16:02:11 +00:00
Joel Sherrill
9856277be2 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c, include/m340timer.h, timer/timer.c: Rename timer
	driver methods to follow RTEMS programming conventions.
2008-08-31 15:55:27 +00:00
Joel Sherrill
0ccb2bbf81 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c, timer/timerisr.S: Rename timer driver methods to
	follow RTEMS programming conventions.
2008-08-31 15:54:43 +00:00
Joel Sherrill
b642940c49 2008-08-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Fix formatting.
	* console-polled.c: Error if minor < 2 not just <= 2.
2008-08-30 23:00:39 +00:00
Joel Sherrill
86a65b6f0b 2008-08-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am, rtems/src/tasksetpriority.c: Improve comments and
	wrapping.
2008-08-30 22:52:12 +00:00
Joel Sherrill
a818530b48 2008-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/network/sonic.c: Do not declare a variable just to hold an
	ignored return value.
2008-08-30 20:29:57 +00:00
Joel Sherrill
f634ca2997 2008-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* acinclude.m4: Add mcf52235 and mcf5329. Regenerate.
2008-08-30 20:29:11 +00:00
Joel Sherrill
e6233d25ef 2008-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* acinclude.m4: Add bf537Stamp. Regenerate.
2008-08-30 20:28:35 +00:00
Joel Sherrill
0cb39e8d53 2008-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Use default bsp_pretasking_hook().
2008-08-30 20:27:31 +00:00
Ralf Corsepius
f20e61aebc 2008-08-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Fix prototype.
2008-08-29 14:25:14 +00:00
Ralf Corsepius
e95065d2c0 Fix prototype. 2008-08-29 14:25:04 +00:00
Joel Sherrill
08808cb51d 2008-08-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove another duplicate reference.
2008-08-29 13:13:42 +00:00
Joel Sherrill
757801b116 2008-08-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove duplicate reference.
2008-08-29 13:12:50 +00:00
Ralf Corsepius
d8a213b280 Regenerate. 2008-08-28 19:54:29 +00:00
Ralf Corsepius
e90124e954 Bump GCC_RPMREL. 2008-08-28 19:53:37 +00:00
Till Straumann
78912b5c6d 2008-08-28 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: added implementation for
	BSP_VMEResetBus().
2008-08-28 15:39:49 +00:00
Till Straumann
231680a692 2008-08-28 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeTsi148.h, vmeUniverse/vmeTsi148.c:
	added vmeTsi148ResetBusXX(), vmeTsi148ResetBus().
2008-08-28 15:38:07 +00:00
Ralf Corsepius
183e5cf0b8 Regenerate. 2008-08-28 14:13:55 +00:00
Ralf Corsepius
c9ef27be12 Add rtems4.10. 2008-08-28 14:12:42 +00:00
Ralf Corsepius
68e6a18d1a Bump BINUTILS_RPMREL. 2008-08-28 14:11:48 +00:00
Ralf Corsepius
2fb65fbfa7 gcc-4.3.2 2008-08-28 14:08:37 +00:00
Ralf Corsepius
d5c49aa327 New. 2008-08-28 14:07:19 +00:00
Ralf Corsepius
882a12a521 Use URLs for patches. 2008-08-28 01:14:03 +00:00
Ralf Corsepius
dcd4bc9002 2008-08-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Eliminate rtems_boolean.
2008-08-27 21:45:12 +00:00
Ralf Corsepius
4dd986fa97 Eliminate rtems_boolean. 2008-08-27 21:45:05 +00:00
Ralf Corsepius
dbfc4fdea3 2008-08-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnds/include/nds/jtypes.h: Use bool/stdbool.h instead of
	local (non-POSIX compliant) "bool".
2008-08-27 21:39:09 +00:00
Ralf Corsepius
478533e034 Use bool/stdbool.h instead of local (non-POSIX compliant) "bool". 2008-08-27 21:38:42 +00:00
Joel Sherrill
a5554d28b6 2008-08-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/object.t: Correct order of arguments.
2008-08-27 15:21:20 +00:00
Ralf Corsepius
a7e9274f84 2008-08-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Eliminate rtems_boolean.
2008-08-27 14:17:35 +00:00
Ralf Corsepius
97cfbdc175 Eliminate rtems_boolean. 2008-08-27 14:17:28 +00:00
Ralf Corsepius
0b367e9c28 2008-08-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Eliminate rtems_boolean.
2008-08-27 12:53:04 +00:00
Ralf Corsepius
ee1af044b6 Eliminate rtems_boolean. 2008-08-27 12:52:59 +00:00
Ralf Corsepius
eaf2e6fa60 Regenerate. 2008-08-27 12:50:27 +00:00
Ralf Corsepius
2c4d21336d 2008-08-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove stray include_HEADERS += irq/irq.h.
2008-08-27 12:50:18 +00:00
Joel Sherrill
f3db4ac83a 2008-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/Makefile.am, libmisc/shell/shell.c, libmisc/shell/shell.h:
	Split out rtems_shell_get_prompt() so it can be overridden by the
	user.
	* libmisc/shell/shell_getprompt.c: New file.
2008-08-27 12:48:41 +00:00
Ralf Corsepius
f9c186c641 2008-08-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* lpc22xx/timer/timer.c: Remove broken bool implementation.
	Remove unused vars.
2008-08-27 11:18:46 +00:00
Ralf Corsepius
9b1c919e62 Remove broken bool implementation.
Remove unused vars.
2008-08-27 11:18:36 +00:00
Ralf Corsepius
2a620dbbfd 2008-08-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/getproto.c, libnetworking/libc/getprotoent.c,
	libnetworking/libc/getprotoname.c,
	libnetworking/libc/getservbyname.c,
	libnetworking/libc/inet_makeaddr.c, libnetworking/libc/recv.c,
	libnetworking/libc/send.c: Stop using old-style
	function-definitions.
2008-08-27 11:14:07 +00:00
Ralf Corsepius
c78ecb0eda Stop using old-style function-definitions. 2008-08-27 11:13:59 +00:00
Ralf Corsepius
5531513590 Use URLs for patches. 2008-08-27 09:42:00 +00:00
Ralf Corsepius
aef162f6a4 Remove (Obsolete). 2008-08-27 09:33:58 +00:00
Ralf Corsepius
65c3aaf471 Use URLs for patches. 2008-08-27 09:31:37 +00:00
Ralf Corsepius
8371640d8e Abandon gcc-4.3.0.
Use URLs for patches.
newlib-1.16.0-rtems4.9-20080827.diff.
2008-08-27 09:30:57 +00:00
Ralf Corsepius
5c7a69ba4e Update. 2008-08-27 07:52:59 +00:00
Ralf Corsepius
d880bc54b1 New. 2008-08-27 07:50:31 +00:00
Ralf Corsepius
c85397cbe3 Remove. 2008-08-27 07:49:12 +00:00
Ralf Corsepius
f9ad4a64d8 Remove tic4x (Abandoned). 2008-08-27 07:42:21 +00:00
Ralf Corsepius
71ca05a903 Remove. 2008-08-27 07:41:11 +00:00
Ralf Corsepius
cc1ec8c3f1 Remove (Abandon). 2008-08-27 07:40:52 +00:00
Ralf Corsepius
e69afe2530 Use full URLs to patches. 2008-08-27 07:38:40 +00:00
Ralf Corsepius
d0cccc9727 Abandon rtems4.10/tic4x. 2008-08-27 07:29:31 +00:00
Ralf Corsepius
f837cfd58f Abandon tic4x. 2008-08-27 07:28:36 +00:00
Ralf Corsepius
674811a35d Remove (Abandoned). 2008-08-27 07:27:53 +00:00
Ralf Corsepius
f3e460bbbe 2008-08-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/fsmount/fsmount.c: Convert to using bool.
2008-08-26 12:22:39 +00:00
Ralf Corsepius
135910afe0 Convert to using bool. 2008-08-26 12:21:36 +00:00
Thomas Doerfler
4b23c94504 various changes to gen83xx BSP and others 2008-08-26 11:55:31 +00:00
Ralf Corsepius
0fc02b16c2 2008-08-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/auth.c, pppd/ccp.c, pppd/chap.c, pppd/chat.c,
	pppd/demand.c, pppd/fsm.c, pppd/ipcp.c, pppd/lcp.c,
	pppd/magic.c, pppd/options.c, pppd/rtemsmain.c,
	pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
	Stop using old-style function-definitions.
2008-08-26 10:24:31 +00:00
Ralf Corsepius
62c37537bd Stop using old-style function-definitions. 2008-08-26 10:24:22 +00:00
Ralf Corsepius
8e92db9f73 2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/bdbuf.c, libblock/src/diskdevs.c,
	libblock/src/ide_part_table.c, libblock/src/ramdisk.c:
	s/rtems_boolean/bool/g.
2008-08-25 15:08:09 +00:00
Ralf Corsepius
e03c37ae5b s/rtems_boolean/bool/g. 2008-08-25 15:07:58 +00:00
Thomas Doerfler
22c0e4d597 Changed invalid usage of a boolean type to a proper integer type in calc_dbat_regvals(). 2008-08-25 12:50:29 +00:00
Ralf Corsepius
28041b675b 2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmd/md4.c, libmd/md5.c:
	Stop using old-style function-definitions.
2008-08-25 11:53:58 +00:00
Ralf Corsepius
3eb76324b6 Stop using old-style function-definitions. 2008-08-25 11:53:48 +00:00
Ralf Corsepius
5e042599bf 2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/closedir.c, libcsupport/src/getcwd.c,
	libcsupport/src/mount.c, libcsupport/src/newlibc.c,
	libcsupport/src/opendir.c, libcsupport/src/readdir.c,
	libcsupport/src/scandir.c:
	Stop using old-style function-definitions.
2008-08-25 11:19:42 +00:00
Ralf Corsepius
7e19113351 Stop using old-style function-definitions. 2008-08-25 11:19:33 +00:00
Ralf Corsepius
9190a31d76 2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/malloc_boundary.c: Use %zi to print size_t.
2008-08-25 11:15:24 +00:00
Ralf Corsepius
68c65d657a Use %zi to print size_t. 2008-08-25 11:15:14 +00:00
Ralf Corsepius
8b7ec01157 2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/capture/capture.c, libmisc/shell/fts.c:
	Stop using old-style function-definitions.
2008-08-25 11:03:50 +00:00
Ralf Corsepius
347a3feee3 Stop using old-style function-definitions. 2008-08-25 11:03:14 +00:00
Joel Sherrill
638a91950f 2008-08-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/clock.t: Correct discussion of timeval.
2008-08-24 17:44:25 +00:00
Joel Sherrill
cb02ead936 2008-08-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/irq_init.c: Reverse previous incorrect changes. Correct
	warnings and ensure BSP still works.
2008-08-24 15:56:46 +00:00
Joel Sherrill
0817298746 2008-08-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Now named bspclean.c
2008-08-22 20:42:05 +00:00
Joel Sherrill
192834e1a3 2008-08-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/init.t: Eliminate empty section.
2008-08-22 17:00:31 +00:00
Joel Sherrill
29910decc1 2008-08-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/init.t: Complete update.
2008-08-22 16:58:53 +00:00
Joel Sherrill
0eb595a839 2008-08-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/Makefile.am, bsp_howto/init.t, bsp_howto/intro.t,
	bsp_howto/makefiles.t, bsp_howto/support.t: Update initialization
	sequence. Add another figure.
	* bsp_howto/BSPInitFlowchart-49.eps, bsp_howto/BSPInitFlowchart-49.png: New files.
2008-08-22 16:38:00 +00:00
Joel Sherrill
a78df7ba0c Index: ChangeLog
===================================================================
RCS file: /usr1/CVS/rtems/c/src/lib/libcpu/powerpc/ChangeLog,v
retrieving revision 1.309
diff -u -r1.309 ChangeLog
--- ChangeLog	20 Aug 2008 17:29:18 -0000	1.309
+++ ChangeLog	22 Aug 2008 13:35:03 -0000
@@ -1,3 +1,8 @@
+2008-08-22	Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+	* shared/include/powerpc-utility.h: Fixed parameter evaluation in
+	special purpose register macros.
+
 2008-08-20	Sebastian Huber <sebastian.huber@embedded-brains.de>

 	* mpc55xx/fec/fec.c: Added copyright information.
2008-08-22 13:35:08 +00:00
Joel Sherrill
5dfb320c55 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* index.html.in: Reorder manuals.
2008-08-21 21:41:01 +00:00
Joel Sherrill
c7ff10af76 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/Makefile.am, bsp_howto/linkcmds.t, bsp_howto/makefiles.t,
	bsp_howto/target.t: Update some of this manual.
	* bsp_howto/Developer-User-Timeline.eps,
	bsp_howto/Developer-User-Timeline.png: New files.
2008-08-21 21:31:02 +00:00
Joel Sherrill
9353a0d4f2 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspclean.c: New file.
	* startup/exit.c: Removed.
2008-08-21 19:34:40 +00:00
Joel Sherrill
6e2ac9ce6c 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: No BSP should use exit.c as a file name. exit() is POSIX
	routine.
2008-08-21 19:33:55 +00:00
Joel Sherrill
21c9770eff 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: No BSP should use exit.c as a file name. exit() is POSIX
	routine.
	* startup/bspclean.c: New file.
	* startup/exit.c: Removed.
2008-08-21 19:33:53 +00:00
Joel Sherrill
cec5c069b0 2008-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h,
	libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c,
	libblock/src/ramdisk.c: Eliminate sign mismatch warnings.
2008-08-21 16:17:35 +00:00
Joel Sherrill
d9be802487 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Added bspclean.c and use shared bsppretaskinghook.c.
	* console/console.c: Added poll for char helper.
	* include/bsp.h: Add macro definitions for optional reset behavior.
	* startup/bspstart.c: Split out bsp_cleanup(). Clean up.
	* startup/bspclean.c: New file.  Not can press any key on normal
	shutdown to reset board when on MPC8313erdb.
2008-08-21 16:16:47 +00:00
Joel Sherrill
d79a27be40 2008-08-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/cpuinit.h: Uses now powerpc-utility.h.  Changed invalid usage
	of a boolean type to a proper integer type in calc_dbat_regvals().
	Througout code formatting.
2008-08-21 14:57:19 +00:00
Joel Sherrill
2a517327a6 2008-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_howto/ata.t, bsp_howto/clock.t, bsp_howto/ide-ctrl.t,
	bsp_howto/nvmem.t, bsp_howto/shmsupp.t, user/datatypes.t, user/mp.t,
	user/userext.t: Eliminate all references to rtems_signedXX and
	rtems_unsignedXX.
2008-08-21 14:50:16 +00:00
Ralf Corsepius
a94ef122c2 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-network.c: Use memset instead of bzero.
2008-08-21 13:07:01 +00:00
Ralf Corsepius
d024ff49c4 Use memset instead of bzero. 2008-08-21 13:06:53 +00:00
Ralf Corsepius
9ac81fe2ea 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/internal.h: Don't include "config.h".
	Adjust header guard.
2008-08-21 12:30:23 +00:00
Ralf Corsepius
16e4fb6352 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/cmp-ls.c, libmisc/shell/err.c,
	libmisc/shell/errx.c, libmisc/shell/filemode.c,
	libmisc/shell/fts.c, libmisc/shell/main_cp.c,
	libmisc/shell/main_ls.c, libmisc/shell/main_mv.c,
	libmisc/shell/main_rm.c, libmisc/shell/print-ls.c,
	libmisc/shell/pwcache.c, libmisc/shell/shellconfig.c,
	libmisc/shell/utils-cp.c, libmisc/shell/utils-ls.c,
	libmisc/shell/verr.c, libmisc/shell/verrx.c,
	libmisc/shell/vis.c, libmisc/shell/vwarn.c,
	libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
	libmisc/shell/warnx.c: Include "config.h".
2008-08-21 12:29:12 +00:00
Ralf Corsepius
575babcf49 Include "config.h". 2008-08-21 12:29:02 +00:00
Ralf Corsepius
84b36f433a 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-network.c, libmisc/monitor/mon-part.c,
	libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c:
	Include "config.h".
2008-08-21 12:25:51 +00:00
Ralf Corsepius
e53fd874fc 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_ifconfig.c: Use memset instead of bzero.
2008-08-21 06:07:16 +00:00
Ralf Corsepius
86f89be4a3 Use memset instead of bzero. 2008-08-21 06:07:07 +00:00
Ralf Corsepius
3316af8af2 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Don't use annonymous unions.
2008-08-21 04:57:22 +00:00
Ralf Corsepius
199a0d363d 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/flashdisk.c: Remove bool, true, false.
2008-08-21 04:32:22 +00:00
Ralf Corsepius
5c0d4fd8ab Remove bool, true, false. 2008-08-21 04:32:11 +00:00
Ralf Corsepius
182aecb9c6 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/avr.h: Add avr25, avr31, avr35, avr51 to
	CPU_NAME cascade.
	* rtems/score/cpu.h: Add missing prototypes.h.
2008-08-21 04:14:53 +00:00
Ralf Corsepius
5b31128b99 Add avr25, avr31, avr35, avr51 to CPU_NAME cascade. 2008-08-21 04:14:20 +00:00
Ralf Corsepius
bdf9e8de99 Add missing prototypes. 2008-08-21 04:12:26 +00:00
Ralf Corsepius
b7b6100115 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Include stdbool.h.
	Use bool as base-type for boolean.
2008-08-21 04:10:51 +00:00
Ralf Corsepius
30e2df697a Include stdbool.h. Use bool as base-type for boolean. 2008-08-21 04:10:35 +00:00
Joel Sherrill
aa4a3f1ac4 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/dummy/dummy.c: Add missing initializers.
	* score/src/threadinitialize.c: Change type of loop counter.
2008-08-20 22:24:09 +00:00
Joel Sherrill
ccec63e98d 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/error.c, libmisc/dummy/dummy.c,
	rtems/src/rtemsobjectgetapiclassname.c,
	rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
2008-08-20 19:31:24 +00:00
Joel Sherrill
dccd35192f 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/i2c/spi-sd-card.c: Fixed integer conversion warnings.
2008-08-20 17:30:07 +00:00
Joel Sherrill
85bca3f228 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/rtems/status-checks.h: Fixed integer conversion warning.
2008-08-20 17:29:37 +00:00
Joel Sherrill
1dab7883a9 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/fec/fec.c: Added copyright information.
	* mpc55xx/dspi/dspi.c, mpc55xx/edma/edma.c, mpc55xx/esci/esci.c:
	Fixed nexted extern declarations.  Fixed integer conversion warnings.
	* shared/include/cpuIdent.c: Added missing initializers.
2008-08-20 17:29:19 +00:00
Joel Sherrill
76cb5e4953 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* src/irq-generic.c: Fixed integer conversion warnings.
2008-08-20 17:28:59 +00:00
Joel Sherrill
dab9e55c77 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/mpc55xxevb.h, network/network.c, startup/sd-card-init.c,
	tests/tests.c: Added copyright information.  Added missing prototypes.
	Fixed integer conversion warning.
	* startup/bspclean.c: Include bootcard.h.
2008-08-20 17:28:14 +00:00
Joel Sherrill
bbbb8f0840 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/tm27.h: Uses now a decrementer exception handler.  Replaces
	previous file.
	* startup/bspstart.c: Install a default decrementer exception handler.
2008-08-20 17:27:43 +00:00
Joel Sherrill
9a85541b38 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* block/block.c, console/console.c, dswifi/arm9/source/sgIP.h,
	dswifi/arm9/source/sgIP_ARP.h, dswifi/arm9/source/sgIP_Config.h,
	dswifi/arm9/source/sgIP_DHCP.h, dswifi/arm9/source/sgIP_DNS.h,
	dswifi/arm9/source/sgIP_Hub.h, dswifi/arm9/source/sgIP_ICMP.h,
	dswifi/arm9/source/sgIP_IP.h, dswifi/arm9/source/sgIP_TCP.h,
	dswifi/arm9/source/sgIP_UDP.h, dswifi/arm9/source/sgIP_memblock.h,
	dswifi/arm9/source/wifi_arm9.c, dswifi/arm9/source/wifi_arm9.h,
	dswifi/include/dswifi7.h, dswifi/include/dswifi9.h, fb/fb.c,
	include/my_ipc.h, libfat/source/disc_io/disc_io.h,
	libfat/source/disc_io/io_nmmc.c,
	libnds/include/nds/arm9/exceptions.h,
	libnds/include/nds/arm9/input.h, libnds/include/nds/arm9/ndsmotion.h,
	libnds/include/nds/arm9/videoGL.h, libnds/source/arm9/console.c,
	libnds/source/arm9/gurumeditation.c, libnds/source/arm9/ndsmotion.c,
	libnds/source/common/card.c, libnds/source/common/interrupts.c,
	sound/sound.c, startup/start.c, touchscreen/reco.h, wifi/compat.c,
	wifi/compat.h: Fix most warnings.
2008-08-20 16:31:41 +00:00
Ralf Corsepius
19b9991ece 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Abort if stdbool.h is not c99 compliant.
2008-08-20 15:10:42 +00:00
Ralf Corsepius
3e63ac1b63 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/pppd.h: Use stdbool.h. Remove local bool.
2008-08-20 15:00:25 +00:00
Ralf Corsepius
a807b75e38 Use stdbool.h. Remove local bool. 2008-08-20 14:59:51 +00:00
Joel Sherrill
b9f2bb8a41 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Correct prototype of _CPU_Thread_dispatch_pointer.
2008-08-20 13:36:29 +00:00
Ralf Corsepius
99ee8265c3 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* GT64260/GT64260TWSI.c, network/if_100MHz/GT64260eth.c,
	network/if_1GHz/if_wm.c: Add missing prototypes.
2008-08-20 11:32:54 +00:00
Ralf Corsepius
5d2f519617 Add missing prototypes. 2008-08-20 11:32:46 +00:00
Ralf Corsepius
6771a9e796 Add missing prototypes. 2008-08-20 09:00:11 +00:00
Ralf Corsepius
32cf352584 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/consolelite.c, opbintctrl/opbintctrl.c:
	Add missing prototypes.
2008-08-20 09:00:02 +00:00
Ralf Corsepius
d06aa82383 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq/FPGA.c, irq/irq_init.c, pci/no_host_bridge.c,
	startup/Hwr_init.c, startup/genpvec.c:
	Add missing prototypes.
2008-08-20 08:58:38 +00:00
Ralf Corsepius
24e0d9aa78 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* GT64260/GT64260TWSI.c, irq/irq_init.c,
	network/if_100MHz/GT64260eth.c, network/if_1GHz/if_wm.c,
	pci/pci.c, pci/pci_interface.c, startup/bspstart.c,
	vectors/exceptionhandler.c: Add missing prototypes.
2008-08-20 08:57:03 +00:00
Ralf Corsepius
db4b7dc140 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* i2c/i2c_init.c, i2c/mpc8540_i2c.c, irq/irq_init.c,
	network/tsec.c, pci/detect_host_bridge.c, startup/bspstart.c:
	Add missing prototypes.
2008-08-20 08:55:10 +00:00
Ralf Corsepius
b95cd64711 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Cleanup.
2008-08-20 08:53:15 +00:00
Ralf Corsepius
31c62d0d7f 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/flash/flash.c, shared/irq/irq_init.c: Add missing
	prototypes.
2008-08-20 08:52:03 +00:00
Ralf Corsepius
d4edf2dd49 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_HEADER_STDBOOL.
2008-08-20 07:46:50 +00:00
Ralf Corsepius
17ed18c058 Add AC_HEADER_STDBOOL. 2008-08-20 07:46:26 +00:00
Ralf Corsepius
291557bba2 2008-08-2008 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/nvdisk.c: Remove bool, true, false (unused, clashes
	with C99/POSIX).
2008-08-20 07:16:02 +00:00
Ralf Corsepius
16fa78edc5 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* pci/pci.c: Add CVS Id.
2008-08-20 06:59:04 +00:00
Ralf Corsepius
401dbf89f4 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* GT64260/MVME5500I2C.c: Once again eliminate u32, unchar.
	Add CVS Id, fix typo.
2008-08-20 06:57:13 +00:00
Ralf Corsepius
752b895175 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* at91rm9200/irq/bsp_irq_init.c, lpc22xx/irq/bsp_irq_init.c,
	mc9328mxl/irq/bsp_irq_init.c, s3c24xx/irq/bsp_irq_init.c:
	Add missing prototypes.
2008-08-20 05:52:46 +00:00
Ralf Corsepius
1233af37f7 Add missing prototypes. 2008-08-20 05:52:39 +00:00
Ralf Corsepius
cc981e11bc Add missing prototypes. 2008-08-20 05:47:08 +00:00
Ralf Corsepius
288fbd42e3 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc8260/clock/clock.c, mpc8260/console-generic/console-generic.c:
	Add missing prototypes.
2008-08-20 05:46:58 +00:00
Ralf Corsepius
2366de1f53 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/p_clock.c, console/console.c, irq/irq.c, irq/irq_init.c,
	vectors/vectors_init.c: Add missing prototypes.
2008-08-20 05:45:18 +00:00
Ralf Corsepius
717d3707eb 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/showbats.c, shared/console/inch.c, shared/irq/irq_init.c,
	shared/pci/detect_raven_bridge.c, shared/startup/bspstart.c,
	shared/startup/zerobss.c, shared/vme/vmeconfig.c,
	startup/exit.c: Add missing prototypes.
2008-08-20 05:43:49 +00:00
Ralf Corsepius
ce53040ef4 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/p_clock.c, irq/irq.c, irq/irq_init.c, vectors/vectors_init.c:
	Add missing prototypes.
2008-08-20 05:30:44 +00:00
Ralf Corsepius
3dc0d74d08 Add missing prototypes. 2008-08-20 05:30:36 +00:00
Ralf Corsepius
bd792923b9 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c, startup/sd-card-init.c, tests/tests.c:
	Add missing prototypes.
2008-08-20 05:12:54 +00:00
Ralf Corsepius
bb6c1e5681 Add missing prototypes. 2008-08-20 05:12:45 +00:00
Ralf Corsepius
520b092c88 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/clock.c, irq/irq_init.c, vectors/vectors.h,
	vectors/vectors_init.c: Add missing prototypes.
2008-08-20 04:28:08 +00:00
Ralf Corsepius
f85062304a Add missing prototypes. 2008-08-20 04:28:02 +00:00
Ralf Corsepius
5e8285916c 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c,
	ppc403/timer/timer.c, shared/src/cache.c: Add missing prototypes.
2008-08-20 04:03:08 +00:00
Ralf Corsepius
c8bcff5741 Add missing prototypes. 2008-08-20 04:02:57 +00:00
Ralf Corsepius
be716129bc 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/mc68360_scc.c, console/rsPMCQ1.c, console/rsPMCQ1.h,
	irq/irq_init.c, pci/no_host_bridge.c, startup/bspstart.c:
	Add missing prototypes.
2008-08-20 03:46:49 +00:00
Ralf Corsepius
858bf3f3f0 Add missing prototypes. 2008-08-20 03:46:38 +00:00
Ralf Corsepius
f80453f0bf 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* irq/irq.c, irq/irq_init.c, startup/bspstart.c:
	Add missing prototypes.
2008-08-20 03:41:17 +00:00
Ralf Corsepius
378bea5a7d Add missing prototypes. 2008-08-20 03:41:07 +00:00
Joel Sherrill
0e4e56ba2a 2008-08-19 Cedric Aubert <cedric_aubert@yahoo.fr>
PR 500/misc
	* libcsupport/src/termios.c: Avoid potential buffer overflow.
2008-08-19 20:20:34 +00:00
Joel Sherrill
cc4c524bd4 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/display/disp_hcms29xx.c: Initialize softc_ptr to NULL.
	* libchip/network/dec21140.c, libchip/network/if_dc.c: Use uint32_t.
2008-08-19 20:02:37 +00:00
Joel Sherrill
14afc13ade 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/ps2_mouse.c: Fix ps2 mouse interrupt.
2008-08-19 19:57:46 +00:00
Joel Sherrill
f75767b00c 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/comm/i386-stub.c, shared/irq/irq_init.c: Fix warnings for
	prototypes, types, etc.
2008-08-19 19:34:12 +00:00
Joel Sherrill
e3a1d4255d 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c, console/serial_mouse.c, ne2000/ne2000.c,
	startup/bspstart.c: Fix warnings for prototypes, types, etc.
2008-08-19 19:34:08 +00:00
Joel Sherrill
fe801630f8 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* bin2boot.c: Fix uninitialized variable warning.
2008-08-19 19:33:55 +00:00
Joel Sherrill
af063f6c01 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Fix prototypes.
	* rtems/score/cpu.h: Use memcpy() initialize FP structure and avoid
	many casts and potential warnings.
2008-08-19 19:10:46 +00:00
Joel Sherrill
930775ddb7 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
	warnings.
2008-08-19 18:47:54 +00:00
Joel Sherrill
1a7c300001 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Fix type when initializing FP context.
2008-08-19 18:46:20 +00:00
Joel Sherrill
14d1db6cdb 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c:
	Remove some warnings. Using ASSERT/assert macros confuses gcc who is
	unsure actions take place. More importantly if you ever compiled with
	NDEBUG set wrong, intended actions would not occur. Likely I did not
	catch all of these.
2008-08-19 18:18:54 +00:00
Joel Sherrill
6bdeeb3111 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* m68040/fpsp/rtems_fpsp.c: Move extern outside of braces.
2008-08-19 17:42:03 +00:00
Joel Sherrill
d3b8e4a35d 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c: Move extern outside of braces.
2008-08-19 17:41:56 +00:00
Joel Sherrill
593297e428 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/display/disp_hcms29xx.c: Do not make these static. They
	appear to be unused that way.
2008-08-19 17:39:05 +00:00
Joel Sherrill
4a7fc5df42 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c, startup/init5282.c: Fixed warnings.
2008-08-19 17:38:42 +00:00
Joel Sherrill
49a4016507 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* dswifi/arm7/makefile, dswifi/include/netinet/in.h,
	libnds/basicARM7/source/defaultARM7.c, libnds/include/gbfs.h,
	libnds/include/nds/bios.h, libnds/include/nds/card.h,
	libnds/include/nds/dma.h, libnds/include/nds/interrupts.h,
	libnds/include/nds/ipc.h, libnds/include/nds/jtypes.h,
	libnds/include/nds/registers_alt.h, libnds/include/nds/system.h,
	libnds/include/nds/timers.h, libnds/include/nds/arm7/audio.h,
	libnds/include/nds/arm7/clock.h, libnds/include/nds/arm7/serial.h,
	libnds/include/nds/arm7/touch.h, libnds/include/nds/arm9/boxtest.h,
	libnds/include/nds/arm9/cache.h, libnds/include/nds/arm9/console.h,
	libnds/include/nds/arm9/ndsmotion.h, libnds/include/nds/arm9/video.h,
	libnds/include/nds/arm9/videoGL.h, libnds/source/arm7/audio.c,
	libnds/source/arm7/clock.c, libnds/source/arm7/microphone.c,
	libnds/source/arm7/touch.c, libnds/source/arm7/userSettings.c,
	libnds/source/arm9/boxtest.c, libnds/source/arm9/gurumeditation.c,
	libnds/source/arm9/ndsmotion.c, libnds/source/arm9/videoGL.c,
	libnds/source/common/card.c,
	libnds/source/common/interruptDispatcher.S, touchscreen/reco.c: Fix
	various warnings by fixing prototypes. Remove unused .bin files.
	Convert all files to UNIX CF/LF.
	* libnds/source/arm9/COS.bin, libnds/source/arm9/SIN.bin,
	libnds/source/arm9/TAN.bin, libnds/source/arm9/default_font.bin: Removed.
2008-08-19 15:47:14 +00:00
Joel Sherrill
e1730f64f8 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* bin2s.c: Fix various warnings by fixing prototypes. Remove unused
	.bin files. Convert all files to UNIX CF/LF.
2008-08-19 15:47:04 +00:00
Joel Sherrill
d80c921dbc 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c: Fixed nested extern declarations.
2008-08-19 15:45:01 +00:00
Joel Sherrill
aec17f1a2c 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/shmdr/shm_driver.h: Correct prototypes.
2008-08-19 15:22:41 +00:00
Joel Sherrill
f4e7c5190c 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* httpd/uemf.h: Add empty braces to macro.
2008-08-19 15:08:05 +00:00
Ralf Corsepius
1925dad2cb Add missing prototypes. 2008-08-19 14:47:33 +00:00
Ralf Corsepius
8d7fe6221f 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7032/timer/timer.c, sh7045/timer/timer.c, sh7750/timer/timer.c:
	 Add missing prototypes.
2008-08-19 14:47:08 +00:00
Joel Sherrill
f132a3d8dd 2008-08-19 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1296/cpukit.
	* psxtimer01/psxtimer.c, psxtimer01/psxtimer01.scn: POSIX timers use
	incorrect repeat interval. This patch fixes the following problems in
	the test.
	  (1) Adds test for value of it_interval.tv_nsec.
	  (2) Corrects test for absolute timer in past.
	  (3) Modifies test to use different initial and repeat periods.
	  (4) Updates psxtimer01.scn to match results.
2008-08-19 14:46:52 +00:00
Ralf Corsepius
e77c723878 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* trap34/console-io.c: Add missing prototypes.
2008-08-19 14:45:32 +00:00
Joel Sherrill
753c05ab02 2008-08-19 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1296/cpukit.
	* posix/src/timersettime.c: POSIX timers use incorrect repeat interval.
	This patch fixes the following problems in timer_settime: 1) Uses
	value.it_interval for repeat period. 2) Corrects test for incorrect
	value of it_value.tv_nsec (should reject 1000000000).
2008-08-19 14:45:15 +00:00
Joel Sherrill
ea0586b1a1 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/m68kbspgetworkarea.c: Move extern of global symbols from
	linkcmds outside function.
2008-08-19 14:39:21 +00:00
Joel Sherrill
60a3fa0c2e 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Add extern for bfffo table and rename it to
	indicate that it is specific to this architecture.
2008-08-19 14:19:12 +00:00
Ralf Corsepius
3fe64cb577 Add missing prototypes. 2008-08-19 13:59:12 +00:00
Ralf Corsepius
c85b78ac7a 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* timerstub.c: Add missing prototypes.
2008-08-19 13:58:58 +00:00
Ralf Corsepius
21a62ef002 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/__main.c: Add missing prototypes.
2008-08-19 13:47:11 +00:00
Ralf Corsepius
bec7639374 Add missing prototypes. 2008-08-19 13:47:03 +00:00
Joel Sherrill
55cf0bf2a5 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/inline/rtems/score/threadmp.inl: Add include of
	rtems/score/mpci.h and remove extern.
2008-08-19 13:18:40 +00:00
Joel Sherrill
639e1319ec 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/clockdrv.h: Add Clock_Exit prototype.
2008-08-19 12:42:10 +00:00
Joel Sherrill
f3eaba9a0c 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bootcard.h, bootcard.c, bsplibc.c: Changed parameter types of
	bsp_libc_init() to match RTEMS_Malloc_Initialize().
	* bsppost.c, bsppredriverhook.c: Include bootcard.h.
	* src/irq-generic.c: Fixed warnings.
2008-08-19 12:41:03 +00:00
Joel Sherrill
a9c2508f60 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/clock/clock.c: Fixed warnings.
2008-08-19 12:39:55 +00:00
Joel Sherrill
699c2be07f 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h, network/network.c, spi/spi_init.c, startup/cpuinit.c,
	startup/uboot_support.c: Fixed warnings.
2008-08-19 12:38:41 +00:00
Joel Sherrill
54c7a7fef6 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/display/disp_hcms29xx.c: Fixed warnings. Initialized
	variables and made methods static.
2008-08-19 12:27:47 +00:00
Ralf Corsepius
396e2af102 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/inline/rtems/rtems/asr.inl,
	rtems/inline/rtems/rtems/attr.inl,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/dpmem.inl,
	rtems/inline/rtems/rtems/event.inl,
	rtems/inline/rtems/rtems/eventset.inl,
	rtems/inline/rtems/rtems/message.inl,
	rtems/inline/rtems/rtems/modes.inl,
	rtems/inline/rtems/rtems/options.inl,
	rtems/inline/rtems/rtems/part.inl,
	rtems/inline/rtems/rtems/ratemon.inl,
	rtems/inline/rtems/rtems/region.inl,
	rtems/inline/rtems/rtems/sem.inl,
	rtems/inline/rtems/rtems/status.inl,
	rtems/inline/rtems/rtems/support.inl,
	rtems/inline/rtems/rtems/tasks.inl,
	rtems/inline/rtems/rtems/timer.inl,
	Add header guard to force indirect inclusion.
2008-08-19 12:09:54 +00:00
Ralf Corsepius
4d24fccb93 Add header guard to force indirect inclusion. 2008-08-19 12:09:40 +00:00
Ralf Corsepius
07f20cb14b 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Add missing prototype.
2008-08-19 12:07:39 +00:00
Ralf Corsepius
6932bceeeb Add missing prototype. 2008-08-19 12:07:28 +00:00
Ralf Corsepius
b79c595205 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/init5235.c: Add missing prototypes.
2008-08-19 11:25:13 +00:00
Ralf Corsepius
a840853385 Add missing prototypes. 2008-08-19 11:25:05 +00:00
Ralf Corsepius
1b778dcc9b 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/init5206e.c: Add missing prototypes.
2008-08-19 11:23:29 +00:00
Ralf Corsepius
349a9fcb06 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Add missing prototypes.
2008-08-19 11:22:18 +00:00
Ralf Corsepius
bbc99ce2d0 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/clock.c, startup/init5329.c: Add missing prototypes.
2008-08-19 11:19:52 +00:00
Ralf Corsepius
ddb6ac6ac6 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/init5272.c: Add missing prototypes.
2008-08-19 11:18:08 +00:00
Ralf Corsepius
7220bf85d4 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/init5282.c: Add missing prototypes.
2008-08-19 11:16:19 +00:00
Ralf Corsepius
686d078369 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/clock.c, startup/init52235.c: Add missing prototypes.
2008-08-19 11:14:49 +00:00
Ralf Corsepius
5df7515e73 Add missing prototypes. 2008-08-19 10:28:06 +00:00
Ralf Corsepius
d54ef06065 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Add missing prototypes.
2008-08-19 10:27:55 +00:00
Ralf Corsepius
07426924d6 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/bspspuriousinit.c: Add missing prototypes.
2008-08-19 10:26:35 +00:00
Ralf Corsepius
8bd13f1f61 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/ckinit.c, console/leds.c, console/mc68ec.c,
	startup/bspstart.c, timer/timer.c: Add missing prototypes.
2008-08-19 10:24:31 +00:00
Ralf Corsepius
4377b904f4 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/sci.c, startup/bspstart.c, startup/start_c.c,
	timer/timer.c: Add missing prototypes.
2008-08-19 10:23:15 +00:00
Ralf Corsepius
7b68eedc1d 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c, timer/timer.c: Add missing prototypes.
2008-08-19 10:21:43 +00:00
Ralf Corsepius
1249bb2226 Add missing prototypes. 2008-08-19 09:19:39 +00:00
Ralf Corsepius
6a324ea827 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c, timer/timer.c: Add missing prototypes.
2008-08-19 09:19:33 +00:00
Ralf Corsepius
ef8c37c25f 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspclean.c, timer/timer.c, tod/tod.c:
	Add missing prototypes.
2008-08-19 09:18:20 +00:00
Ralf Corsepius
6793070abf 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Add missing prototypes.
2008-08-19 09:17:16 +00:00
Ralf Corsepius
c47d34277e 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/cpuboot.c, startup/memcheck.c, timer/timer.c:
	Add missing prototypes.
2008-08-19 09:06:06 +00:00
Ralf Corsepius
eb7dd75b83 Add missing prototypes. 2008-08-19 09:05:57 +00:00
Ralf Corsepius
047888003b 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/clockdrv.c, startup/bspstart.c: Add missing prototypes.
2008-08-19 09:04:03 +00:00
Ralf Corsepius
8db1df2079 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/address.inl,
	score/inline/rtems/score/chain.inl,
	score/inline/rtems/score/corebarrier.inl,
	score/inline/rtems/score/coremsg.inl,
	score/inline/rtems/score/coremutex.inl,
	score/inline/rtems/score/corerwlock.inl,
	score/inline/rtems/score/coresem.inl,
	score/inline/rtems/score/corespinlock.inl,
	score/inline/rtems/score/heap.inl,
	score/inline/rtems/score/isr.inl,
	score/inline/rtems/score/mppkt.inl,
	score/inline/rtems/score/object.inl,
	score/inline/rtems/score/objectmp.inl,
	score/inline/rtems/score/priority.inl,
	score/inline/rtems/score/stack.inl,
	score/inline/rtems/score/states.inl,
	score/inline/rtems/score/sysstate.inl,
	score/inline/rtems/score/thread.inl,
	score/inline/rtems/score/threadmp.inl,
	score/inline/rtems/score/threadq.inl,
	score/inline/rtems/score/tod.inl,
	score/inline/rtems/score/tqdata.inl,
	score/inline/rtems/score/watchdog.inl,
	score/inline/rtems/score/wkspace.inl:
	Add header guard to force indirect inclusion.
2008-08-19 08:33:14 +00:00
Ralf Corsepius
ef49476f5a Add header guard to force indirect inclusion. 2008-08-19 08:32:59 +00:00
Ralf Corsepius
c1982c42d9 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* posix/inline/rtems/posix/barrier.inl,
	posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/key.inl,
	posix/inline/rtems/posix/mqueue.inl,
	posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/priority.inl,
	posix/inline/rtems/posix/pthread.inl,
	posix/inline/rtems/posix/rwlock.inl,
	posix/inline/rtems/posix/semaphore.inl,
	posix/inline/rtems/posix/spinlock.inl,
	posix/inline/rtems/posix/timer.inl:
	Add header guard to force indirect inclusion.
2008-08-19 08:31:29 +00:00
Ralf Corsepius
76a95864ba 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* itron/inline/rtems/itron/eventflags.inl,
	itron/inline/rtems/itron/fmempool.inl,
	itron/inline/rtems/itron/intr.inl,
	itron/inline/rtems/itron/mbox.inl,
	itron/inline/rtems/itron/msgbuffer.inl,
	itron/inline/rtems/itron/network.inl,
	itron/inline/rtems/itron/port.inl,
	itron/inline/rtems/itron/semaphore.inl,
	itron/inline/rtems/itron/sysmgmt.inl,
	itron/inline/rtems/itron/task.inl,
	itron/inline/rtems/itron/time.inl,
	itron/inline/rtems/itron/vmempool.inl:
	Add header guard to force indirect inclusion.
2008-08-19 08:29:51 +00:00
Ralf Corsepius
5a35f88931 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* sapi/inline/rtems/chain.inl:
	Add header guard to force indirect inclusion.
2008-08-19 08:27:19 +00:00
Ralf Corsepius
51a27fd518 Use _RTEMS_RTEMS_OBJECT_H as header guard. 2008-08-19 08:08:44 +00:00
Ralf Corsepius
681cf78af8 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/object.h: Use _RTEMS_RTEMS_OBJECT_H as
	header guard.
2008-08-19 08:08:28 +00:00
Ralf Corsepius
ebc6a326c9 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_cksum_arm.h, score/cpu/arm/cpu.c
	score/cpu/h8300/rtems/score/cpu.h: Add missing prototypes.
2008-08-19 06:34:56 +00:00
Ralf Corsepius
d82bd27951 Add missing prototypes. 2008-08-19 06:34:44 +00:00
Joel Sherrill
226b162699 2008-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Add void.
2008-08-18 22:18:07 +00:00
Joel Sherrill
c553a23338 2008-08-18 Allan Hessenflow <allanh@kallisti.com>
* shared/clock/clockdrv.c, shared/clock/rtc.c, shared/clock/tod.h,
	shared/console/console.c, shared/timer/timer.c: Removed.
2008-08-18 21:51:37 +00:00
Joel Sherrill
c8b1ab96c8 2008-08-18 Allan Hessenflow <allanh@kallisti.com>
* Makefile.am, console/console-io.c, startup/bspstart.c: Update to use
	shared libcpu version of code implemented as part of bf537Stamp
	effort.
2008-08-18 21:51:35 +00:00
Joel Sherrill
02aaec7647 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c,
	libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c,
	libnetworking/rtems/rtems_glue.c,
	libnetworking/rtems/rtems_malloc_mbuf.c,
	libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h:
	Fix some warnings.
2008-08-18 21:42:41 +00:00
Joel Sherrill
73d53444ef 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/serial/ns16550.c: Fix warning.
2008-08-18 21:26:50 +00:00
Joel Sherrill
371c30d556 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsppost.c: Fix warning by moving prototype to libcsupport.h.
2008-08-18 21:18:05 +00:00
Joel Sherrill
4243433bb2 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq_init.c: Fix warnings.
2008-08-18 21:17:16 +00:00
Joel Sherrill
b679966dc9 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h, mpc6xx/timer/timer.c,
	new-exceptions/e500_raw_exc_init.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/vectors_init.c: Fix warnings.
2008-08-18 21:17:06 +00:00
Joel Sherrill
1487880d2c 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c,
	libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c,
	libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
	libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix
	warnings.
2008-08-18 21:16:42 +00:00
Ralf Corsepius
6bb1d1a228 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/irq/irq_init.c: Add missing prototypes.
2008-08-18 21:15:04 +00:00
Ralf Corsepius
0b27c3dc43 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* smc/smc.c, startup/exit.c: Add missing prototypes.
2008-08-18 21:10:21 +00:00
Ralf Corsepius
085b702f96 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/clockdrv.c: Add missing prototypes.
2008-08-18 21:08:53 +00:00
Ralf Corsepius
c001766d38 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
*  irq/bsp_irq_init.c: Add missing prototypes.
2008-08-18 21:07:48 +00:00
Ralf Corsepius
166cc98c58 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Add missing prototypes.
2008-08-18 21:06:25 +00:00
Ralf Corsepius
3ad0c50ea0 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/exit.c: Add missing prototypes.
2008-08-18 21:05:13 +00:00
Joel Sherrill
f73fc29d66 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/def_cyc.c,
	itron/src/task.c, libcsupport/src/newlibc_exit.c,
	libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c,
	posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
	posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h,
	rtems/src/tasks.c, score/include/rtems/score/stack.h,
	score/inline/rtems/score/stack.inl,
	score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix
	various nested-externs warnings.
2008-08-18 19:18:52 +00:00
Joel Sherrill
6dcf06ec7f 2008-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, console/console.c: Split debug IO code into separate
	file.
	* console/debugio.c: New file.
2008-08-18 16:47:54 +00:00
Joel Sherrill
e49bb54227 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split libc_init()
	into a separate file to avoid linkage dependencies on newlibc.c which
	in turn pulls in fclose() and other C library methods.
	* libcsupport/src/newlibc_init.c: New file.
2008-08-18 15:43:45 +00:00
Ralf Corsepius
1f27c1f765 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Add -Wnested-externs.
2008-08-18 15:27:59 +00:00
Ralf Corsepius
a6998d7994 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Add -Wnested-externs.
2008-08-18 15:13:59 +00:00
Joel Sherrill
4c54bb077e 2008-08-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/init548x.c: Converted to UNIX line endings.
2008-08-18 14:54:45 +00:00
Joel Sherrill
541c9e84f3 2008-08-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* Makefile.am, startup/bspstart.c, startup/cpuinit.c: For the
	MPC8313ERDB -- The BAT entry for the eLBC was missing and add
	 hard reset sequence in bsp_cleanup().
2008-08-18 13:40:15 +00:00
Ralf Corsepius
bebbb9ab0f 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/clock/tod.h: Add missing prototypes.
2008-08-18 13:32:06 +00:00
Ralf Corsepius
2c77cbff30 Add missing prototypes. 2008-08-18 13:31:59 +00:00
Ralf Corsepius
146b5bea0b 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* serial/twi.c: Remove unused var.
2008-08-18 13:30:24 +00:00
Ralf Corsepius
553621b926 Remove unused var. 2008-08-18 13:30:19 +00:00
Ralf Corsepius
35a968c50b 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/tod.h: Add missing prototypes.
2008-08-18 13:29:14 +00:00
Ralf Corsepius
5c5628ecfb New. 2008-08-18 13:28:02 +00:00
Ralf Corsepius
e1d2facfe1 New. 2008-08-18 13:16:59 +00:00
Ralf Corsepius
ee7bbb9695 Remove bogus local declaration. 2008-08-18 12:02:34 +00:00
Ralf Corsepius
06341fc2a3 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/bspstart.c: Remove bogus local declaration.
2008-08-18 12:02:18 +00:00
Ralf Corsepius
45a34d82da 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Remove bogus local declarations.
	* gnatsupp/gnatsupp.c: Add missing prototypes.
2008-08-18 12:01:05 +00:00
Ralf Corsepius
7db0adc5e2 Remove bogus local declarations. 2008-08-18 12:00:57 +00:00
Ralf Corsepius
fbf533fba9 Add missing prototypes. 2008-08-18 12:00:42 +00:00
Ralf Corsepius
568bc602b7 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* cchip/cchip.c, gnatsupp/gnatsupp.c, timer/timer.c: Add missing
	prototypes.
2008-08-18 11:54:03 +00:00
Ralf Corsepius
2b6c0bff89 Add missing prototypes. 2008-08-18 11:53:53 +00:00
Ralf Corsepius
810647f42c 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* amba/amba.c, console/console.c, timer/timer.c: Add missing
	prototypes.
2008-08-18 11:27:45 +00:00
Ralf Corsepius
292f01cbef Add missing prototypes. 2008-08-18 11:27:37 +00:00
Ralf Corsepius
03581f9af3 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* gnatsupp/gnatsupp.c, timer/timer.c: Add missing prototypes.
2008-08-18 11:25:44 +00:00
Ralf Corsepius
fc216b9620 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c: Add missing prototype.
2008-08-18 10:49:03 +00:00
Ralf Corsepius
6ffb0748bd Add missing prototype. 2008-08-18 10:48:55 +00:00
Ralf Corsepius
962ca2c13d 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/comm/i386-stub-glue.c, shared/comm/i386-stub.c:
	Add missing prototypes.
2008-08-18 10:47:39 +00:00
Ralf Corsepius
bbcd6974c4 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/ckinit.c, startup/bspstart.c, timer/timer.c:
	Add missing prototypes.
2008-08-18 10:46:18 +00:00
Ralf Corsepius
3cd35d4669 Add missing prototypes. 2008-08-18 10:46:09 +00:00
Ralf Corsepius
0fd168d6d7 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/mouse_parser.c, console/mouse_parser.h, console/outch.c:
	Add missing prototypes.
2008-08-18 10:43:09 +00:00
Ralf Corsepius
bd4a776c8d 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/net/ppp_tty.c: Remove bogus local decl of
	termios_baud_to_number(int).
2008-08-18 10:41:13 +00:00
Ralf Corsepius
9d0ef888b1 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_cksum_i386.h: Add missing prototype.
2008-08-18 10:39:57 +00:00
Ralf Corsepius
d95b9e7ea2 Add missing prototype. 2008-08-18 10:39:38 +00:00
Ralf Corsepius
9d1ebb5a5b 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Add missing prototypes.
2008-08-18 07:32:19 +00:00
Ralf Corsepius
3a3f3023ed Add missing prototypes. 2008-08-18 07:32:10 +00:00
Ralf Corsepius
cbab73fa1b 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/gdbstub/mips-stub.c: Add missing prototypes.
2008-08-18 07:31:18 +00:00
Ralf Corsepius
fbc74c35ca 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Add missing prototypes.
2008-08-18 07:24:04 +00:00
Ralf Corsepius
142025c80c Add missing prototypes. 2008-08-18 07:22:23 +00:00
Ralf Corsepius
891bd2462a 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.c, libchip/network/elnk.c: Add missing prototypes.
2008-08-18 07:20:15 +00:00
Ralf Corsepius
5d2fce513b 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_cksum.c: Add missing prototypes.
	* librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/svc_tcp.c:
	Add missing prototypes.
2008-08-18 07:15:58 +00:00
Ralf Corsepius
de26394284 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/irq/irq_init.c: Add missing prototypes.
2008-08-18 06:06:42 +00:00
Ralf Corsepius
9212cb3248 Add missing prototypes. 2008-08-18 06:06:18 +00:00
Ralf Corsepius
db97552998 Move bogus ChangeLog entry to tools/ChangeLog 2008-08-18 06:04:44 +00:00
Ralf Corsepius
e65bcc853e 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/ps2_mouse.c, timer/timer.c: Add missing prototypes.
2008-08-18 06:03:29 +00:00
Ralf Corsepius
b0221ee5a8 2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* tod.c: Add missing prototypes.
2008-08-18 06:01:04 +00:00
Ralf Corsepius
f98f8d0f6d 2008-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Add missing prototypes.
2008-08-16 23:03:04 +00:00
Ralf Corsepius
93c6350aa1 2008-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h, rtems/score/i386.h: Add missing prototypes.
2008-08-16 05:46:35 +00:00
Ralf Corsepius
1b502424df Add missing prototypes. 2008-08-16 05:46:28 +00:00
Ralf Corsepius
41ba6c4ef3 2008-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* cache.c, displayCpu.c, page.c: Add missing prototypes.
2008-08-16 05:44:09 +00:00
Ralf Corsepius
e4cdd30247 Add missing prototypes. 2008-08-16 05:37:55 +00:00
Ralf Corsepius
75da3f5599 Cosmetic indentation fixes. 2008-08-16 04:06:34 +00:00
Ralf Corsepius
18001dc877 2008-08-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/librtemsNfs.h: Add missing prototype.
2008-08-16 04:05:29 +00:00
Ralf Corsepius
252da9cccd Add missing prototype. 2008-08-16 04:04:42 +00:00
Ralf Corsepius
0063a93aca 2008-08-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Add -Wimplicit-function-declaration
	-Wstrict-prototypes to RTEMS_CFLAGS.
2008-08-16 04:02:41 +00:00
Joel Sherrill
a2138d4ab8 2008-08-15 Allan Hessenflow <allanh@kallisti.com>
* custom/bf537Stamp.cfg: New file.
2008-08-15 20:22:53 +00:00
Joel Sherrill
4131943537 2008-08-15 Allan Hessenflow <allanh@kallisti.com>
* src/lib/libbsp/mips/jmr3904/tools/runtest: Add bf537Stamp.
2008-08-15 20:22:41 +00:00
Joel Sherrill
ae6aca88a8 2008-08-15 Allan Hessenflow <allanh@kallisti.com>
* acinclude.m4: Add bf537Stamp.
2008-08-15 20:21:10 +00:00
Joel Sherrill
61f8fb0e3d 2008-08-15 Allan Hessenflow <allanh@kallisti.com>
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	preinstall.am, console/console.c, include/bsp.h,
	network/networkconfig.c, start/start.S, startup/bspstart.c,
	startup/linkcmds: New files.
2008-08-15 20:21:00 +00:00
Joel Sherrill
8f45d1de30 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Fix CVS Id.
2008-08-15 20:19:58 +00:00
Joel Sherrill
30abd24b7e 2008-08-15 Allan Hessenflow <allanh@kallisti.com>
* ChangeLog, Makefile.am, README, configure.ac, preinstall.am,
	cache/cache.c, cache/cache_.h, clock/clock.c, clock/rtc.c,
	clock/tod.h, include/bf533.h, include/bf537.h, include/cecRegs.h,
	include/coreTimerRegs.h, include/dmaRegs.h, include/ebiuRegs.h,
	include/ethernetRegs.h, include/gpioRegs.h, include/memoryRegs.h,
	include/mmuRegs.h, include/ppiRegs.h, include/rtcRegs.h,
	include/sicRegs.h, include/spiRegs.h, include/sportRegs.h,
	include/timerRegs.h, include/twiRegs.h, include/uartRegs.h,
	include/wdogRegs.h, interrupt/interrupt.c, interrupt/interrupt.h,
	mmu/mmu.c, mmu/mmu.h, network/ethernet.c, network/ethernet.h,
	serial/spi.c, serial/spi.h, serial/sport.c, serial/sport.h,
	serial/twi.c, serial/twi.h, serial/uart.c, serial/uart.h,
	timer/timer.c: New files.
2008-08-15 20:18:41 +00:00
Joel Sherrill
b035bdc3a8 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* README.mpc8313erdb: Some first cut notes on running with U-Boot.
2008-08-15 16:43:27 +00:00
Joel Sherrill
dc2503a383 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* ChangeLog: Add correct entry.
2008-08-15 16:41:03 +00:00
Joel Sherrill
4f6bb5b01f 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c: Fix derefence of uninitialized pointer.
2008-08-15 16:33:22 +00:00
Joel Sherrill
d95b992a2c 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1297/cpukit
	* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Fix NULL attribute
	pointer handling.
2008-08-15 16:30:01 +00:00
Joel Sherrill
e293d889b5 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1297/cpukit
	* posix/src/prwlockinit.c: Fix NULL attribute pointer handling.
2008-08-15 16:29:22 +00:00
Joel Sherrill
84976d0511 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Attempt to prevent runaways.
2008-08-15 16:25:23 +00:00
Joel Sherrill
e73f9f6b19 2008-08-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Time was running too slow with it taking 10
	seconds for RTEMS to advance 5.
2008-08-14 20:07:34 +00:00
Joel Sherrill
4daebbd022 2008-08-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/status.h,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/object.h: Removed extraneous commas.
2008-08-14 15:25:14 +00:00
Joel Sherrill
b281e425ab 2008-08-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/powerpc/registers.h: Removed obsolete defines MSR_, MSR_KERNEL
	and MSR_USER.  Added missing prototypes.
2008-08-14 15:24:51 +00:00
Joel Sherrill
80863b1129 Formatting. 2008-08-13 14:46:23 +00:00
Joel Sherrill
ec5916d7ae 2008-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am: Add dummy linkcmds so autoconf tests work
	on installed BSP.
	* startup/linkcmds: New file.
2008-08-12 21:43:03 +00:00
Joel Sherrill
61bd749415 2008-08-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: All SPARC executables should include
	rtems_get_version_string so the monitor used can provide RTEMS
	awareness based upon the version.
2008-08-08 15:54:59 +00:00
Joel Sherrill
fdafb96cc1 2008-08-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/msgmp.h: Fix MP code missed by Sebastian.
2008-08-08 14:23:52 +00:00
Joel Sherrill
89423b90d1 Fix joel mistake. 2008-08-08 14:19:45 +00:00
Joel Sherrill
2975e716e0 2008-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c: Fixed calculation of bsp_click_per_usec.
2008-08-08 13:51:00 +00:00
Joel Sherrill
3b14b7adab 2008-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h,
	score/include/rtems/score/thread.h, score/src/threadreset.c,
	score/src/threadrestart.c, score/src/threadstart.c: New type
	Thread_Entry_numeric_type for numeric arguments in thread entry
	functions with at least one numeric argument.
2008-08-08 13:50:28 +00:00
Joel Sherrill
8ad2468ccf 2008-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* user/msg.t, user/sem.t, user/task.t: Update to new parameter types.
	Emphasize that you can use a pointer for task arguments.
2008-08-08 13:49:19 +00:00
Joel Sherrill
35454e27a0 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Major update. Now more likely not to run away.
2008-08-07 18:51:05 +00:00
Joel Sherrill
02d989c0ef 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Make _System_state_Is_multiprocessing unused when
	multiprocessing is not enabled. Saves one more variable from single
	processor configuration.
2008-08-07 18:23:54 +00:00
Joel Sherrill
22ce088191 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/sysstate.h,
	score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make
	_System_state_Is_multiprocessing unused when multiprocessing is not
	enabled. Saves one more variable from single processor configuration.
2008-08-07 18:23:48 +00:00
Joel Sherrill
a96504330e Format. 2008-08-07 18:21:44 +00:00
Joel Sherrill
94fb30d46d 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/datatypes.t: Add rtems_name. Add comment about
	rtems_task_argument changing from simple unsigned thirty two bit
	integer to being derived from a C99 uintptr_t in 4.8 and newer.
2008-08-07 13:44:58 +00:00
Chris Johns
8192e4ff61 2008-08-07 Chris Johns <chrisj@rtems.org>
* libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
	to see if the 'to' path was a directory and removed the directory.

	* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv command.

	* libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
2008-08-07 02:23:11 +00:00
Chris Johns
24625412d2 2008-08-06 Chris Johns <chrisj@rtems.org>
* smc/smc.c: Fix the fix. The field is bufnum.
2008-08-06 09:39:10 +00:00
Chris Johns
6f162ed27a 2008-08-06 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
	the new bdbuf code.
2008-08-06 04:38:53 +00:00
Chris Johns
b7898e271c 2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
* libblock/src/diskdevs.c: PR1192. Update the disktap pointer
	after the realloc.
2008-08-06 04:17:46 +00:00
Chris Johns
904ced08bb 2008-08-06 Till Straumann <strauman@slac.stanford.edu>
* libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
	than release it.
2008-08-06 04:04:59 +00:00
Joel Sherrill
5a21e2feed 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 537/bsps
	* bsplibc.c: Eliminate vestiges of ticks_per_timeslice controlling
	newlib reentrancy. The parameter was ignored in libc_init().
2008-08-05 16:52:01 +00:00
Joel Sherrill
8b08935eb8 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 537/bsps
	* libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
	libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate
	vestiges of ticks_per_timeslice controlling newlib reentrancy. The
	parameter was ignored in libc_init().
2008-08-05 16:51:45 +00:00
Joel Sherrill
46cb968176 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 741/networking
	* libmisc/dummy/dummy.c: Add dummy network configuration.
2008-08-05 16:33:03 +00:00
Joel Sherrill
3d58766b55 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* smc/smc.c: Fix warning.
2008-08-05 15:52:05 +00:00
Joel Sherrill
aa05837816 2008-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* start/start.S: Clear environment pointer for bootcard.
2008-08-05 13:33:02 +00:00
Joel Sherrill
3f4eb31d56 2008-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/start.S: Clear environment pointer for bootcard.
2008-08-05 13:32:58 +00:00
Joel Sherrill
7a7c6f3fee 2008-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* start/start.S: Clear environment pointer for bootcard.  Fixed wrong
	address increment in mpc83xx_zero_4().
2008-08-05 13:32:54 +00:00
Joel Sherrill
f773c0122a 2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
	Changed option set type to rtems_option.

	* score/src/objectgetinfo.c: Check return value of
	_Objects_API_maximum_class().

	* libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
	rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
	rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
	rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
	rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
	score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
	score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
	score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
	score/src/coremsgsubmit.c:
	Removed parameters of _Message_queue_Allocate().  Changed option set
	type to rtems_option.  Changed type of maximum message and packet size
	to size_t.  Changed the input buffer type for message send functions to
	"const void *".  Changed the pointer to the second return argument in
	the thread wait information to a union.  This union can contain a
	pointer to an immutable or a mutable object.  This is somewhat fragile.
	An alternative would be to add a third pointer for immutable objects,
	but this would increase the structure size.
2008-08-05 13:32:39 +00:00
Joel Sherrill
334b3c1e83 2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/new-exceptions/cpu.h: Changed define
	CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER to UINT32_MAX to avoid comparison
	between signed and unsigned.
2008-08-05 13:32:27 +00:00
Joel Sherrill
14f4b7124f 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1294/bsps
	* startup/spurious.c: Correct prototype and usage of
	sparc_disable_interrupts.
2008-08-05 13:31:52 +00:00
Joel Sherrill
efea3afd09 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Strip .exe or .ralf from file names.
2008-08-05 13:29:43 +00:00
Joel Sherrill
cccd632c8d 2008-08-05 Xudong Guan <xudong.guan@criticalsoftware.com>
PR 1212/cpukit
	* Makefile.am, configure.ac: Time slicing will not happen if the task
	mode is changed from a non-timeslicing mode to timeslicing mode if it
	is done by the executing thread (e.g. in its task body). This change
	includes sp44 to demonstrate the problem and verify the correction.
	* sp44/.cvsignore, sp44/Makefile.am, sp44/init.c, sp44/sp44.scn: New files.
2008-08-05 13:10:26 +00:00
Joel Sherrill
c0f4682bbf 2008-08-05 Xudong Guan <xudong.guan@criticalsoftware.com>
PR 1212/cpukit
	* rtems/src/taskmode.c, score/src/threadtickletimeslice.c: Time slicing
	will not happen if the task mode is changed from a non-timeslicing
	mode to timeslicing mode if it is done by the executing thread (e.g.
	in its task body). This change includes sp44 to demonstrate the
	problem and verify the correction.
2008-08-05 13:10:16 +00:00
Joel Sherrill
6e97bf6236 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
	warnings.
2008-08-04 21:31:51 +00:00
Joel Sherrill
95b60d57e1 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1263/doc
	* user/part.t: Improve discussion of alignment and minimum buffer
	sizes.
2008-08-04 20:45:24 +00:00
Joel Sherrill
cc34770468 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1294/bsps
	* startup/spurious.c: Correct prototype and usage of
	sparc_disable_interrupts.
2008-08-04 20:36:13 +00:00
Joel Sherrill
97b2d15f03 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1294/bsps
	* rtems/score/cpu.h, rtems/score/sparc.h: Correct prototype and usage
	of sparc_disable_interrupts.
2008-08-04 20:35:18 +00:00
Joel Sherrill
e9dba243cf 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Spacing.
2008-08-04 19:51:27 +00:00
Joel Sherrill
dc112f3f41 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1265/cpukit
	* score/include/rtems/score/object.h,
	score/src/objectallocatebyindex.c: Rename index argument to avoid
	warning when rtems.h and string.h are included at the same time by
	user code.
2008-08-04 19:46:13 +00:00
Joel Sherrill
bd547e3623 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1282/misc
	* src/rtemsInterrupt.cc: Correct vec/vector variable confusion.
2008-08-04 19:24:28 +00:00
Joel Sherrill
1be10249fb 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1288/doc
	* user/intr.t: Update callable from ISR section.
2008-08-04 19:09:28 +00:00
Joel Sherrill
6579ae0480 2008-08-04 Ray Xu <rayx.cn@gmail.com>
* shared/irq/irq_asm.S: Correct minor mistakes in adding Thumb code
	which prevented ARM from working.
2008-08-04 17:46:07 +00:00
Joel Sherrill
ce7803fe45 2008-08-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsem01/init.c: Spacing.
2008-08-04 16:13:10 +00:00
Joel Sherrill
decb0759ad 2008-08-04 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1293/tests
	* psx10/init.c: Make sure we do not let tv_nsec go to -1.
2008-08-04 14:39:45 +00:00
Ralf Corsepius
eb0e15a646 2008-08-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/tftpDriver.c: Add prototypes.
	* pppd/rtemsmain.c: Add prototypes.
	* zlib/crc32.c: Add prototypes.
2008-08-03 04:28:01 +00:00
Ralf Corsepius
b5cc0592f7 Add prototypes. 2008-08-03 04:27:50 +00:00
Ralf Corsepius
ba3f7a807a 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/telnetd.c: Add missing prototypes.
	Remove unused local declations.
2008-08-03 04:24:12 +00:00
Ralf Corsepius
c0cc9859bc Add missing prototypes.
Remove unused local declations.
2008-08-02 06:34:08 +00:00
Chris Johns
f031251cee 2008-08-02 Chris Johns <chrisj@rtems.org>
* libchip/i2c/spi-sd-card.c, libchip/ide/ata.c: Remove
	rtems_blkdev_request count and start references. Use
	RTEMS_BLKDEV_START_BLOCK.
2008-08-02 06:26:29 +00:00
Chris Johns
2eb89adc33 2008-08-02 Chris Johns (chrisj@rtems.org>
* libblock/include/rtems/blkdev.h: Remove count and start from
	rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.

	* libblock/src/bdbuf.c: Add read ahead blocks always consecutive
	comment. Change count to bufnum and remove start references. Sort
	the transfer list so blocks are consecutive where possible.

	* libblock/src/blkdev.c, libblock/src/nvdisk.c,
	libblock/src/ramdisk.c: Change count to bufnum and remove start
	references.
2008-08-02 06:23:45 +00:00
Ralf Corsepius
799ef3b92f 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostbydns.c,
	libnetworking/libc/gethostbyht.c,
	libnetworking/libc/gethostbynis.c,
	libnetworking/libc/gethostnamadr.c,
	libnetworking/libc/getnetbydns.c,
	libnetworking/libc/getnetbynis.c,
	libnetworking/libc/getnetnamadr.c,
	libnetworking/libc/nsap_addr.c,
	libnetworking/libc/res_debug.c,
	libnetworking/libc/res_send.c: Add missing prototypes.
2008-08-02 05:37:20 +00:00
Ralf Corsepius
082d4a2879 Add missing prototypes. 2008-08-02 05:37:10 +00:00
Ralf Corsepius
a39e2ee6e4 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libi2c/libi2c.c, libi2c/libi2c.h: Add missing prototypes.
2008-08-02 05:16:40 +00:00
Ralf Corsepius
ee0c82f413 Add missing prototypes. 2008-08-02 05:16:26 +00:00
Ralf Corsepius
f62e195419 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmd/md4.c, libmd/md5.c: Add missing prototypes.
2008-08-02 05:14:57 +00:00
Ralf Corsepius
2992ebbcf6 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-command.c, libmisc/shell/filemode.c,
	libmisc/shell/shell_script.c: Add missing prototypes.
2008-08-02 05:13:10 +00:00
Ralf Corsepius
c7ea80c99a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/xdr_mbuf.c: Add prototypes.
2008-08-01 17:14:39 +00:00
Ralf Corsepius
9b7fafe827 Add prototypes. 2008-08-01 17:14:19 +00:00
Ralf Corsepius
a15d47888d 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt.h: Cleanup.
	* librpc/include/rpc/svc.h: Cleanup.
2008-08-01 16:57:31 +00:00
Ralf Corsepius
0eeca97769 Cleanup. 2008-08-01 16:57:19 +00:00
Ralf Corsepius
848b53b54a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_stdio.c: Misc. ansifications.
	Add prototypes.
2008-08-01 16:54:35 +00:00
Ralf Corsepius
38f9509eee Misc. ansifications. Add prototypes. 2008-08-01 16:53:46 +00:00
Ralf Corsepius
1bfb6c2f6c 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_mem.c librpc/src/xdr/xdr_rec.c
	librpc/src/xdr/xdr_sizeof.c: Misc. ansifications.
	Add prototypes.
2008-08-01 16:45:44 +00:00
Ralf Corsepius
cd7916266e Misc. ansifications. Add prototypes. 2008-08-01 16:44:07 +00:00
Joel Sherrill
31a4efcc56 2008-08-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/msgqsend.c, rtems/src/msgqurgent.c: Fix typos.
2008-08-01 16:18:56 +00:00
Ralf Corsepius
84c5f0222a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/getrpcport.c: Misc. ansifications.
	* librpc/src/rpc/getrpcent.c: Remove stray local decls.
	Misc. ansifications.
2008-08-01 16:06:16 +00:00
Ralf Corsepius
123116dd99 Misc. ansifications. 2008-08-01 16:05:37 +00:00
Ralf Corsepius
9c873b1da9 Remove stray local decls. Misc. ansifications. 2008-08-01 16:04:25 +00:00
Ralf Corsepius
4e4969237b 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_perror.c: Misc. ansifications.
	* librpc/src/rpc/get_myaddress.c: Misc. ansifications.
	* librpc/src/rpc/svc_auth_unix.c: Misc. ansifications.
2008-08-01 15:59:20 +00:00
Ralf Corsepius
b58315677d Misc. ansifications. 2008-08-01 15:58:16 +00:00
Ralf Corsepius
bf5a6befac 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/pmap_clnt.c: Remove stray clnt_perror().
	* librpc/src/rpc/clnt_tcp.c: Add missing prototypes.
2008-08-01 15:51:57 +00:00
Ralf Corsepius
08ef2dd09c Remove stray clnt_perror(). 2008-08-01 15:51:19 +00:00
Ralf Corsepius
8f926f1341 Add missing prototypes. 2008-08-01 15:47:13 +00:00
Joel Sherrill
8fc3d7183f 2008-08-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/msg.t: Parameter is size not count. Spotted by Sebastian Huber.
2008-08-01 15:29:37 +00:00
Ralf Corsepius
8016f1a14b 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_raw.c: Add missing prototypes.
	* librpc/src/rpc/clnt_udp.c: Add missing prototypes.
	* librpc/src/rpc/svc_auth.c: Add missing prototypes.
2008-08-01 15:17:17 +00:00
Ralf Corsepius
b03af1c202 Add missing prototypes. 2008-08-01 15:16:38 +00:00
Ralf Corsepius
7013243f2b 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/svc_raw.c: Add missing prototypes.
2008-08-01 14:29:27 +00:00
Ralf Corsepius
12c21c8091 Add missing prototypes. 2008-08-01 14:29:11 +00:00
Ralf Corsepius
5391ed564d 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/svc_tcp.c: Add missing prototypes.
	* librpc/src/rpc/svc_udp.c: Add missing prototypes.
2008-08-01 14:24:35 +00:00
Ralf Corsepius
885e1e0dba Add missing prototypes. 2008-08-01 14:14:22 +00:00
Ralf Corsepius
624a038ee4 Add missing prototypes. 2008-08-01 07:32:47 +00:00
Ralf Corsepius
dd1fef80f4 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/svc.c: Add missing prototypes.
2008-08-01 07:32:33 +00:00
Ralf Corsepius
6cded7e1c8 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_rec.c: Remove register vars.
2008-08-01 07:28:58 +00:00
Ralf Corsepius
7d7d5e8ebb Remove register vars. 2008-08-01 07:28:48 +00:00
Ralf Corsepius
612fbafff5 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_mem.c: Misc. ansifications.
2008-08-01 07:26:09 +00:00
Ralf Corsepius
95b5e810b0 Misc. ansifications. 2008-08-01 07:25:35 +00:00
Ralf Corsepius
6d5c3cddb2 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/svc_tcp.c: Misc. ansifications.
2008-08-01 07:04:18 +00:00
Ralf Corsepius
aec776a26f Misc. ansifications. 2008-08-01 07:04:10 +00:00
Ralf Corsepius
d943f3ab51 Cosmetics. 2008-08-01 06:59:13 +00:00
Ralf Corsepius
1e21e43d1a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_tcp.c: Misc. ansifications.
2008-08-01 06:56:41 +00:00
Ralf Corsepius
2d3d0272bc Misc. ansifications. 2008-08-01 06:56:33 +00:00
Ralf Corsepius
9b012a58fa 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/svc_raw.c: Misc. ansifications.
2008-08-01 06:50:30 +00:00
Ralf Corsepius
0c9f5db3e9 Misc. ansifications. 2008-08-01 06:50:12 +00:00
Ralf Corsepius
a9b1804828 Cosmetics. 2008-08-01 06:46:46 +00:00
Ralf Corsepius
b8e5e75593 Cosmetics. 2008-08-01 06:45:22 +00:00
Ralf Corsepius
5a81955702 Cosmetics. 2008-08-01 06:44:23 +00:00
Ralf Corsepius
e8d09eac03 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_rec.c: Misc. ansifications.
2008-08-01 06:40:00 +00:00
Ralf Corsepius
9d1596d6ae Misc. ansifications. 2008-08-01 06:39:51 +00:00
Ralf Corsepius
e8ef931ed0 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/svc_simple.c: Add missing prototypes.
2008-08-01 06:25:39 +00:00
Ralf Corsepius
3c412d9e77 Add missing prototypes. 2008-08-01 06:25:15 +00:00
Ralf Corsepius
2687ad5cef 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/rtems_portmapper.c: Add missing prototypes.
2008-08-01 06:23:59 +00:00
Ralf Corsepius
ac5f5bfaeb 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/rpcdname.c: Add missing prototypes.
2008-08-01 06:22:11 +00:00
Ralf Corsepius
113d04573b 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/rpc_prot.c: Misc. ansifications.
2008-08-01 06:20:11 +00:00
Ralf Corsepius
b6e23ea73e Misc. ansifications. 2008-08-01 06:19:45 +00:00
Ralf Corsepius
b6653f6be3 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/pmap_rmt.c: Misc. ansifications.
2008-08-01 06:17:17 +00:00
Ralf Corsepius
3a81d6d8d2 More ansifications. 2008-08-01 06:15:43 +00:00
Ralf Corsepius
83516125cb Misc. ansifications. 2008-08-01 06:12:05 +00:00
Ralf Corsepius
46e153e0f6 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_simple.c: Misc. ansifications.
2008-08-01 06:10:22 +00:00
Ralf Corsepius
8cef54556b 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/auth_unix.c: Misc. ansifications.
	Add missing prototypes.
	* librpc/src/rpc/rtime.c, librpc/src/rpc/svc_udp.c:
	Misc. ansifications.
2008-08-01 06:06:47 +00:00
Ralf Corsepius
18f1673427 Misc. ansifications.
Add missing prototypes.
2008-08-01 06:06:27 +00:00
Ralf Corsepius
456ebf8185 Misc. ansifications. 2008-08-01 05:59:32 +00:00
Ralf Corsepius
daf5dcf276 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/auth_unix.h, librpc/include/rpc/pmap_clnt.h,
	librpc/include/rpc/pmap_prot.h, librpc/include/rpc/pmap_rmt.h,
	librpc/include/rpc/rpc_msg.h, librpc/include/rpc/svc_auth.h,
	librpc/include/rpcsvc/yppasswd.x, librpc/src/rpc/netnamer.c,
	librpc/src/rpc/svc_udp.c, librpc/src/xdr/xdr_rec.c,
	librpc/include/rpcsvc/ypclnt.h, librpc/include/rpcsvc/yp_prot.h:
	Eliminate __P().
2008-08-01 05:41:43 +00:00
Ralf Corsepius
22dd335a4d Fix oversight in previous patch. 2008-08-01 05:40:53 +00:00
Ralf Corsepius
9f4040a13b Eliminate __P(). 2008-08-01 05:40:52 +00:00
Ralf Corsepius
184afdac3f 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/thread.h: Add missing prototype.
2008-08-01 05:13:12 +00:00
Ralf Corsepius
5742e5e278 Add missing prototype. 2008-08-01 05:13:02 +00:00
Ralf Corsepius
1cf6c144ed Add missing prototypes 2008-08-01 05:11:59 +00:00
Ralf Corsepius
4d40cb10b2 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/nfs.c: Add missing prototype.
2008-08-01 05:09:03 +00:00
Ralf Corsepius
175b9f17c3 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c, libnetworking/libc/rcmd.c,
	libnetworking/netinet/in_cksum_m68k.h,
	libnetworking/netinet/ip_divert.c, libnetworking/rtems/ftpfs.h,
	libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h,
	libnetworking/rtems/rtems_showroute.c: Add missing prototypes.
2008-08-01 05:07:53 +00:00
Ralf Corsepius
e386ad7265 Add missing prototypes. 2008-08-01 05:07:41 +00:00
Ralf Corsepius
4ad63f50e2 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* itron/include/itronsys/types.h: Add missing prototype.
2008-08-01 05:04:44 +00:00
Ralf Corsepius
a6924074d1 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Fix broken prototype.
2008-08-01 05:03:33 +00:00
Ralf Corsepius
03e3a3ac3e Fix broken prototype. 2008-08-01 05:03:23 +00:00
Ralf Corsepius
60137bb013 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c:
	Add missing prototypes.
2008-08-01 05:01:52 +00:00
Ralf Corsepius
a5fb40cf68 Add missing prototypes. 2008-08-01 05:01:28 +00:00
Ralf Corsepius
22cee0a485 2008-07-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_netstats.c: Add missing prototypes.
	* libmisc/shell/main_wkspaceinfo.c: Remove classinfo_tester.
2008-08-01 04:59:09 +00:00
Joel Sherrill
c560ef1642 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Make attempt to detect memory exceptions and abort
	running tests.
2008-07-31 19:20:24 +00:00
Joel Sherrill
e483dc3a6e 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Do not build .rel files. Reduces code bloat.
2008-07-31 18:34:31 +00:00
Joel Sherrill
694c85ee13 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Add stub for U-Boot support. Hopefully someone more
	knowledgeable than I can provide a real address and length.
	* startup/uboot_support.c: New file.
2008-07-31 18:09:34 +00:00
Joel Sherrill
7e5bf38aac 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* tests/tests.c: Remove C++ style comments.
2008-07-31 17:50:58 +00:00
Joel Sherrill
23bfd0cd27 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/shell/main_rm.c: sys/mount.h is not available when networking
	is disabled but luckily it is not even needed to compile.
2008-07-31 15:02:48 +00:00
Joel Sherrill
90c9d2b45f 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/misc/m68kidle.c: Correct prototype of Idle threads.
2008-07-31 15:00:11 +00:00
Joel Sherrill
44ad347a1b 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* porting/idlethread.t: Correct prototype of Idle threads.
2008-07-31 14:59:43 +00:00
Joel Sherrill
73570ec985 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspclean.c: Use C style comment.
2008-07-31 14:56:51 +00:00
Joel Sherrill
3c87adba3f 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Correct prototype of Idle threads.
2008-07-31 14:55:56 +00:00
Joel Sherrill
432a662c1b 2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Correct prototype of Idle threads.
2008-07-31 14:55:54 +00:00
Ralf Corsepius
f48873dfec Add missing prototypes. 2008-07-31 06:31:20 +00:00
Ralf Corsepius
0929315249 Remove classinfo_tester. 2008-07-31 06:31:04 +00:00
Ralf Corsepius
a433ae20aa 2008-07-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/compat_rtems.c: Replace C++-comments with C-comments.
2008-07-31 05:40:09 +00:00
Ralf Corsepius
79c91cc0d0 Replace C++-comments with C-comments. 2008-07-31 05:39:58 +00:00
Joel Sherrill
4693690afd Formatting. 2008-07-30 15:31:19 +00:00
Ralf Corsepius
9c186eb027 2008-07-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* httpd/emfdb.h, httpd/socket.c, httpd/uemf.c, httpd/uemf.h,
	httpd/um.h, httpd/webmain.c, httpd/webs.c, httpd/webs.h,
	httpd/wsIntrn.h: Add missing protoypes.
2008-07-30 09:59:52 +00:00
Ralf Corsepius
257b238736 Add missing prototypes. 2008-07-30 09:59:26 +00:00
Joel Sherrill
a4a95e61b1 2008-07-29 Tim Cussins <timcussins@eml.cc>
* ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API
	conditional.
2008-07-29 20:54:51 +00:00
Ralf Corsepius
8334e6b4f2 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c, ftpd/ftpd.h: Add prototypes.
2008-07-29 11:53:37 +00:00
Ralf Corsepius
c8a9f80fb1 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-monitor.c: Remove stray arg from function
	call.
2008-07-29 11:51:47 +00:00
Ralf Corsepius
2b6436090d Remove stray arg from function call. 2008-07-29 11:51:37 +00:00
Ralf Corsepius
28351f3260 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/capture/capture.h, libmisc/monitor/mon-symbols.c,
	libmisc/monitor/monitor.h: Add missing prototypes.
2008-07-29 11:50:20 +00:00
Ralf Corsepius
30b8ac1cc4 Add missing prototypes. 2008-07-29 11:49:50 +00:00
Ralf Corsepius
5bc8a75e39 Add prototypes. 2008-07-29 11:46:19 +00:00
Ralf Corsepius
c26545905f 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/tod.inl: Add prototypes.
	* score/src/coretodset.c: Remove stray args in function call.
2008-07-29 11:41:54 +00:00
Ralf Corsepius
b272001594 Remove stray args in function call. 2008-07-29 11:41:42 +00:00
Ralf Corsepius
ea5a80c5ae 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libcsupport.h,
	libcsupport/include/rtems/libio_.h,
	libcsupport/src/malloc_statistics_helpers.c,
	libcsupport/src/scandir.c: Add prototypes.
2008-07-29 09:25:24 +00:00
Ralf Corsepius
df3021ad78 Add prototypes. 2008-07-29 09:25:11 +00:00
Ralf Corsepius
8d52ad5c20 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/pty.c: Add prototypes. Remove misc. C++-code pollution.
2008-07-29 09:17:49 +00:00
Ralf Corsepius
697cdd9871 Add prototypes. Remove misc. C++-code pollution. 2008-07-29 09:17:28 +00:00
Ralf Corsepius
34b90a86f5 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/prwlocktrywrlock.c, posix/src/prwlocktryrdlock.c,
	  posix/src/prwlockrdlock.c: Use C-style comments.
2008-07-29 08:51:41 +00:00
Ralf Corsepius
7d53ba7fd8 Use C-style comments. 2008-07-29 08:51:16 +00:00
Thomas Doerfler
cc54cc9175 src/irq-legacy.c: Free allocated memory in hander remove
bootcard.c: Check if the heap fits into the work area
2008-07-29 07:11:21 +00:00
Chris Johns
af37ae0dd3 2008-07-29 Chris Johns <chrisj@rtems.org>
* tools/configure.ac: Add CFLAGS to workaround building errors on
	a 64bit AMD host.
2008-07-29 04:32:34 +00:00
Chris Johns
021cf6b58b 2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/src/nvdisk.c: Fix block compile bug.
2008-07-29 03:55:03 +00:00
Chris Johns
c21c850ec7 2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
	Update the comments.
2008-07-29 03:15:09 +00:00
Chris Johns
bafe97f479 2008-07-29 Chris Johns <chrisj@rtems.org>
* ide/pcmcia_ide.c: Updated to the libblock changes.
2008-07-29 03:08:38 +00:00
Chris Johns
e9e422e0a4 2008-07-29 Chris Johns <chrisj@rtems.org>
* smc/smc.c: Updated to the libblock changes.
2008-07-29 02:56:20 +00:00
Chris Johns
57df51f326 2008-07-29 Chris Johns <chrisj@rtems.org>
* block/block.c: Update to the libblock changes.
2008-07-29 02:46:22 +00:00
Chris Johns
3735f0859c 2008-07-29 Chris Johns <chrisj@rtems.org>
* libchip/i2c/spi-sd-card.c: Updated to the libblock changes.

	* libchip/ide/ata.c: Change to use a mutex rather than disable
	pre-emption. Updated to the libblock changes.

	* libchip/ide/ata_internal.h: Updated to the new chains API.

	* libchip/ide/ide_controller.c: Updated to the libblock
	changes. Added come debug tracing.

	* libchip/ide/ide_ctrl_cfg.h, libchip/ide/ide_ctrl_io.h: Updated
	to the libblock changes.
2008-07-29 02:23:48 +00:00
Chris Johns
c4bd98c04d 2008-07-29 Chris Johns <chrisj@rtems.org>
* ide/ide.c: Updated to the rtems_* libblock changed.
2008-07-29 02:22:22 +00:00
Chris Johns
3899a5379f 2008-07-29 Chris Johns <chrisj@rtems.org>
* libblock/Makefile.am: Removed src/show_bdbuf.c.

	* libblock/src/show_bdbuf.c: Removed.

	* libblock/include/rtems/bdbuf.h, cpukit/libblock/src/bdbuf.c:
	Rewritten the bdbuf code. Remove pre-emption disable, score
	access, fixed many bugs and increased performance.

	* libblock/include/rtems/blkdev.h: Added
	RTEMS_BLKDEV_CAPABILITIES block device request. Cleaned up
	comments. Added block and user fields to the sg buffer
	request. Move to rtems_* namespace.

	* libblock/include/rtems/diskdevs.h,
	cpukit/libblock/src/diskdevs.c: Move to rtems_* namespace. Add a
	capabilities field for drivers. Change rtems_disk_lookup to
	rtems_disk_obtain to match the release call. You do not lookup and
	release a disk, you obtain and release a disk.

	* libblock/include/rtems/ide_part_table.h,
	libblock/include/rtems/ramdisk.h, libblock/src/ide_part_table.c:
	Move to rtems_* namespace.

	* libblock/include/rtems/nvdisk.h: Formatting change.

	* libblock/src/blkdev.c: Move to rtems_* namespace. Change
	rtems_disk_lookup to rtems_disk_obtain

	* libblock/src/flashdisk.c: Move to rtems_* namespace. Use the new
	support for the block number in the scatter/grather request
	struct. This allows non-continuous buffer requests for those
	drivers that can support increasing performance.

	* libblock/src/nvdisk.c: Move to rtems_* namespace. Removed
	warnings. Added better error checking. Fixed some comments.

	* libblock/src/ramdisk.c: Move to rtems_* namespace. Added some
	trace functions to help debugging upper layers. Use the new
	support for the block number in the scatter/grather request
	struct. This allows non-continuous buffer requests for those
	drivers that can support increasing performance.

	* libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Use new chains
	API. Removed temporary hack and changed
	set_errno_and_return_minus_one to
	rtems_set_errno_and_return_minus_one. Move fat_buf_access from
	header and stopped it being inlined. Updated to libblock changes.

	* libfs/src/dosfs/fat_fat_operations.c,
	libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos_create.c,
	libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
	libfs/src/dosfs/msdos_free.c, libfs/src/dosfs/msdos_initsupp.c,
	libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Use
	new chains API. Removed temporary hack and changed
	set_errno_and_return_minus_one to
	rtems_set_errno_and_return_minus_one. Updated to libblock changes.

	* libmisc/Makefile.am: Add new ls and rm command files.

	* libmisc/shell/cmp-ls.c, libmisc/shell/extern-ls.h,
	libmisc/shell/filemode.c, libmisc/shell/print-ls.c,
	libmisc/shell/pwcache.c, libmisc/shell/utils-ls.c,
	libmisc/shell/vis.c, shell/vis.h: New.

	* libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c: Fixed the usage call bug.

	* libmisc/shell/main_blksync.c: Updated to the new block IO ioctl
	command.

	* libmisc/shell/main_ls.c, libmisc/shell/main_rm.c: Updated to BSD
	commands with more features.

	* score/src/coremutex.c: Fix the strick order mutex code.

	* libmisc/shell/shell.c: Change shell tasks mode to be timeslice
	and no ASR.

	* sapi/include/confdefs.h: Change ata_driver_task_priority to
	rtems_ata_driver_task_priority. Add the new BD buf cache
	parameters with defaults.

	* score/src/interr.c: Do not return if the CPU halt call returns.
2008-07-29 02:21:15 +00:00
Ralf Corsepius
1b39f1892b 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RPCGEN, RPCTOOLS.
2008-07-27 07:15:14 +00:00
Ralf Corsepius
73c0717887 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove doxygen comments.
2008-07-27 07:10:46 +00:00
Ralf Corsepius
079c3edba8 Remove doxygen comments. 2008-07-27 07:10:37 +00:00
Ralf Corsepius
8b8b0cb7c4 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add -ansi to RTEMS_PROG_CC_FOR_TARGET.
2008-07-27 06:55:12 +00:00
Ralf Corsepius
c39e66459c Add -ansi to RTEMS_PROG_CC_FOR_TARGET. 2008-07-27 06:55:02 +00:00
Ralf Corsepius
724f501db1 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove doxygen comments.
	Remove bogus BUILT_SOURCES.
2008-07-27 06:53:47 +00:00
Ralf Corsepius
05e0ce0c46 Remove doxygen comments.
Remove bogus BUILT_SOURCES.
2008-07-27 06:53:33 +00:00
Ralf Corsepius
feb447e94d Allow empty configdirs. 2008-07-27 06:50:08 +00:00
Ralf Corsepius
f449548408 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* acinclude.m4 (_RTEMS_OUTPUT_SUBDIRS): Allow empty configdirs.
2008-07-27 06:49:54 +00:00
Ralf Corsepius
61216b12c3 2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Remove doxygen
	comments.
	* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-07-27 06:47:16 +00:00
Ralf Corsepius
9622f254f3 Require AC_DISABLE_OPTION_CHECKING.
AC_PREREQ(2.62).
2008-07-27 06:47:01 +00:00
Ralf Corsepius
3b0a915cf1 Remove doxygen comments. 2008-07-27 06:46:40 +00:00
Ralf Corsepius
476c9f47d8 Don't install windmc.1 if windmc is not available. 2008-07-27 06:25:12 +00:00
Joel Sherrill
bc3283c986 2008-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* preinstall.am: New file.
2008-07-24 18:24:22 +00:00
Thomas Doerfler
de3864ec4b *** empty log message *** 2008-07-24 14:53:14 +00:00
Thomas Doerfler
d4886a0695 Changed bsp_get_workarea() to bsp_get_work_area() and
added support for an optional separate heap area.
2008-07-24 14:52:55 +00:00
Thomas Doerfler
075d81772d New function rtems_interrupt_handler_iterate()
for system information and diagnostics
2008-07-24 12:45:23 +00:00
Thomas Doerfler
2e2c640ec1 Support for new rtems_interrupt_handler_iterate() function. 2008-07-24 12:44:26 +00:00
Joel Sherrill
a39cf49f3a 2008-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1291/cpukit
	* posix_users/semaphores.t: Update to reflect absolute time.
2008-07-23 22:32:19 +00:00
Joel Sherrill
75d16dd808 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/Makefile.am, shell/rtems.t: Add pthread command.
2008-07-23 22:07:16 +00:00
Joel Sherrill
e6ee171252 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_script.c: Clean up code for command not found
	including the error message.
2008-07-23 20:28:13 +00:00
Joel Sherrill
bd5762ddfc 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c,
	libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c,
	libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c,
	libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c,
	libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of
	internal routine. This makes it possible to also print string names
	of POSIX objects. Adjust task report to realign since we can have
	longer names.
2008-07-23 19:51:08 +00:00
Joel Sherrill
6c71b25364 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h, score/src/threadcreateidle.c: Idle thread
	body is now completely configured via the Configuration table.
2008-07-23 17:25:31 +00:00
Thomas Doerfler
be78809c94 usee inttypes.h for output format specifiers 2008-07-23 08:03:28 +00:00
Till Straumann
36ba3fc4d1 2008-07-22 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c, include/bsp.h:
	define BSP_PPC403_CLOCK_HOOK_EXCEPTION
	so that we hook the timer exception rather than going
	through the interrupt dispatcher.
2008-07-23 06:54:18 +00:00
Till Straumann
b7d1f290d7 2008-07-22 Till Straumann <strauman@slac.stanford.edu>
* ppc403/clock/clock.c: Added (conditionally compiled)
	code so that a BSP can choose to hook the timer exception
	directly rather than going through the interrupt dispatcher.
2008-07-23 06:50:00 +00:00
Till Straumann
479f25550b 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Removed MSR_CE from interrupt
	mask - this was set for testing but should not be
	in the mask by default.
2008-07-22 06:11:34 +00:00
Till Straumann
aee685a3df 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, preinstall.am, irq/irq_init.c:
	Use low-level exception handling support from
	new-exceptions/bspsupport.
2008-07-22 05:52:05 +00:00
Till Straumann
336495b9c0 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Removed SPRG0 warning - this BSP
	is OK.

	Use interrupt stack limits from linker script.

	No need to reserve space beyond '_end'. linkcmds now
	reserves space below '_end'.

	Use low-level exception handling support from
	new-exceptions/bspsupport.
2008-07-22 05:50:57 +00:00
Till Straumann
e1095fc521 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* dlentry/dlentry.S: load R13 with _SDA_BASE_ so that
	SVR4-ABI access of short data area works. No support
	for R2/sdata2/eabi, so far but that would be easy
	(atm R2 is loaded with got address IIRC).
2008-07-22 05:47:31 +00:00
Till Straumann
54b617a0ab 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* startup/linkcmds: fixed sdata/sbss areas -- these
	must be contiguous for SVR4 complicant access via R13.
	Use kludged layout so that sbss, bss, sbss2 are all
	contiguous and zeroed by dlentry.S.

	Provide _SDA_BASE_ and _SDA2_BASE_ for loading R13 (and
	R2 if anyone wants to use EABI).

	Make sure interrupt stack is never in heap area by
	moving it below '_end'.

	Provide symbols for start + end of interrupt stack.
2008-07-22 05:44:58 +00:00
Till Straumann
c607d50e70 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* console/consolelite.c: use base address from RTEMS_XPARAMETERS_H
	rather than hardcoded hex number.
2008-07-22 05:30:21 +00:00
Till Straumann
13512ec229 2008-07-21 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception,h,
	new-exceptions/raw_exception.c: Added more vectors for PPC405:
	watchdog, fpu-unavail, apu-unavail, itlbmiss, dtlbmiss, debug.
2008-07-21 20:38:06 +00:00
Joel Sherrill
f45169a95f 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: This BSP is OK with SPRG0.
2008-07-18 22:10:26 +00:00
Till Straumann
e620c556a3 2008-07-18 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: removed warning about SPRG0
	now being used for IRQ mask; this BSP is OK.
2008-07-18 19:09:30 +00:00
Joel Sherrill
f5119be40a 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1291/cpukit
	* psx05/init.c, psxmsgq01/init.c: As part of addressing timeouts and
	POSIX services taking relative instead of absolute time for timeouts,
	these tests were updated.
2008-07-18 18:47:30 +00:00
Joel Sherrill
acb4bed0e9 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix_users/mutex.t: Add ETIMEDOUT.
2008-07-18 18:46:28 +00:00
Joel Sherrill
6a0898bba3 2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1291/cpukit
	* itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
	posix/include/mqueue.h, posix/include/rtems/posix/mqueue.h,
	posix/include/rtems/posix/semaphore.h,
	posix/include/rtems/posix/time.h, posix/src/condtimedwait.c,
	posix/src/mqueuereceive.c, posix/src/mqueuerecvsupp.c,
	posix/src/mqueuesend.c, posix/src/mqueuesendsupp.c,
	posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c,
	posix/src/mutextimedlock.c, posix/src/mutextranslatereturncode.c,
	posix/src/posixtimespecabsolutetimeout.c,
	posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	posix/src/semaphoretranslatereturncode.c,
	posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
	posix/src/semtrywait.c, posix/src/semwait.c,
	posix/src/sigtimedwait.c, posix/src/timersettime.c,
	posix/src/ualarm.c, rtems/src/semobtain.c,
	rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/coresem.h, score/src/coresemseize.c: This
	patch addresses issues on implementation of the timeout on the
	following POSIX services. Some of these services incorrectly took a
	timeout as a relative time. Others would compute a 0 delta to timeout
	if the absolute time and the current time were equal and thus
	incorrectly block the caller forever. The root of the confusion is
	that POSIX specifies that if the timeout is incorrect (e.g. in the
	past, is now, or is numerically invalid), that it does not matter if
	the call would succeed without blocking. This is in contrast to RTEMS
	programming style where all errors are checked before any critical
	sections are entered. This fix implemented a more uniform way of
	handling POSIX absolute time timeouts.
	    + pthread_cond_timedwait - could block forever
	    + mq_timedreceive - used relative not absolute time
	    + mq_timedsend - used relative not absolute time
	    + pthread_mutex_timedlock - used relative not absolute time
	    + pthread_rwlock_timedrdlock- used relative not absolute time
	    + pthread_rwlock_timedwrlock- used relative not absolute time
	    + sem_timedwait - could block forever
2008-07-18 18:45:56 +00:00
Thomas Doerfler
d3c321367c Changed special purpose register inline functions to macros.
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
2008-07-18 15:56:48 +00:00
Joel Sherrill
eb98e4c627 typos. 2008-07-18 14:03:47 +00:00
Thomas Doerfler
59be902499 mpc8249eamds support for Gigabit Ethernet works again
initialize PHY registers late enough, so that phy access is possible
2008-07-18 11:24:39 +00:00
Thomas Doerfler
e5aa0d1b66 resolved conflict 2008-07-18 07:38:55 +00:00
Joel Sherrill
d4502b445d Correct message. 2008-07-17 21:34:22 +00:00
Joel Sherrill
708a8b46eb Formatting. 2008-07-17 21:33:08 +00:00
Joel Sherrill
ce76739743 2008-07-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* ChangeLog, startup/linkcmds, startup/linkcmds.m5484FireEngine.flash:
	Formatting.
2008-07-17 21:32:36 +00:00
Joel Sherrill
05480bb8be 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c: truncate on /dev/console now works.
2008-07-17 21:23:19 +00:00
Joel Sherrill
ffb9eeb5ce 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen09.c: Do not use Simple Vectored Interrupt calls on
	architectures they are not supported on.
2008-07-17 21:22:29 +00:00
Joel Sherrill
00a2d366a6 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
	libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
	libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
	libmisc/shell/main_whoami.c: Add pthread command to monitor when
	POSIX is enabled. Remove include of rtems/monitor.h from files not
	related.
2008-07-17 15:43:56 +00:00
Thomas Doerfler
9bd5118c72 fixes for display driver 2008-07-17 14:39:34 +00:00
Thomas Doerfler
677cf05fe1 bugfixes for mpc8349eamds BSP 2008-07-17 14:39:17 +00:00
Thomas Doerfler
ecb869f738 Fixed typo in access macros for device control registers (DCR) 2008-07-17 11:29:32 +00:00
Ralf Corsepius
1380b630a8 2008-07-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove reference to startup/setvec.c.
2008-07-17 04:09:31 +00:00
Ralf Corsepius
2a8e4508eb 2008-07-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_AMPOLISH3.
2008-07-17 03:48:58 +00:00
Ralf Corsepius
e9c0429a91 New. 2008-07-17 03:39:59 +00:00
Till Straumann
84a25d82ec 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/vectors_init.c: added
	features to C_exception_handler() (the default global
	handler):
	 - try to catch recursion
	 - print info about context where the exception occurred
	   (ISR or task with task ID).
	 - suspend offending task rather than spinning forever.
2008-07-16 23:13:24 +00:00
Till Straumann
03542996dd 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/vectors_init.c: must not
	align start of stack downwards (we don't 'own' memory
	below start). Instead, use original boundaries but
	align the stack pointer as required.

	Added test to verify that R13 was loaded with _SDA_BASE_
	during early initialization (low-level assembly code
	relies on it).
2008-07-16 23:10:55 +00:00
Till Straumann
6ce3f7b7e2 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/cpu.c: propagate R2 to all task contexts
	even if the ABI is SVR4. Cannot hurt...
2008-07-16 22:04:06 +00:00
Till Straumann
d60239f6c8 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/cpu.c: use ppc_interrupt_get_disable_mask()
	to determine which bits to set/clear from _CPU_Context_Initialize().
2008-07-16 21:57:55 +00:00
Till Straumann
3d28361d19 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* score/cpu/powerpc/rtems/new-exceptions/cpu.h:
	use ppc_interrupt_get_disable_mask() to determine
	which bits to set/clear from _CPU_ISR_Set_level().
2008-07-16 21:52:04 +00:00
Till Straumann
441c930dc1 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* score/cpu/powerpc/rtems/powerpc/registers.h:
	added ppc_interrupt_get_disable_mask() inline function.
2008-07-16 21:47:04 +00:00
Till Straumann
5166513cf5 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added
	a test to TEST_LOCK_crit so that a context switch is
	always prevented if MSR_CE is not set in the interrupt mask.
	(Support mode where the user wants to leave MSR_CE always enabled
	but abstains from calling OS primitives from the exception
	handler.)
2008-07-16 21:44:14 +00:00
Till Straumann
7d453cf211 2008-07-16 Till Straumann <strauman@slac.stanford.edu>
* shared/include/powerpc-utility.h: Added
	GET_INTERRUPT_MASK macro.
2008-07-16 21:38:05 +00:00
Joel Sherrill
c702dd809e 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shellconfig.h, libmisc/stackchk/stackchk.h: Fix typos.
2008-07-16 20:32:23 +00:00
Joel Sherrill
9c325fb254 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/clock/c_clock.c: Add fast idle.
2008-07-16 20:22:20 +00:00
Joel Sherrill
10f095c83f 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Add fast idle.
2008-07-16 20:22:00 +00:00
Joel Sherrill
798ff5a8ea 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c, libmisc/shell/shell.h: New argument sequence
	for rtems_shell_init(). This makes it possible to run the shell
	forever or invoke it from a program as a subroutine, have a user
	enter commands, and wait for it to exit.
2008-07-16 17:17:29 +00:00
Joel Sherrill
c2a5939f1b 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/confinit.t: New argument sequence for rtems_shell_init().
2008-07-16 17:13:35 +00:00
Joel Sherrill
72cb077f39 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: New argument sequence for rtems_shell_init(). Also
	split on multiple lines and document each parameter.
2008-07-16 17:08:41 +00:00
Joel Sherrill
03b655aaee 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/init.c, sp43/sp43.scn: Add call to rtems_get_version_string().
2008-07-16 16:48:51 +00:00
Joel Sherrill
33749f0413 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* acinclude.m4: Regeneration to add new BSPs.
2008-07-16 14:46:57 +00:00
Joel Sherrill
4d47256b4b 2008-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get
	RTEMS version string.
	* sapi/src/getversionstring.c: New file.
2008-07-15 22:56:45 +00:00
Joel Sherrill
fc1b5cf558 2008-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, include/.cvsignore: New files.
2008-07-15 22:55:15 +00:00
Joel Sherrill
fa379b086c 2008-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Must include bsp.h or bspopts.h or we cannot know if
	boot_card() handles RAM allocation.
2008-07-15 22:22:09 +00:00
Joel Sherrill
4dc6a4684f 2008-07-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/barrier.t, user/clock.t, user/dpmem.t, user/msg.t, user/part.t,
	user/region.t, user/rtmon.t, user/sem.t, user/task.t, user/timer.t:
	Correct documentation typos noticed and thankfully reported by
	Fabrício de Novaes Kucinskis <fabricio@dea.inpe.br>
2008-07-15 21:49:31 +00:00
Joel Sherrill
18e6e824a6 Spacing. 2008-07-15 13:32:12 +00:00
Thomas Doerfler
574fb67510 updated gen83xx BSP
updated haleakala BSP
added MPC55xx BSP
2008-07-14 16:15:28 +00:00
Thomas Doerfler
3c6fe2e7f9 added haleakala BSP contributed by Michael Hamel 2008-07-14 08:46:06 +00:00
Thomas Doerfler
9ec9123344 corrections in display driver 2008-07-14 08:45:32 +00:00
Ralf Corsepius
fcd4a7c8fa Cleanup. 2008-07-14 06:02:09 +00:00
Ralf Corsepius
1be83cdc57 Cleanup. 2008-07-14 05:53:43 +00:00
Ralf Corsepius
911e38a05a New. 2008-07-14 05:33:07 +00:00
Ralf Corsepius
a4f16e611a Regenerate. 2008-07-14 05:32:41 +00:00
Ralf Corsepius
46b703810e Remove. 2008-07-14 05:19:18 +00:00
Thomas Doerfler
054f3966bd added BSP for mcf548x 2008-07-11 10:09:05 +00:00
Thomas Doerfler
224aebb3b8 added BSP to m68k
adapted PPC exception code
2008-07-11 10:07:00 +00:00
Thomas Doerfler
9ab94a1fc7 made buffer for write calls constant 2008-07-11 10:05:53 +00:00
Thomas Doerfler
e0b8176076 added support for mcf548x 2008-07-11 10:05:13 +00:00
Thomas Doerfler
767cdd8470 adapted for modified exception code 2008-07-11 10:04:40 +00:00
Thomas Doerfler
80a0ae8248 add display driver for HCMS* SPI displays 2008-07-11 10:03:19 +00:00
Thomas Doerfler
25a92bc1ed adapted powerpc exception code 2008-07-11 10:02:12 +00:00
Thomas Doerfler
a86f3aac96 adapted powerpc BSPs to new exception code 2008-07-11 10:01:37 +00:00
Thomas Doerfler
69effbb4e1 added variant to gen68360 BSP
added genmcf548x BSP
2008-07-11 10:00:41 +00:00
Thomas Doerfler
1898d72d9c added mcf548x BSP support 2008-07-11 09:59:48 +00:00
Till Straumann
457f5901e6 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* shared/flash/spansionFlash.c: removed "m" memory
	operands.
2008-07-10 23:24:58 +00:00
Till Straumann
dfe42ba59c 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/pte121.c: use general "memory" clobber
	rather than memory input operand in inline assembly
	("m" doesn't do what the manual says; see discussion
	on gcc mailing list around 2008/3/30)
2008-07-10 22:03:27 +00:00
Till Straumann
e1df032b95 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* ChangeLog, mpc8xx/clock/clock.c, ppc403/clock/clock.c,
	ppc403/irq/ictrl.h, rtems/powerpc/powerpc.h:
	Removed all macro definitions which depended on
	the compiler defining a PPC CPU-model dependent
	symbol from files in cpukit.
	Macros which were not used by cpukit have been
	moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
2008-07-10 21:51:55 +00:00
Till Straumann
06aab392f0 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h,
	cpukit/score/cpu/powerpc/rtems/score/cpu.h,
	cpukit/score/cpu/powerpc/rtems/score/powerpc.h:
	Removed all macro definitions which depended on
	the compiler defining a PPC CPU-model dependent
	symbol.
	Macros which were not used by cpukit have been
	moved to libcpu/powerpc/rtems/powerpc/powerpc.h.
2008-07-10 21:48:24 +00:00
Till Straumann
d71e95a5aa *** empty log message *** 2008-07-10 21:39:44 +00:00
Till Straumann
8bac4851a6 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_asm_macros.S,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c,
	new-exceptions/bspsupport/vectors_init.c:
	fixed and enabled stack-switching algorithm which figures out
	if we already run on the ISR stack rather than relying on the
	_ISR_Nest_level.

	Added 'ppc_exc_crit_always_enabled' variable which defines
	the semantics of critical interrupts. Added a test to
	TEST_LOCK_crit so that calling ppc_exc_wrapup() (and
	possibly the dispatcher) is always skipped if the BSP/user
	wants to leave critical interrupts always enabled (at the
	expense of having no OS support).

	changed TEST_LOCK_mchk so that asynchronous machine-check
	handlers never call ppc_exc_wrapup() (and the dispatcher).
	We don't want to disable MSR_ME ever (to avoid checkstops)
	and hence asynchronous MEs must not use OS services anyways.

	added and commented new variables 'ppc_exc_intr_stack_size'
	'ppc_exc_crit_always_enabled'.
2008-07-10 21:31:06 +00:00
Till Straumann
38f5e616fc 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc.S: must disable
	interrupts prior to restoring SRRs (thanks to Sebastian Huber)
2008-07-10 21:29:27 +00:00
Till Straumann
055173d46a 2008-07-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/README: added more information
2008-07-10 21:28:38 +00:00
Joel Sherrill
2c3a9c1679 2008-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/.cvsignore: Add chains.texi.
2008-07-10 15:31:09 +00:00
Joel Sherrill
a5d5c746f0 2008-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/rtems/status-checks.h: Fix style.
2008-07-10 15:05:31 +00:00
Thomas Doerfler
eed0491225 added irq-extension.h declarations 2008-07-10 12:56:31 +00:00
Thomas Doerfler
3128276784 changed names of internal macros 2008-07-10 06:43:45 +00:00
Thomas Doerfler
780428fb9d Extension of the RTEMS Interrupt Manager
(shared handler and handler with a handle).
2008-07-10 06:19:03 +00:00
Thomas Doerfler
214cbd92bc - Simple timing functions based on a time base reference.
- u-boot header file
2008-07-10 06:17:47 +00:00
Thomas Doerfler
e0ecc66d90 SD Card driver 2008-07-10 06:16:49 +00:00
Thomas Doerfler
03bed2dbc0 Includes standard header files,
provides common assembler macros and inline functions for low-level
code.
2008-07-10 06:15:58 +00:00
Thomas Doerfler
9f429ae50e Alternative clock driver. Uses exception handler
directly.  Supports special variants for Book E and e300 cores.  For
standard decrementer CPUs the new decrementer value is calculated with
reference to a time base so that a time drift is avoided
2008-07-10 06:11:47 +00:00
Thomas Doerfler
3210dcb39d Macros for status code and return value checks. 2008-07-10 06:05:12 +00:00
Thomas Doerfler
8084ce80fb Restore terminal settings on exit. 2008-07-10 06:04:19 +00:00
Thomas Doerfler
7c007cfe32 Added S_IRWXU, S_IRWXG and S_IRWXO to file mode. 2008-07-10 06:03:51 +00:00
Thomas Doerfler
5e4831f1d2 Modified error messages. Driver operations table is now constant. New
entry in the rtems_libi2c_tfr_mode_t structure:
        idle_char. This character will be continuously transmitted in
        read only functions.
2008-07-10 06:03:15 +00:00
Chris Johns
5396467fb8 2008-07-09 Chris Johns <chrisj@rtems.org>
* doc/user/chains.t: New.

	* doc/ada_user/ada_user.texi, doc/user/Makefile.am,
	doc/user/c_user.texi, doc/user/dirstat.texi: Updated for the
	chains documentation.
2008-07-09 02:50:28 +00:00
Ralf Corsepius
ef94f04fec Remove (Incorporated by upstream.) 2008-07-07 16:55:00 +00:00
Ralf Corsepius
874f7ec32b New. 2008-07-06 06:01:44 +00:00
Ralf Corsepius
dbb26e767a Add full URL to patch. 2008-07-05 05:33:27 +00:00
Joel Sherrill
88fe62b421 2008-07-04 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* startup/bspstart.c: Do not disable interrupts twice.
2008-07-04 16:15:52 +00:00
Joel Sherrill
c2bb3add6a 2008-07-04 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am, mcf532x/include/mcf532x.h, shared/cache/cache_.h: Add
	cache support for 5329. Enable the cache in copyback and
	write-through so we can assume that in BSP.
	* mcf532x/cache/cachepd.c: New file.
2008-07-04 16:09:07 +00:00
Joel Sherrill
692e5baba0 2008-07-04 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am, README, include/coverhd.h, network/network.c,
	startup/bspstart.c, startup/cfinit.c, startup/linkcmdsflash: Add
	cache support for 5329. Fix bug in network driver. Enable the cache
	in copyback and write-through so we can assume that in BSP.
2008-07-04 16:08:26 +00:00
Ralf Corsepius
06a23329d8 Add rtems-4.10. 2008-07-03 16:36:20 +00:00
Ralf Corsepius
343a28e805 gcc-core-4.3.1-rtems4.9-20080628.diff 2008-07-03 15:44:49 +00:00
Ralf Corsepius
3f6e3fa7ca New. 2008-07-03 15:30:57 +00:00
Ralf Corsepius
2c20b74574 Backup. 2008-07-03 15:28:12 +00:00
Ralf Corsepius
5b622a9dcb Add m68k/cf 5329 2008-07-03 15:25:01 +00:00
Ralf Corsepius
5916f5792a Remove 4.3.0. 2008-07-03 08:37:15 +00:00
Ralf Corsepius
35f8615e65 Set target to rtems4.10. 2008-07-03 08:24:44 +00:00
Ralf Corsepius
b1bd76bf7c Reset *_RPMREL. 2008-07-03 08:20:43 +00:00
Ralf Corsepius
01141c54e7 New. 2008-07-03 08:18:22 +00:00
Chris Johns
6a58ad76d5 2008-07-03 Chris Johns <chrisj@rtems.org>
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
	interface that is supported.

	* cpukit/libcsupport/Makefile.am,
	cpukit/libcsupport/preinstall.am: Remove chain.h header
	references.

	* cpukit/sapi/include/rtems/chain.h,
	cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
	interface.

	* cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
	include the new chains interface.

	* cpukit/libfs/src/imfs/imfs.h,
	cpukit/libfs/src/imfs/imfs_creat.c,
	cpukit/libfs/src/imfs/imfs_debug.c,
	cpukit/libfs/src/imfs/imfs_directory.c,
	cpukit/libfs/src/imfs/imfs_fsunmount.c,
	cpukit/libfs/src/imfs/imfs_getchild.c,
	cpukit/libfs/src/imfs/imfs_load_tar.c,
	cpukit/libfs/src/imfs/imfs_rmnod.c,
	cpukit/libfs/src/imfs/memfile.c,
	cpukit/libfs/src/nfsclient/src/nfs.c,
	cpukit/libcsupport/include/rtems/libio.h,
	cpukit/libcsupport/src/malloc_deferred.c,
	cpukit/libcsupport/src/mount.c,
	cpukit/libcsupport/src/privateenv.c,
	cpukit/libcsupport/src/unmount.c: Change to the new chains
	interface.

	* cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
2008-07-03 02:07:29 +00:00
Chris Johns
72d2ec4da4 2008-07-03 Chris Johns <chrisj@rtems.org>
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI
	interface that is supported.

	* cpukit/libcsupport/Makefile.am,
	cpukit/libcsupport/preinstall.am: Remove chain.h header
	references.

	* cpukit/sapi/include/rtems/chain.h,
	cpukit/sapi/inline/rtems/chain.inl: New. A supported chains
	interface.

	* cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to
	include the new chains interface.

	* cpukit/libfs/src/imfs/imfs.h,
	cpukit/libfs/src/imfs/imfs_creat.c,
	cpukit/libfs/src/imfs/imfs_debug.c,
	cpukit/libfs/src/imfs/imfs_directory.c,
	cpukit/libfs/src/imfs/imfs_fsunmount.c,
	cpukit/libfs/src/imfs/imfs_getchild.c,
	cpukit/libfs/src/imfs/imfs_load_tar.c,
	cpukit/libfs/src/imfs/imfs_rmnod.c,
	cpukit/libfs/src/imfs/memfile.c,
	cpukit/libfs/src/nfsclient/src/nfs.c,
	cpukit/libcsupport/include/rtems/libio.h,
	cpukit/libcsupport/src/malloc_deferred.c,
	cpukit/libcsupport/src/mount.c,
	cpukit/libcsupport/src/privateenv.c,
	cpukit/libcsupport/src/unmount.c: Change to the new chains
	interface.

	* cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
2008-07-03 01:37:38 +00:00
Chris Johns
b9c38ed727 2008-07-03 Chris Johns <chrisj@rtems.org>
* ata.c: Change to the Chains API.
2008-07-03 01:34:27 +00:00
Chris Johns
e806f13e28 2008-07-03 Chris Johns <chrisj@rtems.org>
* c/src/lib/libbsp/powerpc/score603e/startup/genpvec.c: Change to
	the Chains API.
2008-07-03 01:30:18 +00:00
Ralf Corsepius
9aacd70290 2008-07-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/thread.h,
	score/src/threaddispatch.c, score/src/threadinitialize.c:
	Support rtems_ada_self iff __RTEMS_ADA__ is given.
2008-07-02 15:29:21 +00:00
Ralf Corsepius
81b329a94f Support rtems_ada_self iff __RTEMS_ADA__ is given. 2008-07-02 15:28:54 +00:00
Joel Sherrill
9a9851dd4a 2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_script.c: Remove unused function.
2008-07-02 14:26:24 +00:00
Ralf Corsepius
74cc8edaad 2008-07-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add __RTEMS_ADA__.
2008-07-02 14:18:58 +00:00
Ralf Corsepius
7f5a245dee Add __RTEMS_ADD__ 2008-07-02 14:18:50 +00:00
Joel Sherrill
1fbd0bafe7 2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c,
	libnetworking/libc/getservbyname.c,
	libnetworking/libc/getservbyport.c: Add initial versions of
	getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this
	point they are just simple weappers for the version without the _r in
	the name.
2008-07-02 13:40:19 +00:00
Ralf Corsepius
e03da1549c 2008-07-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-07-02 02:19:22 +00:00
Ralf Corsepius
4647167ae3 Require AC_DISABLE_OPTION_CHECKING. AC_PREREQ(2.62). 2008-07-02 02:19:10 +00:00
Joel Sherrill
a060e34ff1 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/uboot_getenv.c: New file.
2008-07-01 19:13:22 +00:00
Joel Sherrill
5223d6b543 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* psim-gdb: Change 4.8 to 4.9.
2008-07-01 19:13:13 +00:00
Joel Sherrill
6e2fcea0e6 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h: Add bsp_uboot_getenv() to obtain U-Boot
	environment variables.
	* startup/uboot_support.c: New file.
2008-07-01 19:12:48 +00:00
Joel Sherrill
17049c39d0 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h:
	Review association tables in monitor.
2008-07-01 18:44:12 +00:00
Ralf Corsepius
86ad26ace2 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp36/strict_order_mut.c: Reflect __STRICT_ORDER_MUTEX__ having
	  been renamed into __RTEMS_STRICT_ORDER_MUTEX__.
2008-06-30 15:08:08 +00:00
Ralf Corsepius
281e95f48b 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac, rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/thread.h,
	score/inline/rtems/score/coremutex.inl,
	score/src/coremutex.c, score/src/coremutexsurrender.c,
	score/src/threadinitialize.c:
	Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__.
2008-06-30 15:03:24 +00:00
Ralf Corsepius
66a9239a2c Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__. 2008-06-30 15:03:03 +00:00
Ralf Corsepius
b4f58efe65 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AM_CONDITIONAL(LIBGNAT).
	* libgnat/Makefile.am: Use LIBGNAT.
	* wrapup/Makefile.am: Use LIBGNAT.
2008-06-30 14:59:53 +00:00
Ralf Corsepius
5cad5bf575 Add AM_CONDITIONAL(LIBGNAT). 2008-06-30 14:49:52 +00:00
Ralf Corsepius
b7154b59ca Use LIBGNAT. 2008-06-30 14:49:37 +00:00
Ralf Corsepius
363d29128b 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* acinclude.m4: Add magic to update cpuopt.h.
	* configure.ac: Remove magic to update cpuopt.h.
2008-06-30 13:36:41 +00:00
Ralf Corsepius
4c656cb915 Remove magic to update cpuopt.h. 2008-06-30 13:36:33 +00:00
Ralf Corsepius
05aec0c9c9 Add magic to update cpuopt.h. 2008-06-30 13:36:20 +00:00
Ralf Corsepius
961571bcc7 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* acinclude.m4: Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI.
	* configure.ac: Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
	Cleanup mal-formated RTEMS_CPUOPT's.
2008-06-30 13:20:57 +00:00
Ralf Corsepius
b4dca71a17 Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
Cleanup mal-formated RTEMS_CPUOPTs.
2008-06-30 13:20:48 +00:00
Ralf Corsepius
3058695ba0 Add _RTEMS_CPUOPT_INIT, _RTEMS_CPUOPT_FINI. 2008-06-30 13:20:17 +00:00
Ralf Corsepius
6208c2a53e 2008-06-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-06-30 08:54:41 +00:00
Ralf Corsepius
75cd18ce47 Require AC_DISABLE_OPTION_CHECKING. AC_PREREQ(2.62). 2008-06-29 06:27:06 +00:00
Ralf Corsepius
6a75acbd0d 2008-06-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-06-29 06:26:44 +00:00
Ralf Corsepius
c8d2f3a5d8 changes 2008-06-29 05:24:54 +00:00
Joel Sherrill
e0652f1479 2008-06-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* acinclude.m4: Regenerated.
2008-06-27 12:20:42 +00:00
Joel Sherrill
9f68808a6e 2008-06-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore: New file.
2008-06-23 12:58:01 +00:00
Joel Sherrill
8218f5fa6a 2008-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/io.t: Fix typos for IO unregister reported by Catalin Morosan
	<catalin.morosan at gmail.com>.
2008-06-20 17:14:00 +00:00
Joel Sherrill
14f4d654a2 2008-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Use wildcard on .data section.
2008-06-20 16:30:25 +00:00
Joel Sherrill
2dc5cac633 2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* custom/mcf5329.cfg: New file.
2008-06-20 15:01:13 +00:00
Joel Sherrill
5c9be63a88 2008-06-20 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* Makefile.am, configure.ac, preinstall.am: Adding mcf5329 BSP and CPU
	support.
	* mcf532x/include/mcf532x.h: New file.
2008-06-20 14:58:59 +00:00
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
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
Ralf Corsepius
b206999168 Add TERMINFO. 2008-06-04 10:23:30 +00:00
Ralf Corsepius
17cf78661e Upgrade to cygwin-1.5.25-14 2008-06-04 07:10:38 +00:00
Joel Sherrill
d0941512ac 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* spsize/size.c: Convention calls for leading underscore on private
	RTEMS variables.
2008-06-02 16:12:13 +00:00
Joel Sherrill
389908027e 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/startup/panic.c: Convention calls for leading underscore on
	private RTEMS variables.
2008-06-02 16:11:56 +00:00
Joel Sherrill
3e927fa0b4 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* misc/interr.c: Convention calls for leading underscore on private
	RTEMS variables.
2008-06-02 16:11:44 +00:00
Joel Sherrill
38baeb75f1 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/interr.h, score/src/interr.c: Convention
	calls for leading underscore on private RTEMS variables.
2008-06-02 16:11:31 +00:00
Joel Sherrill
42cf7c7c41 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/.cvsignore, cpu_supplement/Makefile.am,
	cpu_supplement/arm.t, cpu_supplement/bfin.t,
	cpu_supplement/cpu_supplement.texi, cpu_supplement/i386.t,
	cpu_supplement/m68k.t, cpu_supplement/mips.t,
	cpu_supplement/powerpc.t, cpu_supplement/preface.texi,
	cpu_supplement/sh.t: Remove duplicated text from each CPU specific
	chapter. This text was necessary when each CPU was a separate manual
	but now only needs to be one place and that is in an introductory
	chapter.
	* cpu_supplement/general.t: New file.
2008-06-02 16:09:56 +00:00
Joel Sherrill
7a1c9cf3d7 Update copyright. 2008-06-02 16:08:14 +00:00
Joel Sherrill
a73e356164 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/bsp.t, user/init.t: Rework initialization and BSP chapters to
	account for changes to initialization framework.
2008-06-02 16:07:42 +00:00
Ralf Corsepius
89ae273da7 2008-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/target.m4: Allow empty RTEMS_BUILD_SUBDIRS.
2008-06-01 09:03:30 +00:00
Ralf Corsepius
1756b781e7 Allow emtpy RTEMS_BUILD_SUBDIRS. 2008-06-01 09:02:21 +00:00
Ralf Corsepius
3f02a85abd 2008-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac, acinclude.m4: s/AC_HELP/AS_HELP/.
2008-06-01 05:08:08 +00:00
Ralf Corsepius
7d10416b6f s/AC_HELP/AS_HELP/. 2008-06-01 05:07:58 +00:00
Ralf Corsepius
94e8e5912d Regenerate. 2008-06-01 03:36:26 +00:00
Ralf Corsepius
59b9758def 2008-05-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/object.h,
	score/include/rtems/score/watchdog.h: Move #include's out of
	extern "C" {}.
2008-05-31 05:31:26 +00:00
Ralf Corsepius
4b5ddf2748 Move #include's out of extern "C" {}. 2008-05-31 05:31:18 +00:00
Till Straumann
9cf3432cc4 2008-05-30 Till Straumann <strauman@slac.stanford.edu>
* libfs/src/nfsclient/src/nfs.c:BUGFIX: must not attempt to
	release node if rtems_filesystem_evaluate_path() fails
	in nfs_eval_link() since pathloc contains no valid node.
2008-05-30 23:21:06 +00:00
Chris Johns
288f1c33c9 2008-05-29 Chris Johns <chrisj@rtems.org>
* include/bsp.h: FEC unit numbers based on 0 not 1. Change the
	interface name to fec0.
2008-05-29 06:01:33 +00:00
Joel Sherrill
288b1f91a2 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_getchar.c: Minor change so dropping connection
	while at prompt results in shell logging out and connection still
	being available.
2008-05-27 17:25:45 +00:00
Joel Sherrill
83734c9d52 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
	fini() as part of exit(). This avoids atexit() being a required
	function.
2008-05-27 16:47:13 +00:00
Joel Sherrill
7c4cdeb9ea 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c: Minor change so dropping connection during
	login prompt results in connection still being available.
2008-05-27 16:43:24 +00:00
Joel Sherrill
bd04dab99c Format. 2008-05-27 13:12:51 +00:00
Thomas Doerfler
41d7c0fe9a speed inprovements in mpc83xx tsec driver 2008-05-27 10:34:55 +00:00
Thomas Doerfler
bf95ccb506 Added const qualifier to various pointers and data tables to
reduce size of data area.
	IMFS: Fixed creation of symbolic links to avoid a compiler warning.
	DOSFS: Use LibBlock instead of read() to read the boot record.
2008-05-27 10:34:15 +00:00
Thomas Doerfler
a184e5ee44 Bugfix: Moved definition of ppp_softc into source file. 2008-05-27 10:33:22 +00:00
Thomas Doerfler
e9af8c57c2 Bugfix: String output without width option. 2008-05-27 10:32:38 +00:00
Thomas Doerfler
3183b04c79 New define: CONSOLE_DEVICE_NAME. 2008-05-27 10:32:04 +00:00
Thomas Doerfler
0868844e5e Added new defines OBJECTS_ID_NONE
and RTEMS_ID_NONE.  No object can have this ID.
2008-05-27 10:31:22 +00:00
Ralf Corsepius
1e642c6c1d Remove. 2008-05-26 23:43:45 +00:00
Ralf Corsepius
ee6c822e60 Remove. 2008-05-26 23:29:56 +00:00
Ralf Corsepius
26ad27c710 New. 2008-05-26 23:27:40 +00:00
Ralf Corsepius
498d35e5b8 GCC 4.2.4 2008-05-26 23:27:03 +00:00
Till Straumann
793249a2eb 2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* libnetworking/netinet/ip_output.c: when fragmenting
	multicast packets M_MCAST must be set on all fragments.
	This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 !
	(see my email to rtems-users from 2008/5/15).
2008-05-23 21:48:06 +00:00
Till Straumann
f335672ae3 2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/VME.h: removed 'weak' attribute from
	declaration of BSP_vme_config().
2008-05-23 21:36:02 +00:00
Till Straumann
5b9e302c77 2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c: removed declaration
	of BSP_vme_config() (which is already declared in
	<bsp/VME.h>. Removed test for NULL-ness of BSP_vme_config;
	gcc doesn't seem to understand that the linker may
	define this to be NULL... Silences a compiler warning
	(and users can always provide an empty routine).
2008-05-23 21:34:35 +00:00
Joel Sherrill
38c8516709 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/comm/tty_drv.c: Eliminate copies of switches to convert
	termios Bxxx constants to xxx as an integer. Use the shared
	termios_baud_to_number() routine to do the same conversion.
2008-05-23 15:48:39 +00:00
Joel Sherrill
6825d0657a 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c: Eliminate copies of switches to convert termios
	Bxxx constants to xxx as an integer. Use the shared
	termios_baud_to_number() routine to do the same conversion.
2008-05-23 15:48:38 +00:00
Joel Sherrill
24f1347a44 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, console/serial_mouse.c: Eliminate copies of
	switches to convert termios Bxxx constants to xxx as an integer. Use
	the shared termios_baud_to_number() routine to do the same
	conversion.
2008-05-23 15:48:36 +00:00
Joel Sherrill
0c04063bac 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/m340uart.c: Eliminate copies of switches to convert termios
	Bxxx constants to xxx as an integer. Use the shared
	termios_baud_to_number() routine to do the same conversion.
2008-05-23 15:48:06 +00:00
Joel Sherrill
495c3e0ad6 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/comm/console.c: Eliminate copies of switches to convert
	termios Bxxx constants to xxx as an integer. Use the shared
	termios_baud_to_number() routine to do the same conversion.
2008-05-23 15:47:55 +00:00
Till Straumann
7f5ecbc249 2008-05-22 Till Straumann <strauman@slac.stanford.edu>
* ppc403/tty_drv/tty_drv.c, ppc403/console/console405.c:
	../ictrl/ictrl.h has gone; include ../irq/ictrl.h
2008-05-23 01:10:17 +00:00
Till Straumann
a510a776a0 2008-05-22 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/linkcmds, shared/startup/zerobss.c:
	introduced '__bss_end'; assuming that __rtems_end
	coincides with the end of .bss for the purpose of
	zeroing .bss is very dangerous.
2008-05-22 23:33:11 +00:00
Till Straumann
527e2b8e81 2008-05-22 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeUniverse.c: fixed compiler warning;
	moved struct attributes as directed by gcc warning.
2008-05-22 23:17:58 +00:00
Joel Sherrill
4ac1d235c6 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/console.c: Fix typo.
2008-05-22 22:45:14 +00:00
Joel Sherrill
345fc11da9 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
	itron/src/exd_tsk.c, itron/src/task.c,
	posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
	posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
	posix/src/setcancelstate.c, posix/src/setcanceltype.c,
	posix/src/testcancel.c, rtems/src/taskdelete.c,
	score/inline/rtems/score/object.inl, score/src/objectclose.c,
	score/src/threadclose.c: Make all task delete/exit/cancel routines
	follow the same critical section pattern. Also ensure that POSIX
	cancelation routines are run at thread exit.
2008-05-22 20:38:03 +00:00
Joel Sherrill
cdc830964a 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/termios_baud2index.c,
	libcsupport/src/termios_baud2num.c,
	libcsupport/src/termios_num2baud.c,
	libcsupport/src/termios_setinitialbaud.c: New files.
2008-05-22 20:35:41 +00:00
Joel Sherrill
923dd7aa21 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/console/console.c: Remove explicit switch and call
	termios_baud_to_number().
2008-05-22 20:34:27 +00:00
Joel Sherrill
07edbef54e 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c: Remove explicit switch and call
	termios_baud_to_number().
2008-05-22 20:34:22 +00:00
Joel Sherrill
c0357a8bd9 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/mc68360_scc.c: Remove explicit switch and call
	termios_baud_to_number().
2008-05-22 20:34:20 +00:00
Joel Sherrill
adaf33af78 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/Makefile.am: Move termios helper routines from libchip to
	libcsupport. Add routine which makes it easy for a termios device
	driver to inform termios of its default baud rate. This avoids
	inconsistencies in later termios settings changes.
	* libchip/serial/termios_baud2index.c,
	libchip/serial/termios_baud2num.c: Removed.
2008-05-22 20:19:55 +00:00
Joel Sherrill
b6be421739 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/preinstall.am,
	libcsupport/include/rtems/termiostypes.h: Move termios helper
	routines from libchip to libcsupport. Add routine which makes it easy
	for a termios device driver to inform termios of its default baud
	rate. This avoids inconsistencies in later termios settings changes.
2008-05-22 20:16:08 +00:00
Joel Sherrill
aefbb573e0 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c: Properly inform termios of our initial baud rate.
	If it is not the default, this causes problems when an application
	changes any termios attributes since termios thinks our baud rate is
	one thing when in fact, it is another.
2008-05-22 20:12:08 +00:00
Joel Sherrill
0f91b2350d 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
2008-05-22 14:43:53 +00:00
Joel Sherrill
adfbb4a8f2 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Add baseline interface for Watchdog Driver.
2008-05-22 14:40:19 +00:00
Joel Sherrill
d2018f7178 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
	interface for Watchdog Driver.
	* libcsupport/include/rtems/watchdogdrv.h: New file.
2008-05-22 14:40:11 +00:00
Joel Sherrill
1b2dd27879 2008-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* itronhello/system.h, itronmbox01/system.h, itrontask02/system.h,
	itrontime01/system.h: Add use of
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER.
2008-05-21 22:15:20 +00:00
Joel Sherrill
d04bf28ef6 2008-05-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/start.c: Use new framework
	capability where RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION.
2008-05-20 22:13:16 +00:00
Joel Sherrill
5768e619cc 2008-05-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* custom/nds.cfg: Email from author says to drop this flag.
2008-05-20 21:50:47 +00:00
Joel Sherrill
cb697107bc 2008-05-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* leaf.cfg: Do not override bsp-post-link.
2008-05-20 20:53:08 +00:00
Joel Sherrill
ab9226253b use tabs. 2008-05-19 21:23:33 +00:00
Eric Norum
b5b9e75f7d Back out changes from 2008-05-16 -- they don't seem to work. 2008-05-19 19:07:10 +00:00
Eric Norum
60f4b6e98b Use shared version of bootstrap to set up workspace. 2008-05-16 21:55:13 +00:00
Joel Sherrill
d9aca5f537 2008-05-16 Till Straumann <strauman@slac.stanford.edu>
* score/src/threadchangepriority.c: Just in case the transient
	state was set when we entered, ensure that it is still set when
	we exit.
	* score/src/threadclose.c: When a thread is being deleted, it should
	go into the dormant state -- not the transient state.
2008-05-16 21:51:40 +00:00
Joel Sherrill
c140c6f534 2008-05-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc83xx/include/mpc83xx.h: or is not a good name for any name in
	C/C++. See iso646.h for the reason.
2008-05-16 18:03:34 +00:00
Joel Sherrill
0a665801d0 2008-05-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am, console/console-io.c: Install cplb.h and use it.
2008-05-16 18:02:50 +00:00
Joel Sherrill
088a954394 Fix Id. 2008-05-16 13:03:12 +00:00
Joel Sherrill
69ab847ad0 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove stray line.
2008-05-15 22:11:17 +00:00
Joel Sherrill
1700430839 2008-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxstat/psxstat.scn, psxstat/test.c: Eliminate patterns that look
	like CVS conflict markers.
2008-05-15 16:34:01 +00:00
Joel Sherrill
94056364ad 2008-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* network/network.c: Eliminate patterns that look like CVS conflict
	markers.
2008-05-15 16:33:49 +00:00
Joel Sherrill
61b7dae3d6 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/bsp-bootcards-handles-ram-allocation.m4: New file.
2008-05-15 16:16:29 +00:00
Joel Sherrill
8357ea277d 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* wrapup/Makefile.am: Many BSPs do not include any .rel files now so do
	not fail if there are none.
2008-05-15 15:56:58 +00:00
Joel Sherrill
ec3007cafd 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Add capability for bootcard.c BSP Initialization
	Framework to ask the BSP where it has memory for the RTEMS Workspace
	and C Program Heap. These collectively are referred to as work area.
	If the BSP supports this, then it does not have to include code to
	split the available memory between the two areas. This reduces the
	amount of code in the BSP specific bspstart.c file. Additionally, the
	shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
	* bsppretaskinghook.c: New file.
2008-05-15 15:55:46 +00:00
Joel Sherrill
dde1fedb09 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization
	Framework to ask the BSP where it has memory for the RTEMS Workspace
	and C Program Heap. These collectively are referred to as work area.
	If the BSP supports this, then it does not have to include code to
	split the available memory between the two areas. This reduces the
	amount of code in the BSP specific bspstart.c file. Additionally, the
	shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:55:28 +00:00
Joel Sherrill
2211b75c44 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, startup/bspstart.c: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:54:55 +00:00
Joel Sherrill
5545002da9 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/pretaskinghook.c: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:54:24 +00:00
Joel Sherrill
4c94ffff2c 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c: Add capability for
	bootcard.c BSP Initialization Framework to ask the BSP where it has
	memory for the RTEMS Workspace and C Program Heap. These collectively
	are referred to as work area. If the BSP supports this, then it does
	not have to include code to split the available memory between the
	two areas. This reduces the amount of code in the BSP specific
	bspstart.c file. Additionally, the shared framework can initialize
	the C Library, call rtems_debug_enable(), and dirty the work area
	memory. Until most/all BSPs support this new capability, if the BSP
	supports this, it should call
	RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
	the transition is complete, this autoconf macro can be removed.
2008-05-15 15:54:15 +00:00
Joel Sherrill
b67a822d6f 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Add capability for
	bootcard.c BSP Initialization Framework to ask the BSP where it has
	memory for the RTEMS Workspace and C Program Heap. These collectively
	are referred to as work area. If the BSP supports this, then it does
	not have to include code to split the available memory between the
	two areas. This reduces the amount of code in the BSP specific
	bspstart.c file. Additionally, the shared framework can initialize
	the C Library, call rtems_debug_enable(), and dirty the work area
	memory. Until most/all BSPs support this new capability, if the BSP
	supports this, it should call
	RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
	the transition is complete, this autoconf macro can be removed.
2008-05-15 15:54:11 +00:00
Joel Sherrill
8f78ced725 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c, shared/start.S: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:53:23 +00:00
Joel Sherrill
5e5d0b16ed 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:53:19 +00:00
Joel Sherrill
92c9baf84a 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* csb336/startup/bspstart.c, csb337/startup/bspstart.c,
	edb7312/startup/bspstart.c, gba/startup/bspstart.c,
	gp32/startup/bspstart.c, rtl22xx/startup/bspstart.c: Add capability
	for bootcard.c BSP Initialization Framework to ask the BSP where it
	has memory for the RTEMS Workspace and C Program Heap. These
	collectively are referred to as work area. If the BSP supports this,
	then it does not have to include code to split the available memory
	between the two areas. This reduces the amount of code in the BSP
	specific bspstart.c file. Additionally, the shared framework can
	initialize the C Library, call rtems_debug_enable(), and dirty the
	work area memory. Until most/all BSPs support this new capability, if
	the BSP supports this, it should call
	RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
	the transition is complete, this autoconf macro can be removed.
2008-05-15 15:52:58 +00:00
Joel Sherrill
621feee062 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/m68kpretaskinghook.c: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can dirty the work area memory.
	Until most/all BSPs support this new capability, if the BSP supports
	this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from
	its configure.ac. When the transition is complete, this autoconf
	macro can be removed.
	* shared/m68kbspgetworkarea.c: New file.
2008-05-15 15:52:15 +00:00
Joel Sherrill
19f4a34914 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c: Add capability for
	bootcard.c BSP Initialization Framework to ask the BSP where it has
	memory for the RTEMS Workspace and C Program Heap. These collectively
	are referred to as work area. If the BSP supports this, then it does
	not have to include code to split the available memory between the
	two areas. This reduces the amount of code in the BSP specific
	bspstart.c file. Additionally, the shared framework can dirty the
	work area memory. Until most/all BSPs support this new capability, if
	the BSP supports this, it should call
	RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
	the transition is complete, this autoconf macro can be removed.
2008-05-15 15:52:00 +00:00
Thomas Doerfler
e0abba9e30 disabled debugging output 2008-05-15 15:34:04 +00:00
Thomas Doerfler
42bf1b9f13 adapted gen83xx to new board 2008-05-15 15:10:38 +00:00
Till Straumann
8ac748c1bf 2008-05-14 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_bspsupp.h: added
	comment about the semantics of the return value of
	ppc_exc_handler_t.
2008-05-14 22:34:06 +00:00
Till Straumann
21637fd380 2008-05-14 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: moved malloc/free
	outside of irq-protected critical section.
2008-05-14 22:33:32 +00:00
Joel Sherrill
1d0ee80e4b 2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Rework to avoid .rel files.
2008-05-14 20:28:09 +00:00
Joel Sherrill
da78feebd9 2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Fix text on CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER.
2008-05-14 14:27:26 +00:00
Eric Norum
d871cf1bc6 Add locks around non-atomic structure assignment. 2008-05-13 20:45:51 +00:00
Joel Sherrill
2015ca6cc1 2008-05-13 Robert S. Grimes <rsg@alum.mit.edu>
* libi2c/libi2c.h: Fix typo.
2008-05-13 20:37:36 +00:00
Joel Sherrill
b9499779ee 2008-05-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
	CPUKIT.
2008-05-13 16:09:48 +00:00
Joel Sherrill
343bb43ca9 2008-05-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Fix typo on
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER.
2008-05-13 14:19:50 +00:00
Joel Sherrill
cb3873f952 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* tmoverhd/dumrtems.h: Refactored and renamed initialization routines
	to rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:44:34 +00:00
Joel Sherrill
c199cf899b 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal/fatal.c, spfatal06/testcase.h, spfatal07/testcase.h,
	spfatal08/testcase.h, spfatal09/testcase.h, spfatal10/testcase.h:
	Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:44:30 +00:00
Joel Sherrill
3820ff24b8 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:44:12 +00:00
Joel Sherrill
6ea100c1f1 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:43:55 +00:00
Joel Sherrill
bd3e306225 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, startup/bspstart.c: Refactored and renamed
	initialization routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:43:28 +00:00
Joel Sherrill
14f69ce431 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c: Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:43:02 +00:00
Joel Sherrill
4570d76cae 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c: Refactored and renamed initialization
	routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:42:39 +00:00
Joel Sherrill
67a9b24a9b 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Refactored and renamed
	initialization routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:42:36 +00:00
Joel Sherrill
a169cf068e 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Refactored and
	renamed initialization routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:42:26 +00:00
Joel Sherrill
d86ae064a0 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
	initialization routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:40:59 +00:00
Till Straumann
c14e845bfc 2008-05-10 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: removed memory input/output operands
	which caused problems with gcc-4.3.0 (see
	http://gcc.gnu.org/ml/gcc/2008-03/msg00976.html)
2008-05-10 21:03:13 +00:00
Ralf Corsepius
397afef4b3 Update. 2008-05-10 03:13:02 +00:00
Ralf Corsepius
77d17fff71 New. 2008-05-10 03:12:31 +00:00
Ralf Corsepius
dc49fb9e1c BuildRequire: m4 > 1.4.5 2008-05-09 12:43:57 +00:00
Ralf Corsepius
ac91ec7742 Enable --with-system-readline only for gdb >= 6.7 2008-05-08 02:56:34 +00:00
Joel Sherrill
ac9d3cf84d 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp32/init.c: Formatting.
2008-05-07 21:57:43 +00:00
Joel Sherrill
109cec18d9 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 649/bsps
	* clock/ckinit.c, console/console.c: Add missing structure element.
2008-05-07 21:15:36 +00:00
Joel Sherrill
89d190339d 2008-05-07 Till Straumann <strauman@slac.stanford.edu>
PR 649/bsps
	* libchip/ide/ata.c: Give up if the interface does not become ready.
2008-05-07 20:49:05 +00:00
Joel Sherrill
9b949dddef 2008-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console-io.c: Typo.
2008-05-07 18:54:15 +00:00
Joel Sherrill
ba737a960d 2008-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/config.c: Fix typo.
2008-05-07 18:53:54 +00:00
Joel Sherrill
0e58c4f598 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: Add nanoseconds clock tick granularity support.
2008-05-07 17:40:52 +00:00
Joel Sherrill
030d9e92c6 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore: New file.
2008-05-07 17:04:39 +00:00
Joel Sherrill
0442eed68c 2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb, rtems.ads: Fix prototype.
2008-05-06 23:17:28 +00:00
Joel Sherrill
f5f4566a5f 2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
	comments.
2008-05-06 23:17:07 +00:00
Joel Sherrill
3766068275 Fix date. 2008-05-06 23:16:36 +00:00
Joel Sherrill
9137e0ca68 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Use shared bsp_predriver_hook.
2008-05-06 22:39:47 +00:00
Joel Sherrill
e6a4446812 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* s3c24xx/clock/clockdrv.c: Use
	rtems_configuration_get_microseconds_per_tick() rather than obsolete
	BSP_Configuration reference.
2008-05-06 22:23:47 +00:00
Joel Sherrill
00d25f312b 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Add smdk2410.
2008-05-06 21:23:08 +00:00
Joel Sherrill
17fbf03b3a 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* acinclude.m4: Add smdk2410. Update gp32 to use shared code.
2008-05-06 21:03:02 +00:00
Joel Sherrill
437baaeccb 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Grammar.
2008-05-06 21:02:50 +00:00
Joel Sherrill
1781f59fcb 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	preinstall.am, include/bsp.h, include/bspopts.h.in, startup/linkcmds,
	startup/memmap.c: New files.
2008-05-06 21:01:27 +00:00
Joel Sherrill
2226b8f80b 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* custom/gp32.cfg: Add smdk2410. Update gp32 to use shared code.
	* custom/smdk2410.cfg: New file.
2008-05-06 20:59:23 +00:00
Joel Sherrill
dbdb025548 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* Makefile.am, configure.ac, preinstall.am, s3c2400/include/s3c2400.h:
	Add CPU type s3c2410. Add a new s3c24xx common file shared between
	s3c2400 and s3c2410. Most content is moved from s3c2400 now. Some
	were changed to include <s3c24xx.h> instead of <s3c2400.h>.
	* s3c2410/include/s3c2410.h, s3c2410/irq/bsp_irq_asm.S,
	s3c2410/irq/irq.h, s3c24xx/clock/clockdrv.c, s3c24xx/clock/support.c,
	s3c24xx/include/s3c24xx.h, s3c24xx/irq/bsp_irq_init.c,
	s3c24xx/irq/irq.c, s3c24xx/irq/irq.h, s3c24xx/timer/timer.c: New files.
2008-05-06 20:58:05 +00:00
Joel Sherrill
0542a23b3f 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* console/uart.c, include/bsp.h, smc/smc.c, startup/bspstart.c: Merge
	smdk2410 with gp32.
2008-05-06 20:54:06 +00:00
Joel Sherrill
e06b6b0a09 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/objectget.c: Improve comments and readability.
2008-05-06 20:31:33 +00:00
Joel Sherrill
76deaf0c64 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/message.h, sapi/include/confdefs.h,
	score/src/coresemseize.c, score/src/threadhandler.c: Comment
	improvements from class.
2008-05-06 19:38:19 +00:00
Joel Sherrill
4aea8f2b71 Spacing. 2008-05-06 19:29:42 +00:00
Joel Sherrill
ebc363ed83 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Add nds.
2008-05-06 19:29:22 +00:00
Joel Sherrill
7492598196 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Improve formatting and comments.
2008-05-06 19:28:02 +00:00
Joel Sherrill
f3cc5cf35d 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/start.S: Spacing.
2008-05-06 19:27:42 +00:00
Joel Sherrill
6f008f7ccd 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Remove spurious line.
2008-05-06 19:27:07 +00:00
Joel Sherrill
2905296a1c 2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1285/rtems
	* sapi/include/rtems/config.h: Remove obsolete
	rtems_configuration_get_maximum_devices().
2008-05-06 15:14:45 +00:00
Ralf Corsepius
5633d25fa6 Regenerate. 2008-05-01 08:13:14 +00:00
Ralf Corsepius
1acb6bac32 Upgrade to newlib-1.16.0-rtems4.9-20080430.diff, gcc-core-4.3.0-rtems4.9-20080501.diff. 2008-05-01 08:10:28 +00:00
Ralf Corsepius
14082517d4 Bump GCC_RPMREL. 2008-05-01 08:09:25 +00:00
Ralf Corsepius
c29338ccf4 Add upstream SIZE_MIN/SIZE_MAX fixes. 2008-05-01 08:08:19 +00:00
Ralf Corsepius
7bf236d8d1 Add include-fixed to FLAGS_FOR_TARGET to let Cdn-X build succeed. 2008-05-01 08:01:10 +00:00
Chris Johns
5a2b5b22c8 2008-05-01 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/nvdisk-sram.h,
	libblock/include/rtems/nvdisk.h,
	libblock/src/nvdisk-sram.c,
	libblock/src/nvdisk.c: New. A Non-volatile memory disk drive.
	* Makefile.am, preinstall.am, libblock/Makefile.am: Updated for
	the NV disk driver.
2008-05-01 04:15:36 +00:00
Chris Johns
50303dfbd1 2008-05-01 Maarten Van Es <maarten@mind.be>
* libnetworking/rtems/rtems_dhcp.c: Removed panic()s.  Added
	interface for rtems_dhcp_failsafe.
	* libnetworking/rtems/rtems_dhcp.h: Added interface for
	rtems_dhcp_failsafe.

2008-05-01  Arnout Vandecappelle <arnout@mind.be>

	* libnetworking/nfs/bootp_subr: Allow some errors for sosend() and
	return on timeout in bootpc_call().  Removed panic()s.
	* libnetworking/rtems/rtems_glue.c: Fix the cast for the
	SIOCAIFADDR ioctl call.
	* libnetworking/rtems/rtems_dhcp_failsafe.c,
	libnetworking/rtems/rtems_dhcp_failsafe.h: New.
	* libnetworking/Makefile.am, libnetworking/preinstall.am: Added
	rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
2008-05-01 02:57:49 +00:00
Joel Sherrill
fb8194045a 2008-04-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/timer.h: Fix typo.
2008-04-30 16:14:16 +00:00
Ralf Corsepius
9bb08afeff Improvements for gdb-6.6/6.7 2008-04-29 11:40:37 +00:00
Ralf Corsepius
9c3c512a92 Once more rework erc32 simulator configuration. 2008-04-29 04:01:12 +00:00
Ralf Corsepius
905700d490 Upgrade to gdb-6.8-rtems4.9-20080429.diff. 2008-04-29 03:45:00 +00:00
Ralf Corsepius
2870240a15 Bump GDB_RPMREL. 2008-04-29 03:44:19 +00:00
Joel Sherrill
2ad3d02459 2008-04-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
	rtems/inline/rtems/rtems/sem.inl: More Doxygen warnings removed.
2008-04-28 18:21:01 +00:00
Joel Sherrill
86101e3cca Fix typo. 2008-04-28 18:14:14 +00:00
Joel Sherrill
7cdaed0d00 2008-04-28 Daron Chabot <daron.chabot@usask.ca>
* posix/src/keycreate.c, posix/src/pthreadequal.c,
	rtems/src/semtranslatereturncode.c,
	score/cpu/powerpc/rtems/score/powerpc.h,
	score/src/threadblockingoperationcancel.c: Fix compilation errors
	when --enable-rtems-debug is used.
2008-04-28 18:12:43 +00:00
Ralf Corsepius
ea7a607dfb Regenerate. 2008-04-28 14:32:07 +00:00
Ralf Corsepius
7df9456b7a Remove. 2008-04-28 14:30:15 +00:00
Ralf Corsepius
bbe338e505 New. 2008-04-28 14:28:10 +00:00
Ralf Corsepius
2d29b143d1 Abandon gdb-6.7.1.
Use gdb-6.8-rtems4.9-20080428.diff.
2008-04-28 14:15:25 +00:00
Ralf Corsepius
d9393d56ed Minor restructurization. 2008-04-28 13:38:47 +00:00
Ralf Corsepius
1ef4b6c0d4 Move %{?dist} to Makefile.am. 2008-04-27 05:27:02 +00:00
Ralf Corsepius
42f9ca8bae Move %{?dist} to Makefile.am. BR: m4 > 1.4.5 for autoconf >= 2.62. 2008-04-27 05:26:37 +00:00
Ralf Corsepius
1700261946 Use rtems_api. 2008-04-26 05:36:01 +00:00
Ralf Corsepius
02c937936d Add rtems_api. 2008-04-26 05:33:04 +00:00
Eric Norum
eae4a193d3 Handle cluster servers better. 2008-04-25 17:00:48 +00:00
Joel Sherrill
ec73a7536b 2008-04-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/system.h: Fix typo in comment.
2008-04-25 15:24:19 +00:00
Ralf Corsepius
dc6771a71a Remove stray newline. 2008-04-25 15:19:47 +00:00
Joel Sherrill
d3e21f35be 2008-04-25 Joel Sherrill <joel.sherrill@OARcorp.com>
Moved to cpukit.
	* nfsclient/.cvsignore, nfsclient/ChangeLog.slac, nfsclient/LICENSE,
	nfsclient/Makefile.am, nfsclient/README, nfsclient/preinstall.am,
	nfsclient/rfc1094.txt, nfsclient/rtems-filesystem-patch,
	nfsclient/proto/mount_prot.h, nfsclient/proto/mount_prot.x,
	nfsclient/proto/mount_prot_xdr.c, nfsclient/proto/nfs_prot.h,
	nfsclient/proto/nfs_prot.x, nfsclient/proto/nfs_prot_xdr.c,
	nfsclient/src/cexphelp.c, nfsclient/src/dirutils.c,
	nfsclient/src/librtemsNfs.h, nfsclient/src/nfs.c,
	nfsclient/src/nfs.modini.c, nfsclient/src/nfsTest.c,
	nfsclient/src/rpcio.c, nfsclient/src/rpcio.h,
	nfsclient/src/rpcio.modini.c, nfsclient/src/sock_mbuf.c,
	nfsclient/src/xdr_mbuf.c: Removed.
2008-04-25 14:16:45 +00:00
Joel Sherrill
a7e912e34a 2008-04-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc8260/console-generic/console-generic.c,
	mpc8xx/console-generic/console-generic.c: Remove all references to
	console_reserve_resources and termios_reserve_resources.
2008-04-24 23:04:03 +00:00
Joel Sherrill
eac65cbc23 2008-04-24 Nigel Spon <nigel@adi.co.nz>
* ppc403/console/console.c: Correct include path.
2008-04-24 23:03:44 +00:00
Eric Norum
88f8f2fd6c Clean up error handling. 2008-04-24 21:50:57 +00:00
Eric Norum
7decb669c3 More clean up of FPGA interrupts. 2008-04-24 19:13:14 +00:00
Joel Sherrill
98e92b0abb 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/partmp.h, sapi/include/confdefs.h: Fix
	typos added with recent changes.
2008-04-23 21:53:09 +00:00
Joel Sherrill
b091cde316 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* iostream/system.h: Update to include definition of
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER as appropriate.
2008-04-23 21:52:13 +00:00
Joel Sherrill
d01f399f6e 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* sh7750/sci/console.c: Remove all references to
	console_reserve_resources and termios_reserve_resources.
2008-04-23 21:51:44 +00:00
Joel Sherrill
ecf11aa360 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h,
	mpc8260/console-generic/console-generic.c, mpc8260/include/console.h,
	mpc8xx/console-generic/console-generic.c, mpc8xx/include/console.h:
	Remove all references to console_reserve_resources and
	termios_reserve_resources.
2008-04-23 21:51:42 +00:00
Joel Sherrill
3e9f7f66fe 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c: Remove all references to console_reserve_resources
	and termios_reserve_resources.
2008-04-23 21:51:27 +00:00
Joel Sherrill
fedc835cf7 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove all references to console_reserve_resources and
	termios_reserve_resources.
	* console/consolereserveresources.c: Removed.
2008-04-23 21:51:11 +00:00
Joel Sherrill
c0536573d6 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Remove all references to
	console_reserve_resources and termios_reserve_resources.
2008-04-23 21:50:55 +00:00
Joel Sherrill
51664e7510 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Remove all references
	to console_reserve_resources and termios_reserve_resources.
2008-04-23 21:50:49 +00:00
Joel Sherrill
675167c608 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/comm/tty_drv.c: Remove all references to
	console_reserve_resources and termios_reserve_resources.
2008-04-23 21:50:37 +00:00
Joel Sherrill
52c07539fe 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/ps2_mouse.c, console/serial_mouse.c: Remove all references to
	console_reserve_resources and termios_reserve_resources.
2008-04-23 21:50:35 +00:00
Joel Sherrill
109adeb3ae 2008-04-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* ChangeLog, Makefile.am: Remove all references to
	console_reserve_resources and termios_reserve_resources.
	* console/consolereserveresources.c: Removed.
2008-04-23 21:49:57 +00:00
Joel Sherrill
ad78965db2 2008-04-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/libio.h: Remove
	rtems_termios_reserve_resources. It is obsolete.
	* libcsupport/src/termiosreserveresources.c: Removed.
2008-04-22 23:24:09 +00:00
Ralf Corsepius
84f140c1ad autoconf-2.62. 2008-04-21 06:01:23 +00:00
Ralf Corsepius
2e4550cf20 Use AUTOCONF_VERS. 2008-04-21 06:01:07 +00:00
Ralf Corsepius
2dc71327a1 Add AUTOCONF_VERS. 2008-04-21 06:00:44 +00:00
Joel Sherrill
60967286ce 2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/mainpage.h: New file.
2008-04-18 20:16:22 +00:00
Joel Sherrill
f9293dfaf1 2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Doxyfile, rtems/include/rtems/rtems/asr.h,
	rtems/include/rtems/rtems/attr.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/barriermp.h,
	rtems/include/rtems/rtems/cache.h,
	rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/eventmp.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/include/rtems/rtems/intr.h,
	rtems/include/rtems/rtems/message.h,
	rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
	rtems/include/rtems/rtems/msgmp.h,
	rtems/include/rtems/rtems/options.h,
	rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/regionmp.h,
	rtems/include/rtems/rtems/rtemsapi.h,
	rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
	rtems/include/rtems/rtems/signal.h,
	rtems/include/rtems/rtems/signalmp.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/support.h,
	rtems/include/rtems/rtems/taskmp.h,
	rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
	rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
	rtems/inline/rtems/rtems/attr.inl,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/dpmem.inl,
	rtems/inline/rtems/rtems/event.inl,
	rtems/inline/rtems/rtems/message.inl,
	rtems/inline/rtems/rtems/modes.inl,
	rtems/inline/rtems/rtems/options.inl,
	rtems/inline/rtems/rtems/part.inl,
	rtems/inline/rtems/rtems/ratemon.inl,
	rtems/inline/rtems/rtems/region.inl,
	rtems/inline/rtems/rtems/sem.inl,
	rtems/inline/rtems/rtems/status.inl,
	rtems/inline/rtems/rtems/support.inl,
	rtems/inline/rtems/rtems/timer.inl: More Doxygen improvements.
2008-04-18 20:08:08 +00:00
Joel Sherrill
067a96ad0c 2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h,
	rtems/include/rtems/rtems/attr.h,
	rtems/include/rtems/rtems/barrier.h,
	rtems/include/rtems/rtems/barriermp.h,
	rtems/include/rtems/rtems/cache.h, rtems/include/rtems/rtems/clock.h,
	rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/eventmp.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/include/rtems/rtems/intr.h,
	rtems/include/rtems/rtems/message.h,
	rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/mp.h,
	rtems/include/rtems/rtems/msgmp.h,
	rtems/include/rtems/rtems/object.h,
	rtems/include/rtems/rtems/options.h,
	rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/partmp.h,
	rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/region.h,
	rtems/include/rtems/rtems/regionmp.h,
	rtems/include/rtems/rtems/rtemsapi.h,
	rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/semmp.h,
	rtems/include/rtems/rtems/signal.h,
	rtems/include/rtems/rtems/signalmp.h,
	rtems/include/rtems/rtems/status.h,
	rtems/include/rtems/rtems/support.h,
	rtems/include/rtems/rtems/taskmp.h,
	rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h,
	rtems/include/rtems/rtems/types.h, rtems/inline/rtems/rtems/asr.inl,
	rtems/inline/rtems/rtems/attr.inl,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/dpmem.inl,
	rtems/inline/rtems/rtems/event.inl,
	rtems/inline/rtems/rtems/eventset.inl,
	rtems/inline/rtems/rtems/message.inl,
	rtems/inline/rtems/rtems/modes.inl,
	rtems/inline/rtems/rtems/options.inl,
	rtems/inline/rtems/rtems/part.inl,
	rtems/inline/rtems/rtems/ratemon.inl,
	rtems/inline/rtems/rtems/region.inl,
	rtems/inline/rtems/rtems/sem.inl,
	rtems/inline/rtems/rtems/status.inl,
	rtems/inline/rtems/rtems/support.inl,
	rtems/inline/rtems/rtems/tasks.inl,
	rtems/inline/rtems/rtems/timer.inl: Initial conversion of Classic API
	header files to Doxygen.
	* rtems/Doxyfile: New file.
2008-04-18 15:02:20 +00:00
Joel Sherrill
6be8a839ce 2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/key.c: Include <limits.h>
	* posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
	a NULL extension block.
2008-04-18 15:01:36 +00:00
Joel Sherrill
0ac232b405 2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Use bin2s to produce assembly files which do not need
	preprocessing. Capital .S indicates an assembly file that gets
	preprocessed.
2008-04-18 14:30:39 +00:00
Joel Sherrill
547af382bd 2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Add comment.
2008-04-18 13:47:59 +00:00
Joel Sherrill
e644247e77 2008-04-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnds/source/arm9/exceptionHandler.S: Rename .s to .S and replace
	blxne with bxne.
2008-04-17 23:27:54 +00:00
Joel Sherrill
f9af0c1565 2008-04-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Move .s files to .S
	* dswifi/common/source/spinlock.S, libfat/source/disc_io/io_dldi.S,
	libfat/source/disc_io/io_scsd_s.S, libnds/source/arm9/COS.S,
	libnds/source/arm9/SIN.S, libnds/source/arm9/TAN.S,
	libnds/source/arm9/dcache.S, libnds/source/arm9/default_font.S,
	libnds/source/arm9/icache.S, libnds/source/common/biosCalls.S,
	libnds/source/common/interruptDispatcher.S: New files.
	* dswifi/common/source/spinlock.s, libfat/source/disc_io/io_dldi.s,
	libfat/source/disc_io/io_scsd_s.s, libnds/source/arm9/COS.s,
	libnds/source/arm9/SIN.s, libnds/source/arm9/TAN.s,
	libnds/source/arm9/dcache.s, libnds/source/arm9/default_font.s,
	libnds/source/arm9/exceptionHandler.s, libnds/source/arm9/icache.s,
	libnds/source/common/biosCalls.s,
	libnds/source/common/interruptDispatcher.s: Removed.
2008-04-17 23:09:42 +00:00
Joel Sherrill
ed8206bfe8 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Do not use intermediate .rel files unless from libcpu or
	a network driver. This simplifies the Makefile.am and avoids pulling
	in unneeded code.
2008-04-17 22:54:45 +00:00
Joel Sherrill
8ae91559e3 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxchroot01/main.c, psxmount/main.c, psxreaddir/main.c: Use
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER where needed.
2008-04-17 22:47:02 +00:00
Joel Sherrill
a645637b72 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, hello/system.h, minimum/init.c, unlimited/system.h:
	Use CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER where needed.
2008-04-17 22:46:15 +00:00
Joel Sherrill
e31f420f4b 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t: Add CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER.
2008-04-17 22:45:57 +00:00
Joel Sherrill
df0bfdf068 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
	application configuration errors. If any POSIX objects or a POSIX
	init thread is configured without POSIX being configure, then error
	out. Similarly for ITRON. Add
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER configuration
	parameter so the application has to explicitly configure the Clock
	driver in or out if the Timer driver is not configured. Also verify
	RTEMS was built for multiprocessing, if the user tries to configure a
	multiprocessing application.
2008-04-17 22:42:10 +00:00
Joel Sherrill
4f2cd78838 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Add arm_cpu_mode so ARM BSP can overrid default value for
	cpsr.
2008-04-17 22:42:03 +00:00
Joel Sherrill
7625be518e 2008-04-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore, include/.cvsignore: New files.
2008-04-17 17:29:30 +00:00
Joel Sherrill
7ea37fbd37 2008-04-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore, ChangeLog: New files.
2008-04-17 17:29:26 +00:00
Joel Sherrill
34dd9782d4 2008-04-16 Matthieu Bucchianeri <mbucchia@gmail.com>
* acinclude.m4: Adding Nintendo DS BSP.
2008-04-16 18:38:04 +00:00
Joel Sherrill
311dfa65d8 2008-04-16 Matthieu Bucchianeri <mbucchia@gmail.com>
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	mk_libnds.sh, patch.libnds, preinstall.am, block/block.c,
	clock/clock.c, console/console.c, coproc/coproc.S, coproc/coproc.c,
	coproc/coproc.ld, dswifi/dswifi_license.txt, dswifi/makefile,
	dswifi/arm7/makefile, dswifi/arm7/source/wifi_arm7.c,
	dswifi/arm7/source/wifi_arm7.h, dswifi/arm9/makefile,
	dswifi/arm9/source/sgIP.c, dswifi/arm9/source/sgIP.h,
	dswifi/arm9/source/sgIP_ARP.c, dswifi/arm9/source/sgIP_ARP.h,
	dswifi/arm9/source/sgIP_Config.h, dswifi/arm9/source/sgIP_DHCP.c,
	dswifi/arm9/source/sgIP_DHCP.h, dswifi/arm9/source/sgIP_DNS.c,
	dswifi/arm9/source/sgIP_DNS.h, dswifi/arm9/source/sgIP_Hub.c,
	dswifi/arm9/source/sgIP_Hub.h, dswifi/arm9/source/sgIP_ICMP.c,
	dswifi/arm9/source/sgIP_ICMP.h, dswifi/arm9/source/sgIP_IP.c,
	dswifi/arm9/source/sgIP_IP.h, dswifi/arm9/source/sgIP_TCP.c,
	dswifi/arm9/source/sgIP_TCP.h, dswifi/arm9/source/sgIP_UDP.c,
	dswifi/arm9/source/sgIP_UDP.h, dswifi/arm9/source/sgIP_memblock.c,
	dswifi/arm9/source/sgIP_memblock.h,
	dswifi/arm9/source/sgIP_sockets.c, dswifi/arm9/source/sgIP_sockets.h,
	dswifi/arm9/source/wifi_arm9.c, dswifi/arm9/source/wifi_arm9.h,
	dswifi/common/source/dsregs.h, dswifi/common/source/spinlock.h,
	dswifi/common/source/spinlock.s, dswifi/common/source/wifi_shared.h,
	dswifi/include/dswifi7.h, dswifi/include/dswifi9.h,
	dswifi/include/dswifi_version.h, dswifi/include/netdb.h,
	dswifi/include/sgIP_errno.h, dswifi/include/netinet/in.h, fb/fb.c,
	fb/fb.h, include/bsp.h, include/my_ipc.h, include/tm27.h,
	include/types.h, include/sys/iosupport.h, irq/irq.c, irq/irq.h,
	libfat/gba/include/fat.h, libfat/include/fat.h,
	libfat/nds/include/fat.h, libfat/source/bit_ops.h,
	libfat/source/cache.c, libfat/source/cache.h, libfat/source/common.h,
	libfat/source/directory.c, libfat/source/directory.h,
	libfat/source/fatdir.c, libfat/source/fatdir.h,
	libfat/source/fatfile.c, libfat/source/fatfile.h,
	libfat/source/file_allocation_table.c,
	libfat/source/file_allocation_table.h, libfat/source/filetime.c,
	libfat/source/filetime.h, libfat/source/libfat.c,
	libfat/source/mem_allocate.h, libfat/source/partition.c,
	libfat/source/partition.h, libfat/source/disc_io/disc.c,
	libfat/source/disc_io/disc.h, libfat/source/disc_io/disc_io.h,
	libfat/source/disc_io/io_cf_common.c,
	libfat/source/disc_io/io_cf_common.h,
	libfat/source/disc_io/io_dldi.h, libfat/source/disc_io/io_dldi.s,
	libfat/source/disc_io/io_efa2.c, libfat/source/disc_io/io_efa2.h,
	libfat/source/disc_io/io_fcsr.c, libfat/source/disc_io/io_fcsr.h,
	libfat/source/disc_io/io_m3_common.c,
	libfat/source/disc_io/io_m3_common.h,
	libfat/source/disc_io/io_m3cf.c, libfat/source/disc_io/io_m3cf.h,
	libfat/source/disc_io/io_m3sd.c, libfat/source/disc_io/io_m3sd.h,
	libfat/source/disc_io/io_mpcf.c, libfat/source/disc_io/io_mpcf.h,
	libfat/source/disc_io/io_njsd.c, libfat/source/disc_io/io_njsd.h,
	libfat/source/disc_io/io_nmmc.c, libfat/source/disc_io/io_nmmc.h,
	libfat/source/disc_io/io_sc_common.c,
	libfat/source/disc_io/io_sc_common.h,
	libfat/source/disc_io/io_sccf.c, libfat/source/disc_io/io_sccf.h,
	libfat/source/disc_io/io_scsd.c, libfat/source/disc_io/io_scsd.h,
	libfat/source/disc_io/io_scsd_s.s,
	libfat/source/disc_io/io_sd_common.c,
	libfat/source/disc_io/io_sd_common.h, libnds/Makefile.arm7,
	libnds/Makefile.arm9, libnds/libnds_license.txt,
	libnds/basicARM7/source/defaultARM7.c,
	libnds/include/default_font_bin.h, libnds/include/gbfs.h,
	libnds/include/nds.h, libnds/include/nds/bios.h,
	libnds/include/nds/card.h, libnds/include/nds/dma.h,
	libnds/include/nds/interrupts.h, libnds/include/nds/ipc.h,
	libnds/include/nds/jtypes.h, libnds/include/nds/memory.h,
	libnds/include/nds/registers_alt.h, libnds/include/nds/reload.h,
	libnds/include/nds/system.h, libnds/include/nds/timers.h,
	libnds/include/nds/arm7/audio.h, libnds/include/nds/arm7/clock.h,
	libnds/include/nds/arm7/serial.h, libnds/include/nds/arm7/touch.h,
	libnds/include/nds/arm9/background.h,
	libnds/include/nds/arm9/boxtest.h, libnds/include/nds/arm9/cache.h,
	libnds/include/nds/arm9/console.h,
	libnds/include/nds/arm9/exceptions.h,
	libnds/include/nds/arm9/image.h, libnds/include/nds/arm9/input.h,
	libnds/include/nds/arm9/math.h, libnds/include/nds/arm9/ndsmotion.h,
	libnds/include/nds/arm9/pcx.h, libnds/include/nds/arm9/postest.h,
	libnds/include/nds/arm9/rumble.h, libnds/include/nds/arm9/sound.h,
	libnds/include/nds/arm9/sprite.h, libnds/include/nds/arm9/trig_lut.h,
	libnds/include/nds/arm9/video.h, libnds/include/nds/arm9/videoGL.h,
	libnds/source/arm7/audio.c, libnds/source/arm7/clock.c,
	libnds/source/arm7/microphone.c, libnds/source/arm7/spi.c,
	libnds/source/arm7/touch.c, libnds/source/arm7/userSettings.c,
	libnds/source/arm9/COS.bin, libnds/source/arm9/COS.s,
	libnds/source/arm9/SIN.bin, libnds/source/arm9/SIN.s,
	libnds/source/arm9/TAN.bin, libnds/source/arm9/TAN.s,
	libnds/source/arm9/boxtest.c, libnds/source/arm9/console.c,
	libnds/source/arm9/dcache.s, libnds/source/arm9/default_font.bin,
	libnds/source/arm9/default_font.s,
	libnds/source/arm9/exceptionHandler.S,
	libnds/source/arm9/exceptionHandler.s,
	libnds/source/arm9/exceptions.c, libnds/source/arm9/gurumeditation.c,
	libnds/source/arm9/icache.s, libnds/source/arm9/image.c,
	libnds/source/arm9/initSystem.c, libnds/source/arm9/keys.c,
	libnds/source/arm9/ndsmotion.c, libnds/source/arm9/pcx.c,
	libnds/source/arm9/rumble.c, libnds/source/arm9/sound.c,
	libnds/source/arm9/system.c, libnds/source/arm9/touch.c,
	libnds/source/arm9/video.c, libnds/source/arm9/videoGL.c,
	libnds/source/common/biosCalls.s, libnds/source/common/card.c,
	libnds/source/common/gbfs.c,
	libnds/source/common/interruptDispatcher.s,
	libnds/source/common/interrupts.c, rtc/rtc.c, sound/sound.c,
	sound/sound.h, start/start.S, startup/linkcmds, startup/start.c,
	timer/timer.c, tools/Makefile.am, tools/bin2s, tools/bin2s.c,
	tools/configure.ac, tools/runtest,
	tools/ndstool/include/arm7_sha1_homebrew.h,
	tools/ndstool/include/arm7_sha1_nintendo.h,
	tools/ndstool/include/banner.h, tools/ndstool/include/bigint.h,
	tools/ndstool/include/crc.h, tools/ndstool/include/default_icon.h,
	tools/ndstool/include/encryption.h, tools/ndstool/include/header.h,
	tools/ndstool/include/hook.h, tools/ndstool/include/little.h,
	tools/ndstool/include/loadme.h, tools/ndstool/include/logo.h,
	tools/ndstool/include/ndscreate.h,
	tools/ndstool/include/ndsextract.h, tools/ndstool/include/ndstool.h,
	tools/ndstool/include/ndstree.h, tools/ndstool/include/overlay.h,
	tools/ndstool/include/passme.h, tools/ndstool/include/passme_sram.h,
	tools/ndstool/include/passme_vhd1.h,
	tools/ndstool/include/passme_vhd2.h, tools/ndstool/include/raster.h,
	tools/ndstool/include/sha1.h, tools/ndstool/include/types.h,
	tools/ndstool/source/arm7_sha1_homebrew.c,
	tools/ndstool/source/arm7_sha1_nintendo.c,
	tools/ndstool/source/banner.cpp, tools/ndstool/source/bigint.cpp,
	tools/ndstool/source/compile_date.c, tools/ndstool/source/crc.cpp,
	tools/ndstool/source/default_icon.c,
	tools/ndstool/source/encryption.cpp, tools/ndstool/source/header.cpp,
	tools/ndstool/source/hook.cpp, tools/ndstool/source/loadme.c,
	tools/ndstool/source/logo.cpp, tools/ndstool/source/ndscodes.cpp,
	tools/ndstool/source/ndscreate.cpp,
	tools/ndstool/source/ndsextract.cpp,
	tools/ndstool/source/ndstool.cpp, tools/ndstool/source/ndstree.cpp,
	tools/ndstool/source/passme.cpp, tools/ndstool/source/passme_sram.c,
	tools/ndstool/source/raster.cpp, tools/ndstool/source/sha1.cpp,
	touchscreen/README.reco, touchscreen/parser.c, touchscreen/reco.c,
	touchscreen/reco.h, touchscreen/touchscreen.c,
	touchscreen/touchscreen.h, wifi/compat.c, wifi/compat.h, wifi/wifi.c:
	New files.
2008-04-16 18:37:33 +00:00
Joel Sherrill
ed1a900460 2008-04-16 Matthieu Bucchianeri <mbucchia@gmail.com>
* custom/nds.cfg: New file.
2008-04-16 18:32:09 +00:00
Joel Sherrill
211cafba7f 2008-04-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/bsp.t, user/conf.t, user/init.t, user/intr.t, user/overview.t,
	user/timer.t: Correct default values. Make it clear that confdefs.h
	calculates the memory required for you.
2008-04-16 18:30:16 +00:00
Ralf Corsepius
58b9db5877 2008-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* bootstrap: Use find . ... preinstall.am for portability reasons.
2008-04-14 07:41:30 +00:00
Chris Johns
55c64fc9cd 2008-04-12 Chris Johns <chrisj@rtems.org>
* libmisc/shell/shell.c, libmisc/shell/shell.h,
	libmisc/shell/shell_script.c: Add support to echo the commands to
	stdout. This is useful with the -v script option to show commands
	as the run. Also added support to chdir to the directory the task
	invoking the script is in.
	* libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
	* libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
	support.
2008-04-11 22:57:54 +00:00
Joel Sherrill
377cf106dd 2008-04-09 Madhusudan.C.S <madhusudancs@gmail.com>
* score/include/rtems/score/tod.h: Fix typo.
2008-04-09 18:27:02 +00:00
Chris Johns
8c422e2346 2008-04-08 Chris Johns <chrisj@rtems.org>
* libmisc/shell/shell.c: Copy the cmd line to a buffer to split
	into argv parts. Was using the command line history buffer so the
	history was being corrupted.
2008-04-08 04:53:26 +00:00
Eric Norum
97979915c8 startup/bspstart.c: Clean up non-FPGA use of EPORT interrupts.
network/network.c: Track half/full-duplex changes from 4.7 branch.
2008-04-08 03:19:53 +00:00
Thomas Doerfler
eaa58dc9aa removed references to outdated "old-exception-handling" PPC support 2008-04-07 09:35:45 +00:00
Joel Sherrill
4ce0e0baa4 2008-04-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: Increase heap to run ACATS.
2008-04-04 19:42:40 +00:00
Chris Johns
ea90df234a 2008-04-03 Chris Johns <chrisj@rtems.org>
* libfs/src/nfsclient/src/librtemsNfs.h,
	libfs/src/nfsclient/src/nfs.c: Remove CEXP references. CEXP is
	external to RTEMS and even if in the cpukit it should not cross
	reference in this way.
	* libmisc/shell/shell_getchar.c: New. Taken from the monitor.
	* libmisc/Makefile.am: Add shell_getchar.c and clean up a little
	in the shell area.
	* libmisc/shell/shell.c, libmisc/shell/shell.h: Add line editting
	support.
2008-04-03 03:13:24 +00:00
Ralf Corsepius
ffd1050791 gdb-6.8-rtems4.9-20080331.diff. 2008-03-31 04:46:57 +00:00
Ralf Corsepius
eca11fcd4f Bump GDB_RPMREL. 2008-03-31 04:45:03 +00:00
Ralf Corsepius
cb63bf024c BR: %{_host_rpmprefix}readline-devel.
BR: %{_host_rpmprefix}ncurses-devel.
BR: %{_host_rpmprefix}termcap-devel for gdb < 6.6.
2008-03-31 04:42:24 +00:00
Ralf Corsepius
f86abfa336 BR: %{_host_rpmprefix}expat-devel. 2008-03-31 04:40:59 +00:00
Ralf Corsepius
ad476d6e59 Unconditionally BR: %{_host_rpmprefix}gcc. 2008-03-31 04:38:55 +00:00
Ralf Corsepius
23347e9571 Remove readline/configure to force not building the bundled readline and use the system provided readline. 2008-03-31 04:36:55 +00:00
Ralf Corsepius
ef5c018e3e gdb-6.8. 2008-03-29 17:38:22 +00:00
Chris Johns
5fd92cccfd 2008-03-29 Chris Johns <chrisj@rtems.org>
* librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
	reported to the mailing list by Pierre Kestener
	(pierre.kestener@cea.fr).
2008-03-29 05:08:24 +00:00
Chris Johns
990458b684 2008-03-29 Chris Johns <chrisj@rtems.org>
* networking/testing.t: Cleaned up the patch from Ian.
2008-03-29 05:01:30 +00:00
Chris Johns
52053579d6 2008-03-29 Chris Johns <chrisj@rtems.org>
* networking/testing.t: Patch from Ian Caddy to document the
	routes debug information.
2008-03-29 04:39:56 +00:00
Ralf Corsepius
a408b33a53 New. 2008-03-29 04:38:36 +00:00
Ralf Corsepius
84a996a6fb Add gdb-6.8. 2008-03-29 04:38:02 +00:00
Ralf Corsepius
1499420452 Run cygwins libncurses-devel.sh. 2008-03-28 05:48:42 +00:00
Ralf Corsepius
9d076cc154 Add _host_rpmprefix. 2008-03-28 05:44:52 +00:00
Ralf Corsepius
db6bd6860b Remove stray blank line. 2008-03-26 17:59:34 +00:00
Ralf Corsepius
e50a0b2659 Remove stray blank line. 2008-03-26 07:35:00 +00:00
Ralf Corsepius
dd56645977 Add CFLAGS_FOR_BUILD. 2008-03-26 06:00:04 +00:00
Till Straumann
10a926022f 2008-03-25 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h: declare BSP_commandline_string.
2008-03-26 01:35:51 +00:00
Till Straumann
03c6b7748e 2008-03-25 Till Straumann <strauman@slac.stanford.edu>
* shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
	  coldfire.
2008-03-25 19:24:24 +00:00
Ralf Corsepius
1f129d87d5 Regenerate. 2008-03-25 05:50:32 +00:00
Ralf Corsepius
4e780508f7 gdb-6.7.1-rtems4.9-20080324.diff, gdb-6.7.1-gdb-6.7.90-config.diff. 2008-03-24 17:11:02 +00:00
Ralf Corsepius
063d030b7e Bump GDB_RPMREL. 2008-03-24 17:08:45 +00:00
Ralf Corsepius
c0141a3623 Add %{_host}-gcc for CdnX 2008-03-24 16:02:02 +00:00
Ralf Corsepius
4ae739d4fa Add patch1. 2008-03-24 16:00:10 +00:00
Ralf Corsepius
afeefd1c13 New. 2008-03-24 15:57:27 +00:00
Ralf Corsepius
6d71a6f345 Add _bindir to $PATH. 2008-03-24 15:52:15 +00:00
Ralf Corsepius
833820844d New. 2008-03-23 10:46:55 +00:00
Joel Sherrill
3f432fbd01 2008-03-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, startup/exit.c: Add BSP_PRESS_KEY_FOR_RESET
	configuration option. When this is set to one, a clean exit of an
	application will result in the BSP resetting the hardware without
	waiting for a human to press a key.
	* start/start.S, startup/linkcmds: Replace the linkcmds with a
	version very closely based upon the default in binutils 2.18 for
	this target.  This eliminated weird failures with C++ dtors even
	in C applications.  We had an extra _ on a symbol used in start.S.
2008-03-22 14:01:49 +00:00
Ralf Corsepius
2ebf170e22 Fix package name. 2008-03-22 10:32:03 +00:00
Ralf Corsepius
66b3cc58bd Add termcap. 2008-03-22 10:28:52 +00:00
Ralf Corsepius
cd27172f00 New. 2008-03-22 10:28:05 +00:00
Ralf Corsepius
adee1dd261 New. 2008-03-22 05:51:46 +00:00
Ralf Corsepius
c75d74ad74 Add readline. 2008-03-22 05:51:29 +00:00
Ralf Corsepius
0b80c067f7 include ../mpfr.am 2008-03-22 05:34:16 +00:00
Ralf Corsepius
3736628ada Remove. 2008-03-22 05:33:46 +00:00
Ralf Corsepius
8ef2834b22 New. 2008-03-22 05:33:24 +00:00
Ralf Corsepius
1fc6c38e8d Split-out mpfr.add ncurses.am zlib.am. 2008-03-22 04:57:30 +00:00
Ralf Corsepius
a837ab2806 New (Split-out from i686/Makefile.am). 2008-03-22 04:56:51 +00:00
Ralf Corsepius
24c5f7b2df Replaced with ncurses*.add 2008-03-22 04:53:19 +00:00
Ralf Corsepius
0c52be23ea Replace libncurses-devel with ncurses. 2008-03-22 04:23:14 +00:00
Ralf Corsepius
ee7e51538f New. 2008-03-22 04:22:24 +00:00
Till Straumann
2cedc4608e 2008-03-21 Till Straumann <strauman@slac.stanford.edu>
* shared/console/uart.c: In IRQ driven mode also
	keep reading chars while they are available (fifo
	could be enabled).
2008-03-21 18:48:49 +00:00
Till Straumann
b93e277f44 2008-03-20 Till Straumann <strauman@slac.stanford.edu>
* ChangeLog: fixed dates; we're 2008 :-)
2008-03-21 06:47:14 +00:00
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
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
Joel Sherrill
fbd6c0f11b 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/network.t: Document more commands and provide
	more examples.
2008-02-28 18:53:49 +00:00
Joel Sherrill
265d499a99 2008-02-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* iostream/init.cc: Add include of stdlib.h for exit(). Needed by gcc
	4.3.x.
2008-02-28 16:44:13 +00:00
Joel Sherrill
5088d97838 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
	posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
	rtems/src/taskdelete.c, rtems/src/timerserver.c,
	score/src/threadclose.c, score/src/threadcreateidle.c,
	score/src/threadinitialize.c: Switch task create and delete
	operations to using API Allocator Mutex. This moves almost all uses
	of the RTEMS Workspace from dispatching disabled to mutex protected
	which should improve deterministic behavior. The implementation was
	carefully done to allow task create and delete extensions to invoke
	more services. In particular, a task delete extension should be able
	to do mutex and file operations.
2008-02-28 16:15:35 +00:00
Joel Sherrill
45443d125c 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am: Turn on NFS mount support when networking is
	enabled.
2008-02-28 16:10:29 +00:00
Joel Sherrill
46dfa1c7ba 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/chroot.c: Formatting.
2008-02-28 16:07:57 +00:00
Joel Sherrill
dfe0e5833a 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/cat_file.c, libmisc/shell/main_alias.c,
	libmisc/shell/main_blksync.c, libmisc/shell/main_cat.c,
	libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
	libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
	libmisc/shell/main_date.c, libmisc/shell/main_help.c,
	libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
	libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
	libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
	libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
	libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
	libmisc/shell/main_mount_nfs.c, libmisc/shell/main_msdosfmt.c,
	libmisc/shell/main_mwdump.c, libmisc/shell/main_perioduse.c,
	libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
	libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
	libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
	libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
	libmisc/shell/shell.h: Clean up done while writing documentation.
	Some command improvements such as date now allows setting of the
	current TOD. Often commands did not use stdout/stderr per
	expectations and did not return -1 on an error.
2008-02-27 21:52:16 +00:00
Joel Sherrill
991efb611c 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix return status check.
2008-02-27 21:50:05 +00:00
Joel Sherrill
88d2967e3e 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t, shell/memory.t, shell/network.t,
	shell/rtems.t, shell/shell.texi: Many commands now have real
	descriptions with examples.
2008-02-27 21:46:27 +00:00
Ralf Corsepius
e122f592b7 Regenerate. 2008-02-27 15:31:30 +00:00
Ralf Corsepius
26c2bea18c Build bundled mpfr for suse10.2 and suse10.3. 2008-02-27 15:28:21 +00:00
Joel Sherrill
7c14c4aaa3 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t: More commands documented.
2008-02-27 14:50:14 +00:00
Ralf Corsepius
7cfcdc1b38 Bump GCC_RPMREL to 10.20080222.1 2008-02-27 14:17:39 +00:00
Ralf Corsepius
caeacf7b00 Upgrade to gcc-4.3.0-RC-20080222. 2008-02-27 14:16:53 +00:00
Ralf Corsepius
8e6bf2b148 Upgrade to gcc-4.3.0-RC-20080222. 2008-02-27 14:04:47 +00:00
Ralf Corsepius
8de5e419e9 Upgrade to gcc-4.3.0-RC-20080222. 2008-02-27 11:59:11 +00:00
Ralf Corsepius
2561ee93af Upgrade to gcc-4.3.0-RC-20080222. 2008-02-27 11:47:30 +00:00
Ralf Corsepius
069046a713 Upgrade to gcc-4.3.0-RC-20080222. 2008-02-27 11:21:58 +00:00
Ralf Corsepius
4aa20ea8ae Upgrade to gcc-4.3.0-RC-20080222. 2008-02-27 10:56:11 +00:00
Ralf Corsepius
96e2c18f77 Upgrade to gcc-4.3.0-RC-20080222. 2008-02-27 09:57:55 +00:00
Ralf Corsepius
1a2b7479c1 Upgrade to gcc-4.3.0-RC-20080222. 2008-02-27 09:45:07 +00:00
Ralf Corsepius
3c7a743e21 Upgrade to gcc-4.3.0-RC-20080222. 2008-02-27 09:09:49 +00:00
Ralf Corsepius
ce4d33f224 Require autoconf-2.61.
Bump version.
2008-02-27 08:49:33 +00:00
Ralf Corsepius
f1b2da234b Add mpfr support. 2008-02-27 08:44:13 +00:00
Joel Sherrill
48039b09ad 2008-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/.cvsignore, shell/file.t: Add most of file commands.
2008-02-26 20:06:19 +00:00
Joel Sherrill
94ad84dd97 2008-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* porting/interrupts.t: Formatting.
2008-02-26 20:06:12 +00:00
Joel Sherrill
ad20f59506 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Stop building nfsclient here and build it in CPUKIT.
2008-02-26 19:29:45 +00:00
Joel Sherrill
58d38a0c76 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
	the use of RPC/XDR could be an issue, the code does build multilib
	across all targets. There are a few remaining warnings to deal with.
	* libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
	libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
	libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
	libfs/src/nfsclient/rfc1094.txt,
	libfs/src/nfsclient/proto/mount_prot.h,
	libfs/src/nfsclient/proto/mount_prot.x,
	libfs/src/nfsclient/proto/mount_prot_xdr.c,
	libfs/src/nfsclient/proto/nfs_prot.h,
	libfs/src/nfsclient/proto/nfs_prot.x,
	libfs/src/nfsclient/proto/nfs_prot_xdr.c,
	libfs/src/nfsclient/src/cexphelp.c,
	libfs/src/nfsclient/src/dirutils.c,
	libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
	libfs/src/nfsclient/src/nfs.modini.c,
	libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
	libfs/src/nfsclient/src/rpcio.h,
	libfs/src/nfsclient/src/rpcio.modini.c,
	libfs/src/nfsclient/src/sock_mbuf.c,
	libfs/src/nfsclient/src/xdr_mbuf.c: New files.
2008-02-26 19:23:53 +00:00
Joel Sherrill
c2564b6c4a 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/rtems/config.h, sapi/include/rtems/sptables.h: Add
	missing field to default multiprocessing configuration table. Also
	document fields in Doxygen format.
2008-02-26 19:21:44 +00:00
Joel Sherrill
a409c80ec4 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/regionmp.c, score/src/objectnametoidstring.c: Fix some
	warnings.
2008-02-26 19:20:36 +00:00
Joel Sherrill
253e4cf38f Update copyright date. 2008-02-26 16:35:47 +00:00
Ralf Corsepius
cf04e953c7 Use make DESTDIR= ... install. 2008-02-25 16:05:02 +00:00
Joel Sherrill
5afa393ed5 2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c: Correct test.
	* sp09/screen14.c: Update copyright.
	* sp28/init.c: Correct end of test messages.
2008-02-22 19:35:14 +00:00
Joel Sherrill
3f4dce3152 2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq02/init.c, psxsignal01/init.c: Corrent end of test messages.
2008-02-22 19:34:14 +00:00
Joel Sherrill
dc1c4308d6 2008-02-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t, shell/memory.t, shell/network.t,
	shell/rtems.t: More descriptions and examples added.
2008-02-21 23:56:30 +00:00
Joel Sherrill
ea0804303b 2008-02-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t, shell/memory.t, shell/network.t,
	shell/rtems.t: Add mount and cp command information from Chris Johns.
	Reformat some things.
2008-02-21 17:46:03 +00:00
Joel Sherrill
b88d9ccf1d 2008-02-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t, shell/memory.t, shell/network.t,
	shell/rtems.t: A bit of clean up on the script.
2008-02-21 17:20:13 +00:00
Joel Sherrill
4f973104c9 2008-02-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/file.t, shell/general.t, shell/memory.t, shell/network.t,
	shell/rtems.t: Change configure messages per Chris Johns suggestion.
2008-02-21 17:14:52 +00:00
Joel Sherrill
eb03905dfe 2008-02-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, index.html.in: Add initial version of
	RTEMS Shell Manual. This is largely a starting point but has most of
	the required structure.
	* shell/.cvsignore, shell/Makefile.am, shell/file.t, shell/general.t,
	shell/memory.t, shell/network.t, shell/preface.texi, shell/rtems.t,
	shell/shell.texi: New files.
2008-02-20 22:55:13 +00:00
Joel Sherrill
6cf00455c4 2008-02-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add netstats
	command to access statistics reporting functions in TCP/IP stack.
	* libmisc/shell/main_netstats.c: New file.
2008-02-20 22:51:14 +00:00
Joel Sherrill
49cff0fc27 2008-02-20 Alexandru Bugnar <a-bugnar@criticalsoftware.com>
PR 1278/cpukit
	* cpu.c: Fix incorrect bit manipulation on returning old address of raw
	trap handler.
2008-02-20 21:54:28 +00:00
Ralf Corsepius
9e2e367367 2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/gen405.cfg, custom/helas403.cfg: Remove (Abandonded).
2008-02-20 13:12:11 +00:00
Ralf Corsepius
2f044a88eb 2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/enable-cxx.m4, aclocal/enable-itron.m4,
	aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4,
	aclocal/enable-posix.m4, aclocal/enable-rtems-debug.m4,
	aclocal/enable-rtemsbsp.m4, aclocal/enable-tests.m4,
	aclocal/multilib.m4: s/AC_HELP/AS_HELP/.
2008-02-20 13:11:07 +00:00
Ralf Corsepius
72896de584 s/AC_HELP/AS_HELP/. 2008-02-20 13:09:29 +00:00
Ralf Corsepius
7bb36b05d0 2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/enable-rtemsbsp.m4: s/AC_HELP/AS_HELP/.
2008-02-20 13:07:51 +00:00
Ralf Corsepius
3556e40610 2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/old-exceptions/cpu.h: Remove (Abandoned).
	* rtems/score/cpu.h: Remove ref to rtems/old-exceptions/cpu.h.
	* Makefile.am: Remove ref to rtems/old-exceptions/cpu.h.
2008-02-20 03:03:16 +00:00
Ralf Corsepius
d11ee737f8 Regenerate. 2008-02-20 03:03:04 +00:00
Ralf Corsepius
a320b269b1 Remove ref to rtems/old-exceptions/cpu.h. 2008-02-20 03:02:36 +00:00
Ralf Corsepius
70f326cf3f Remove (Abandoned). 2008-02-20 02:59:59 +00:00
Joel Sherrill
54b2e4b926 2008-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/main_wkspaceinfo.c,
	libmisc/shell/shell.c, libmisc/shell/shellconfig.h: Add route and
	ifconfig commands. The code for these was previously in the
	networking guide. Disable NFS filesystem mount until that code is in
	cpukit.
	* libmisc/shell/main_ifconfig.c, libmisc/shell/main_route.c: New files.
2008-02-19 19:44:21 +00:00
Ralf Corsepius
ba0ec285a2 Regenerate. 2008-02-19 18:12:12 +00:00
Ralf Corsepius
20daae5c7e 2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* old-exceptions/README, old-exceptions/TODO, old-exceptions/cpu.c,
	old-exceptions/cpu_asm.S, old-exceptions/irq_stub.S,
	old-exceptions/ppccache.c, old-exceptions/rtems/score/ppc_offs.h,
	ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h, ppc403/vectors/align_h.S
	ppc403/vectors/vectors.S: Remove (Abandoned).
	* Makefile.am: Remove refs to files above.
	Eliminate OLD_EXCEPTIONS.
	* configure.ac: Remove OLD_EXCEPTIONS.
2008-02-19 18:11:36 +00:00
Ralf Corsepius
ca93259da6 Remove (Abandoned). 2008-02-19 18:11:03 +00:00
Ralf Corsepius
48bdbf0a50 Remove OLD_EXCEPTIONS. 2008-02-19 18:10:33 +00:00
Ralf Corsepius
cd12be09d6 Remove refs to OLD_EXCEPTIONS. 2008-02-19 18:10:21 +00:00
Ralf Corsepius
f5abd0837f Temporarily re-add OLD_EXCEPTIONS. 2008-02-19 18:00:01 +00:00
Ralf Corsepius
8f480195f0 2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Deactivate old-exceptions.
2008-02-19 17:57:25 +00:00
Ralf Corsepius
cc74e9dcd7 Regenerate. 2008-02-19 17:55:00 +00:00
Ralf Corsepius
a25cfa2532 2008-02-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* gen405: Remove (Abandoned).
	* helas403: Remove (Abandoned).
	* acinclude: Regenerate.
2008-02-19 17:54:48 +00:00
Ralf Corsepius
9c4a1e3653 Remove (Abandoned). 2008-02-19 17:53:43 +00:00
Ralf Corsepius
dd2156f921 Remove (Abandonded). 2008-02-19 17:41:24 +00:00
Ralf Corsepius
a5edbb6d5b 2008-02-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/preinstall.am,  libcsupport/preinstall.am:
	Revert Joel's  2008-01-31 screw up.
2008-02-18 17:46:52 +00:00
Ralf Corsepius
7597fbf00c Revert Joel's 2008-01-31 screw up. 2008-02-18 17:45:41 +00:00
Ralf Corsepius
b6d64cd3da This commit was generated by cvs2svn to compensate for changes in r16912,
which included commits to RCS files with non-trunk default branches.
2008-02-18 02:50:09 +00:00
Ralf Corsepius
13d404a4eb Import from zlib-1.2.4 2008-02-18 02:50:09 +00:00
Ralf Corsepius
d0d8706088 Import from zlib-1.2.4 2008-02-17 18:53:34 +00:00
Joel Sherrill
94dc6cfeae 2008-02-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* preinstall.am: Add cplb.h
2008-02-15 21:27:52 +00:00
Joel Sherrill
369730ca4b 2008-02-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/comm/console.c: Do not have BSP specific __assert.
2008-02-15 18:54:47 +00:00
Joel Sherrill
06d9c0ef91 2008-02-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c: Do not have BSP specific __assert.
2008-02-15 18:54:35 +00:00
Joel Sherrill
f284de9d9d 2008-02-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Add e500_mmu.h
2008-02-15 18:53:58 +00:00
Ralf Corsepius
c40fe67e60 2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/timer.h: Add c++ guards.
2008-02-15 07:42:13 +00:00
Ralf Corsepius
c49b7ce289 Add c++ guards. 2008-02-15 07:42:03 +00:00
Ralf Corsepius
023a3830f8 2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/cond.c, posix/src/mutex.c, posix/src/pbarrier.c,
	posix/src/prwlock.c, posix/src/pspin.c: Include <limits.h>.
2008-02-15 07:40:55 +00:00
Ralf Corsepius
00760e7ef3 include <limits.h> 2008-02-15 07:39:27 +00:00
Ralf Corsepius
c961d15254 2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/ckinit.c, console/duart.c, timer/timer.c: Reflect changes
	  to rtems/motorola/*.h.
2008-02-15 07:04:45 +00:00
Ralf Corsepius
465b1efc22 2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/motorola/mc68230.h: Prefix defines with
	  MC68230_ to avoid preprocessor clashes.
2008-02-15 06:19:58 +00:00
Till Straumann
abd259a3c1 2008-02-11 Till Straumann <strauman@slac.stanford.edu>
* custom/mvme3100.cfg: Removed CFLAGS_PROFILE_V;
	added '-g' to CFLAGS_DEBUG_V.
2008-02-11 18:03:20 +00:00
Ralf Corsepius
76b028317f Regenerate. 2008-02-11 17:49:27 +00:00
Ralf Corsepius
be2dfb8306 Use binutils-2.18-rtems4.9-20080211.diff 2008-02-11 17:47:36 +00:00
Ralf Corsepius
d2d175459a Bump BINUTILS_RPMREL. 2008-02-11 17:47:00 +00:00
Ralf Corsepius
acbb59054d Add avr hacks for gcc-4.3 2008-02-11 17:43:40 +00:00
Till Straumann
76d8cd0b5a 2008-02-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, e500/, e500/mmu, e500/mmu/mmu.c,
	e500/mmu/e500_mmu.h: added code for PPC E500
	TLB manipulation.
2008-02-09 00:46:08 +00:00
Joel Sherrill
761bfaab85 2008-02-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* custom/pc386.cfg: Use file with symbols.
2008-02-08 23:28:43 +00:00
Joel Sherrill
b62009c38a 2008-02-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c: Rework clock driver to use template and to provide
	nanoseconds since last tick capability.
2008-02-07 21:28:11 +00:00
Joel Sherrill
78b4e2eb43 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxkey01/task.c: Fix warnings.
2008-02-07 00:04:10 +00:00
Joel Sherrill
9184270ac4 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/mqueueunlink.c, score/Makefile.am,
	score/include/rtems/score/object.h,
	score/inline/rtems/score/object.inl: Enhance
	_Objects_Namespace_remove() to handle freeing object names which are
	strings. All changed _Objects_Close() to call
	_Objects_Namespace_remove(). The resulting code was then moved from
	inline routines to function calls.
	* score/src/objectclose.c, score/src/objectnamespaceremove.c: New files.
2008-02-06 23:54:55 +00:00
Joel Sherrill
6728035e8b 2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/printk.c: Added width and padding for %s.
	* libmisc/cpuuse/cpuusagereport.c: Support object names that are
	strings longer than 4 chanracters.
2008-02-06 23:15:57 +00:00
Joel Sherrill
4273e70b1c 2008-02-06 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1277/networking
	* libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
	constraint for assembly language. This restricts the register choice
	to the a-d registers.
2008-02-06 16:59:31 +00:00
Ralf Corsepius
92150edc52 Bump GCC_RPMREL. 2008-02-06 04:33:04 +00:00
Ralf Corsepius
4419987ad5 gcc-core-4.2.3-rtems4.9-20080205.diff 2008-02-06 04:32:44 +00:00
Ralf Corsepius
f26747e61b Add target-libiberty to noconfigdirs. 2008-02-06 04:28:40 +00:00
Joel Sherrill
5c62b53a64 2008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/kern/uipc_socket2.c,
	libnetworking/netinet/tcp_usrreq.c,
	libnetworking/netinet/udp_usrreq.c,
	libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c:
	Add configuration parameters for network stack efficiency multiplier
	and default socket buffer sizes. Change default multiplier from 8 to
	2 to match GNU/Linux. This has no impact on performance on the BSPs
	tested.
2008-02-05 22:29:19 +00:00
Joel Sherrill
068d7aa7f1 2008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* networking/networkapp.t: Add configuration parameters for network
	stack efficiency multiplier and default socket buffer sizes.
2008-02-05 22:28:17 +00:00
Joel Sherrill
19cbe60326 2008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxkey01/.cvsignore, psxmsgq02/.cvsignore: New files.
2008-02-05 15:44:28 +00:00
Jennifer Averett
ccc4203563 2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>
* support/include/test_support.h, support/src/test_support.c: New files.
2008-02-04 19:40:33 +00:00
Jennifer Averett
f8d39b8dcd 2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac, psxmsgq01/Makefile.am, psxmsgq01/init.c:
	Added tests for failure path coverages. Consolidated methods used in
	multiple places into support routines.
	* psxkey01/Makefile.am, psxkey01/init.c, psxkey01/psxkey01.scn,
	psxkey01/system.h, psxkey01/task.c, psxmsgq02/Makefile.am,
	psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn, psxmsgq02/system.h: New files.
2008-02-04 19:39:43 +00:00
Jennifer Averett
6d4940d508 2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>
* rtems/Makefile.am, rtems/include/rtems/rtems/support.h: Added
	workspace manipulation routines for testing.
	* rtems/src/workspace.c: New file.
2008-02-04 19:37:46 +00:00
Joel Sherrill
348eada43b 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sptests/spname01/config.h: New file.
2008-02-04 17:20:54 +00:00
Joel Sherrill
209f190f90 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb, rtems.ads: Correct binding to Object_Get_Name. Now works.
2008-02-04 17:18:23 +00:00
Joel Sherrill
3ca942abf8 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, sptests/Makefile.am: Exercise passing as object Id of
	SELF.
	* sptests/spname01/.cvsignore, sptests/spname01/Makefile.am,
	sptests/spname01/ada_spname01.scn, sptests/spname01/spname01.adb,
	sptests/spname01/sptest.adb, sptests/spname01/sptest.ads: New files.
2008-02-04 17:18:01 +00:00
Joel Sherrill
60735a304c 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/init.c, sp43/sp43.scn: Exercise passing as object Id of SELF.
2008-02-04 17:16:56 +00:00
Joel Sherrill
8932955e9a 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/rtemsobjectsetname.c, score/src/objectgetinfoid.c,
	score/src/objectgetnameasstring.c, score/src/objectidtoname.c: Handle
	Object Id of SELF.
2008-02-04 17:16:37 +00:00
Ralf Corsepius
b8c28e8faf Regenerate. 2008-02-03 08:21:22 +00:00
Ralf Corsepius
0d2a267e58 Bump GCC_RPMREL. 2008-02-02 04:16:30 +00:00
Ralf Corsepius
7728b8ce29 newlib-1.16.0-rtems4.9-20080131.diff 2008-02-02 04:09:56 +00:00
Ralf Corsepius
15e514804b Preps for gcc-4.2.3. 2008-02-02 04:06:05 +00:00
Ralf Corsepius
964d1eb09d New. 2008-02-02 03:31:59 +00:00
Joel Sherrill
207b35efef 2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb, rtems.ads: Object_Get_Name now has a proper implementation
	thanks to a binding tip from Laurent Guerby.
2008-02-01 22:48:17 +00:00
Joel Sherrill
235fb7ab80 2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/object.t: Added some examples.
2008-02-01 21:56:47 +00:00
Joel Sherrill
6c4e9d0775 2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
	mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
	mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
	mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
	mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
	mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
	mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
	mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
	mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
	mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
	mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
	mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
	mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
	mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
	samples/base_mp/node1/Makefile.am, samples/base_mp/node2/Makefile.am,
	samples/base_sp/Makefile.am, samples/hello/Makefile.am,
	samples/nsecs/Makefile.am, samples/ticker/Makefile.am,
	sptests/sp01/Makefile.am, sptests/sp02/Makefile.am,
	sptests/sp03/Makefile.am, sptests/sp04/Makefile.am,
	sptests/sp05/Makefile.am, sptests/sp06/Makefile.am,
	sptests/sp07/Makefile.am, sptests/sp08/Makefile.am,
	sptests/sp09/Makefile.am, sptests/sp11/Makefile.am,
	sptests/sp12/Makefile.am, sptests/sp13/Makefile.am,
	sptests/sp14/Makefile.am, sptests/sp15/Makefile.am,
	sptests/sp16/Makefile.am, sptests/sp17/Makefile.am,
	sptests/sp19/Makefile.am, sptests/sp20/Makefile.am,
	sptests/sp22/Makefile.am, sptests/sp23/Makefile.am,
	sptests/sp24/Makefile.am, sptests/sp25/Makefile.am,
	tmtests/tm01/Makefile.am, tmtests/tm02/Makefile.am,
	tmtests/tm03/Makefile.am, tmtests/tm04/Makefile.am,
	tmtests/tm05/Makefile.am, tmtests/tm06/Makefile.am,
	tmtests/tm07/Makefile.am, tmtests/tm08/Makefile.am,
	tmtests/tm09/Makefile.am, tmtests/tm10/Makefile.am,
	tmtests/tm11/Makefile.am, tmtests/tm12/Makefile.am,
	tmtests/tm13/Makefile.am, tmtests/tm14/Makefile.am,
	tmtests/tm15/Makefile.am, tmtests/tm16/Makefile.am,
	tmtests/tm17/Makefile.am, tmtests/tm18/Makefile.am,
	tmtests/tm19/Makefile.am, tmtests/tm20/Makefile.am,
	tmtests/tm21/Makefile.am, tmtests/tm22/Makefile.am,
	tmtests/tm23/Makefile.am, tmtests/tm24/Makefile.am,
	tmtests/tm25/Makefile.am, tmtests/tm28/Makefile.am,
	tmtests/tm29/Makefile.am, tmtests/tmck/Makefile.am,
	tmtests/tmoverhd/Makefile.am: Make all test names unique. All needed
	ada_ as prefix to distinguish them from the C tests. MP tests should
	produce an executable with test name and node number in it. Screens
	renamed to follow.
	* ada_mvscn, mptests/mp01/node1/ada_mp01-node1.scn,
	mptests/mp01/node2/ada_mp01-node2.scn,
	mptests/mp02/node1/ada_mp02-node1.scn,
	mptests/mp02/node2/ada_mp02-node2.scn,
	mptests/mp03/node1/ada_mp03-node1.scn,
	mptests/mp03/node2/ada_mp03-node2.scn,
	mptests/mp04/node1/ada_mp04-node1.scn,
	mptests/mp04/node2/ada_mp04-node2.scn,
	mptests/mp05/node1/ada_mp05-node1.scn,
	mptests/mp05/node2/ada_mp05-node2.scn,
	mptests/mp06/node1/ada_mp06-node1.scn,
	mptests/mp06/node2/ada_mp06-node2.scn,
	mptests/mp07/node1/ada_mp07-node1.scn,
	mptests/mp07/node2/ada_mp07-node2.scn,
	mptests/mp08/node1/ada_mp08-node1.scn,
	mptests/mp08/node2/ada_mp08-node2.scn,
	mptests/mp09/node1/ada_mp09-node1.scn,
	mptests/mp09/node2/ada_mp09-node2.scn,
	mptests/mp10/node1/ada_mp10-node1.scn,
	mptests/mp10/node2/ada_mp10-node2.scn,
	mptests/mp11/node1/ada_mp11-node1.scn,
	mptests/mp11/node2/ada_mp11-node2.scn,
	mptests/mp12/node1/ada_mp12-node1.scn,
	mptests/mp12/node2/ada_mp12-node2.scn,
	mptests/mp13/node1/ada_mp13-node1.scn,
	mptests/mp13/node2/ada_mp13-node2.scn,
	mptests/mp14/node1/ada_mp14-node1.scn,
	mptests/mp14/node2/ada_mp14-node2.scn,
	samples/base_mp/node1/ada_base_mp-node1.scn,
	samples/base_mp/node2/ada_base_mp-node2.scn,
	samples/base_sp/ada_base_sp.scn, samples/hello/ada_hello.scn,
	samples/nsecs/ada_nsecs.scn, samples/ticker/ada_ticker.scn,
	sptests/sp01/ada_sp01.scn, sptests/sp02/ada_sp02.scn,
	sptests/sp03/ada_sp03.scn, sptests/sp04/ada_sp04.scn,
	sptests/sp05/ada_sp05.scn, sptests/sp06/ada_sp06.scn,
	sptests/sp07/ada_sp07.scn, sptests/sp08/ada_sp08.scn,
	sptests/sp09/ada_sp09.scn, sptests/sp11/ada_sp11.scn,
	sptests/sp12/ada_sp12.scn, sptests/sp13/ada_sp13.scn,
	sptests/sp14/ada_sp14.scn, sptests/sp15/ada_sp15.scn,
	sptests/sp16/ada_sp16.scn, sptests/sp17/ada_sp17.scn,
	sptests/sp19/ada_sp19.scn, sptests/sp20/ada_sp20.scn,
	sptests/sp22/ada_sp22.scn, sptests/sp23/ada_sp23.scn,
	sptests/sp24/ada_sp24.scn, sptests/sp25/ada_sp25.scn: New files.
	* mptests/mp01/node1/mp01-node1.scn, mptests/mp01/node2/mp01-node2.scn,
	mptests/mp02/node1/mp02-node1.scn, mptests/mp02/node2/mp02-node2.scn,
	mptests/mp03/node1/mp03-node1.scn, mptests/mp03/node2/mp03-node2.scn,
	mptests/mp04/node1/mp04-node1.scn, mptests/mp04/node2/mp04-node2.scn,
	mptests/mp05/node1/mp05-node1.scn, mptests/mp05/node2/mp05-node2.scn,
	mptests/mp06/node1/mp06-node1.scn, mptests/mp06/node2/mp06-node2.scn,
	mptests/mp07/node1/mp07-node1.scn, mptests/mp07/node2/mp07-node2.scn,
	mptests/mp08/node1/mp08-node1.scn, mptests/mp08/node2/mp08-node2.scn,
	mptests/mp09/node1/mp09-node1.scn, mptests/mp09/node2/mp09-node2.scn,
	mptests/mp10/node1/mp10-node1.scn, mptests/mp10/node2/mp10-node2.scn,
	mptests/mp11/node1/mp11-node1.scn, mptests/mp11/node2/mp11-node2.scn,
	mptests/mp12/node1/mp12-node1.scn, mptests/mp12/node2/mp12-node2.scn,
	mptests/mp13/node1/mp13-node1.scn, mptests/mp13/node2/mp13-node2.scn,
	mptests/mp14/node1/mp14-node1.scn, mptests/mp14/node2/mp14-node2.scn,
	samples/base_mp/node1/base_mp-node1.scn,
	samples/base_mp/node2/base_mp-node2.scn, samples/base_sp/base_sp.scn,
	samples/hello/hello.scn, samples/nsecs/nsecs.scn,
	samples/ticker/ticker.scn, sptests/sp01/sp01.scn,
	sptests/sp02/sp02.scn, sptests/sp03/sp03.scn, sptests/sp04/sp04.scn,
	sptests/sp05/sp05.scn, sptests/sp06/sp06.scn, sptests/sp07/sp07.scn,
	sptests/sp08/sp08.scn, sptests/sp09/sp09.scn, sptests/sp11/sp11.scn,
	sptests/sp12/sp12.scn, sptests/sp13/sp13.scn, sptests/sp14/sp14.scn,
	sptests/sp15/sp15.scn, sptests/sp16/sp16.scn, sptests/sp17/sp17.scn,
	sptests/sp19/sp19.scn, sptests/sp20/sp20.scn, sptests/sp22/sp22.scn,
	sptests/sp23/sp23.scn, sptests/sp24/sp24.scn, sptests/sp25/sp25.scn:
	Removed.
2008-02-01 21:28:08 +00:00
Joel Sherrill
8407b5e4af 2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb, rtems.ads: Add Ada binding for Object Services.
2008-02-01 21:24:18 +00:00
Joel Sherrill
0bc8e5c881 2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/object.t: Add Ada binding for Object Services.
2008-02-01 21:24:04 +00:00
Joel Sherrill
d5a36d3b18 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/tmacros.h: Change TEST_INIT to CONFIGURE_INIT. Make
	tmacros.h available to all POSIX tests. Add a clock_settime case for
	< 1988.
2008-02-01 00:45:20 +00:00
Joel Sherrill
d1128e26a3 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* tm01/task1.c, tm02/task1.c, tm03/task1.c, tm04/task1.c, tm05/task1.c,
	tm06/task1.c, tm07/task1.c, tm08/task1.c, tm09/task1.c, tm10/task1.c,
	tm11/task1.c, tm12/task1.c, tm13/task1.c, tm14/task1.c, tm15/task1.c,
	tm16/task1.c, tm17/task1.c, tm18/task1.c, tm19/task1.c, tm20/task1.c,
	tm21/task1.c, tm22/task1.c, tm23/task1.c, tm24/task1.c, tm25/task1.c,
	tm26/task1.c, tm27/task1.c, tm28/task1.c, tm29/task1.c, tmck/task1.c,
	tmoverhd/testtask.c: Change TEST_INIT to CONFIGURE_INIT. Make
	tmacros.h available to all POSIX tests. Add a clock_settime case for
	< 1988.
2008-02-01 00:45:16 +00:00
Joel Sherrill
8efea242fe 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* tmitronsem01/init.c: Change TEST_INIT to CONFIGURE_INIT. Make
	tmacros.h available to all POSIX tests. Add a clock_settime case for
	< 1988.
2008-02-01 00:45:13 +00:00
Joel Sherrill
2186ba8064 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp01/init.c, sp02/init.c, sp03/init.c, sp04/init.c, sp05/init.c,
	sp06/init.c, sp07/init.c, sp08/init.c, sp09/init.c, sp11/init.c,
	sp12/init.c, sp13/init.c, sp14/init.c, sp15/init.c, sp16/init.c,
	sp17/init.c, sp19/init.c, sp20/init.c, sp21/init.c, sp22/init.c,
	sp23/init.c, sp24/init.c, sp25/init.c, sp26/init.c, sp28/init.c,
	sp30/init.c, sp31/init.c, sp32/init.c, sp33/init.c, sp37/init.c,
	sp38/init.c, sp39/init.c, sp40/init.c, sp41/init.c, sp43/init.c,
	spfatal/init.c, spfatal_support/init.c, spsize/init.c: Change
	TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all POSIX
	tests. Add a clock_settime case for < 1988.
2008-02-01 00:45:11 +00:00
Joel Sherrill
66c348cb12 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/pmacros.h, psx01/init.c, psx01/system.h, psx13/main.c,
	psxbarrier01/main.c, psxchroot01/main.c, psxfatal_support/init.c,
	psxfile01/main.c, psxfile01/test.c, psxmount/main.c, psxrdwrv/main.c,
	psxreaddir/main.c, psxrwlock01/main.c, psxspin01/main.c,
	psxstat/main.c, psxtime/main.c: Change TEST_INIT to CONFIGURE_INIT.
	Make tmacros.h available to all POSIX tests. Add a clock_settime case
	for < 1988.
2008-02-01 00:45:08 +00:00
Joel Sherrill
81fed4b75c 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* mp01/init.c, mp02/init.c, mp03/init.c, mp04/init.c, mp05/init.c,
	mp06/init.c, mp07/init.c, mp08/init.c, mp09/init.c, mp10/init.c,
	mp11/init.c, mp12/init.c, mp13/init.c, mp14/init.c: Change TEST_INIT
	to CONFIGURE_INIT. Make tmacros.h available to all POSIX tests. Add a
	clock_settime case for < 1988.
2008-02-01 00:45:06 +00:00
Joel Sherrill
5a8e7503a0 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpuuse/init.c, malloctest/init.c, monitor/init.c, monitor02/init.c,
	putenvtest/init.c, rtems++/Init.cc, rtmonuse/init.c, stackchk/init.c:
	Change TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all
	POSIX tests. Add a clock_settime case for < 1988.
2008-02-01 00:45:04 +00:00
Joel Sherrill
016e1e250b 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* itronhello/init.c, itronmbf01/init.c, itronmbox01/init.c,
	itronsem01/init.c, itrontask01/init.c, itrontask02/init.c,
	itrontask03/init.c, itrontask04/init.c, itrontime01/init.c: Change
	TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all POSIX
	tests. Add a clock_settime case for < 1988.
2008-02-01 00:45:01 +00:00
Joel Sherrill
e889a857cd 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/clockgettime.c, posix/src/clocksettime.c,
	Minor modifications to improve testability.
	* posix/src/pthreadcreate.c: Add NULL check for thread entry.
2008-02-01 00:44:15 +00:00
Joel Sherrill
920343eed7 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: New tests.
	* psxfatal01/.cvsignore, psxfatal01/Makefile.am,
	psxfatal01/psxfatal01.scn, psxfatal01/testcase.h,
	psxfatal02/.cvsignore, psxfatal02/Makefile.am,
	psxfatal02/psxfatal02.scn, psxfatal02/testcase.h,
	psxfatal_support/init.c, psxfatal_support/system.h: New files.
2008-01-31 23:42:50 +00:00
Joel Sherrill
c54f3cefb7 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/pthreadinitthreads.c: Clean up error paths.
2008-01-31 23:41:56 +00:00
Joel Sherrill
dfaa1a7308 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add more test cases to cover heap better.
2008-01-31 22:14:04 +00:00
Joel Sherrill
b853d288e6 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/ss555.cfg: Add CVS Id.
2008-01-31 19:06:52 +00:00
Joel Sherrill
1dd2318c26 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/tmacros.h: Fix put_name to handle unprintable names.
2008-01-31 17:31:05 +00:00
Joel Sherrill
916b0f301c 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp43/init.c, sp43/sp43.scn: Add test case for unprintable names.
2008-01-31 17:30:40 +00:00
Joel Sherrill
96020454cd 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, posix/preinstall.am: Revert temporary
	changes which aid in coverage testing.
2008-01-31 16:17:34 +00:00
Joel Sherrill
74d0cb441a 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c,
	posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c,
	posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c,
	posix/src/semaphorenametoid.c: Add option for all POSIX objects
	whether named or unnamed to have a string name.  If the API does
	not directly support having a name, then the user must explicitly
	assign it using rtems_object_set_name().
	* rtems/src/rtemsobjectgetapiclassname.c: Improved testability.
	* score/include/rtems/score/object.h,
	score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c,
	score/src/objectsetname.c: Modifications required to pass testing of
	recently modified object name operations.  Also eliminated
	multiprocessing related code that was not reachable.
2008-01-31 16:15:34 +00:00
Joel Sherrill
403c5077be 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen01.c, sp09/sp09.scn: Add more bad thread Id cases.
	* sp40/init.c, sp40/sp40.scn: Add message to say test is TBD.
	* sp41/sp41.scn: Now has content.
	* sp43/init.c, sp43/sp43.scn: Enhanced to increase coverage of
	Object Services recently added to API.
2008-01-31 16:08:52 +00:00
Joel Sherrill
c87593f0b0 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add psx14 to exercise POSIX API specific
	portions of Object Services added to API.
	* psx14/.cvsignore, psx14/Makefile.am, psx14/init.c, psx14/psx14.scn,
	psx14/system.h: New files.
2008-01-31 16:07:12 +00:00
Joel Sherrill
f2a7fa0281 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add new test cases per Sergei. Make some of the
	stranger cases operate directly on a freshly initialized heap. This
	should make them more reproducible.
2008-01-31 16:06:21 +00:00
Jennifer Averett
56c5cf09a5 2008-01-31 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/timersettime.c: Fix to remove warning.
2008-01-31 14:53:59 +00:00
Joel Sherrill
b3c73d833b 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/posix_memalign.c: Remove warning.
2008-01-31 14:14:45 +00:00
Joel Sherrill
91b8fb9e9a 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/object.h, score/src/objectgetinfo.c,
	rtems/include/rtems/rtems/object.h,
	rtems/src/rtemsobjectgetapiclassname.c,
	rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
	cannot be used as a parameter.
2008-01-31 14:14:27 +00:00
Joel Sherrill
7d1714545b 2008-01-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* mp01/node1/Makefile.am, mp01/node2/Makefile.am,
	mp02/node1/Makefile.am, mp02/node2/Makefile.am,
	mp03/node1/Makefile.am, mp03/node2/Makefile.am,
	mp04/node1/Makefile.am, mp04/node2/Makefile.am,
	mp05/node1/Makefile.am, mp05/node2/Makefile.am,
	mp06/node1/Makefile.am, mp06/node2/Makefile.am,
	mp07/node1/Makefile.am, mp07/node2/Makefile.am,
	mp08/node1/Makefile.am, mp08/node2/Makefile.am,
	mp09/node1/Makefile.am, mp09/node2/Makefile.am,
	mp10/node1/Makefile.am, mp10/node2/Makefile.am,
	mp11/node1/Makefile.am, mp11/node2/Makefile.am,
	mp12/node1/Makefile.am, mp12/node2/Makefile.am,
	mp13/node1/Makefile.am, mp13/node2/Makefile.am,
	mp14/node1/Makefile.am, mp14/node2/Makefile.am: Use all managers.
2008-01-30 19:53:42 +00:00
Joel Sherrill
c57f26bd07 2008-01-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am, score/include/rtems/score/threadq.h,
	score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout
	was really too complex to be inlined.
	* score/src/threadqprocesstimeout.c: New file.
2008-01-30 14:56:57 +00:00
Joel Sherrill
84ec364f04 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* index.html.in: Update copyright year.
2008-01-30 01:53:33 +00:00
Joel Sherrill
87cc26dbb1 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Doxyfile: Revert Doxygen version changes.
2008-01-30 01:50:53 +00:00
Joel Sherrill
18ca4e8b70 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/Doxyfile: Update to latest Doxygen format.
	* score/include/rtems/score/apimutex.h,
	score/include/rtems/score/corebarrier.h,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/corerwlock.h,
	score/include/rtems/score/heap.h, score/include/rtems/score/object.h,
	score/include/rtems/score/protectedheap.h,
	score/include/rtems/score/thread.h,
	score/include/rtems/score/threadsync.h,
	score/include/rtems/score/tod.h,
	score/inline/rtems/score/corerwlock.inl,
	score/inline/rtems/score/corespinlock.inl: Remove most doxygen
	warnings.
2008-01-29 23:58:17 +00:00
Joel Sherrill
95e7637f4c 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Remove most doxygen warnings.
2008-01-29 23:57:47 +00:00
Joel Sherrill
f38399088e 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* ada_user/Makefile.am, ada_user/ada_user.texi: Now builds.
2008-01-29 23:09:24 +00:00
Joel Sherrill
4017ab52d1 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
	available when API is disabled. Do not attempt to use them.
2008-01-29 22:56:22 +00:00
Joel Sherrill
fccd256f5f 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/system.h: First cut at Doxygen mainpage.
2008-01-29 22:22:37 +00:00
Joel Sherrill
27d4569a68 2008-01-29 Eric Norum <norume@aps.anl.gov>
* startup/bspstart.c: Fixes a lockup which occurs when a speculative
	load occurs from a particular range of memory.
2008-01-29 22:01:18 +00:00
Joel Sherrill
83a66aa52f 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/tmacros.h: Add new rtems_test_assert() which exits
	rather than calling fatal error.
2008-01-29 21:53:40 +00:00
Joel Sherrill
8f5b274611 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/system.h, ticker/system.h: Add new Object Services collection.
	This changed the name of a few previously public but undocumented
	services and added a some new services.
2008-01-29 21:53:16 +00:00
Joel Sherrill
6e31513261 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, sp02/task1.c, sp24/resume.c,
	sp30/resume.c, sp41/init.c, sp42/init.c: Add new Object Services
	collection. This changed the name of a few previously public but
	undocumented services and added a some new services.
	* sp43/.cvsignore, sp43/Makefile.am, sp43/init.c, sp43/sp43.scn,
	sp43/system.h: New files.
2008-01-29 21:53:04 +00:00
Joel Sherrill
65450c148f 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp02/task1.c, mp14/delay.c: Add new Object Services collection. This
	changed the name of a few previously public but undocumented services
	and added a some new services.
2008-01-29 21:52:58 +00:00
Joel Sherrill
6c06288f64 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c,
	libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
	libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
	libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
	libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c,
	posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am,
	rtems/include/rtems.h, rtems/include/rtems/rtems/support.h,
	rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c,
	rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c,
	rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c,
	rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c,
	rtems/src/timerserver.c, score/Makefile.am,
	score/include/rtems/score/object.h,
	score/inline/rtems/score/object.inl, score/src/Unlimited.txt,
	score/src/objectgetnameasstring.c,
	score/src/threadqextractwithproxy.c: Add new Object Services
	collection. This changed the name of a few previously public but
	undocumented services and added a some new services.
	* rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c,
	rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c,
	rtems/src/rtemsobjectapiminimumclass.c,
	rtems/src/rtemsobjectgetapiclassname.c,
	rtems/src/rtemsobjectgetapiname.c,
	rtems/src/rtemsobjectgetclassicname.c,
	rtems/src/rtemsobjectgetclassinfo.c,
	rtems/src/rtemsobjectidapimaximum.c,
	rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c,
	rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c,
	rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c,
	score/src/objectapimaximumclass.c, score/src/objectgetinfo.c,
	score/src/objectgetinfoid.c, score/src/objectsetname.c: New files.
	* rtems/src/rtemsidtoname.c: Removed.
2008-01-29 21:52:21 +00:00
Joel Sherrill
9252e55e08 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* runtest.in: sp39 and sp41 lock on sis but run correctly on
	tsim/erc32.
2008-01-29 21:37:38 +00:00
Joel Sherrill
d5671b160e 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/.cvsignore, user/Makefile.am, user/c_user.texi, user/concepts.t,
	user/conf.t, user/dirstat.texi, user/stackchk.t, user/task.t,
	user/userext.t: Add new Object Services collection. Tidy up some
	configuration documentation from earlier changes.
	* user/object.t: New file.
2008-01-29 21:37:00 +00:00
Jennifer Averett
01618ccc6b 2008-01-29 Jennifer Averett <jennifer.averett@OARcorp.com>
* psx07/init.c, psx07/system.h: Test cleanup and added testing for
	pthread_attr_[get|set]clock.
2008-01-29 19:00:38 +00:00
Jennifer Averett
1ff7e1948e 2008-01-29 Jennifer Averett <jennifer.averett@OARcorp.com>
* score/src/corerwlockrelease.c, score/src/coresemseize.c: Changed
	switch statements to if statements.
2008-01-29 18:59:00 +00:00
Joel Sherrill
b7bc1d1a62 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add more tests per suggestions from Sergei
	Organov.
2008-01-29 17:28:49 +00:00
Joel Sherrill
e0a66c1574 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
	libcsupport/src/malloc_walk.c, libcsupport/src/posix_memalign.c,
	libcsupport/src/realloc.c, score/src/heapwalk.c: Add rtems_memalign
	as helper and as exposed nmemalign variant with few restrictions.
	Also turn on compilation of _Heap_Walk but make forced calls to it
	conditionally compiled. This should allow more flexibility to the
	user as to run-time checking of the heap.
	* libcsupport/src/rtems_memalign.c: New file.
2008-01-29 17:28:27 +00:00
Joel Sherrill
1ccb8aae65 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal10/.cvsignore: New file.
2008-01-29 14:38:24 +00:00
Joel Sherrill
42840b4dbe 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal01/.cvsignore, spfatal02/.cvsignore, spfatal03/.cvsignore,
	spfatal04/.cvsignore, spfatal05/.cvsignore, spfatal06/.cvsignore,
	spfatal07/.cvsignore, spfatal08/.cvsignore, spfatal09/.cvsignore:
	New files.
2008-01-29 14:30:38 +00:00
Jennifer Averett
5fdb1e7bc0 2008-01-28 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Added fatal error tests
	* spfatal01/Makefile.am, spfatal01/spfatal01.scn, spfatal01/testcase.h,
	spfatal02/Makefile.am, spfatal02/spfatal02.scn, spfatal02/testcase.h,
	spfatal03/Makefile.am, spfatal03/spfatal03.scn, spfatal03/testcase.h,
	spfatal04/Makefile.am, spfatal04/spfatal04.scn, spfatal04/testcase.h,
	spfatal05/Makefile.am, spfatal05/spfatal05.scn, spfatal05/testcase.h,
	spfatal06/Makefile.am, spfatal06/spfatal06.scn, spfatal06/testcase.h,
	spfatal07/Makefile.am, spfatal07/spfatal07.scn, spfatal07/testcase.h,
	spfatal08/Makefile.am, spfatal08/spfatal08.scn, spfatal08/testcase.h,
	spfatal09/Makefile.am, spfatal09/spfatal09.scn, spfatal09/testcase.h,
	spfatal10/Makefile.am, spfatal10/spfatal10.scn, spfatal10/testcase.h,
	spfatal_support/init.c, spfatal_support/system.h: New files.
2008-01-28 19:19:35 +00:00
Joel Sherrill
def9eef5f7 2008-01-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h, score/src/mpci.c, score/src/objectmp.c,
	score/src/objectnametoid.c, score/src/objectnametoidstring.c:
	Multiprocessing compiles again and survives initialization. The
	recent object name and confdefs.h changes had broken it.
2008-01-28 17:19:01 +00:00
Jennifer Averett
81f595760d 2008-01-25 Jennifer Averett <jennifer.averett@OARcorp.com>
* sapi/include/rtems/fatal.h, score/include/rtems/score/coremutex.h,
	score/include/rtems/score/interr.h,
	score/inline/rtems/score/thread.inl, score/src/coremutexseize.c:
	Modifications to aid in full path testing.
2008-01-25 20:14:45 +00:00
Joel Sherrill
41a7fef82b 2008-01-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems_footer.html.in, common/cpright.texi: Update copyright. Fix
	spacing.
2008-01-25 16:41:07 +00:00
Joel Sherrill
025ac7a3c3 2008-01-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/mqueuesendsupp.c: Remove warning.
2008-01-25 16:39:31 +00:00
Joel Sherrill
499eb57d99 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Add include to remove warning.
2008-01-25 03:08:48 +00:00
Joel Sherrill
2f44708ab5 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/assoc.h: rtems_assoc_ptr_by_local should be
	in public API.
2008-01-25 02:57:43 +00:00
Joel Sherrill
90f6ea620d 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp28/init.c, sp28/sp28.scn, sp29/init.c, sp29/sp29.scn, sp32/init.c,
	sp32/sp32.scn, sp33/init.c, sp33/sp33.scn, sp42/init.c: Fix end of
	test messages.
2008-01-24 15:12:30 +00:00
Joel Sherrill
2345d61bdc 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/object.h,
	score/src/objectextendinformation.c,
	score/src/objectinitializeinformation.c,
	score/src/objectshrinkinformation.c: Eliminate name_table since it is
	not used.
2008-01-24 15:12:09 +00:00
Joel Sherrill
f3a5a20cd0 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/objectnametoidstring.c: New file.
2008-01-23 22:58:36 +00:00
Joel Sherrill
23a368d91e 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp34/changepri.c, sp35/priinv.c: Convert the Objects_Name type from a
	simple type to a union of an unsigned 32 bit integer and a pointer.
	This should help eliminate weird casts between u32 and pointers in
	various places. The APIs now have to explicitly call _u32 or _string
	versions of helper routines. This should also simplify things and
	eliminate the need for ugly casts in some cases.
2008-01-23 22:57:54 +00:00
Joel Sherrill
ce19f1fa3b 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
	libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
	libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
	libmisc/stackchk/check.c, posix/src/condinit.c,
	posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
	posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
	posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
	posix/src/mutexinit.c, posix/src/pbarrierinit.c,
	posix/src/prwlockinit.c, posix/src/pspininit.c,
	posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
	posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
	posix/src/timercreate.c, rtems/src/barrierident.c,
	rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
	rtems/src/ratemonident.c, rtems/src/regionident.c,
	rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
	sapi/src/extensionident.c, score/Makefile.am,
	score/include/rtems/score/object.h,
	score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
	score/src/objectextendinformation.c,
	score/src/objectgetnameasstring.c, score/src/objectmp.c,
	score/src/objectnametoid.c: Convert the Objects_Name type from a
	simple type to a union of an unsigned 32 bit integer and a pointer.
	This should help eliminate weird casts between u32 and pointers in
	various places. The APIs now have to explicitly call _u32 or _string
	versions of helper routines. This should also simplify things and
	eliminate the need for ugly casts in some cases.
	* score/src/objectclearname.c, score/src/objectcomparenameraw.c,
	score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
	score/src/objectcopynamestring.c: Removed.
2008-01-23 22:57:43 +00:00
Joel Sherrill
8571262799 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxenosys/init.c, psxenosys/psxenosys.scn: Add test for stub
	implementation mprotect().
2008-01-23 15:35:41 +00:00
Jennifer Averett
f070c86cac 2008-01-23 Jennifer Averett <jennifer.averett@OARcorp.com>
* sp42/Makefile.am: New file.
2008-01-23 14:50:42 +00:00
Joel Sherrill
4a4aabcae0 2008-01-23 Joel Sherrill <joel.sherrill@OARcorp.com>
Add sp42 to exercise thread queue with knowledge of the implementation
	so we can exercise all of the normal paths possible.
	* Makefile.am, configure.ac: Add sp42.
	* sp42/.cvsignore, sp42/init.c, sp42/sp42.scn: New files.
2008-01-23 13:58:54 +00:00
Joel Sherrill
6b8da2b989 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadblockingoperationcancel.c: Clean up.
	* score/src/threadqextract.c: Restructure to eliminate dead code.
2008-01-23 13:07:13 +00:00
Joel Sherrill
9185d61c54 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp39/init.c: Add case for long timeout on blocking operation.
	* Makefile.am, configure.ac: Add new test to exercise thread
	queue blokcing synchronization. sp39 and sp41 are very similar.
	* sp41/.cvsignore, sp41/Makefile.am, sp41/init.c, sp41/sp41.scn,
	sp41/system.h: New files.
2008-01-23 13:05:55 +00:00
Joel Sherrill
11c16a64f6 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c,
	score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
	score/src/threadqdequeuepriority.c: Fix bugs encountered while
	testing and clean up more code.
2008-01-22 21:19:18 +00:00
Joel Sherrill
4e1304dcb9 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadqfirst.c: Remove switch.
2008-01-22 19:10:04 +00:00
Joel Sherrill
8b7a7139df 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp39/init.c: Clean up.
2008-01-22 18:30:14 +00:00
Joel Sherrill
3168deaa10 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/event.h,
	rtems/inline/rtems/rtems/eventset.inl, rtems/src/event.c,
	rtems/src/eventseize.c, rtems/src/eventsurrender.c,
	rtems/src/eventtimeout.c, score/Makefile.am, score/preinstall.am,
	score/include/rtems/score/interr.h,
	score/include/rtems/score/thread.h,
	score/include/rtems/score/threadq.h,
	score/include/rtems/score/tqdata.h,
	score/inline/rtems/score/threadq.inl,
	score/inline/rtems/score/tqdata.inl, score/src/threadq.c,
	score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c,
	score/src/threadqdequeuepriority.c, score/src/threadqenqueue.c,
	score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c,
	score/src/threadqextract.c, score/src/threadqextractfifo.c,
	score/src/threadqextractpriority.c,
	score/src/threadqextractwithproxy.c, score/src/threadqfirst.c,
	score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c,
	score/src/threadqflush.c, score/src/threadqrequeue.c,
	score/src/threadqtimeout.c: Refactor thread queue enqueue and event
	blocking synchronization critical sections. This resulted in three
	copies of essentially the same hard to test critical section code
	becoming the one shared routine _Thread_blocking_operation_Cancel. In
	addition, the thread queue and event code now share a common
	synchronization enumerated type. Along the way, switches were
	reworked to eliminate dead code generated by gcc and comments and
	copyrights were updated.
	* score/include/rtems/score/threadsync.h,
	score/src/threadblockingoperationcancel.c: New files.
2008-01-22 18:28:53 +00:00
Joel Sherrill
b89f64cc41 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Remove debug print.
2008-01-22 15:39:05 +00:00
Joel Sherrill
af043e1319 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Improve comments and clean up argc/argv order.
2008-01-22 15:30:59 +00:00
Joel Sherrill
148626632c 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove duplicate cases of mmu.rel and timer.rel in list
	of objects.
2008-01-22 15:21:28 +00:00
Joel Sherrill
797c232dad 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libi2c/README_libi2c: Correct spelling error.
	* score/src/threadclearstate.c: Improve comment.
2008-01-22 15:20:34 +00:00
Joel Sherrill
b4df56ddb4 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu_asm.S: Spacing and comment alignment.
2008-01-22 15:18:26 +00:00
Joel Sherrill
00b66f2aac 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcleanup/.cvsignore: New file.
2008-01-22 14:48:55 +00:00
Joel Sherrill
265d9b6476 2008-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp39/init.c: Modify to improve coverage.
2008-01-22 14:46:13 +00:00
Ralf Corsepius
c539ced128 Preps for automake-1.10.1 2008-01-22 08:56:18 +00:00
Ralf Corsepius
980102a7a5 automake-1.10.1 2008-01-22 08:56:01 +00:00
Ralf Corsepius
84b84db0b1 Bump version to 0.10. 2008-01-19 05:29:23 +00:00
Ralf Corsepius
8caf0530fa Remove ftp:// URLs (OAR's ftp: is too unreliable.) 2008-01-19 05:28:52 +00:00
Jennifer Averett
9b9f018e09 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* psxcleanup/system.h: New file.
2008-01-18 17:30:20 +00:00
Jennifer Averett
f7ad5b3e12 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac:
	* psxcleanup/Makefile.am, psxcleanup/psxcleanup.c,
	psxcleanup/psxcleanup.scn: New files.
2008-01-18 17:09:51 +00:00
Jennifer Averett
0c76166efe 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* sp36/strict_order_mut.c:
2008-01-18 16:34:56 +00:00
Jennifer Averett
0e4232bbd6 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* psx01/init.c, psxmsgq01/init.c, psxtimer01/psxtimer.c,
	psxtimer01/psxtimer01.scn, psxtimer02/psxtimer.c:
2008-01-18 16:33:35 +00:00
Jennifer Averett
c3925dbe92 2008-01-18 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/include/rtems/posix/timer.h, posix/src/cleanuppop.c,
	posix/src/cleanuppush.c, posix/src/mqueueclose.c,
	posix/src/timergettime.c, posix/src/timersettime.c,
	score/include/rtems/score/timespec.h:
2008-01-18 16:31:57 +00:00
Joel Sherrill
f91db017d5 2008-01-18 David Erickson <David.Erickson@drdc-rddc.gc.ca>
* startup/bspstart.c: Add semicolon.
2008-01-18 14:34:35 +00:00
Ralf Corsepius
db4045eb10 Regenerate. 2008-01-16 04:56:09 +00:00
Ralf Corsepius
1a297e5326 2008-01-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Fix indentation.
2008-01-16 04:54:28 +00:00
Ralf Corsepius
e30a00f40c 2008-01-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/Makefile.am: Don't use make variables.
2008-01-16 04:33:25 +00:00
Ralf Corsepius
5e57f8336c Regenerate. 2008-01-14 09:29:23 +00:00
Ralf Corsepius
30b8e468de Bump GCC_RPMREL. 2008-01-14 09:28:24 +00:00
Ralf Corsepius
c23804dd11 gcc-core-4.2.2-rtems4.9-20080114.diff.Remove gcc-3.4.6. 2008-01-14 09:27:45 +00:00
Ralf Corsepius
5ec21f41e7 gcc-core-4.2.2-rtems4.9-20080114.diff. 2008-01-14 09:27:15 +00:00
Ralf Corsepius
b4448d1cea New. Add h8sw to h8300-rtems-gcc. 2008-01-14 09:05:24 +00:00
Joel Sherrill
23452b5c97 2008-01-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* hello/init.c: Remove accidental commit.
2008-01-11 22:50:10 +00:00
Joel Sherrill
c730ce07c2 2008-01-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add bsp_timer_least_valid and
	bsp_timer_average_overhead so tmtests link.
2008-01-11 22:40:40 +00:00
Joel Sherrill
4b10f2001e 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/task.t: Add manual page for rtems_task_self().
2008-01-11 22:26:29 +00:00
Joel Sherrill
aec29f178c 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, fileio/system.h, hello/init.c: Enable malloc
	statistics so shell output can be interesting.
2008-01-11 21:43:58 +00:00
Joel Sherrill
be8ab6a72d 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c: When stdin or stdout is NULL, just use
	existing one.
2008-01-11 21:42:48 +00:00
Joel Sherrill
eabd9f06e7 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, irq/irq.c, startup/bspclean.c, startup/bspstart.c: Add
	ALLOW_IRQ_NESTING option. The MPC5200 has a settle time after
	acknowledging the IRQs and currently the BSP does not account for
	that. After acknowledging an interrupt, it currently gets a second
	spurious IRQ a significant percentage of the time. Rename to
	BENCHMARK_IRQ_PROCESSING and get it working again. Under one test
	load, not nesting interrupts resulted in a 50% reduction in the
	number of IRQs and an ~30% reduction in time spent in IRQs.
2008-01-11 18:25:35 +00:00
Ralf Corsepius
d556e818f4 Import from zlib-1.2.4 2008-01-11 06:05:09 +00:00
Ralf Corsepius
49cf70f1d0 Add http://www.rtems.info, http://www.rtems.org/ftp.
Abandon *-testing.
2008-01-11 05:18:23 +00:00
Ralf Corsepius
98915674a6 Require autoconf-2.61.
Bump version to 0.9.
2008-01-11 05:17:38 +00:00
Till Straumann
bc0ff4737c 2008-01-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: When unhooking
	and ISR only disable IRQs at the PIC if we are
	unhooking the last ISR.
2008-01-10 18:25:47 +00:00
Joel Sherrill
5b33dc8076 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/wkspace.h,
	score/inline/rtems/score/wkspace.inl, score/src/wkspace.c: Do not
	inline _Workspace_Free or _Workspace_Allocate since they are not
	always inlined and actually smaller overall as subroutines. They are
	not particularly time critical so inlining is not absolutely
	necessary.
2008-01-09 22:35:10 +00:00
Joel Sherrill
4d3200628d 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/Makefile.am, posix/include/rtems/posix/cond.h,
	posix/include/rtems/posix/mutex.h, posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/mutex.inl: Do not include POSIX Mutex or
	Condition Variable object get helpers because they are more
	complicated than the norm. They can implicitly perform a create. They
	cross the line as being too complex and large to inline since they
	negatively impact size and binary test coverage.
	* posix/src/condget.c, posix/src/mutexget.c: New files.
2008-01-09 22:08:31 +00:00
Joel Sherrill
7fbe680567 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am: Add src/malloc_dirtier.c.
	* libcsupport/include/rtems/malloc.h: Add malloc dirty support.
	* libcsupport/src/malloc_p.h: Correct prototype.
2008-01-09 21:24:30 +00:00
Joel Sherrill
8daaa21556 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/coremutex.h,
	score/src/coremutexseizeintr.c: Fix conditional code for inlining
	_CORE_mutex_Seize_interrupt_trylock() and add comments.
2008-01-09 21:11:04 +00:00
Joel Sherrill
bfc54b08c8 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add CONFIGURE_MALLOC_DIRTY.
2008-01-09 21:09:54 +00:00
Joel Sherrill
635865aefd 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
	libcsupport/src/free.c, libcsupport/src/malloc.c,
	libcsupport/src/malloc_deferred.c,
	libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
	libcsupport/src/malloc_sbrk_helpers.c,
	libcsupport/src/posix_memalign.c: Place all deferred free code and
	place it in subroutines. Add plugin for dirtying allocated memory to
	assist in debugging. Clean up comments and spacing as needed.
	* libcsupport/src/malloc_dirtier.c: New file.
2008-01-09 21:08:36 +00:00
Joel Sherrill
b9e23917f0 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* monitor02/.cvsignore: New file.
2008-01-09 20:50:21 +00:00
Joel Sherrill
4ff7e0f401 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/objectgetnoprotection.c: Eliminate duplicate exit path code
	when there is an error.
2008-01-09 20:49:44 +00:00
Joel Sherrill
43fa4fc476 2008-01-09 Eric Norum <norume@aps.anl.gov>
* include/bsp.h: Include <bsp/vectors.h>.
2008-01-09 20:37:48 +00:00
Joel Sherrill
3408806956 2008-01-09 Eric Norum <norume@aps.anl.gov>
* custom/mvme3100.cfg: Add make-cxx-exe rule.
2008-01-09 20:37:14 +00:00
Jennifer Averett
bbbe941321 2008-01-09 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/keycreate.c, rtems/src/eventseize.c,
	score/include/rtems/score/interr.h: Rearranged source to allow more
	test coverage.
2008-01-09 19:32:52 +00:00
Jennifer Averett
dee3992f93 2008-01-09 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Added automatic test for monitor shell
	* monitor02/Makefile.am, monitor02/init.c, monitor02/monitor02.scn,
	monitor02/system.h: New files.
2008-01-09 19:01:28 +00:00
Joel Sherrill
29ab6a0ea0 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/__assert.c: Clean up and make __assert() call
	__assert_func().
2008-01-09 16:37:40 +00:00
Joel Sherrill
b36dc03c90 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/__assert.c: Newlib 1.16.0 adds __assert_func(). We
	need to have it also.
2008-01-09 15:40:19 +00:00
Joel Sherrill
cfcc4e202d 2008-01-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am: Add malloc_sbrk_helpers.c.
	* libcsupport/include/rtems/malloc.h,
	libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c,
	libcsupport/src/malloc_p.h,
	libcsupport/src/malloc_statistics_helpers.c: Make sbrk()
	support pluggable and optional.  This eliminates the need for
	heap extend and sbrk in the minimum footprint which is ~2.5K on
	the SPARC.
	* sapi/include/confdefs.h: Add the following configuration points:
	  + CONFIGURE_MALLOC_STATISTICS
	  + CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
	* libcsupport/src/malloc_sbrk_helpers.c: New file.
2008-01-08 22:59:14 +00:00
Joel Sherrill
c8f8ffdd08 2008-01-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add sp40 to test some cases of dynamic
	driver registration.
	* sp40/.cvsignore, sp40/Makefile.am, sp40/init.c, sp40/sp40.scn,
	sp40/system.h: New files.
2008-01-08 18:27:29 +00:00
Joel Sherrill
bc2b8df658 2008-01-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am: Add missing file.
2008-01-08 17:33:00 +00:00
Jennifer Averett
b1ebcb6cc8 Revert accidental commit of test code. 2008-01-07 18:10:57 +00:00
Joel Sherrill
0e97a7fa5b 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/mon-manager.c: Style. Eliminate tabs.
2008-01-07 17:53:11 +00:00
Joel Sherrill
694bd9f68e 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am: Add new files.
	* libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
	* libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
	* libmisc/shell/shellconfig.h: Add wkspace command.
	* libmisc/shell/main_wkspaceinfo.c,
	libmisc/shell/print_heapinfo.c: New files.
2008-01-07 17:46:25 +00:00
Joel Sherrill
c961c06bbe 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/isr.inl: Fix spacing.
	* score/src/apimutexallocate.c: Fix spacing.
	* score/src/coremsgseize.c: Check for message pending instead of
	message pending count to avoid dead code from inlined chain routine.
	It checks if the chain is empty so is redundant to count == 0.
2008-01-07 15:33:33 +00:00
Joel Sherrill
a87bbe9bb7 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/src/eventseize.c, rtems/src/eventtimeout.c: Minor style clean
	up.
2008-01-07 15:31:18 +00:00
Joel Sherrill
580004a27c 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/pthreadcreate.c: Add commit.
	* posix/src/pthreadinitthreads.c: Fix line length.
2008-01-07 15:30:21 +00:00
Joel Sherrill
1ccbd63a6a 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
2008-01-07 15:29:14 +00:00
Joel Sherrill
52e70cf409 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadget.c: Use _Objects_Is_api_valid rather than open
	coding it.
2008-01-07 15:28:31 +00:00
Joel Sherrill
14a64dc59e 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen07.c, sp09/screen12.c, sp09/screen14.c, sp09/sp09.scn
	Add test cases for:
	  + message queue create requesting too many message buffers
	    for the available memory
	  + region extend with address inside existing heap
	  + timer server initiate too large a stack, create error
	* sp12/pritask.c, sp12/sp12.scn: Add test cases for:
	  + task set priority while holding resource
2008-01-07 15:26:46 +00:00
Joel Sherrill
cd30436141 Convert to UNIX CR/LF. 2008-01-07 15:10:31 +00:00
Joel Sherrill
fa9889742a 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Added sp38 and sp39.
	* sp38/.cvsignore, sp38/Makefile.am, sp38/init.c, sp38/sp38.scn,
	sp38/system.h, sp39/.cvsignore, sp39/Makefile.am, sp39/init.c,
	sp39/sp39.scn, sp39/system.h: New files.
2008-01-07 15:07:47 +00:00
Chris Johns
a61cc6c28f 2008-01-05 Chris Johns <chrisj@rtems.org>
* libchip/flash/am29lv160.c: Update the blank check error message
	to say there is an error.
2008-01-05 06:59:11 +00:00
Chris Johns
a5de1ef5fc 2008-01-05 Chris Johns <chrisj@rtems.org>
* configure.ac: Fix typo in the strict order mutex CPU OPTs test.
	* libmisc/shell/shell.c: Handle '#' comment characters correctly.
	* libblock/include/rtems/flashdisk.h: Add docmentation about the
	control fields. Add more control fields to handle the flash when
	full.
	* libblock/src/flashdisk.c: Fix the descriptor erase test so it
	detects a descriptor is erased. Add support for unavailable blocks
	the user can configure. Print the used list as a diag. Fix the bug
	when a page is detected as failed and present on more than one
	queue. Add a count to the queues so queue length can be used to
	manage compaction.
2008-01-05 06:57:17 +00:00
Till Straumann
74ee68dd00 2008-01-03 Till Straumann <strauman@slac.stanford.edu>
* bsp_specs: added crtend.o back to the endfiles. Otherwise,
	C++ static constructors are not executed because the
	call to __do_global_ctors_aux() is emitted into the .init
	section by this endfile (yes, the endfile contributes to .init).
2008-01-04 07:16:03 +00:00
Till Straumann
42fce5d39b 2008-01-03 Till Straumann <strauman@slac.stanford.edu>
* score/src/threadhandler.c, sapi/src/exshutdown.c:
	cannot call _fini via atexit() from rtems_shutdown_executive()
	because at the point where rtems_shutdown_executive is called
	the C-library is already dead.
	Instead, register an atexit(_fini) after calling _init().
2008-01-04 06:38:06 +00:00
Joel Sherrill
4779963688 2007-12-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am: _rename_r is required by newlib 1.16.0.
	Hopefully this implementation is OK.
	* libcsupport/src/_rename_r.c: New file.
2007-12-28 18:55:31 +00:00
Chris Johns
107f4d3446 2007-12-22 Chris Johns <chrisj@rtems.org>
* nfsclient/src/nfs.c, nfsclient/src/rpcio.c: Adjust the length of
	the hello message. Just one line but still a little too long.
2007-12-22 08:29:36 +00:00
Chris Johns
e85eb70bc7 2007-12-14 Chris Johns <chrisj@rtems.org>
* gdb-init: Make the first hb temporary.
	* network/network.c: Add support for reading the MAC address from
	the FEC if set by the boot monitor. dBug does not do this unless
	the network is used which is a shame.
2007-12-22 08:28:57 +00:00
Chris Johns
1ff9922df0 2007-12-22 Chris Johns <chrisj@rtems.org>
* configure.ac: fixed bug that always enabled strict order
	mutexes.
	* score/inline/rtems/score/coremutex.inl: Fixed coding standard.
	* score/src/coremutex.c: Add the holder's thread to the lock_mutex
	list if the mutex is initialised locked.
	* libnetworking/rtems/rtems_glue.c: Changed semaphore error
	message to show the error is an rtems-net error.
	* libmisc/monitor/mon-network.c: Removed warnings.
	* telnetd/icmds.c: Changed shell_* to rtems_shell_*.
	* score/Makefile.am: Fixed typo that stopped 'make tags' working.
	* libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
	libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
	libmisc/shell/fts.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
	libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
	libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
	libmisc/shell/warnx.c: New. Ported from BSD.
	* libmisc/shell/shellconfig.h: Add the cp command.
	* libmisc/Makefile.am: Add the new files to the shell.
	* libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
	support.
	* libblock/src/flashdisk.c: Fixed disk drive count size setting
	bug.
2007-12-22 08:27:18 +00:00
Joel Sherrill
e709ff4ae6 2007-12-21 Xi Yang <hiyangxi@gmail.com>
* rtems/src/semtranslatereturncode.c: Add support for proper stacking
	of priority inheritance on mutexes as well as enforce proper order of
	release.
2007-12-21 15:58:30 +00:00
Joel Sherrill
e2ba62d1ea 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/coremutex.inl: Add the ability to disable
	inlining coremutex seize. This reduces the code size and also
	improves the process of coverage analysis.
	* score/src/coremutexseizeintr.c: New file.
2007-12-21 15:57:22 +00:00
Joel Sherrill
03c6ff399e 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp36/strict_order_mut.c: New file.
2007-12-21 15:50:52 +00:00
Joel Sherrill
e8f4303a4c 2007-12-21 Xi Yang <hiyangxi@gmail.com>
* Makefile.am, configure.ac: Add support for proper stacking of
	priority inheritance on mutexes as well as enforce proper order of
	release.
	* sp36/.cvsignore, sp36/Makefile.am, sp36/sp36.doc,
	sp36/sp36.scn: New files.
2007-12-21 15:50:33 +00:00
Joel Sherrill
fd84982c00 2007-12-21 Xi Yang <hiyangxi@gmail.com>
* configure.ac, score/include/rtems/score/coremutex.h,
	score/include/rtems/score/thread.h,
	score/inline/rtems/score/coremutex.inl,
	score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
	support for proper stacking of priority inheritance on mutexes as
	well as enforce proper order of release.
2007-12-21 15:50:09 +00:00
Joel Sherrill
cd2255151a 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1268/cpukit
	* libcsupport/include/rtems/assoc.h: There is no
	rtems_assoc_ptr_by_value method.
2007-12-21 15:22:40 +00:00
Ralf Corsepius
21bc352675 Fix typo. 2007-12-21 05:10:54 +00:00
Ralf Corsepius
b98648062f Make gettimeofday() POSIX-compliant. 2007-12-21 05:10:31 +00:00
Ralf Corsepius
fbb5097c1b Make sync() POSIX-compliant. 2007-12-21 05:10:09 +00:00
Ralf Corsepius
468cd3736c 2007-12-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* src/sync.c: Make sync() POSIX-compliant.
	* libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
2007-12-21 05:09:15 +00:00
Joel Sherrill
60256e86db 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/killinfo.c: Clean up and eliminate some dead code paths.
2007-12-20 22:39:34 +00:00
Joel Sherrill
2cbb5fc46f 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/include/rtems/posix/timer.h: Include rtems/score/object.h.
2007-12-20 22:39:08 +00:00
Joel Sherrill
47751810c3 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Use correct register name.
2007-12-20 22:38:07 +00:00
Joel Sherrill
fe88171c49 2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsignal01/.cvsignore, psxualarm/.cvsignore: New files.
2007-12-20 21:53:04 +00:00
Joel Sherrill
b5c6ecf707 2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self()
	directive instead of violating RTEMS internals.
2007-12-20 21:52:24 +00:00
Joel Sherrill
23a0607ef1 2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h: Add
	rtems_task_self() directive.
	* rtems/src/taskself.c: New file.
2007-12-20 21:51:23 +00:00
Joel Sherrill
6bd316209b 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add test cases suggested by Sergei Organov
	<s.organov@javad.com>.
2007-12-20 20:58:11 +00:00
Jennifer Averett
0b78bc4d01 2007-12-20 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/Makefile.am, posix/src/kill.c, posix/src/killinfo.c: Split file
	and resolved copyright information.
	* posix/src/kill_r.c: New file.
2007-12-20 19:32:03 +00:00
Jennifer Averett
c3a8293b75 2007-12-20 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Added test for ualarm
	* psxualarm/Makefile.am, psxualarm/init.c, psxualarm/psxualarm.scn,
	psxualarm/system.h: New files.
2007-12-20 18:19:15 +00:00
Jennifer Averett
090edf3901 2007-12-20 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/ualarm.c: Fixed bug where iteration did not work correctly.
2007-12-20 18:11:24 +00:00
Ralf Corsepius
07c40af537 New. 2007-12-20 16:14:58 +00:00
Ralf Corsepius
ab56160b4b Regenerate. 2007-12-20 16:13:08 +00:00
Ralf Corsepius
d8536e840b Add %{?_smp_mflags}. 2007-12-20 16:12:09 +00:00
Ralf Corsepius
c55ed1d294 Prepare upgrade to newlib-1.16.0. 2007-12-20 16:11:34 +00:00
Joel Sherrill
b1bf5a9be0 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Revert. Requires info not available at
	preprocessing time.
2007-12-19 21:05:39 +00:00
Joel Sherrill
e287d94667 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Catch the error when the user lowers the
	maximum number of drivers below the number of statically configured
	ones.
2007-12-19 20:57:27 +00:00
Joel Sherrill
30cd539354 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/src/extension.c, sapi/src/extensioncreate.c,
	sapi/src/extensiondelete.c, sapi/src/extensionident.c: Extension
	Manager clean up. Update object id switches to new pattern. Catch
	some NULL parameter errors.
2007-12-19 20:55:55 +00:00
Joel Sherrill
79542d7a8b 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/init.c, sp07/system.h, sp07/tdelete.c, sp07/sp07.scn:
	Add test cases for User Extension Manager to improve code coverage.
	* sp21/task1.c: Fix spelling error.
2007-12-19 20:51:51 +00:00
Jennifer Averett
030fee5b02 2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/psignalunblockthread.c: Remove source that
2007-12-19 19:13:54 +00:00
Jennifer Averett
e63c48fc02 2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/psignalchecksignal.c: Make assert active during debug mode
	only
2007-12-19 18:48:21 +00:00
Jennifer Averett
1378d39e0d 2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/psignal.c: Move source around to enable path testing
2007-12-19 18:46:12 +00:00
Jennifer Averett
7689b49ee9 2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Added posix signal test
	* psxsignal01/Makefile.am, psxsignal01/init.c,
	psxsignal01/psxsignal01.scn, psxsignal01/system.h,
	psxsignal01/task1.c: New files.
2007-12-19 18:41:15 +00:00
Joel Sherrill
bbd655a3d5 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Account for previous changes in calculation of MPCI
	receive server stack.
2007-12-19 16:05:56 +00:00
Joel Sherrill
e1a22c112c 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/task1.c: Add test for posix_memalign.
2007-12-19 16:05:32 +00:00
Joel Sherrill
8e30a269a2 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
	libcsupport/src/free.c, libcsupport/src/malloc.c,
	libcsupport/src/malloc_p.h,
	libcsupport/src/malloc_report_statistics_plugin.c,
	libmisc/shell/shell.c, libmisc/shell/shell.h,
	score/src/objectinitializeinformation.c: Add posix_memalign. Split
	out management of deferred frees to subroutines.
	* libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
2007-12-19 16:03:54 +00:00
Joel Sherrill
543fe82061 2007-12-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/preinstall.am,
	libcsupport/src/malloc.c, libcsupport/src/mallocinfo.c,
	libmisc/Makefile.am, libmisc/shell/main_mallocinfo.c,
	libmisc/shell/shellconfig.h: Split malloc.c into multiple files with
	one function per file. Also split out statistics into a separate file
	which can be plugged in dynamically. Right now, it is always in. I
	suspect that splitting the file removed more code than leaving
	statistics in. I tinkered with malloc information command in the
	shell. I resurrected the malloc arena code as malloc boundary. This
	code is now compiled all the time even though it does not appear to
	work.
	* libcsupport/include/rtems/malloc.h, libcsupport/src/_calloc_r.c,
	libcsupport/src/_free_r.c, libcsupport/src/_malloc_r.c,
	libcsupport/src/_realloc_r.c, libcsupport/src/calloc.c,
	libcsupport/src/free.c, libcsupport/src/malloc_boundary.c,
	libcsupport/src/malloc_get_statistics.c,
	libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
	libcsupport/src/malloc_report_statistics.c,
	libcsupport/src/malloc_report_statistics_plugin.c,
	libcsupport/src/malloc_statistics_helpers.c,
	libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
	libmisc/shell/main_perioduse.c: New files.
2007-12-18 20:36:40 +00:00
Joel Sherrill
02c54f5ee5 2007-12-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Spacing.
	* startup/linkcmds.brs5l: Add wildcard to .bss section.
2007-12-18 14:29:05 +00:00
Joel Sherrill
55216fafdf 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/main_alias.c, libmisc/shell/main_blksync.c,
	libmisc/shell/main_cat.c, libmisc/shell/main_cd.c,
	libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c,
	libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c,
	libmisc/shell/main_date.c, libmisc/shell/main_dir.c,
	libmisc/shell/main_exit.c, libmisc/shell/main_help.c,
	libmisc/shell/main_id.c, libmisc/shell/main_logoff.c,
	libmisc/shell/main_ls.c, libmisc/shell/main_mallocinfo.c,
	libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c,
	libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c,
	libmisc/shell/main_mmove.c, libmisc/shell/main_mount.c,
	libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c,
	libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c,
	libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c,
	libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c,
	libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c,
	libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
	libmisc/shell/main_unmount.c, libmisc/shell/main_whoami.c,
	libmisc/shell/shell_cmdset.c, libmisc/shell/shellconfig.h: Change
	rtems_Shell_ to rtems_shell_.
2007-12-17 22:39:29 +00:00
Joel Sherrill
e586588471 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add malloc command
	with info and dump as replacement for older command. Fix what looked
	like a typo for mount sub-commands.
	* libmisc/shell/main_mallocinfo.c: New file.
	* libmisc/shell/main_mallocdump.c: Removed.
2007-12-17 22:37:29 +00:00
Joel Sherrill
ad9255bedd 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/src/mallocfreespace.c: Add
	malloc_info() routine.
	* libcsupport/src/mallocinfo.c: New file.
2007-12-17 22:36:45 +00:00
Joel Sherrill
0ca6d0d938 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add _CPU_Context_Get_SP() for stack check utility.
2007-12-17 22:35:25 +00:00
Joel Sherrill
dbfc895efb 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/stackchk/check.c: Add print of current stack pointer and
	stack info even if stack checker is not initialized.
2007-12-17 22:34:28 +00:00
Joel Sherrill
c5a742efc3 2007-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/printk.c: Style.
2007-12-17 21:02:09 +00:00
Joel Sherrill
d38494c8f8 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, include/bsp.h: Correct prototype of idle thread. Eric
	Norum pointed out this was wrong.
2007-12-17 18:18:17 +00:00
Joel Sherrill
fac3e5ee29 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/threadqextractwithproxy.c: Conditionalize code that is only
	required in multiprocessing configuration.
2007-12-17 18:13:50 +00:00
Joel Sherrill
901a913b70 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test for sysconf().
	* psxsysconf/.cvsignore, psxsysconf/Makefile.am, psxsysconf/init.c,
	psxsysconf/psxsysconf.scn, psxsysconf/system.h: New files.
2007-12-17 17:57:47 +00:00
Joel Sherrill
dcb6efbd86 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx01/init.c, psx01/psx01.scn: Add more test cases for
	sched_rr_get_interval() and sched_get_priority_max().
2007-12-17 17:39:34 +00:00
Joel Sherrill
2209eecd36 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxenosys/init.c: Fix typo.
2007-12-17 17:16:14 +00:00
Joel Sherrill
0f2aefde75 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/objectget.c: Revert.
2007-12-17 17:15:50 +00:00
Joel Sherrill
a387dd6208 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/timergettime.c: Include rtems/score/timespec.h
2007-12-17 16:20:00 +00:00
Joel Sherrill
feaa007839 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/preinstall.am, posix/include/aio.h, posix/include/devctl.h,
	posix/include/mqueue.h, posix/include/sched.h,
	posix/include/semaphore.h, posix/include/rtems/posix/cancel.h,
	posix/include/rtems/posix/priority.h,
	posix/include/rtems/posix/psignal.h,
	posix/include/rtems/posix/threadsup.h,
	posix/include/rtems/posix/timer.h,
	posix/inline/rtems/posix/priority.inl,
	posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c,
	posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c,
	posix/src/cancel.c, posix/src/cancelrun.c, posix/src/cleanuppop.c,
	posix/src/cleanuppush.c, posix/src/cond.c,
	posix/src/condattrdestroy.c, posix/src/condattrgetpshared.c,
	posix/src/condattrinit.c, posix/src/condattrsetpshared.c,
	posix/src/condbroadcast.c, posix/src/conddefaultattributes.c,
	posix/src/conddestroy.c, posix/src/condinit.c,
	posix/src/condsignal.c, posix/src/condsignalsupp.c,
	posix/src/condwait.c, posix/src/condwaitsupp.c, posix/src/key.c,
	posix/src/keycreate.c, posix/src/keydelete.c,
	posix/src/keygetspecific.c, posix/src/keyrundestructors.c,
	posix/src/keysetspecific.c, posix/src/mqueue.c,
	posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
	posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
	posix/src/mqueuenametoid.c, posix/src/mqueuenotify.c,
	posix/src/mqueueopen.c, posix/src/mqueuereceive.c,
	posix/src/mqueuerecvsupp.c, posix/src/mqueuesend.c,
	posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
	posix/src/mqueueunlink.c, posix/src/mutex.c,
	posix/src/mutexattrdestroy.c, posix/src/mutexattrgetprioceiling.c,
	posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
	posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
	posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
	posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
	posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
	posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
	posix/src/mutextrylock.c, posix/src/mutexunlock.c,
	posix/src/psignal.c, posix/src/psignalchecksignal.c,
	posix/src/psignalclearprocesssignals.c,
	posix/src/psignalclearsignals.c,
	posix/src/psignalsetprocesssignals.c,
	posix/src/psignalunblockthread.c, posix/src/ptimer.c,
	posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c,
	posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c,
	posix/src/semaphore.c, posix/src/semaphoredeletesupp.c,
	posix/src/semaphorenametoid.c, posix/src/semaphorewaitsupp.c,
	posix/src/semclose.c, posix/src/semdestroy.c,
	posix/src/semgetvalue.c, posix/src/seminit.c, posix/src/semopen.c,
	posix/src/sempost.c, posix/src/semtrywait.c, posix/src/semunlink.c,
	posix/src/semwait.c, posix/src/setcancelstate.c,
	posix/src/setcanceltype.c, posix/src/sysconf.c,
	posix/src/testcancel.c: Add missing copyright statements.
2007-12-17 16:19:14 +00:00
Joel Sherrill
0d78cfdba3 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/mainpage.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:56 +00:00
Joel Sherrill
52ca6498e0 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/asm.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:47 +00:00
Joel Sherrill
43b4c7aa51 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/powerpc/registers.h, rtems/score/cpu.h: Sweep to make sure grep
	for COPYRIGHT passes.
2007-12-17 16:12:45 +00:00
Joel Sherrill
a0da07d090 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq.c: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:43 +00:00
Joel Sherrill
7ccdfbb1c3 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/m68k/m68302.h, rtems/m68k/m68360.h: Sweep to make sure grep for
	COPYRIGHT passes.
2007-12-17 16:12:41 +00:00
Joel Sherrill
3575d0c8f3 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/idtr.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:39 +00:00
Joel Sherrill
899b4f62ef 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/tic4x/c4xio.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:38 +00:00
Joel Sherrill
fe8343911c 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, irq.c, rtems/score/cpu_asm.h: Sweep to make sure grep for
	COPYRIGHT passes.
2007-12-17 16:12:37 +00:00
Joel Sherrill
9804c40d4e 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/avr.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:35 +00:00
Joel Sherrill
5ce8a0d4d5 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu_asm.h: Sweep to make sure grep for COPYRIGHT passes.
2007-12-17 16:12:34 +00:00
Joel Sherrill
81be799340 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/tmacros.h: Add new helper for POSIX tests.
2007-12-17 16:08:17 +00:00
Joel Sherrill
eed0b96d20 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Rename psxtimer to psxtimer01 to indicate
	addition of second POSIX Timer test. Add initial version of
	psxtimer02 to cover some conditions missed in psxtimer01. More cases
	left to add.
	* psxtimer01/.cvsignore, psxtimer01/Makefile.am, psxtimer01/psxtimer.c,
	psxtimer01/psxtimer01.scn, psxtimer01/system.h,
	psxtimer02/.cvsignore, psxtimer02/Makefile.am, psxtimer02/psxtimer.c,
	psxtimer02/psxtimer02.scn, psxtimer02/system.h: New files.
	* psxtimer/.cvsignore, psxtimer/Makefile.am, psxtimer/psxtimer.c,
	psxtimer/psxtimer.scn, psxtimer/system.h: Removed.
2007-12-17 16:04:40 +00:00
Joel Sherrill
a6cbc9b869 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/Makefile.am, posix/preinstall.am,
	posix/include/rtems/posix/timer.h, score/src/objectget.c: Split POSIX
	Timer implementation into multiple files. Add obvious error checks
	for NULL parameters. Attempt to reduce include files.
	* posix/src/timercreate.c, posix/src/timerdelete.c,
	posix/src/timergetoverrun.c, posix/src/timergettime.c,
	posix/src/timerinserthelper.c, posix/src/timersettime.c,
	posix/src/timertsr.c: New files.
	* posix/src/ptimer1.c: Removed.
2007-12-17 16:01:42 +00:00
Joel Sherrill
646f6a34f4 Formatting. 2007-12-17 14:00:34 +00:00
Chris Johns
4657943527 2007-12-17 Chris Johns <chrisj@rtems.org>
* libmisc/shell/main_blksync.c, libmisc/shell/main_msdosfmt.c,
	libmisc/shell/main_unmount.c: New.
	* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Add the
	blksync, msdosfmt, and unmount commands.
2007-12-17 07:20:04 +00:00
Ralf Corsepius
e4c0acd5fd Update. 2007-12-17 06:42:56 +00:00
Ralf Corsepius
4156c83052 Remove erronious checkin 2007-12-17 06:39:58 +00:00
Ralf Corsepius
dcb85301de Add _smp_mflags. 2007-12-17 06:11:48 +00:00
Ralf Corsepius
bd10488209 BR: texinfo for binutils > 2.18 2007-12-17 06:11:22 +00:00
Chris Johns
d2a488f7dd 2007-12-17 Chris Johns <chrisj@rtems.org>
* testsuites/samples/fileio/init.c: Change shell_* to
	rtems_shell_*. Add the mount file-system type of msdos.
2007-12-17 00:40:20 +00:00
Chris Johns
ba72882bff 2007-12-17 Chris Johns <chrisj@rtems.org>
* rtems4.8/.cvsignore, rtems4.8/arm/.cvsignore,
	rtems4.8/avr/.cvsignore, rtems4.8/bfin/.cvsignore,
	rtems4.8/h8300/.cvsignore, rtems4.8/i386/.cvsignore,
	rtems4.8/m68k/.cvsignore, rtems4.8/mips/.cvsignore,
	rtems4.8/mipstx39/.cvsignore, rtems4.8/powerpc/.cvsignore,
	rtems4.8/sh/.cvsignore, rtems4.8/sparc/.cvsignore,
	rtems4.8/tic4x/.cvsignore: New.
2007-12-17 00:39:10 +00:00
Chris Johns
fa0533a2df 2007-12-17 Chris Johns <chrisj@rtems.org>
* custom/mcf5235.cfg, custom/mrm332.cfg, custom/pc386.cfg: Split
	the make-exe and make-cxx-exe into bsp-link-c, bsp-link-cxx and
	bsp-post-link make macros. This allow external autotools support.
2007-12-17 00:35:52 +00:00
Chris Johns
2eeb648c35 2007-12-17 Chris Johns <chrisj@rtems.org>
* libnetworking/rtems/tftp.h: Provide a decl to the TFTP file
	system opts table.
	* libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file
	system opts table.
	* libmisc/Makefile.am: Add the mount command and supporting files.
	* libmisc/preinstall.am: Rebuilt.
	* libmisc/shell/cat_file.c, libmisc/shell/cmds.c,
	libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
	libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
	libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
	libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
	libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
	libmisc/shell/main_help.c, libmisc/shell/main_id.c,
	libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
	libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
	libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
	libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
	libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
	libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
	libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
	libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c,
	libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c,
	libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c,
	libmisc/shell/write_file.c: Move all shell_* types, variables and
	functions to rtems_shell_* to avoid namespace clashes with
	applications. The is an RTEMS shell after all.
	* libmisc/shell/shell.h, libmisc/shell/internal.h,
	libmisc/shell/shellconfig.h: Move all shell_* types, variables and
	functions to rtems_shell_* to avoid namespace clashes with
	applications. Add the mount command supporting types.
	* libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c,
	libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c,
	libmisc/shell/main_mount_tftp.c: New.
2007-12-17 00:12:01 +00:00
Ralf Corsepius
e73b4ab0bb 2007-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
2007-12-16 18:13:11 +00:00
Ralf Corsepius
fbce31eea5 Update. 2007-12-16 08:25:36 +00:00
Ralf Corsepius
b72cd6cacc No gdb for the tic4x. 2007-12-16 08:23:46 +00:00
Ralf Corsepius
d6c28599d7 Abandon gdb-6.7. 2007-12-16 08:20:47 +00:00
Ralf Corsepius
2451d88ff3 Abandon gdb-6.6. 2007-12-16 08:20:27 +00:00
Ralf Corsepius
a16841e44d Abandon gdb-6.5. 2007-12-16 08:20:05 +00:00
Ralf Corsepius
440b8e5b11 gdb-6.7.1-rtems4.9-20071216.diff 2007-12-16 08:18:49 +00:00
Ralf Corsepius
69bfa808b5 Remove. 2007-12-16 08:14:07 +00:00
Ralf Corsepius
5d4ad05d8b Add ppc sim stuff. 2007-12-16 08:13:19 +00:00
Ralf Corsepius
fe47a71690 Add _smp_mflags. 2007-12-16 08:06:08 +00:00
Ralf Corsepius
ff22573e7c Remove. 2007-12-16 08:04:54 +00:00
Joel Sherrill
09038441fe 2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.c, startup/bspclean.c, startup/bspstart.c: I give. The code
	is now in conditionally so I can avoid putting it in accidently
	again.
2007-12-14 22:00:59 +00:00
Joel Sherrill
c1f289ed69 2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* acinclude.m4, gen5200/irq/irq.c, gen5200/startup/bspclean.c: Add
	mvme3100.
2007-12-14 21:53:08 +00:00
Joel Sherrill
0e263c91e9 2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, fileio/system.h: Increase stack requested for shell
	task. Turn on stack checking so the report is interesting.
2007-12-14 21:50:55 +00:00
Joel Sherrill
8fdadc839b 2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/cat_file.c,
	libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.h: Rename
	cmd_XXX.c to main_XXX.c. Add cpuuse and stackuse commands.
	* libmisc/shell/main_alias.c, libmisc/shell/main_cat.c,
	libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c,
	libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c,
	libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c,
	libmisc/shell/main_dir.c, libmisc/shell/main_exit.c,
	libmisc/shell/main_help.c, libmisc/shell/main_id.c,
	libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c,
	libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c,
	libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c,
	libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c,
	libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c,
	libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c,
	libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c,
	libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: New files.
	* libmisc/shell/cmd_alias.c, libmisc/shell/cmd_cat.c,
	libmisc/shell/cmd_cd.c, libmisc/shell/cmd_chdir.c,
	libmisc/shell/cmd_chmod.c, libmisc/shell/cmd_chroot.c,
	libmisc/shell/cmd_date.c, libmisc/shell/cmd_dir.c,
	libmisc/shell/cmd_exit.c, libmisc/shell/cmd_help.c,
	libmisc/shell/cmd_id.c, libmisc/shell/cmd_logoff.c,
	libmisc/shell/cmd_ls.c, libmisc/shell/cmd_mallocdump.c,
	libmisc/shell/cmd_mdump.c, libmisc/shell/cmd_medit.c,
	libmisc/shell/cmd_mfill.c, libmisc/shell/cmd_mkdir.c,
	libmisc/shell/cmd_mmove.c, libmisc/shell/cmd_mwdump.c,
	libmisc/shell/cmd_pwd.c, libmisc/shell/cmd_rm.c,
	libmisc/shell/cmd_rmdir.c, libmisc/shell/cmd_tty.c,
	libmisc/shell/cmd_umask.c, libmisc/shell/cmd_whoami.c: Removed.
2007-12-14 21:50:01 +00:00
Till Straumann
a3def3395b 2007-12-14 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, irq/irq.c (removed), irq/irq_init.c:
	Use shared exception/interrupt support from
	libcpu/new-exceptions/bspsupport. NOTE: CHANGES MUST BE
	TESTED ON REAL HARDWARE.
2007-12-14 21:15:08 +00:00
Joel Sherrill
c933967b9d 2007-12-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am: _Thread_Rotate_ready_queue is only used by ITRON
	API.
2007-12-14 19:18:34 +00:00
Joel Sherrill
fbea3dfbb1 2007-12-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtmonuse/init.c, rtmonuse/task1.c: Add period which is unused to
	exericise another path in the period statistics code.
2007-12-14 17:46:08 +00:00
Joel Sherrill
6bc19a148a 2007-12-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen07.c, sp09/sp09.scn: Add test for
	rtems_message_queue_broadcast for bad buffer and count pointers.
	* sp30/init.c, sp30/sp30.scn: Add test for initiating timer server
	with bad priority or initiating twice.
	* sp37/sp37.scn, sp37/system.h: Add test for rtems_clock_tick when
	it forces a dispatch.
	* sp37/init.c: New file.
2007-12-14 17:44:15 +00:00
Joel Sherrill
115fb761dc 2007-12-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/sleep.c, posix/src/usleep.c: Add copyright header.
	* rtems/src/ratemonreportstatistics.c, rtems/src/timerserver.c:
	Minor cleanup to improve testability and eliminate dead code.
2007-12-14 17:37:12 +00:00
Till Straumann
6315a29c07 2007-12-14 Till Straumann <strauman@slac.stanford.edu>
* custom/mvme3100.cfg: Added; new BSP.
2007-12-14 07:00:10 +00:00
Till Straumann
90f9aade98 2007-12-14 Till Straumann <strauman@slac.stanford.edu>
* custom/mvme3100.cfg: Added; new BSP.
2007-12-14 06:51:55 +00:00
Till Straumann
3563d3287c 2007-12-13 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: use preload.S, vectors_entry.S from shared
	area.
2007-12-14 06:36:26 +00:00
Till Straumann
9c28d47375 This commit was generated by cvs2svn to compensate for changes in r16586,
which included commits to RCS files with non-trunk default branches.
2007-12-14 06:30:15 +00:00
Till Straumann
b599faa1bb - imported MVME3100 BSP (from SLAC repository) 2007-12-14 06:30:15 +00:00
Chris Johns
30088aac5b 2007-12-12 Chris Johns <chrisj@rtems.org>
* libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
	Add RTEMS license details.
2007-12-14 06:02:42 +00:00
Chris Johns
3c68c6c8b7 2007-12-12 Chris Johns <chrisj@rtems.org>
* Makefile.am, preinstall.am: Added
	libblock/include/rtems/flashdisk.h to the installed header list.
	* libblock/Makefile.am: Add flashdisk.c to the files to build.
	* libblock/include/rtems/flashdisk.h, libblock/src/flashdisk.c:
	New.
2007-12-14 04:58:04 +00:00
Chris Johns
f3bf21f2cf 2007-12-14 Chris Johns <chrisj@rtems.org>
* wrapup/Makefile.am: Add libflash.a to the libbsp library.
	* libchip/Makefile.am, libchip/preinstall.am: Add the flash chip support.
	* libchip/flash, libchip/flash/am29lv160.c,
	libchip/flash/am29lv160.h: New.
2007-12-14 04:54:57 +00:00
Chris Johns
2199d748f5 2007-12-14 Chris Johns <chrisj@rtems.org>
* gdb-init: Add the show-exception.
2007-12-14 04:52:24 +00:00
Joel Sherrill
dcdaba216a 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add new tests for interrupt disable,
	enable, flash, and is in progress. These are normally inlines but
	also have bodies for non-C code. This test also exercises the odd
	case of calling clock tick from outside an ISR.
	* sp37/.cvsignore, sp37/Makefile.am, sp37/sp37.scn, sp37/system.h: New files.
2007-12-13 22:41:52 +00:00
Joel Sherrill
9c691efcf4 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp07/init.c, sp07/sp07.scn, sp07/task1.c: Add tests for
	using notepad with the current task's ID or SELF
	* sp09/screen02.c, sp09/screen04.c, sp09/sp09.scn: Add
	test missing test cases for clock_get.
2007-12-13 21:45:23 +00:00
Joel Sherrill
cdc79843ff 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx01/init.c, psx01/psx01.scn: Add usleep() test.
2007-12-13 18:00:41 +00:00
Joel Sherrill
bcf4cbb589 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, posix/preinstall.am, rtems/Makefile.am,
	rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
	score/Makefile.am, score/preinstall.am: Revert testing patch.
2007-12-13 17:00:38 +00:00
Joel Sherrill
8fe6d53300 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/sched_rr_get_interval.c: Fix warning.
2007-12-13 16:56:37 +00:00
Joel Sherrill
8728969392 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: New test to cover all RTEMS POSIX
	functions that return ENOSYS.
	* psxenosys/.cvsignore, psxenosys/Makefile.am, psxenosys/init.c,
	psxenosys/psxenosys.scn, psxenosys/system.h: New files.
2007-12-13 16:56:21 +00:00
Joel Sherrill
fbfb59262d 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/Makefile.am, posix/src/clockgetcpuclockid.c,
	posix/src/clockgetenableattr.c, posix/src/clockgettime.c,
	posix/src/clocksetenableattr.c, posix/src/clocksettime.c,
	posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c,
	posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c,
	posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c,
	posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c,
	posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c,
	posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split
	files into one function per file.
	* posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c,
	posix/src/aio_read.c, posix/src/aio_return.c,
	posix/src/aio_suspend.c, posix/src/aio_write.c,
	posix/src/lio_listio.c, posix/src/sched_getparam.c,
	posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c,
	posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c,
	posix/src/sched_setparam.c, posix/src/sched_setscheduler.c,
	posix/src/sched_yield.c: New files.
	* posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.
2007-12-13 16:52:21 +00:00
Joel Sherrill
8d8daef461 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, posix/preinstall.am, posix/src/aio.c,
	posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c,
	posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
	posix/src/clocksettime.c, posix/src/devctl.c,
	posix/src/pthreadcreate.c, posix/src/pthreadgetcpuclockid.c,
	posix/src/types.c, rtems/preinstall.am, sapi/Makefile.am,
	sapi/preinstall.am, score/Makefile.am, score/preinstall.am: Eliminate
	POSIX_NOT_IMPLEMENTED(). Return ENOSYS instead.
2007-12-13 15:45:43 +00:00
Joel Sherrill
75b571311a 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* psx13/test.c: Fix spelling error.
2007-12-13 14:51:22 +00:00
Joel Sherrill
a023333d10 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxtime/test.c: Add tests for adjtime().
2007-12-13 14:46:37 +00:00
Joel Sherrill
5f73d072d8 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/adjtime.c: Clean up and verify against behavior documented
	in GNU/Linux man page provided with Fedora 7.
2007-12-13 14:39:27 +00:00
Joel Sherrill
16e0ba0f8d 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the
	automake variables.
2007-12-12 23:20:41 +00:00
Joel Sherrill
98dee44ba8 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h,
	rtems/src/tasks.c, rtems/src/taskvariableadd.c,
	rtems/src/taskvariabledelete.c: Add test code for task variables to
	improve coverage.
	* rtems/src/taskvariable_invoke_dtor.c: New file.
2007-12-12 23:19:57 +00:00
Joel Sherrill
f446e6d0f2 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp28/init.c: Add test code for task variables to improve coverage.
2007-12-12 23:18:05 +00:00
Joel Sherrill
9202c24e3e 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add some primitive testing of realloc() which also
	does some positive path testing on the SuperCore heap.
2007-12-12 23:10:48 +00:00
Joel Sherrill
189d35652c 2007-12-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/preinstall.am: Revert debug patch.
2007-12-12 17:23:36 +00:00
Joel Sherrill
5e74ec1f5e 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/shell/cmd_ls.c: Add include of <sys/stat.h> needed for UNIX
	BSP.
2007-12-12 17:16:04 +00:00
Joel Sherrill
a70ec6cb9c 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Links and runs again.
	* console/console-io.c: New file.
2007-12-12 17:08:20 +00:00
Joel Sherrill
20cdfd4f17 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libgnat/Makefile.am: Handle POSIX being disabled correctly.
2007-12-12 14:54:42 +00:00
Joel Sherrill
55289c7d53 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am: Only used by ITRON so do not build if ITRON is
	disabled.
2007-12-12 14:22:08 +00:00
Joel Sherrill
8f8d865aa2 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Update to 4.9.
2007-12-12 14:21:32 +00:00
Chris Johns
06bd7c74b1 2007-12-12 Chris Johns <chrisj@rtems.org>
* Makefile.am: Added libmisc/shell/shellconfig.h to the installed
	header list.
	* libmisc/shell/shell_cmdset.c: Let the Initial command add occur
	in any order rather than before any commands have been added. Also
	made the command's strings be copies rather than references.
	* sapi/src/ioregisterdriver.c: Return the I/O initialise calls result.
2007-12-12 10:10:38 +00:00
Till Straumann
0296f51827 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, irq/irq.c, irq/irq.h, irq/irq_init.c:
	use new exception/irq support from
	libcpu/powerpc/new-exceptions/bspsupport
	rather than borrowing from ../shared/vectors ../shared/irq
2007-12-12 01:16:34 +00:00
Till Straumann
85982c6846 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: don't normally build-in test code
	(ppc_exc_test.c).
2007-12-12 01:13:29 +00:00
Till Straumann
aea55715cd 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, new-exceptions/bspsupport/README:
	provide new irq_bspsupport.rel which was
	split out of exc_bspsupport.rel to provide finer-grained
	control over what BSPs want to use.
2007-12-12 00:48:54 +00:00
Till Straumann
8d2487fd60 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: enable/disable
	irq at PIC if an initial handler is present/absent
	(reproduce traditional semantics).
2007-12-12 00:47:49 +00:00
Till Straumann
7988f8e8a6 2007-12-11 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: use new irq_bspsupport.rel which was
	split out of exc_bspsupport.rel to provide finer-grained
	control over what BSPs want to use.
2007-12-12 00:36:11 +00:00
Joel Sherrill
db27544606 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
	Move Ada support code that is untestable from the Standard RTEMS Test
	Suite into its own directory. All code in score, posix, rtems, and
	sapi should be testable by the Standard RTEMS Test Suites. It was
	buried under POSIX before so this should be a clearer location
	anyway.
	* libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
	libgnat/adasupp.c: New files.
	* posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2007-12-12 00:15:54 +00:00
Joel Sherrill
b21d4f78ed 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
	Reverse file contents.
2007-12-11 23:43:26 +00:00
Joel Sherrill
5c5d438602 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Style.
2007-12-11 23:42:15 +00:00
Joel Sherrill
c922ec6c65 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* thumb_isr.c: Style.
2007-12-11 23:03:29 +00:00
Joel Sherrill
1c62f16987 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Temporarily use C implementation of swap u32 for
	thumb mode.
2007-12-11 22:54:18 +00:00
Joel Sherrill
6710d81319 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c: Fix idle task prototype.
2007-12-11 22:09:30 +00:00
Joel Sherrill
2088669c11 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, timer/timer.c: Fix typos in previous commit
	uncovered by MP build.
2007-12-11 21:53:35 +00:00
Joel Sherrill
4c081a041f 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: Add RTEMS Shell configuration and static configuration
	of user commands.
2007-12-11 21:33:31 +00:00
Joel Sherrill
c748231a9b 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/rtems/config.h: Correct idle task prototype.
2007-12-11 21:29:58 +00:00
Joel Sherrill
cf240382a4 * startup/bspclean.c: Revert patch with test code. 2007-12-11 21:29:09 +00:00
Joel Sherrill
814d95887d 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/shell/cmd_help.c, libmisc/shell/cmds.c,
	libmisc/shell/internal.h, libmisc/shell/shell.c,
	libmisc/shell/shell.h, libmisc/shell/shellconfig.h: Command set
	processing now separated from main command loop. Addition of user
	commands and aliases tested. Monitor registration now explicit.
	* libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c,
	libmisc/shell/write_file.c: New files.
2007-12-11 19:20:16 +00:00
Joel Sherrill
1383eca6d2 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp21/task1.c: Eliminate copies of the Configuration Table. Use the
	RTEMS provided accessor macros to obtain configuration fields.
2007-12-11 15:51:54 +00:00
Joel Sherrill
c52d534512 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_howto/clock.t, bsp_howto/init.t: Eliminate copies of the
	Configuration Table. Use the RTEMS provided accessor macros to obtain
	configuration fields.
2007-12-11 15:51:35 +00:00
Joel Sherrill
4e9893b19a 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c, bsplibc.c: Eliminate copies of the Configuration Table.
	Use the RTEMS provided accessor macros to obtain configuration
	fields.
2007-12-11 15:50:53 +00:00
Joel Sherrill
9cf283a602 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Eliminate copies of the Configuration Table. Use the
	RTEMS provided accessor macros to obtain configuration fields.
2007-12-11 15:50:38 +00:00
Joel Sherrill
4130d8e2e2 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c: Eliminate copies of the
	Configuration Table. Use the RTEMS provided accessor macros to obtain
	configuration fields.
2007-12-11 15:50:25 +00:00
Joel Sherrill
f1c53e8e71 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clockdrv.c, include/bsp.h, startup/bspstart.c: Eliminate copies
	of the Configuration Table. Use the RTEMS provided accessor macros to
	obtain configuration fields.
2007-12-11 15:50:22 +00:00
Joel Sherrill
bdb600591a 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/clock/clockdrv.c: Eliminate copies of the Configuration Table.
	Use the RTEMS provided accessor macros to obtain configuration
	fields.
2007-12-11 15:50:13 +00:00
Joel Sherrill
a3ca595f1a 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, include/bsp.h, startup/bspstart.c: Eliminate copies of
	the Configuration Table. Use the RTEMS provided accessor macros to
	obtain configuration fields.
2007-12-11 15:50:04 +00:00
Joel Sherrill
12bd47efc0 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate copies
	of the Configuration Table. Use the RTEMS provided accessor macros to
	obtain configuration fields.
2007-12-11 15:49:53 +00:00
Joel Sherrill
cba8eabd23 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/m68kpretaskinghook.c: Eliminate copies of the Configuration
	Table. Use the RTEMS provided accessor macros to obtain configuration
	fields.
2007-12-11 15:49:39 +00:00
Joel Sherrill
040b74f020 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* README, clock/ckinit.c, include/bsp.h, startup/bspstart.c: Eliminate
	copies of the Configuration Table. Use the RTEMS provided accessor
	macros to obtain configuration fields.
2007-12-11 15:49:10 +00:00
Joel Sherrill
94beb19881 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/irq.c: Revert accidentally committed test code.
2007-12-11 15:47:35 +00:00
Joel Sherrill
4b39acf19a 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Eliminate
	copies of the Configuration Table. Use the RTEMS provided accessor
	macros to obtain configuration fields.
2007-12-11 15:46:56 +00:00
Joel Sherrill
d11d1d2aa8 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* README, include/bsp.h, startup/bspstart.c: Eliminate copies of the
	Configuration Table. Use the RTEMS provided accessor macros to obtain
	configuration fields.
2007-12-11 15:46:53 +00:00
Joel Sherrill
f6821c3efb 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_specs, include/bsp.h, startup/bspstart.c: Eliminate copies of the
	Configuration Table. Use the RTEMS provided accessor macros to obtain
	configuration fields.
2007-12-11 15:46:47 +00:00
Joel Sherrill
ed5ba1c9e2 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c, startup/bspstart.c.nocache:
	Eliminate copies of the Configuration Table. Use the RTEMS provided
	accessor macros to obtain configuration fields.
2007-12-11 15:46:39 +00:00
Joel Sherrill
5023c87431 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_specs, clock/clock.c, include/bsp.h, irq/irq.c,
	startup/bspclean.c, startup/bspstart.c: Eliminate copies of the
	Configuration Table. Use the RTEMS provided accessor macros to obtain
	configuration fields.
2007-12-11 15:46:33 +00:00
Joel Sherrill
7f6bb8cdb1 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c: Eliminate copies of the Configuration Table. Use
	the RTEMS provided accessor macros to obtain configuration fields.
2007-12-11 15:46:21 +00:00
Joel Sherrill
2d2586780c 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c, include/bsp.h: Eliminate copies of the Configuration
	Table. Use the RTEMS provided accessor macros to obtain configuration
	fields.
2007-12-11 15:46:18 +00:00
Joel Sherrill
200748bfa0 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, include/bsp.h, startup/bspstart.c,
	startup/rtems-ctor.cc: Eliminate copies of the Configuration Table.
	Use the RTEMS provided accessor macros to obtain configuration
	fields.
2007-12-11 15:46:10 +00:00
Joel Sherrill
35f1d89dbe 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* at91rm9200/clock/clock.c, lpc22xx/clock/clockdrv.c,
	mc9328mxl/clock/clockdrv.c, s3c2400/clock/clockdrv.c: Eliminate
	copies of the Configuration Table. Use the RTEMS provided accessor
	macros to obtain configuration fields.
2007-12-11 15:46:05 +00:00
Joel Sherrill
0f9ecc4ecf 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* mcf5206/clock/ckinit.c, mcf5272/clock/ckinit.c: Eliminate copies of
	the Configuration Table. Use the RTEMS provided accessor macros to
	obtain configuration fields.
2007-12-11 15:45:54 +00:00
Joel Sherrill
36a8a2d57a 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Change 4.8 to 4.9.
2007-12-11 15:44:01 +00:00
Joel Sherrill
c62cad974c 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am: Fix typo.
2007-12-11 15:06:40 +00:00
Till Straumann
c9f79e6da6 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, start/preload.S: moved preload.S
	to ../shared/start.
2007-12-11 07:49:00 +00:00
Till Straumann
8566824c03 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c:
	renamed ASM_BOOKE_PIT_VECTOR to ASM_BOOKE_DEC_VECTOR
	to be closer to 'official' nomenclature.
2007-12-11 07:37:00 +00:00
Till Straumann
2898f8a98f 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S, shared/vectors/vectors.h:
	renamed ASM_BOOKE_PIT_VECTOR to ASM_BOOKE_DEC_VECTOR
	to be closer to 'official' nomenclature.
2007-12-11 07:35:40 +00:00
Till Straumann
855012618c 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/e500_raw_exc_init.c: map DEC
	exception to ASM_BOOKE_DEC_VECTOR instead of ASM_DEC_VECTOR.

	Fixed wrong mapping of ASM_BOOKE_FIT_VECTOR
	(was ASM_BOOKE_PIT_VECTOR).
2007-12-11 07:34:10 +00:00
Till Straumann
d436f8c83d 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/vectors_init.c: beautification.
2007-12-11 07:32:10 +00:00
Till Straumann
4dd7d3d268 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new_exceptions/raw_exception.h,
	new_exceptions/bspsupport/irq.c: renamed ASM_BOOKE_PIT_VECTOR
	to ASM_BOOKE_DEC_VECTOR to be closer to 'official'
	nomenclature.
2007-12-11 07:30:52 +00:00
Till Straumann
ccd92869b8 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/openpic/openpic.c: fixed wrong register
	address in openpic_gettimer().
2007-12-11 06:37:19 +00:00
Till Straumann
b8982b581b 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_test.c: fixed
	wrong type in argument (signed vs. unsigned)
	compiler warning.
2007-12-11 06:35:54 +00:00
Till Straumann
a50260e8b0 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/motorola/vpd.c, shared/motorola/vpd.h:
	added code (originally developed for 'beatnik')
	to read MotLoad VPD data from i2c eeprom.
2007-12-11 06:20:53 +00:00
Till Straumann
3aff05fbd3 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/vectors/README.deprecated, shared/irq/README.deprecated:
	added READMEs stating that certain files should not be
	copy/paste/modified when creating new BSPs. New BSPs
	are encouraged to use the new library under
	libcpu/powerpc/new-exceptions/bspsupport.
2007-12-11 05:38:44 +00:00
Till Straumann
83d44561a5 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: use shared exception/interrupt support
	from libcpu/powerpc/new-exceptions/bspsupport rather
	than ../shared/vectors , ../shared/irq

2007-12-10	Till Straumann <strauman@slac.stanford.edu>

	* shared/vectors/vectors_entry.S, motorola_powerpc/bsp_specs,
	shared/start/vectors_entry.S: moved vectors_entry.S to
	'start' subdir and made a start file rather than
	element of vectors.rel (it should always be linked but
	won't if it is the sole member of vectors.rel).
2007-12-11 05:33:15 +00:00
Till Straumann
02e6826b75 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* shared/vectors/vectors_entry.S, motorola_powerpc/bsp_specs,
	shared/start/vectors_entry.S: moved vectors_entry.S to
	'start' subdir and made a start file rather than
	element of vectors.rel (it should always be linked but
	won't if it is the sole member of vectors.rel).
2007-12-11 05:31:02 +00:00
Till Straumann
e1c30baf32 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: build new-exceptions/bspsupport for
	non-mpc5xx, new-exception CPUs.
2007-12-11 05:26:28 +00:00
Till Straumann
1e55619882 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, irq/irq_init.c: use vector/interrupt
	support from libcpu/powerpc/new-exceptions/bspsupport.
2007-12-11 05:22:57 +00:00
Till Straumann
bbb50590b2 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/nested_irq_test.c: adjusted
	wrong irq name/number calculation.
2007-12-11 05:21:12 +00:00
Till Straumann
f328b69076 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_hdl.c: make sure
	RI is set in the exception frame and panic if it isn't
	(state info might have been lost). This only affects
	classic PPC.
2007-12-11 05:19:55 +00:00
Till Straumann
59a4066e01 2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/README,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h
	new-exceptions/bspsupport/vectors_init.c:
	added crude test to make sure MMU maps memory as
	write-back enabled.
2007-12-11 05:18:06 +00:00
Ralf Corsepius
7c86d66b78 2007-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* base.h: Remove Lines, Verbose, EXTERN.
	* menu2.c: Add Lines, Verbose. Remove EXTERN.
2007-12-11 04:12:34 +00:00
Ralf Corsepius
f49c75e3bb 2007-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* base.h: Remove BlankAsWarnings.
2007-12-11 04:06:54 +00:00
Ralf Corsepius
29b6b8b7a5 2007-12-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* base.h: Remove NumberOf*.
2007-12-11 04:05:02 +00:00
Joel Sherrill
4e5299ffc4 2007-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, preinstall.am, libmisc/Makefile.am, libmisc/shell/cmds.c,
	libmisc/shell/shell.c, libmisc/shell/shell.h: Split shell commands
	into multiple files and add initial stages of command configuration.
	This seems to work but the monitor commands need to be integrated
	this way and the ability to configure user commands needs to be
	tested.
	* libmisc/shell/cat_file.c, libmisc/shell/cmd_alias.c,
	libmisc/shell/cmd_cat.c, libmisc/shell/cmd_cd.c,
	libmisc/shell/cmd_chdir.c, libmisc/shell/cmd_chmod.c,
	libmisc/shell/cmd_chroot.c, libmisc/shell/cmd_date.c,
	libmisc/shell/cmd_dir.c, libmisc/shell/cmd_exit.c,
	libmisc/shell/cmd_help.c, libmisc/shell/cmd_id.c,
	libmisc/shell/cmd_logoff.c, libmisc/shell/cmd_ls.c,
	libmisc/shell/cmd_mallocdump.c, libmisc/shell/cmd_mdump.c,
	libmisc/shell/cmd_medit.c, libmisc/shell/cmd_mfill.c,
	libmisc/shell/cmd_mkdir.c, libmisc/shell/cmd_mmove.c,
	libmisc/shell/cmd_mwdump.c, libmisc/shell/cmd_pwd.c,
	libmisc/shell/cmd_rm.c, libmisc/shell/cmd_rmdir.c,
	libmisc/shell/cmd_tty.c, libmisc/shell/cmd_umask.c,
	libmisc/shell/cmd_whoami.c, libmisc/shell/internal.h,
	libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h,
	libmisc/shell/str2int.c: New files.
2007-12-10 23:14:35 +00:00
Joel Sherrill
de434b0234 2007-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Fix Doxygen.
2007-12-10 23:13:28 +00:00
Joel Sherrill
c28004fdf8 2007-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/config.h: Fix idle thread prototype.
2007-12-10 17:51:58 +00:00
Till Straumann
bf5742a630 2007-12-09 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_test.c,
	new-exceptions/bspsupport/vectors_init.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/README,
	new-exceptions/bspsupport/irq_supp.h:
	Added README and some comments; now use TRAP exception
	in ppc_exc_test.c so that it works on PSIM.
2007-12-10 07:06:53 +00:00
Till Straumann
9b4c770e88 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: merged shared/vme/vme_universe.c and
	shared/vme/vme_universe_dma.c into one file.
	Added support for Tsi148 driver (DMA).
2007-12-10 01:54:38 +00:00
Till Straumann
2398f74c22 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: fixed wrong initialization
	routine when using Tsi148 driver.
2007-12-09 07:17:16 +00:00
Till Straumann
863b0ceff3 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: must set DMA ops pointer
	during init.
2007-12-09 06:51:50 +00:00
Till Straumann
8388ea7629 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: merged shared/vme/vme_universe.c and
	shared/vme/vme_universe_dma.c into one file.
	Added support for Tsi148 driver (DMA).
2007-12-09 06:44:51 +00:00
Till Straumann
79262a320a 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: merged shared/vme/vme_universe.c and
	shared/vme/vme_universe_dma.c into one file.
2007-12-09 06:42:14 +00:00
Till Straumann
54fdd8b0ff 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vme_universe.c: had erroneously deleted
	#define __INSIDE_RTEMS_BSP__
2007-12-09 06:17:54 +00:00
Till Straumann
ae93b29af7 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* vme/VMEConfig.h: added error status to
	BSP_VME_UNIVERSE_INSTALL_IRQ_MGR(err) macro.
2007-12-09 05:54:19 +00:00
Till Straumann
b83b70ae60 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/VMEConfig.h, shared/vme/vme_universe.c:
	added support for Tsi148 bridge; BSP can define which
	bridge driver to use from VMEConfig.h.
	Added 'err' macro parameter to BSP_VME_INSTALL_IRQ_MGR(err)
	macro so that an error status can be passed back.
2007-12-09 05:51:10 +00:00
Till Straumann
869af180c3 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* irq_supp.h: was moved from libbsp/powerpc/shared/irq to
	libcpu/powerpc/new-exceptions/bspsupport.
2007-12-09 00:17:38 +00:00
Till Straumann
7223038e1f 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: irq_supp.h was moved from shared/irq to
	libcpu/powerpc/new-exceptions/bspsupport.
2007-12-09 00:14:49 +00:00
Till Straumann
b672bca70b 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* irq_supp.h: was moved from shared/irq to
	libcpu/powerpc/new-exceptions/bspsupport.
2007-12-09 00:14:06 +00:00
Till Straumann
f73c6285c1 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c:
	fixed some mismatching signed/unsigned types.
2007-12-09 00:00:08 +00:00
Till Straumann
94e1931c5b 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/, new-exceptions/bspsupport/ppc_exc.S,
	new-exceptions/bspsupport/ppc_exc_test.c,
	new-exceptions/bspsupport/vectors.h,
	new-exceptions/bspsupport/vectors_init.c,
	new-exceptions/bspsupport/irq.c,
	new-exceptions/bspsupport/ppc_exc_bspsupp.h,
	new-exceptions/bspsupport/ppc_exc_hdl.c,
	new-exceptions/bspsupport/ppc_exc_asm_macros.h,
	new-exceptions/bspsupport/nested_irq_test.c:
	New files. Added 'middleware' code for helping BSPs implement
	exception and interrupt handling and implementing the 'new'
	RTEMS IRQ API (which I personally dislike).
2007-12-08 23:43:24 +00:00
Till Straumann
4be2812f5b 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/e500_raw_exc_init.c, new-exceptions/raw_exception.c,
	shared/include/cpuIdent.c, shared/include/cpuIdent.h:
	Added different kinds of 'bookE' to the ppc_cpu_is_bookE feature
	check; unfortunately...
2007-12-08 22:46:59 +00:00
Till Straumann
a9e62c242f 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
* ep1a/irq/irq.c, gen5200/irq/irq.c, gen83xx/irq/irq_init.c,
	mbx8xx/irq/irq.c, mpc8260ads/irq/irq.c, mvme5500/irq/irq.c,
	psim/irq/no_pic.c, score603e/irq/irq.c, shared/irq/irq_supp.h,
	shared/irq/openpic_i8259_irq.c, virtex/irq/irq_init.c:
	let C_dispatch_irq_handler() return zero to indicate to
	low-level exception handling code that the exception
	was handled (not used yet).
2007-12-08 17:26:19 +00:00
Till Straumann
98ff623e62 2007-12-08 Till Straumann <strauman@slac.stanford.edu>
*shared/irq/irq_supp.h: removed cpp test for
	BSP_SHARED_HANDLER_SUPPORT; BSPs using irq_supp.h
	*must* implement shared handlers.
2007-12-08 17:23:55 +00:00
Till Straumann
aeca15c87b 2007-12-03 Till Straumann <strauman@slac.stanford.edu>
* rtems/powerpc/registers.h: added definitions for MSR_CE,
	MSR_DE (bookE).
2007-12-07 21:24:33 +00:00
Till Straumann
7b2cb2234f 2007-12-07 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: must not add e500_raw_exc_init.c to
	xyz_SOURCES for mpc5xx
2007-12-07 18:42:40 +00:00
Joel Sherrill
d875597c46 2007-12-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Separate the concept of configuring the
	interrupt stack size from actually reserving memory for it in the
	RTEMS Workspace.
2007-12-07 17:52:28 +00:00
Till Straumann
2a90ae7522 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/openpic/openpic.c, shared/openpic/openpic.h:
	added routines to set timer period and interupt mask
	and to read current count.
2007-12-07 09:10:55 +00:00
Ralf Corsepius
8272b10998 Remove unused functions. 2007-12-07 02:58:44 +00:00
Ralf Corsepius
edb55fd7d9 2007-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* address.h, address.inl, chain.c, chain.h, system.h:
	Eliminate unsigned8, unsigned16, unsigned32.
	Use size_t, ptrdiff_t, intptr_t for 64bit compliance.
2007-12-07 02:43:06 +00:00
Ralf Corsepius
4616790a31 Eliminate unsigned8, unsigned16, unsigned32. Use size_t, ptrdiff_t, intptr_t for 64bit compliance. 2007-12-07 02:42:58 +00:00
Till Straumann
545ae5ba03 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* virtex/irq/irq_init.c: use new ASM_xxx_VECTOR names.
2007-12-07 01:15:50 +00:00
Joel Sherrill
e7344db98f 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/old-exceptions/cpu.h: Remove extra ifndef.
2007-12-06 23:23:05 +00:00
Joel Sherrill
1ee415b3ee 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/irq_init.c: Add missing vectDesc variable.
2007-12-06 22:04:27 +00:00
Joel Sherrill
68fc9e820f 2007-12-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Expand tabs.
2007-12-06 22:00:34 +00:00
Till Straumann
f6a6970668 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/vectors/vectors_init.c: replaced
	switch ( current_ppc_cpu ) { } check by feature check.
2007-12-06 21:10:25 +00:00
Till Straumann
76a5a3ccaf 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/include/cpuIdent.h, shared/include/cpuIdent.c:
	added feature check for 603 'TLBMISS exception GPRS shadowing'.
2007-12-06 21:03:46 +00:00
Till Straumann
6456706db3 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S, shared/vectors/vectors.S:
	Replaced use of hardcoded PPC_EXC_MSR_BITS by a
	run-time method to determine these bits (use settings
	effective before exception occurred).
	Replaced use of hardcoded ASM_VECTORS_CRITICAL by
	'bsp_raw_vector_is_405_critical' variable.
2007-12-06 19:45:27 +00:00
Till Straumann
eb8420f7f2 2007-12-06 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new-exceptions/raw_exception.h:
	Removed all #ifdef <cpu_flavor>. All exception vectors are now
	always defined.
	Changed implementation of <cpu>_vector_is_valid() from 'case'
	statements to table lookup.
	Replaced 'ASM_VECTORS_CRITICAL' by a variable
	'bsp_raw_vector_is_405_critical' which is set at run-time.
	Removed PPC_MSR_EXC_BITS. The exception handling code
	(libbsp/shared/vectors/vectors.S and ../irq/irq_asm.S) now
	has a run-time check for these bits.
	Both files are now free of #if <cpu_flavor> constructs.
2007-12-06 19:42:47 +00:00
Ralf Corsepius
b2db28d959 2007-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* chain.c: Reflect removal of isr.h.
	* isr.h: Remove.
	* Makefile.am: Remove isr.h.
2007-12-06 17:50:24 +00:00
Joel Sherrill
c2b3e1718f 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* httpd/Makefile.am, httpd/preinstall.am: rtems_webserver.h must be
	installed. It is the initialization interface for both GoAhead and
	Simple HTTPD.
2007-12-06 15:19:08 +00:00
Joel Sherrill
6eaa3f5a13 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/include/grcan_spwrtc.h: Removed.
2007-12-06 14:21:28 +00:00
Till Straumann
694c00cb4e 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, configure.ac, preinstall.am,
	new-exceptions/e500_raw_exc_init.c: Started adding
	support for e500 CPU. Most stuff is borrowed from mpc6xx.
2007-12-06 00:21:07 +00:00
Till Straumann
a52ab9e1fb 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* rtems/powerpc/powerpc.h: added a #ifdef __ppc_generic
	branch. The goal is eventually to make this the starting
	point for cleanup (remove as many branches as possible;
	replace by run-time tests if necessary).
2007-12-06 00:07:21 +00:00
Joel Sherrill
af99a74305 2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h: Correct BSP specific Idle thread support.
2007-12-05 22:26:05 +00:00
Joel Sherrill
9a56628e7b 2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* tmoverhd/testtask.c: Spacing and remove call to obsolete
	rtems_initialize_executive().
2007-12-05 22:24:53 +00:00
Joel Sherrill
9e602b0ad9 2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq_init.c: Spacing.
2007-12-05 22:24:05 +00:00
Joel Sherrill
7302f4c51f 2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* new-exceptions/raw_exception.c: Conditionalize call to
	e500_setup_raw_exceptions() since that is not even in the tree yet.
2007-12-05 21:50:47 +00:00
Joel Sherrill
736503e97c 2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* new-exceptions/raw_exception.c: Conditionalize some BOOKE vectors.
2007-12-05 21:29:41 +00:00
Till Straumann
bc1077489c 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_supp.h: removed stray '*/'. Removed
	inclusion of <stdlib.h> which is unnecessary and broke
	if_dc in an obscure way (due to malloc/free redefinition
	in the networking code).
2007-12-05 19:49:37 +00:00
Joel Sherrill
9166e1ddac 2007-12-05 Daniel Hellstrom <daniel@gaisler.com>
* shared/include/ambapp.h: Sync head and 4.8 branch.
2007-12-05 15:47:16 +00:00
Joel Sherrill
9124a69ee2 2007-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/config.h: Correct previous commit.
2007-12-05 15:04:26 +00:00
Joel Sherrill
1fd33fb41b 2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/rtems/config.h: Commit temporary fix so
	interrupt_stack_size is accessible before RTEMS is initialized.
2007-12-05 14:30:54 +00:00
Till Straumann
464ba4d040 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new-exceptions/raw_exception.h:
	Added typedef for exception classes (classic, critical, ...
	synchronous / asynchronous). ppc_vector_is_valid() now returns
	the appropriate class.
2007-12-05 09:29:03 +00:00
Till Straumann
698c33623e 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S, shared/vectors/vectors.S,
	shared/vectors/vectors.h, shared/vectors/vectors_init.c:
	Converted exception vector names to new ones
	(qualified by <cpu_type> if non-std ppc exceptions).
2007-12-05 08:45:36 +00:00
Till Straumann
b9ce916c29 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* irq/ipic.c, irq/irq_init.c:
	Converted exception vector names to new ones
	(qualified by <cpu_type> if non-std ppc exceptions).
2007-12-05 08:41:51 +00:00
Till Straumann
586c15a5f8 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c, irq_asm.S:
	Converted exception vector names to new ones
	(qualified by <cpu_type> if non-std ppc exceptions).
2007-12-05 08:41:04 +00:00
Till Straumann
0fb0eb034c 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c: made all <cpu>_vector_is_valid()
	subroutines that are called from ppc_vector_is_valid() 'static'.
2007-12-05 08:35:55 +00:00
Till Straumann
7df69c3716 2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new-exceptions/raw_exception.h:
	Qualified all exception vector symbols that are only defined
	#ifdef <cpu_flavor> with <cpu_flavor> in the symbol name.
	If the special flavor __ppc_generic is effective the ALL
	vector symbols are available and ppc_vector_is_valid() works
	for all supported CPUs (run-time check).
	This is work towards a #ifdef <cpu_flavor> free libcpu and
	exception framework.
2007-12-05 08:33:11 +00:00
Till Straumann
1051054f84 2007-12-04 Till Straumann <strauman@slac.stanford.edu>
* export BSP_commandline_string variable.
2007-12-05 06:39:17 +00:00
Till Straumann
1be7c55f75 2007-12-04 Till Straumann <strauman@slac.stanford.edu>
* shared/flash/flash.c: added lazy init of driver
	from BSP_flashWriteFile().
2007-12-05 06:34:10 +00:00
Till Straumann
7e53d09569 2007-12-04 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c: removed unnecessary code (alredy
	done by shared/irq/irq.c).
2007-12-05 06:03:57 +00:00
Joel Sherrill
99f9b868c7 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:22:58 +00:00
Joel Sherrill
c93b6ec4e0 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:22:50 +00:00
Joel Sherrill
d34d8692b6 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
	from CPU Table to Configuration Table. Eliminate CPU Table from all
	ports. Delete references to CPU Table in all forms.
2007-12-04 22:22:26 +00:00
Joel Sherrill
7321ff0df2 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c: Move interrupt_stack_size field from CPU
	Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:22:10 +00:00
Joel Sherrill
cafa2c5d05 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:22:03 +00:00
Joel Sherrill
99856a3360 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h: Move interrupt_stack_size field from CPU
	Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:21:53 +00:00
Joel Sherrill
56ed8f0fa9 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Move
	interrupt_stack_size field from CPU Table to Configuration Table.
	Eliminate CPU Table from all ports. Delete references to CPU Table in
	all forms.
2007-12-04 22:21:51 +00:00
Joel Sherrill
afce764d4c 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h, startup/bspstart.c: Move
	interrupt_stack_size field from CPU Table to Configuration Table.
	Eliminate CPU Table from all ports. Delete references to CPU Table in
	all forms.
2007-12-04 22:21:41 +00:00
Joel Sherrill
2692a2044c 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, include/bsp.h, startup/bspstart.c: Move
	interrupt_stack_size field from CPU Table to Configuration Table.
	Eliminate CPU Table from all ports. Delete references to CPU Table in
	all forms.
2007-12-04 22:21:28 +00:00
Joel Sherrill
077e302091 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:20:57 +00:00
Joel Sherrill
7f3c6cee09 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* amba/amba.c, clock/ckinit.c, console/console.c, include/bsp.h,
	startup/bspstart.c, timer/timer.c: Move interrupt_stack_size field
	from CPU Table to Configuration Table. Eliminate CPU Table from all
	ports. Delete references to CPU Table in all forms.
2007-12-04 22:20:55 +00:00
Joel Sherrill
2804a3e71c 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Move interrupt_stack_size field from
	CPU Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:20:43 +00:00
Joel Sherrill
c8e63e9797 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/cpu.c: Move interrupt_stack_size field
	from CPU Table to Configuration Table. Eliminate CPU Table from all
	ports. Delete references to CPU Table in all forms.
2007-12-04 22:19:55 +00:00
Joel Sherrill
4216c573e3 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/console-generic/console-generic.c, mpc8260/timer/timer.c,
	new-exceptions/cpu.c, old-exceptions/cpu.c: Move interrupt_stack_size
	field from CPU Table to Configuration Table. Eliminate CPU Table from
	all ports. Delete references to CPU Table in all forms.
2007-12-04 22:19:37 +00:00
Joel Sherrill
6aa25dac92 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h, sapi/include/rtems/config.h,
	sapi/include/rtems/init.h, sapi/src/exinit.c,
	score/include/rtems/system.h, score/src/isr.c: Move
	interrupt_stack_size field from CPU Table to Configuration Table.
	Eliminate CPU Table from all ports. Delete references to CPU Table in
	all forms.
2007-12-04 22:19:19 +00:00
Joel Sherrill
ee29de05bc 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
	Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:19:10 +00:00
Joel Sherrill
2906c7a5b4 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
	rtems/score/cpu.h: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:19:05 +00:00
Joel Sherrill
c610850ede 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* tmoverhd/testtask.c: Move interrupt_stack_size field from CPU Table
	to Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:18:39 +00:00
Joel Sherrill
a1f37a0f6e 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Move interrupt_stack_size field from CPU Table to
	Configuration Table. Eliminate CPU Table from all ports. Delete
	references to CPU Table in all forms.
2007-12-04 22:18:35 +00:00
Joel Sherrill
66c50e281a 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu_supplement/arm.t, cpu_supplement/i386.t, cpu_supplement/m68k.t,
	cpu_supplement/mips.t, cpu_supplement/powerpc.t, cpu_supplement/sh.t,
	cpu_supplement/sparc.t, cpu_supplement/tic4x.t, porting/cpuinit.t,
	user/conf.t, user/init.t: Move interrupt_stack_size field from CPU
	Table to Configuration Table. Eliminate CPU Table from all ports.
	Delete references to CPU Table in all forms.
2007-12-04 22:18:30 +00:00
Joel Sherrill
5ca28f6ae6 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb: Add missing semicolon.
2007-12-04 22:16:17 +00:00
Joel Sherrill
e872f07bc8 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Add bsppredriverhook.c.
	* irq/irq.h: Attempt to correct definition of
	BSP_CPM_IRQ_LOWEST_OFFSET.
2007-12-04 21:03:34 +00:00
Thomas Doerfler
7edabafe3c added missing mpc83xx/spi driver 2007-12-04 20:37:06 +00:00
Thomas Doerfler
d4d603604c added missing file 2007-12-04 20:36:31 +00:00
Joel Sherrill
e034b46e4c 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/clock.c: Fix typo.
2007-12-04 17:39:12 +00:00
Joel Sherrill
eb5d942ad5 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen03.c, spsize/size.c: Builds again after CPU Table changes.
2007-12-04 16:03:06 +00:00
Joel Sherrill
113e85123f 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/config.h: Add accessory macros for Configuration
	Table fields merged from CPU Table.
2007-12-04 16:02:40 +00:00
Till Straumann
8dc42d3e8b 2007-12-03 Till Straumann <strauman@slac.stanford.edu>
* rtems/score/cpu.h: Added comment that GDB patch sim/2376
	is needed for reading the time-base with the new (more
	portable) method.
2007-12-03 23:20:30 +00:00
Joel Sherrill
d3b840b869 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/irq.c: Spacing.
2007-12-03 22:39:46 +00:00
Joel Sherrill
2ae35c2b23 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, irq/no_pic.c: Spacing.
2007-12-03 22:37:19 +00:00
Joel Sherrill
b75378abe7 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.c: Spacing.
2007-12-03 22:36:08 +00:00
Joel Sherrill
12eebb497a 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsppredriverhook.c: New file.
2007-12-03 22:27:19 +00:00
Joel Sherrill
8b5d31fa97 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/console-generic/console-generic.c: Moved most of the remaining
	CPU Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:26:53 +00:00
Joel Sherrill
611fc9f904 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Moved most of the remaining CPU Table fields to the
	Configuration Table. This included pretasking_hook, predriver_hook,
	postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:26:42 +00:00
Joel Sherrill
558bc253bc 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
	Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:26:33 +00:00
Joel Sherrill
9265969713 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c: Moved most of the remaining CPU
	Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:26:05 +00:00
Joel Sherrill
faf168fe82 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Moved most of the remaining CPU Table fields to
	the Configuration Table. This included pretasking_hook,
	predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:26:03 +00:00
Joel Sherrill
e13e90cabc 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, startup/bspstart.c: Moved most of the remaining
	CPU Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:25:10 +00:00
Joel Sherrill
fee125b364 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c: Moved most of the remaining CPU Table
	fields to the Configuration Table. This included pretasking_hook,
	predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:24:55 +00:00
Joel Sherrill
b5e7018613 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h, startup/bspstart.c: Moved most of the
	remaining CPU Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:24:44 +00:00
Joel Sherrill
8e1b35fb0d 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Moved most of the remaining CPU Table fields to the
	Configuration Table. This included pretasking_hook, predriver_hook,
	postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:24:40 +00:00
Joel Sherrill
bb341ca161 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Moved most of the
	remaining CPU Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:24:38 +00:00
Joel Sherrill
7486c65fdb 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c: Moved most of the remaining CPU Table fields to
	the Configuration Table. This included pretasking_hook,
	predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:24:11 +00:00
Joel Sherrill
03bfdbb39c 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* amba/amba.c, startup/bspstart.c: Moved most of the remaining CPU
	Table fields to the Configuration Table. This included
	pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:24:07 +00:00
Joel Sherrill
2f1d801fd3 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Moved most of the remaining CPU Table fields to the
	Configuration Table. This included pretasking_hook, predriver_hook,
	postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:24:05 +00:00
Joel Sherrill
976162a69f 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
	posix/preinstall.am, posix/include/rtems/posix/cond.h,
	posix/include/rtems/posix/mqueue.h,
	posix/include/rtems/posix/mutex.h,
	posix/include/rtems/posix/pthread.h,
	posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c,
	posix/src/mutexdestroy.c, posix/src/mutexinit.c,
	posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
	sapi/include/confdefs.h, sapi/include/rtems/config.h,
	sapi/include/rtems/init.h, sapi/include/rtems/sptables.h,
	sapi/src/exinit.c, score/include/rtems/system.h,
	score/include/rtems/score/mpci.h, score/src/mpci.c,
	score/src/thread.c, score/src/threadcreateidle.c,
	score/src/threadstackallocate.c, score/src/threadstackfree.c,
	score/src/wkspace.c: Moved most of the remaining CPU Table fields to
	the Configuration Table. This included pretasking_hook,
	predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:23:13 +00:00
Joel Sherrill
3e06654040 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu_supplement/arm.t, cpu_supplement/i386.t, cpu_supplement/m68k.t,
	cpu_supplement/mips.t, cpu_supplement/powerpc.t, cpu_supplement/sh.t,
	cpu_supplement/sparc.t, cpu_supplement/tic4x.t, user/conf.t: Moved
	most of the remaining CPU Table fields to the Configuration Table.
	This included pretasking_hook, predriver_hook, postdriver_hook,
	idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:23:02 +00:00
Joel Sherrill
4b89ba70ea 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Moved most of the remaining CPU Table fields to
	the Configuration Table. This included pretasking_hook,
	predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
	extra_mpci_receive_server_stack, stack_allocate_hook, and
	stack_free_hook. As a side-effect of this effort some multiprocessing
	code was made conditional and some style clean up occurred.
2007-12-03 22:22:55 +00:00
Joel Sherrill
282048a516 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h: Moved most of
	the remaining CPU Table fields to the Configuration Table. This
	included pretasking_hook, predriver_hook, postdriver_hook, idle_task,
	do_zero_of_workspace, extra_mpci_receive_server_stack,
	stack_allocate_hook, and stack_free_hook. As a side-effect of this
	effort some multiprocessing code was made conditional and some style
	clean up occurred.
2007-12-03 22:22:01 +00:00
Joel Sherrill
bfc9b02386 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/include/cpuIdent.h: Correct conditionals and includes.
2007-12-03 15:45:20 +00:00
Joel Sherrill
1b1aca1fdb 2007-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/irq.c, shared/irq/irq_supp.h: Correct conditionals and
	includes.
2007-12-03 15:44:59 +00:00
Chris Johns
dec8f84375 2007-12-03 Chris Johns <chrisj@rtems.org>
* libmisc/shell/shell.h: Added comments for the parameters to the
	shell_init function.
	* libmisc/shell/shell.c: Only set cflags if tcflags is
	non-zero. This means the shell can use the current cflags settings
	and the application does not need to know the baudrate etc.
	* libmisc/capture/capture.h: Fix the comment.
2007-12-03 02:22:35 +00:00
Chris Johns
7ace3828e5 2007-12-03 Chris Johns <chrisj@rtems.org>
* console/console.c: Set the baud rate for stdin to 19200 when
	opening the console. This is the default rate for the dbug
	monitor.
	* gdb-init: New.
2007-12-03 02:16:25 +00:00
Chris Johns
7b57da65ad 2007-11-29 Chris Johns <chrisj@rtems.org>
* iostream/Makefile.am: Change the executable name so it does not
      create a file which is the same name as the standard header file.
      * iostream/system.h: Need to increase the number of semaphores for
      the libstdc++ runtime.
2007-12-03 02:11:16 +00:00
Till Straumann
d62e807de8 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeUniverse.c, vmeUniverse/vmeTsi148.c:
	silenced compiler warnings caused by type changes
	in byteorder.h (volatile unsigned * -> volatile uint32_t *)
2007-12-02 23:35:56 +00:00
Till Straumann
c10dc130f9 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/i8259.c, shared/irq/irq.h, shared/irq/irq_supp.h,
	shared/irq/openpic_i8259_irq.c: BSP_disable_irq_at_pic(),
	openpic_disable_irq(), BSP_irq_disable_at_i8259s() now return
	0/1 if irq was disabled/enabled prior to disabling.
	irq_supp.h now exports a inline helper routine for scanning
	a list of shared handlers; to be used by PIC drivers.
2007-12-02 21:49:07 +00:00
Till Straumann
daccc4ad33 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* irq/no_pic.c: use new inline routine exported by
	shared/irq/irq_supp.h for scanning the handler list.
2007-12-02 21:43:54 +00:00
Till Straumann
b1a2bbae5d 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c: removed irrelevant comment.
2007-12-02 21:42:41 +00:00
Till Straumann
80d2e60b30 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c: added new args to openpic_init().
	This BSP probably needs them (8245 has an EPIC).
	I would be surprised if the PCI interrupts with the
	old code actually worked...
2007-12-02 21:39:17 +00:00
Till Straumann
d7a2009a63 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* shared/openpic/openpic.c shared/openpic/openpic.h,
	shared/irq/irq_init.c: added more parameters to
	openpic_init() so that more details of the configuration
	can be overridden/set from the BSP. Moved setup of
	the EPIC-specific EOI delay from BSP code into openpic_init()
	using the new 'epic_freq' parameter.
2007-12-02 21:35:49 +00:00
Till Straumann
a3ae58967f 2007-12-02 Till Straumann <strauman@slac.stanford.edu>
* shared/openpic/openpic.c, shared/openpic/openpic.h:
	- eliminated conditional compilation (#ifdef mpc8240)
	  The difference in register-layout between the EPIC
	  and the std. openPIC is handled by an offset parameter
	  which can be set at run-time (initialization) with
	  a new routine 'openpic_set_src_offset()'.
	- allow BSP to define symbol BSP_OPEN_PIC_BIG_ENDIAN
	  which builds the driver for big-endian register access
	  (mpc8540).
	- openpic_disable_irq() now returns the old state so
	  that it can be restored later.
2007-12-02 20:46:00 +00:00
Till Straumann
f2783292a6 2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/openpic_i8259_irq.c:
	- conditionally define 'irq_mask_or_tbl' only if
	  BSP_PCI_ISA_BRIDGE_IRQ is defined.
	- use _ISR_Get_level() / _ISR_Set_level() for re-enabling
	  interrupts rather than messing with MSR directly;
	  these macros:
	    o implement compiler memory barrier
		o will handle multiple levels (e500 'critical' interrupts)
		  if they are ever supported.
	- decrementer irqs are also shareable - added list traversal.
2007-12-01 21:59:20 +00:00
Till Straumann
34fb363561 2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_supp.h: Make sure BSP_SHARED_HANDLER_SUPPORT
	is set. The shared irq manager supports shared interrupts
	(but requires also that the PIC-driver supports them by
	traversing the list of shared handlers).
	Declare C_dispatch_irq_handler() which must be defined
	(like the other routines declared in this header) by the
	PIC-driver.
2007-12-01 21:35:27 +00:00
Till Straumann
2cb549f8dc 2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/clock/p_clock.c: (run-time) check for e500-cpu
	and install different ISR for that type of CPU.
2007-12-01 21:32:49 +00:00
Till Straumann
4f2d5f021b 2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/pci/detect_raven_bridge.c: use ifdef mvme2100
	rather than ifdef mpc824x so that we don't depend on
	compile-time CPU flavor. Eventually, this should become
	a run-time check.
2007-12-01 21:28:37 +00:00
Till Straumann
89a1112966 2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/vectors/vectors.h: Give the BSP_Exception_frame
	struct a name.
2007-12-01 21:25:39 +00:00
Till Straumann
c982f8039a 2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vmeconfig.c: Include <libcpu/bat.h> only
	if the BSP-specific configuration header (VMEConfig.h)
	defines BSP_VME_BAT_IDX so that this file can be used
	on CPUs w/o bats (e500).
2007-12-01 21:23:42 +00:00
Till Straumann
d8eb6c703e 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
2007-12-01 01:38:53 +00:00
Till Straumann
4af7ef3f40 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: removed bsp_exceptions_in_RAM
2007-12-01 01:31:27 +00:00
Till Straumann
ea39487c59 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/raw_exception.c, new-exceptions/raw_exception.h,
	old-exception/cpu.c: define bsp_exceptions_in_RAM variable.
	This is probably only used by the simulator (were else
	can you install something to ROM ??).
2007-12-01 01:26:41 +00:00
Till Straumann
e72dc606b6 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* rtems/score/cpu.h: Wonderful bookE doesn't have mftb/mftbu;
	( CPU_Get_timebase_low() ) they only define the TBRU/TBRL SPRs
	so we use these. Should work on all CPUs.
2007-12-01 00:47:13 +00:00
Till Straumann
bd1cc5f09c 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/bat.c, mpc6xx/mmu/pte121.c: use new
	feature-checks from cpuIdent.h rather than filtering
	CPU types when checking for availability of high BATs
	and an MMU with hardware page-table lookup.
2007-12-01 00:24:25 +00:00
Till Straumann
3fa48eef10 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h:
	added support for bookE/ppc405 style CPUs where the
	decrementer works slightly differently.
2007-12-01 00:22:30 +00:00
Till Straumann
d18d7fe0dd 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/exceptions/raw_exception.c,
	mpc6xx/exceptions/raw_exception.h: removed. mpc6xx
	uses generic version in new-exceptions.
2007-12-01 00:10:35 +00:00
Till Straumann
e955b062fb 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* shared/include/cpuIdent.h, shared/include/cpuIdent.c:
	Added a simple 'feature check' facility. Code should
	not check for a particular CPU type if possible but
	check the respective feature bit (e.g., 'has_altivec').
	This makes it much less cumbersome to add more CPU
	types in the future.
2007-12-01 00:06:00 +00:00
Joel Sherrill
9edf584f3b 2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/GT64260Int.c, network/if_100MHz/Makefile.am,
	network/if_1GHz/Makefile.am: Removed.
2007-11-30 22:59:34 +00:00
Till Straumann
956c9b58ab 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c: Replaced inclusion of
	<bsp/consoleIo.h> by <rtems/bspIo.> (for printk) and
	made it conditional on #ifdef SHOW_MORE_INIT_SETTINGS.
2007-11-30 22:36:07 +00:00
Till Straumann
416ec41d40 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/bspstart.c: Removed excess /*, replaced
	#ifdef checks for mpc8240 by #ifdef mvme2100; eventually
	there should be run-time checks.
2007-11-30 22:33:30 +00:00
Till Straumann
4f38270a98 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* shared/motorola/motorola.c: removed excess initializer
	elements.
2007-11-30 22:27:47 +00:00
Till Straumann
5fe4d471e3 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, irq/irq.c: fixed source-tree path of irq_supp.h,
	fixed type of 1st arg to C_dispatch_irq_handler() which
	is NOT a CPU_Interrupt_frame but a BSP_Exception_frame
	(not that it is ever used but the two layouts differ).
2007-11-30 22:22:48 +00:00
Till Straumann
89994ca64d *** empty log message *** 2007-11-30 22:17:40 +00:00
Till Straumann
a58ff1c3b7 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/no_pic.c: some more changes to let
	using shared/irq/irq.c work.
2007-11-30 22:12:01 +00:00
Joel Sherrill
ebe61382a4 2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
	rtems/src/barriertranslatereturncode.c, rtems/src/barrierwait.c,
	rtems/src/clockget.c, rtems/src/dpmemdelete.c,
	rtems/src/dpmemexternal2internal.c,
	rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
	rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
	rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
	rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
	rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
	rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
	rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
	rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
	rtems/src/ratemontimeout.c, rtems/src/semdelete.c,
	rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
	rtems/src/semtranslatereturncode.c, rtems/src/signalsend.c,
	rtems/src/taskdelete.c, rtems/src/taskgetnote.c,
	rtems/src/taskissuspended.c, rtems/src/taskrestart.c,
	rtems/src/taskresume.c, rtems/src/tasksetnote.c,
	rtems/src/tasksetpriority.c, rtems/src/taskstart.c,
	rtems/src/tasksuspend.c, rtems/src/taskvariableadd.c,
	rtems/src/taskvariabledelete.c, rtems/src/taskvariableget.c,
	rtems/src/timercancel.c, rtems/src/timerdelete.c,
	rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
	rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
	rtems/src/timerserverfirewhen.c: Restructured all code with
	the switch (location) pattern so that OBJECTS_LOCAL is first
	and we can fall into it and the OBJECTS_ERROR case breaks
	to a return RTEMS_INVALID_ID.  This eliminates the return
	RTEMS_INTERNAL_ERROR at the bottom of each of these files which
	was unreachable and untestable code.  This resulted in a code
	savings of approximately 20 bytes per file on the SPARC/ERC32.
2007-11-30 21:49:41 +00:00
Till Straumann
393a1e0584 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, irq/irq.h, irq/no_pic.c: install
	and use new <irq/irq_supp.h> header.
2007-11-30 21:44:17 +00:00
Till Straumann
76e9cda9da 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am: install new <irq/irq_supp.h> header
2007-11-30 21:44:00 +00:00
Till Straumann
2eb9e3995c 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq.h, shared/irq/irq.c, shared/irq/irq_init.c,
	shared/irq/irq_supp.h (added):
	Removed 'is_processor_irq()' from irq.c; the BSP routines
	BSP_enable_irq_at_pic()/BSP_disable_irq_at_pic() are required
	to ignore processor irqs anyways. Removed
	all BSP-defined constants from irq.c. This makes irq.c (almost)
	binary-compatible among BSPs (ultimate goal is making 'shared'
	a library).
	Added a header (irq_supp.h) defining the interface between
	the generic interrupt manager (irq.c) and the routines it
	requires to be supplied by the BSP (eventually, these
	should go into rtems/irq.h).
2007-11-30 21:40:12 +00:00
Till Straumann
d9289680a6 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* vectors/vectors.S: Removed; this BSP now uses the shared
	version.
2007-11-30 20:53:06 +00:00
Glenn Humphrey
340b7c80a4 2007-11-30 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* posix/Makefile.am: Restructed to move the
	OBJECTS_LOCAL case to the top of the switch statement and
	eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
	changes produced simplier assembly code and allowed for complete
	test coverage.  Also applied some consistency to the functions
	that translate the core status codes to POSIX status codes.
2007-11-30 20:50:42 +00:00
Till Straumann
a045c9df20 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq_init.c: Removed the definition
	of ASM_IRQ_VECTOR_BASE; this symbol was only use to
	initialize the irqBase member of the rtems_irq_global_settings
	struct. However, irqBase is an rtems_irq_symbolic_name,
	so using BSP_LOWEST_OFFSET is more appropriate.
2007-11-30 20:45:11 +00:00
Glenn Humphrey
860c34e3a6 2007-11-30 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* posix/include/rtems/posix/mutex.h,
	posix/include/rtems/posix/semaphore.h, posix/src/cancel.c,
	posix/src/conddestroy.c, posix/src/condsignalsupp.c,
	posix/src/condwaitsupp.c, posix/src/keydelete.c,
	posix/src/keygetspecific.c, posix/src/keysetspecific.c,
	posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
	posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
	posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
	posix/src/mqueuetranslatereturncode.c, posix/src/mutexdestroy.c,
	posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
	posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
	posix/src/mutexunlock.c, posix/src/pbarrierdestroy.c,
	posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c,
	posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
	posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c,
	posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c,
	posix/src/prwlockwrlock.c, posix/src/pspindestroy.c,
	posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c,
	posix/src/pspintrylock.c, posix/src/pspinunlock.c,
	posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
	posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
	posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
	posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
	posix/src/semclose.c, posix/src/semdestroy.c,
	posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
	rtems/src/msgqtranslatereturncode.c, rtems/src/semobtain.c,
	rtems/src/timerfireafter.c, score/include/rtems/system.h,
	score/include/rtems/score/corebarrier.h,
	score/include/rtems/score/coremsg.h,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/coresem.h: Restructed to move the
	OBJECTS_LOCAL case to the top of the switch statement and
        eliminate the fall-through return of POSIX_BOTTOM_REACHED.  These
	changes produced simplier assembly code and allowed for complete
	test coverage.  Also applied some consistency to the functions
	that translate the core status codes to POSIX status codes.
	* posix/src/mutextranslatereturncode.c,
	posix/src/semaphoretranslatereturncode.c: New files.
	* posix/src/mutexfromcorestatus.c: Removed.
2007-11-30 20:34:13 +00:00
Till Straumann
8da6d77d10 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq_init.c: Removed the definition
	of ASM_IRQ_VECTOR_BASE; this symbol was only use to
	initialize the irqBase member of the rtems_irq_global_settings
	struct. However, irqBase is an rtems_irq_symbolic_name,
	so using BSP_LOWEST_OFFSET is more appropriate.
2007-11-30 20:28:02 +00:00
Till Straumann
10483cba75 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq.c (removed), irq/no_pic.c (added),
	irq/irq_init.c, Makefile.am: The PSIM BSP (currently)
	has no support for an interrupt controller or interrupts
	other than the decrementer. Removed all definitions for PCI + ISA
	interrupts and all unnecessary code (leftovers from copying).
	Separated PIC-specific bits into 'no_pic.c' which allows us
	to use 'irq.c' (i.e., more code) from 'shared'.
2007-11-30 19:55:46 +00:00
Till Straumann
431bcd7513 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* startup/linkcmds.c, start/start.S: call __eabi() from start.S
	and make sure linkcmds defines _SDA_BASE_ + _SDA2_BASE_ so that
	sysv + eabi are properly supported.
2007-11-30 19:45:40 +00:00
Joel Sherrill
a9c7159574 2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: BSP_DIRTY_MEMORY should be tested for zero not
	just defined.
2007-11-30 18:16:16 +00:00
Joel Sherrill
956286dc20 2007-11-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/inline/rtems/posix/priority.inl: Fix typo.
2007-11-30 17:02:15 +00:00
Joel Sherrill
0da3998706 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>
* shared/include/grspw.h, shared/spw/grspw.c: GRSPW SpaceWire Driver.
	Fixes typecast to volatile integer instead of to integer. Added
	scanning for GRSPW2 Core, The GRSPW2 core is run in legacy mode.
2007-11-30 16:53:21 +00:00
Joel Sherrill
5b42368a5c 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/occan.c: LEON2/3 OCCAN CAN driver. Fixes typecast to
	volatile integer where needed. Fixes bug where closing the driver and
	opening it again could make the driver not starting transmission due
	to the software fifo was not cleared.
2007-11-30 16:52:15 +00:00
Joel Sherrill
6f237224b7 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>
* rasta/rasta.c: LEON2 PCI RASTA driver. Changes RASTA PCI interrupt to
	5 from 4. This is to avoid conflict with the LAN9C111 network MAC
	driver using interrupt 4.
2007-11-30 16:51:00 +00:00
Joel Sherrill
e3481dcd4f 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/grcan.c, shared/can/grcan_rasta.c,
	shared/include/ambapp.h: GRCAN CAN driver. Fixes Interrupt
	enabling/disabling in the driver, interrupt may not be restored
	correctly. Implements the baud rate calculation routine. Removed
	unnecessary printk. Fixed scanning to support GRCAN and GRHCAN
	hardware. Added GRCAN device number to ambapp.h.
2007-11-30 16:48:13 +00:00
Till Straumann
a725a4d71f 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c, Makefile.am: Initialize BATs and enable MMU
	to come closer to what other BSPs do. This allows us to use the
	shared irq_asm.S. No more individual assembly code :-)
2007-11-30 01:23:04 +00:00
Till Straumann
486d6ec686 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h: Added support
	for setting & reading IBATs.
2007-11-30 01:05:08 +00:00
Glenn Humphrey
da8e974a1a 2007-11-29 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* develenv/direct.t, develenv/sample.t: Corrected various errors.
2007-11-29 16:02:42 +00:00
Chris Johns
dd0e6bf6d6 2007-11-29 Chris Johns <chrisj@rtems.org>
* iostream/Makefile.am: Change the executable name so it does not
	create a file which is the same name as the standard header file.
	* iostream/system.h: Need to increase the number of semaphores for
	the libstdc++ runtime.
2007-11-29 06:40:47 +00:00
Joel Sherrill
922183809e 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/src/exinit.c, score/include/rtems/score/object.h,
	score/include/rtems/score/thread.h, score/src/object.c,
	score/src/thread.c: Conditionally compile out more code that is
	specific to multiprocessor configurations.
2007-11-28 22:04:31 +00:00
Joel Sherrill
12ae8a16a5 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* ppc403/clock/clock.c: Now compiles and links.
2007-11-28 22:03:43 +00:00
Joel Sherrill
d046f1ed65 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Now compiles and links.
2007-11-28 22:02:57 +00:00
Joel Sherrill
f09b997d4d 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu_supplement/powerpc.t: Eliminate PowerPC specific elements from
	the CPU Table. They have been replaced with variables named bsp_XXX
	as needed.
2007-11-28 21:46:05 +00:00
Joel Sherrill
641c3bd3bc 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Fix mistake in previous work.
2007-11-28 21:45:45 +00:00
Joel Sherrill
c4cc81993a 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/clock/clock.c, mpc5xx/timer/timer.c, mpc8260/clock/clock.c,
	mpc8260/cpm/brg.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c,
	mpc8xx/console-generic/console-generic.c, mpc8xx/timer/timer.c,
	new-exceptions/raw_exception.c, old-exceptions/cpu.c,
	ppc403/clock/clock.c, ppc403/console/console.c,
	ppc403/console/console.c.polled, ppc403/console/console405.c,
	ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c, ppc403/timer/timer.c,
	ppc403/tty_drv/tty_drv.c: Eliminate PowerPC specific elements from
	the CPU Table. They have been replaced with variables named bsp_XXX
	as needed.
2007-11-28 21:45:06 +00:00
Joel Sherrill
28f398e717 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c: Eliminate PowerPC specific elements from
	the CPU Table. They have been replaced with variables named bsp_XXX
	as needed.
2007-11-28 21:44:49 +00:00
Joel Sherrill
07e9642ce0 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU
	Table. They have been replaced with variables named bsp_XXX as
	needed.
2007-11-28 21:44:46 +00:00
Joel Sherrill
b9f34ad768 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Eliminate PowerPC
	specific elements from the CPU Table. They have been replaced with
	variables named bsp_XXX as needed.
2007-11-28 21:44:35 +00:00
Joel Sherrill
62577f9317 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, startup/bspstart.c: Eliminate PowerPC specific
	elements from the CPU Table. They have been replaced with variables
	named bsp_XXX as needed.
2007-11-28 21:44:29 +00:00
Joel Sherrill
e34ac1f3b8 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
	rtems/score/cpu.h: Eliminate PowerPC specific elements from the CPU
	Table. They have been replaced with variables named bsp_XXX as
	needed.
2007-11-28 21:43:56 +00:00
Joel Sherrill
901ebab4a7 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/mvme5500.cfg: Fix typo.
2007-11-28 21:15:29 +00:00
Till Straumann
54444d5faa 2007-11-28 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache.c: removed redundant mpc8xx versions
	of flush/invalidate 1 cache line routines.
2007-11-28 20:56:21 +00:00
Joel Sherrill
b8596d80e1 2007-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
	posix/src/conddestroy.c, posix/src/condinit.c,
	posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
	posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
	posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
	posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
	posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
	posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
	posix/src/mutexattrgetprioceiling.c,
	posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
	posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
	posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
	posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
	posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
	posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
	posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
	posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
	posix/src/semclose.c, posix/src/semdestroy.c,
	posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
	posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
	Remove all pretense of POSIX MP support. The support in place was
	only a shell. This should make maintenance easier.
	* posix/include/rtems/posix/condmp.h,
	posix/include/rtems/posix/mqueuemp.h,
	posix/include/rtems/posix/mutexmp.h,
	posix/include/rtems/posix/pthreadmp.h,
	posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
	posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2007-11-28 18:35:31 +00:00
Glenn Humphrey
ae10dbd9b6 2007-11-28 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/barrier.t, user/clock.t, user/concepts.t, user/conf.t,
	user/datatypes.t, user/dpmem.t, user/fatal.t, user/init.t, user/mp.t,
	user/msg.t, user/part.t, user/region.t, user/rtmon.t, user/sem.t,
	user/task.t, user/timer.t: Corrected various errors in the
	documentation.
2007-11-28 16:23:59 +00:00
Ralf Corsepius
29925d9971 Regenerate. 2007-11-28 04:25:28 +00:00
Ralf Corsepius
70b2acabef Bump GCC_RPMREL 2007-11-28 04:24:36 +00:00
Ralf Corsepius
e5a29d6c64 Upgrade to gcc-core-4.2.2-rtems4.9-20071127.diff 2007-11-28 04:24:17 +00:00
Ralf Corsepius
7d5855cc80 Remove __GTHREAD_MUTEX_INIT (Patch from Daniel Hellstrom <daniel@gaisler.com>) per Joels request. 2007-11-28 04:18:34 +00:00
Glenn Humphrey
615563906a 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Fixed errors in the barrier binding.
2007-11-27 21:22:44 +00:00
Till Straumann
6c81fcc2a1 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* shared/flash/flash.c, shared/flash/flashPgm.h:
	added calls to obtain info about flash bank start,
	size and block size.
2007-11-27 21:14:26 +00:00
Joel Sherrill
5603b5a6e9 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, score/inline/rtems/score/thread.inl,
	score/src/threaddispatch.c: Add ability for user to disable inlining
	of _Thread_Enable_dispatch. This can save code space but more
	importantly it means the binary generated does not have code inlined
	that is difficult to test and very seldom executed.
2007-11-27 20:51:18 +00:00
Joel Sherrill
248e29af68 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to
	save space.
2007-11-27 20:49:27 +00:00
Joel Sherrill
a48565ce95 2007-11-27 Kate Feng <feng1@bnl.gov>
* custom/mvme5500.cfg: Add compiler arguments sine without them, the
	BSP has issues.
2007-11-27 20:47:09 +00:00
Glenn Humphrey
4650a44c07 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp07/sp07.scn, sp07/task1.c, sp09/screen01.c, sp09/screen05.c,
	sp09/screen07.c, sp09/screen10.c, sp09/screen12.c, sp09/screen14.c,
	sp09/sp09.scn, sp25/sp25.scn, sp25/task1.c: Added several test cases
	to improve test coverage.
2007-11-27 20:44:55 +00:00
Glenn Humphrey
4d7ae31248 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp33/init.c, sp33/sp33.scn: Added several test cases to improve test
	coverage.
2007-11-27 20:42:06 +00:00
Till Straumann
2a444594b7 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, shared/flash, shared/flash/flash.c,
	shared/flash/flashPgm.h, shared/flash/flashPgmPvt.h,
	shared/flash/intelFlash.c, shared/flash/spansionFlash.c:
	Added flash programmer API, implementation and chip drivers
	for some intel + spansion flash chips (as found on mvme5500,
	mvme6100 and mvme3100 boards).
	A more appopriate place would probably be libchip but
	I don't know if the API is acceptable and if the implementation
	is generic enough (e.g., no CFI support) so I leave it here
	for now.
2007-11-27 20:36:22 +00:00
Glenn Humphrey
8c464e2c25 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* psxbarrier01/psxbarrier01.scn, psxbarrier01/test.c,
	psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Added several test
	cases to improve test coverage.
2007-11-27 20:12:12 +00:00
Till Straumann
118df76a8c 2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h:
		added CVS ID.
2007-11-27 19:44:54 +00:00
Joel Sherrill
27394cd059 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* develenv/develenv.texi, develenv/direct.t, develenv/intro.texi,
	develenv/sample.t, develenv/utils.t: Update directory tree.
2007-11-27 19:31:05 +00:00
Joel Sherrill
0da244daf2 Fix. 2007-11-27 18:57:52 +00:00
Glenn Humphrey
1d56a7a8b8 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	rtems/include/rtems/rtems/barrier.h,
	score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
	score/src/corerwlockrelease.c: Fixed several implementation errors.
2007-11-27 18:38:18 +00:00
Glenn Humphrey
5700b804e2 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems/src/regioncreate.c, rtems/src/regiondelete.c,
	rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
	rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
	rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
	case to the top of the switch statement, have a single exit with one
	call to _RTEMS_Unlock_allocator and eliminate the fall-through return
	of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
	code and allowed for complete test coverage.
2007-11-27 17:38:11 +00:00
Joel Sherrill
68fe9f9618 2007-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2007-11-27 15:35:38 +00:00
Joel Sherrill
1c6fa45ac4 2007-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2007-11-27 15:35:26 +00:00
Joel Sherrill
cf7ebcf9b0 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/netinet/in_cksum.c: ARM optimized version does not
	support Thumb.
2007-11-27 15:10:37 +00:00
Joel Sherrill
edcb9827dc 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
	Now works on gen5200/icecube.
2007-11-26 23:10:25 +00:00
Joel Sherrill
fa920f122d 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, startup/bspstart.c: Eliminate the
	clicks_per_microsecond field in the SuperH CPU Table and define
	another mechanism for drivers to obtain this information.
2007-11-26 23:02:17 +00:00
Joel Sherrill
26d47f8e73 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the clicks_per_microsecond field in the
	SuperH CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 23:02:15 +00:00
Joel Sherrill
99f67930c2 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* sh7032/clock/ckinit.c, sh7032/delay/delay.c, sh7032/timer/timer.c,
	sh7045/clock/ckinit.c, sh7045/timer/timer.c, sh7750/clock/ckinit.c,
	sh7750/timer/timer.c: Eliminate the clicks_per_microsecond field in
	the SuperH CPU Table and define another mechanism for drivers to
	obtain this information.
2007-11-26 23:02:03 +00:00
Joel Sherrill
1e2072e423 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
	SuperH CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 23:01:34 +00:00
Joel Sherrill
7d20851af3 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/sh.t: Eliminate the clicks_per_microsecond field in
	the SuperH CPU Table and define another mechanism for drivers to
	obtain this information.
2007-11-26 23:01:25 +00:00
Joel Sherrill
4f6acf4139 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/i386.t, cpu_supplement/m68k.t: Pick up changes missed
	earlier.
2007-11-26 23:00:20 +00:00
Joel Sherrill
b72f579982 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c: Eliminate the clicks_per_microsecond field in the
	MIPS CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 22:58:07 +00:00
Joel Sherrill
219aed6811 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/mips.t: Eliminate the clicks_per_microsecond field in
	the MIPS CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 22:36:41 +00:00
Joel Sherrill
c63f6e2efc 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, startup/bspstart.c: Eliminate the
	clicks_per_microsecond field in the MIPS CPU Table and define another
	mechanism for drivers to obtain this information.
2007-11-26 22:36:18 +00:00
Joel Sherrill
e4d4eb9c54 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
	MIPS CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 22:36:04 +00:00
Joel Sherrill
9d7fa71a51 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/if_fxp.c: Spacing.
2007-11-26 22:25:53 +00:00
Joel Sherrill
4c3d3cdbfd 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Add comment.
2007-11-26 22:09:27 +00:00
Joel Sherrill
dde1eb364f 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/config.c: Fix typo.
2007-11-26 22:08:20 +00:00
Joel Sherrill
6fc48b2cba 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the interrupt_table_segment and
	interrupt_table_offset fields in the i386 CPU Table since they are
	never read.
2007-11-26 22:07:37 +00:00
Joel Sherrill
5e35d353dc 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/i386.t: Eliminate the interrupt_table_segment and
	interrupt_table_offset fields in the i386 CPU Table since they are
	never read.
2007-11-26 22:06:42 +00:00
Joel Sherrill
83199e3caf 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the interrupt_table_segment and
	interrupt_table_offset fields in the i386 CPU Table since they are
	never read.
2007-11-26 22:06:34 +00:00
Joel Sherrill
4bbf6ecbd8 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* shmsupp/getcfg.c: Fix spacing.
2007-11-26 21:52:53 +00:00
Joel Sherrill
bf5ef93d30 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, include/bsp.h: Fix spacing.
2007-11-26 21:52:51 +00:00
Joel Sherrill
4b69980046 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Fix spacing.
2007-11-26 21:28:16 +00:00
Joel Sherrill
bab02abc5e 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/m68k.t: Eliminate the interrupt_vector_table field in
	the m68k CPU Table since it is never read.
2007-11-26 21:26:39 +00:00
Joel Sherrill
1693c131a1 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
	m68k CPU Table since it is never read.
2007-11-26 21:20:33 +00:00
Joel Sherrill
f9f8239628 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the interrupt_vector_table field in the
	m68k CPU Table since it is never read.
2007-11-26 21:19:52 +00:00
Joel Sherrill
b70f0cd981 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2007-11-26 21:13:22 +00:00
Joel Sherrill
85f3b4c1e4 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2007-11-26 21:11:19 +00:00
Joel Sherrill
a3ff693ec2 2007-11-26 Ray Xu <rayx.cn@gmail.com>
* cpu.c, score/cpu.h: Fix headers. Remove extra inline definition.
	* cpu_asm.S: Note origin of Thumb support.
2007-11-26 19:59:17 +00:00
Joel Sherrill
f098bf131d 2007-11-26 Ray Xu <rayx.cn@gmail.com>
* thumb_isr.c: Remove extra debug information, Change function
	definition.
2007-11-26 19:56:21 +00:00
Joel Sherrill
a4ebf1f481 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Filter out Memory exception error messages.
2007-11-26 19:45:16 +00:00
Joel Sherrill
6cd8bbe7d0 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/thread.h: Fix spelling error.
2007-11-26 19:35:33 +00:00
Joel Sherrill
d9b0895dff 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/uart.c: Fix typo and spacing.
2007-11-26 19:33:55 +00:00
Joel Sherrill
1066597789 2007-11-26 Eric Norum <norume@aps.anl.gov>
* network/network.c: Fix LED configuration to match uCDIMM.
2007-11-26 17:48:33 +00:00
Till Straumann
f5dea7005a 2007-11-21 Till Straumann <strauman@slac.stanford.edu>
* shared/console/uart.c: when draining UART during
	initialization (wait for possible printk() activity
	to finish) look at TEMT (fifo, holding-reg and shift-reg)
	rather than THRE (fifo, holding-reg only). This resolved
	some scrambled output issues for me.

	Enhanced semantics: if BSP initializes BSPBaseBaud to a negative
	value then the driver interprets the modulus as a speed value
	and uses the current setting of the divisor to compute the
	clock speed (BSPBaseBaud). This is useful if you have a board
	that you know is initialized e.g., to 9600 but you
	don't know the clock speed.
2007-11-22 06:10:53 +00:00
Chris Johns
cb32666020 2007-11-22 Chris Johns <chrisj@rtems.org>
* m68k/mcf5235/include/mcf5235.h: Remove '/' from define label.
2007-11-22 04:40:41 +00:00
Till Straumann
5a8e5df7d4 2007-11-21 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, motorola_powerpc/Makefile.am,
	* shared/pci/detect_raven_bridge.c, Makefile.am,
	* shared/pci/generic_clear_hberrs.c: separated the generic
	version of _BSP_clear_hostbridge_errors() into its own
	file.
2007-11-21 08:03:30 +00:00
Till Straumann
d371a97e58 2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h:
	Avoid using 'stdio' before the system is up and fully
	initialized.
2007-11-21 06:23:12 +00:00
Till Straumann
d2ff24c22d 2007-11-17 Till Straumann <strauman@slac.stanford.edu>
* libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
	Added checks so that use of 'stdio' is avoided (falling
	back to 'printk') before the system is up.
	Publish driver entry points so that the libi2c driver could
	be added to the applications 'device driver table'.
	This is not fully implemented yet, though, since in addition to
	initializing libi2c the low-level i2c bus drivers as well
	as high-level i2c device drivers need to be registered
	with the library.
	Updated README_libi2c accordingly.
2007-11-21 06:20:49 +00:00
Till Straumann
381a2f18fc 2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h,
	* libchip/Makefile.am, libchip/preinstall.am:
	added new driver for Maxim DS1375 i2c RTC.
2007-11-20 20:16:43 +00:00
Till Straumann
247f83ca46 2007-11-17 Till Straumann <strauman@slac.stanford.edu>
* libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
	(SIOCGIFMEDIA) pass the user parameter down to the ioctl
	so that it knows what PHY they want to look at.
2007-11-17 19:38:08 +00:00
Ralf Corsepius
7ee5947b17 Update. 2007-11-14 13:40:49 +00:00
Ralf Corsepius
568298a6e0 Remove. 2007-11-14 13:39:53 +00:00
Ralf Corsepius
fe1632a8ed Add makeinfo hacks. 2007-11-14 13:38:14 +00:00
Till Straumann
61c98010e6 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* rtems/score/powerpc.h: Added a '__ppc_generic' CPU variant.
	The goal would be making cpukit and hopefully libcpu work
	for all (or at least most) CPUs/BSPs with -D__ppc_generic so
	that eventually all tests [#if defined(<cpu_flavor>)] for CPU
	flavors can be eliminated.
2007-11-14 05:19:59 +00:00
Till Straumann
6ae32a269e 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* rtems/powerpc/registers.h: Added SPR definitions for BookE
	DECAR, TCR, TSR.
2007-11-14 04:26:00 +00:00
Ralf Corsepius
c89a4e4ef3 gcc-core-4.2.2-rtems4.9-20071114.diff. 2007-11-14 03:15:31 +00:00
Ralf Corsepius
8b2620e1e2 Reflect having removed *diffs 2007-11-14 03:12:16 +00:00
Ralf Corsepius
513a419a06 Remove. 2007-11-14 03:08:24 +00:00
Ralf Corsepius
8231b5eb81 Add m68k FreeScale mv4 multilibs. 2007-11-14 03:06:08 +00:00
Till Straumann
ff9d8898e5 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache.c: moved generic operations
	(flush/invalidate 1 data line, invalidate 1 inst. line)
	from #ifdef <cpu_flavor> to general section (all CPUs).
2007-11-14 00:42:18 +00:00
Till Straumann
a10c721462 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache_.h: include <libcpu/cache.h> only
	#ifdef _OLD_EXCEPTIONS - no need for <libcpu/cache.h>
	otherwise.
2007-11-14 00:40:20 +00:00
Till Straumann
b472166df6 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/include/byteorder.h: fixed wrong pointer-type
	of ld_le32() (uint16_t* -> uint32_t*).
2007-11-14 00:36:59 +00:00
Ralf Corsepius
8fea15719e Abandon gcc-4.0.3 2007-11-13 17:00:35 +00:00
Ralf Corsepius
1e69498c49 Remove. 2007-11-13 16:50:54 +00:00
Ralf Corsepius
dc00c8ddc3 backup. 2007-11-13 15:09:44 +00:00
Ralf Corsepius
3ef68f9ed3 Remove *.origs 2007-11-13 08:38:30 +00:00
Ralf Corsepius
4da971a250 Regenerate. 2007-11-13 08:34:44 +00:00
Ralf Corsepius
6790aa4d23 GCC_RPMREL = 3. 2007-11-13 08:34:25 +00:00
Ralf Corsepius
01b9201f54 Add gcc-core-3.4.6-rtems4.9-20071111.diff. 2007-11-13 08:34:10 +00:00
Ralf Corsepius
d96e1a9c94 New. 2007-11-13 08:29:18 +00:00
Ralf Corsepius
9c5fca823f Bump GCC_RPMREL. 2007-11-12 13:38:24 +00:00
Ralf Corsepius
40885273b3 Exclude %{gcclib}/@tool_target@/%{gcc_version}/include/ssp for avr. 2007-11-12 13:11:16 +00:00
Ralf Corsepius
c4ee5df180 Fix stupid typo. 2007-11-12 08:02:54 +00:00
Ralf Corsepius
fc3e3d8c6c New. 2007-11-12 07:16:21 +00:00
Ralf Corsepius
aec05c47f8 Abandon gcc-4.0.3, gcc-3.4.6. Switch to gcc-4.0.4. gcc-core-4.0.4-rtems4.9-20071111.diff 2007-11-12 07:15:48 +00:00
Ralf Corsepius
1591022195 Abandon gcc-4.0.3. Switch to gcc-4.0.4. 2007-11-12 07:15:18 +00:00
Joel Sherrill
17b73dc766 2007-11-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/apimutexlock.c, score/src/apimutexunlock.c: Functions were
	in opposite files. Whoops!
2007-11-09 21:52:09 +00:00
Joel Sherrill
6dd411aa14 2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
	of the focus was on the beginning stages of making the login checker
	pluggable just like the shell.
2007-11-09 21:39:21 +00:00
Ralf Corsepius
c6b590db20 Regenerate. 2007-11-09 17:10:18 +00:00
Joel Sherrill
d880c88e22 2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* ada.am: Now builds cleanly with GCC trunk.
2007-11-09 17:09:41 +00:00
Joel Sherrill
66386040c9 2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/mprotect.c: Update comments.
2007-11-09 17:07:10 +00:00
Joel Sherrill
d9bae2489a 2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am: Add support for Ada95 interrupt tasks.  This
	will require gcc 4.3 or newer.
	* posix/src/ada_intrsupp.c: New file.
2007-11-09 16:57:56 +00:00
Joel Sherrill
8fd28d8302 2007-11-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/src/exinit.c, score/Makefile.am,
	score/include/rtems/score/apimutex.h: API Mutex calls should never
	have been inlined. Inlining them lead to many inlined copies of core
	mutex lock. This lead to over 2K savings in the SPARC/ERC32
	minimum.exe.
	* score/src/apimutex.c, score/src/apimutexallocate.c,
	score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
2007-11-09 15:21:20 +00:00
Ralf Corsepius
1c91942d25 gcc-3.4.6-2. 2007-11-09 07:31:34 +00:00
Ralf Corsepius
0be4b8a5e9 Abandon gcc-4.1.1 2007-11-09 07:16:27 +00:00
Ralf Corsepius
b02c2b04e0 Remove. 2007-11-09 07:14:29 +00:00
Ralf Corsepius
0052c92660 Abandon gcc-4.2.1 2007-11-09 07:13:49 +00:00
Ralf Corsepius
311f43e7a7 Abandon gcc-4.1.2. 2007-11-09 07:12:40 +00:00
Ralf Corsepius
c8720f705b Abandon gcc-4.2.0. 2007-11-09 07:08:27 +00:00
Ralf Corsepius
7eb7405a57 Remove. 2007-11-09 07:07:51 +00:00
Ralf Corsepius
710d4086cf Remove. 2007-11-09 07:00:46 +00:00
Ralf Corsepius
5fd4eae73d Use gcc-core-4.2.2-rtems4.9-20071109.diff 2007-11-09 07:00:02 +00:00
Ralf Corsepius
e860aabc56 Remove bogus *.origs. 2007-11-09 06:56:42 +00:00
Till Straumann
42bb3a028f 2007-11-07 Till Straumann <strauman@slac.stanford.edu>
* score/include/rtems/score/isr.h: added RTEMS_COMPILER_MEMORY_BARRIER
	around _CPU_ISR_Set_level().
2007-11-08 03:03:11 +00:00
Joel Sherrill
f2e4e67160 2007-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/inline/rtems/score/object.inl: During test coverage analysis,
	we identified this sanity check which should have been conditional on
	RTEMS_DEBUG since it can NOT be tripped during normal RTEMS
	operations. With all APIs enabled, this saved 352 bytes from the
	minimum executable on the SPARC/ERC32.
2007-11-07 23:26:44 +00:00
Joel Sherrill
edf4ee47df 2007-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal.m4: Removed. Is automatically generated by bootstrap.
2007-11-07 15:31:10 +00:00
Joel Sherrill
7d12442c4d 2007-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
	compiler conditional attribute for methods that do not return. This
	avoids gcc generating unreachable code following calls to
	_Internal_error_Occurred.
2007-11-07 15:26:43 +00:00
Joel Sherrill
bf0a3b24e0 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Fix headers.
2007-11-06 23:33:59 +00:00
Joel Sherrill
c7ca3c9e4e 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* thumb_isr.c: Fix headers.
2007-11-06 23:00:29 +00:00
Joel Sherrill
db58e51836 2007-11-06 Ray Xu <rayx.cn@gmail.com>
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
2007-11-06 22:56:22 +00:00
Joel Sherrill
42fff325eb 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* custom/rtl22xx_t.cfg: New file, rtl22xx_t is a new bsp compiled
        with THUMB enabled
2007-11-06 22:54:59 +00:00
Joel Sherrill
5a364be362 2007-11-03 Ray Xu <rayx.cn@gmail.com>
*lpc22xx/irq/bsp_irq_asm.S: Add veneer for ARM<->Thumb
        lpc22xx/irq/bsp_irq_init.c: add VIC address init
2007-11-06 22:54:21 +00:00
Joel Sherrill
e15aa41e9c 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Add ARM/Thumb Makefile.
2007-11-06 22:53:43 +00:00
Joel Sherrill
7afd0b130b 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore, ChangeLog, Makefile.am, thumb_isr.c: New files.
2007-11-06 22:53:06 +00:00
Joel Sherrill
661e5de43b 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* cpu.c, cpu_asm.S, score/cpu.h : add support for ARM<->THUMB veneer
          thumb  new dir to controll CPSR/SPRS in thumb mode

2007-05-09      Ray Xu <rayx.cn@gmail.com>

        * cpu.c: move do_data_abort() to libbsp/arm/shared/abort/
          implement a compact do_data_abort() in simple_abort.c
2007-11-06 22:51:08 +00:00
Joel Sherrill
f28bbe5c6b 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* shared/abort/simple_abort.c: Add veneer for ARM<->Thumb
        shared/irq/irq_asm.S: Add veneer for ARM<->Thumb
2007-11-06 22:50:51 +00:00
Joel Sherrill
ac654234d6 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* start/start.S, startup/bspclean.c: Add veneer between ARM and
        Thumb instructions.  also moved bss init after CPSR/stack init in
	start.S
2007-11-06 22:50:42 +00:00
Till Straumann
a4722f82b0 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* ep1a/irq/irq.c, gen5200/irq/irq.c, mbx8xx/irq/irq.c,
	mpc8260ads/irq/irq.c, mvme5500/irq/irq.c, psim/irq/irq.c,
	score603e/irq/irq.c, shared/irq/irq.c:
	test for non-NULL-ness before calling 'on'/'off'
	methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 22:19:41 +00:00
Till Straumann
db1986ac0f 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* shared/console/uart.c: removed #define UARTDEBUG
2007-11-06 22:14:04 +00:00
Till Straumann
8e1d542c07 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* mpc5xx/irq/irq.c, mpc5xx/exceptions/raw_exception.c,
	new-exceptions/raw_exception.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:54:18 +00:00
Till Straumann
cad1f386ef 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:44:07 +00:00
Joel Sherrill
1d0efc105e 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1266/cpukit
	* posix/src/keycreate.c, posix/src/keyrundestructors.c: Use API instead
	of class for key indexing.
2007-11-06 21:39:23 +00:00
Till Straumann
63fa36ea60 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* gba/irq/irq.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:38:27 +00:00
Joel Sherrill
081583c661 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
	Fix headers and formatting.
2007-11-06 20:50:10 +00:00
Joel Sherrill
7294bc97aa 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp13/system.h: We need 32K of message buffer memory not 32 bytes.
2007-11-06 20:22:49 +00:00
Glenn Humphrey
8a8f5b263a 2007-11-06 Glenn Humphrey <glenn.humphrey@OARcorp.com>
Miscellaneous changes made after a review against the POSIX spec.
	* posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
	passes a NULL in the attributes parameter, default attributes are used.
	* posix/src/prwlockdestroy.c: If there is at least one thread
	waiting, do not allow deletion.
	* posix/src/prwlockwrlock.c: Corrected parameter passed to the core
	operation used to obtain a RWLock for writing.
	* posix/src/pspinlocktranslatereturncode.c,
	score/include/rtems/score/corespinlock.h,
	score/src/corespinlockrelease.c: If the current thread is not the
	holder of the lock, do not allow an unlock and return EPERM.
	* score/src/corerwlockobtainwrite.c: Corrected to use the operation
	for queueing with a timeout handler.
2007-11-06 19:52:36 +00:00
Joel Sherrill
b214b1bab9 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: Formatting.
2007-11-06 19:45:35 +00:00
Joel Sherrill
12f1455b78 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Formatting.
2007-11-06 19:45:22 +00:00
Till Straumann
a16747e88c 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* shared/pci/pci.c: converted access to pci_config_addr to
	conditionally defined macros so that bsp.h can override details.
2007-11-06 09:11:09 +00:00
Ralf Corsepius
83c8c3c191 Fix stupid typo 2007-11-04 12:25:19 +00:00
Ralf Corsepius
6d77c8f5f0 regenerate 2007-11-04 09:28:35 +00:00
Ralf Corsepius
fd7bb10a0c Bump BINUTILS_RPMREL. 2007-11-04 09:26:51 +00:00
Ralf Corsepius
567fed38f6 Update. 2007-11-04 09:26:05 +00:00
Ralf Corsepius
137c410652 New. 2007-11-04 09:25:32 +00:00
Joel Sherrill
48816d7d7a 2007-11-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h,
	score/include/rtems/score/context.h, score/src/threadhandler.c: Fix
	stack so gdb backtrace does not print corrupted frame message after
	_Thread_Handler. Daniel Hellstrom <daniel@gaisler.com> provided the
	SPARC implementation and I made it more general.
2007-11-02 13:35:02 +00:00
Ralf Corsepius
7cb1d6eaaf Assume gdb >= 6.4 2007-11-01 07:32:07 +00:00
Ralf Corsepius
e2b1682818 Remove GDB. 2007-11-01 07:29:24 +00:00
Ralf Corsepius
d4d9f2708c Remove. 2007-11-01 07:27:39 +00:00
Ralf Corsepius
25eda206eb gdb-6.7.1-4 2007-11-01 05:58:05 +00:00
Ralf Corsepius
724eab7ad0 Hard-code -lncurses instead of -ltinfo. 2007-10-31 21:35:24 +00:00
Ralf Corsepius
83644e98ae Add hacks to get erc32 building 2007-10-31 15:46:35 +00:00
Ralf Corsepius
91a492a243 Cleanups for erc32. 2007-10-31 15:45:45 +00:00
Joel Sherrill
fa4e67c838 2007-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Fix typo.
2007-10-31 14:28:19 +00:00
Ralf Corsepius
84f86cb20f Reflect suse-10.3 having expat in libexpat-devel. 2007-10-31 12:30:51 +00:00
Ralf Corsepius
a4081ce74c gdb-4.7.1 2007-10-31 12:27:07 +00:00
Ralf Corsepius
49deaec5a0 Force building against expat 2007-10-31 05:28:40 +00:00
Ralf Corsepius
3dd61288df New. 2007-10-31 05:11:26 +00:00
Joel Sherrill
f81b295103 2007-10-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Fix constants off by one nibble.
2007-10-30 20:57:38 +00:00
Joel Sherrill
b83b754e28 2007-10-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Added some simple interrupt GPIO constants.
2007-10-30 19:32:02 +00:00
Glenn Humphrey
76b839b617 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/rtmon.t: Fix report output.
2007-10-26 21:35:11 +00:00
Glenn Humphrey
43e3429260 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* cpuuse/task2.c, rtmonuse/rtmonuse.scn, rtmonuse/task1.c: Add new
	cases for untested routines.
2007-10-26 21:31:48 +00:00
Glenn Humphrey
b0ac06f8e9 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
	Cleaned up reports and fixed a bug related the printf format which
	resulted in lack of leading zeroes and misleading magnitude.
	* score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2007-10-26 21:30:59 +00:00
Joel Sherrill
0e87deaa29 2007-10-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* itron/src/can_wup.c, itron/src/chg_pri.c, itron/src/del_mbf.c,
	itron/src/del_mbx.c, itron/src/del_sem.c, itron/src/del_tsk.c,
	itron/src/frsm_tsk.c, itron/src/ref_mbf.c, itron/src/ref_mbx.c,
	itron/src/ref_sem.c, itron/src/ref_tsk.c, itron/src/rel_wai.c,
	itron/src/rsm_tsk.c, itron/src/sig_sem.c, itron/src/snd_mbx.c,
	itron/src/sta_tsk.c, itron/src/sus_tsk.c, itron/src/ter_tsk.c,
	itron/src/trcv_mbf.c, itron/src/trcv_mbx.c, itron/src/tsnd_mbf.c,
	itron/src/twai_sem.c, posix/src/cancel.c, posix/src/conddestroy.c,
	posix/src/condinit.c, posix/src/condsignalsupp.c,
	posix/src/condwaitsupp.c, posix/src/keydelete.c,
	posix/src/keygetspecific.c, posix/src/keysetspecific.c,
	posix/src/mqueueclose.c, posix/src/mqueuegetattr.c,
	posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
	posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
	posix/src/mutexdestroy.c, posix/src/mutexgetprioceiling.c,
	posix/src/mutexinit.c, posix/src/mutexlocksupp.c,
	posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c,
	posix/src/pbarrierdestroy.c, posix/src/pbarrierwait.c,
	posix/src/prwlockdestroy.c, posix/src/prwlockrdlock.c,
	posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c,
	posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c,
	posix/src/pspindestroy.c, posix/src/pspinlock.c,
	posix/src/pspintrylock.c, posix/src/pspinunlock.c,
	posix/src/pthreaddetach.c, posix/src/pthreadequal.c,
	posix/src/pthreadgetschedparam.c, posix/src/pthreadjoin.c,
	posix/src/pthreadkill.c, posix/src/pthreadsetschedparam.c,
	posix/src/ptimer1.c, posix/src/semaphorewaitsupp.c,
	posix/src/semclose.c, posix/src/semdestroy.c,
	posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/types.c,
	rtems/src/barrierdelete.c, rtems/src/barrierrelease.c,
	rtems/src/barrierwait.c, rtems/src/dpmemdelete.c,
	rtems/src/dpmemexternal2internal.c,
	rtems/src/dpmeminternal2external.c, rtems/src/eventsend.c,
	rtems/src/eventtimeout.c, rtems/src/msgqbroadcast.c,
	rtems/src/msgqdelete.c, rtems/src/msgqflush.c,
	rtems/src/msgqgetnumberpending.c, rtems/src/msgqreceive.c,
	rtems/src/msgqsend.c, rtems/src/msgqurgent.c, rtems/src/partdelete.c,
	rtems/src/partgetbuffer.c, rtems/src/partreturnbuffer.c,
	rtems/src/ratemoncancel.c, rtems/src/ratemondelete.c,
	rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemonresetstatistics.c,
	rtems/src/ratemontimeout.c, rtems/src/regiondelete.c,
	rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
	rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
	rtems/src/regionreturnsegment.c, rtems/src/semdelete.c,
	rtems/src/semflush.c, rtems/src/semobtain.c, rtems/src/semrelease.c,
	rtems/src/signalsend.c, rtems/src/taskdelete.c,
	rtems/src/taskgetnote.c, rtems/src/taskissuspended.c,
	rtems/src/taskrestart.c, rtems/src/taskresume.c,
	rtems/src/tasksetnote.c, rtems/src/tasksetpriority.c,
	rtems/src/taskstart.c, rtems/src/tasksuspend.c,
	rtems/src/taskvariableadd.c, rtems/src/taskvariabledelete.c,
	rtems/src/taskvariableget.c, rtems/src/timercancel.c,
	rtems/src/timerdelete.c, rtems/src/timerfireafter.c,
	rtems/src/timerfirewhen.c, rtems/src/timergetinfo.c,
	rtems/src/timerreset.c, rtems/src/timerserverfireafter.c,
	rtems/src/timerserverfirewhen.c, sapi/src/extensiondelete.c,
	score/include/rtems/score/object.h, score/src/corerwlocktimeout.c,
	score/src/mpci.c, score/src/objectgetnameasstring.c,
	score/src/threaddelayended.c, score/src/threadqtimeout.c: When
	multiprocessing is disabled, do not even allow the constant
	OBJECTS_REMOTE to appear in the source. Even at -O2, the presence of
	a case OBJECTS_REMOTE in each id->pointer _Objects_Get switch results
	in the generation of binary code which can NOT be reached.
2007-10-26 20:19:02 +00:00
Joel Sherrill
78dabb697c 2007-10-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am, score/include/rtems/score/thread.h,
	score/inline/rtems/score/thread.inl: No longer inline _Thread_Get. It
	resulted in unnessary code explosion, many uncovered paths when
	looking at binary executable coverage, and only optimized getting
	self. Id translations were still getting pushed to a subroutine call
	to _Objects_Get. Later the non-inlined version can be further
	optimized to get Ids in range for the current API, then self, then
	look at other APIs.
	* score/src/threadget.c: New file.
2007-10-26 19:44:10 +00:00
Joel Sherrill
327b002078 2007-10-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.h: Fixed typos.
2007-10-26 15:49:59 +00:00
Thomas Doerfler
933f743544 reenable instruction MMU 2007-10-26 14:37:59 +00:00
Thomas Doerfler
99e65f9c28 *** empty log message *** 2007-10-26 12:12:42 +00:00
Thomas Doerfler
7a4e8e7c8a corrected bug in libchip/i2c/spi-flash-m25p40 2007-10-26 09:54:28 +00:00
Thomas Doerfler
c47890cccf *** empty log message *** 2007-10-26 09:51:41 +00:00
Thomas Doerfler
83374f3b27 adding new spi flash driver 2007-10-26 06:07:06 +00:00
Joel Sherrill
78c7192903 2007-10-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
	mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
	mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
	mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
	mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
	mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
	mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
	mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
	mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
	mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
	mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
	mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
	mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
	mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
	samples/base_mp/Makefile.am, samples/base_mp/node1/Makefile.am,
	samples/base_mp/node2/Makefile.am, samples/base_sp/Makefile.am,
	samples/hello/Makefile.am, samples/nsecs/Makefile.am,
	samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
	sptests/sp02/Makefile.am, sptests/sp03/Makefile.am,
	sptests/sp04/Makefile.am, sptests/sp05/Makefile.am,
	sptests/sp06/Makefile.am, sptests/sp07/Makefile.am,
	sptests/sp08/Makefile.am, sptests/sp09/Makefile.am,
	sptests/sp11/Makefile.am, sptests/sp12/Makefile.am,
	sptests/sp13/Makefile.am, sptests/sp14/Makefile.am,
	sptests/sp15/Makefile.am, sptests/sp16/Makefile.am,
	sptests/sp17/Makefile.am, sptests/sp19/Makefile.am,
	sptests/sp20/Makefile.am, sptests/sp22/Makefile.am,
	sptests/sp23/Makefile.am, sptests/sp24/Makefile.am,
	sptests/sp25/Makefile.am, tmtests/tm01/Makefile.am,
	tmtests/tm02/Makefile.am, tmtests/tm03/Makefile.am,
	tmtests/tm04/Makefile.am, tmtests/tm05/Makefile.am,
	tmtests/tm06/Makefile.am, tmtests/tm07/Makefile.am,
	tmtests/tm08/Makefile.am, tmtests/tm09/Makefile.am,
	tmtests/tm10/Makefile.am, tmtests/tm11/Makefile.am,
	tmtests/tm12/Makefile.am, tmtests/tm13/Makefile.am,
	tmtests/tm14/Makefile.am, tmtests/tm15/Makefile.am,
	tmtests/tm16/Makefile.am, tmtests/tm17/Makefile.am,
	tmtests/tm18/Makefile.am, tmtests/tm19/Makefile.am,
	tmtests/tm20/Makefile.am, tmtests/tm21/Makefile.am,
	tmtests/tm22/Makefile.am, tmtests/tm23/Makefile.am,
	tmtests/tm24/Makefile.am, tmtests/tm25/Makefile.am,
	tmtests/tm28/Makefile.am, tmtests/tm29/Makefile.am,
	tmtests/tmck/Makefile.am, tmtests/tmoverhd/Makefile.am: Executables
	should end in .exe just like their C counterparts.
2007-10-25 22:06:13 +00:00
Glenn Humphrey
d45b4a9802 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Added some more missing bindings.
2007-10-25 20:44:31 +00:00
Glenn Humphrey
42f07c5fb7 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* configure.ac, samples/Makefile.am: Added a test for Clock_Get_Uptime
	* samples/nsecs/.cvsignore, samples/nsecs/Makefile.am,
	samples/nsecs/config.h, samples/nsecs/nsecs.adb,
	samples/nsecs/nsecs.scn, samples/nsecs/sptest.adb,
	samples/nsecs/sptest.ads: New files.
2007-10-25 19:51:06 +00:00
Glenn Humphrey
4ffbc49514 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/barrier.t, user/clock.t, user/concepts.t, user/cpuuse.t,
	user/init.t, user/intr.t, user/io.t, user/mp.t, user/rtmon.t,
	user/sem.t, user/stackchk.t, user/task.t, user/timer.t: Updated the
	Ada documentation to reflect the current binding.
2007-10-25 19:46:41 +00:00
Thomas Doerfler
abe0cdb169 added documentation to libi2c 2007-10-25 16:18:38 +00:00
Thomas Doerfler
55a685bddc added SPI support to libi2c
added IRQ support to MPC83xx i2c driver
added mpc83xx spi driver
2007-10-25 16:17:56 +00:00
Joel Sherrill
0a23c71433 2007-10-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/assoc.c: Removed.  Accidentally included routine
	also in another file.  Mistake after splitting.
	* libcsupport/Makefile.am: Reflect file removal.
2007-10-19 14:39:22 +00:00
Joel Sherrill
3f7786669c 2007-10-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/assoc.c: Removed.  Accidentally included routine
	also in another file.  Mistake after splitting.
2007-10-19 14:36:59 +00:00
Glenn Humphrey
29948d482f 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Added a missing binding.
2007-10-18 21:26:23 +00:00
Glenn Humphrey
4fcb3fc310 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sptests/sp16/sptest.ads, sptests/sp20/sptest.adb,
	sptests/sp20/sptest.ads: Forgot to update the copyright.
2007-10-18 20:58:51 +00:00
Glenn Humphrey
6a5990e4fd 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp09/screen06.c, sp09/screen14.c, sp13/sp13.scn, sp13/task1.c,
	sp16/sp16.scn: Corrected some minor mistakes and regenerated some
	.scn files.
2007-10-18 19:49:46 +00:00
Glenn Humphrey
3d2bf71da0 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sptests/sp09/sp09.scn, sptests/sp09/sptest.adb,
	sptests/sp13/sp13.scn, sptests/sp13/sptest.adb,
	sptests/sp16/sp16.scn, sptests/sp16/sptest.adb,
	sptests/sp16/sptest.ads, sptests/sp20/sp20.scn,
	sptests/sp20/sptest.adb, sptests/sp20/sptest.ads: Updated tests to
	match the current C tests and regenerated the .scn files.
2007-10-18 19:36:29 +00:00
Ralf Corsepius
2fc47c66d2 Update. 2007-10-17 16:09:27 +00:00
Joel Sherrill
d83028566d 2007-10-14 Eric Norum <norume@aps.anl.gov>
* clock/clock.c: Add nanoseconds since tick support.
2007-10-16 17:14:24 +00:00
Ralf Corsepius
57c56dbcea 2007-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netdb.h, libnetworking/libc/gethostnamadr.c,
	libnetworking/libc/getnetnamadr.c: Adjust to POSIX.
	Minor updates from FreeBSD.
2007-10-15 07:59:07 +00:00
Ralf Corsepius
807337d281 Adjust to POSIX. Minor updates from FreeBSD. 2007-10-15 07:59:00 +00:00
Ralf Corsepius
efe8291f1d Remove 2007-10-12 02:20:32 +00:00
Ralf Corsepius
a5c8f118ce Regenerate. 2007-10-12 02:19:42 +00:00
Ralf Corsepius
ee54f23c7f gdb-6.7-2 2007-10-12 02:19:02 +00:00
Ralf Corsepius
5c30f679e9 gdb-6.7-2 2007-10-11 14:51:28 +00:00
Ralf Corsepius
053c2f46fc Add A. Modra's makeinfo fixes. 2007-10-11 14:49:10 +00:00
Joel Sherrill
0743eaed1c 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, shared/can/occan.c, shared/include/ambapp.h: Add initial
	i2c and update OC-CAN support.
	* shared/i2c/i2cmst.c, shared/include/i2cmst.h: New files.
2007-10-11 12:56:09 +00:00
Joel Sherrill
8a781ad7ee 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: Add initial i2c and update OC-CAN
	support.
2007-10-11 12:56:03 +00:00
Joel Sherrill
dd7f59172c 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: Fixes bug in OC-CAN baud rate calculator.
	The BTR1 8-bit value was swapped.
2007-10-11 12:54:50 +00:00
Joel Sherrill
b7fa289bf7 2007-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/copyrt.h: Update year.
2007-10-11 12:49:27 +00:00
Joel Sherrill
c57316a409 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* libi2c/libi2c.c, libi2c/libi2c.h: Add message about needing IMFS.
	Fixed check of status when registering driver. Add use of strerror().
2007-10-11 12:46:50 +00:00
Ralf Corsepius
df16b8bf09 gdb-6.7 2007-10-11 08:31:50 +00:00
Ralf Corsepius
777d259b34 New. 2007-10-11 08:28:07 +00:00
Ralf Corsepius
6f1919e56b Regenerate. 2007-10-11 03:18:10 +00:00
Ralf Corsepius
d6a7e4fe9f Regenerate. 2007-10-11 03:09:36 +00:00
Ralf Corsepius
090d3432ca New. 2007-10-11 03:04:26 +00:00
Ralf Corsepius
0e6d50c41b Update to gcc-4.2.2-2. 2007-10-11 03:02:46 +00:00
Ralf Corsepius
59b4f427e5 Add 4.2.2. 2007-10-11 02:53:12 +00:00
Glenn Humphrey
67e024bc44 2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp09/init.c, sp09/sp09.scn: Removed an obsolete test that was
	commented out and updated the .scn file.
2007-10-10 21:01:45 +00:00
Glenn Humphrey
ba3e1a4faf 2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* configure.ac, samples/base_sp/base_sp.scn, samples/base_sp/config.h,
	samples/base_sp/sptest.adb, samples/hello/config.h,
	samples/ticker/config.h, samples/ticker/ticker.scn,
	sptests/Makefile.am, sptests/sp01/sp01.scn, sptests/sp02/config.h,
	sptests/sp02/sp02.scn, sptests/sp03/config.h, sptests/sp03/sp03.scn,
	sptests/sp04/sp04.scn, sptests/sp04/sptest.adb,
	sptests/sp05/config.h, sptests/sp05/sp05.scn, sptests/sp06/config.h,
	sptests/sp07/config.h, sptests/sp07/sp07.scn,
	sptests/sp07/sptest.adb, sptests/sp07/sptest.ads,
	sptests/sp08/config.h, sptests/sp08/sp08.scn,
	sptests/sp09/Makefile.am, sptests/sp09/config.h,
	sptests/sp09/sp09.scn, sptests/sp09/sptest.adb,
	sptests/sp09/sptest.ads, sptests/sp11/config.h,
	sptests/sp11/sp11.scn, sptests/sp12/config.h, sptests/sp12/sp12.scn,
	sptests/sp13/config.h, sptests/sp13/sp13.scn,
	sptests/sp13/sptest.adb, sptests/sp14/config.h,
	sptests/sp14/sp14.scn, sptests/sp15/config.h, sptests/sp15/sp15.scn,
	sptests/sp16/config.h, sptests/sp16/sp16.scn,
	sptests/sp16/sptest.adb, sptests/sp17/config.h,
	sptests/sp19/config.h, sptests/sp19/sp19.scn, sptests/sp20/config.h,
	sptests/sp20/sp20.scn, sptests/sp22/config.h, sptests/sp22/sp22.scn,
	sptests/sp23/config.h, sptests/sp23/sp23.scn, sptests/sp24/config.h,
	sptests/sp24/sp24.scn, sptests/sp25/config.h, sptests/sp25/sp25.scn,
	support/init.c, support/test_support.adb, support/test_support.ads,
	tmtests/tm09/config.h, tmtests/tm20/tmtest.adb,
	tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/dummy_rtems.ads,
	tmtests/tmoverhd/tmtest.adb, tmtests/tmoverhd/tmtest.ads: Updated
	tests so that they would all compile and run without errors. Some
	tests that are no longer valid using the current binding were
	removed. Also updated the .scn files to reflect the current test
	output.
	* sptests/sp21/.cvsignore, sptests/sp21/Makefile.am,
	sptests/sp21/config.h, sptests/sp21/sp21.adb, sptests/sp21/sp21.scn,
	sptests/sp21/sptest.adb, sptests/sp21/sptest.ads,
	sptests/spsize/.cvsignore, sptests/spsize/Makefile.am,
	sptests/spsize/spsize.adb, sptests/spsize/sptest.adb,
	sptests/spsize/sptest.ads: Removed.
2007-10-10 20:58:48 +00:00
Glenn Humphrey
d14963bf94 2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Cleaned up binding and removed bindings for
	things that are not reasonable to do in Ada.
2007-10-10 20:46:33 +00:00
Ralf Corsepius
5a9f3725d7 update to gdb-6.6.90. 2007-10-10 06:52:31 +00:00
Joel Sherrill
c9274ae19a 2007-10-05 Ray Xu <xr@trasin.net>
* lpc22xx/clock/clockdrv.c, lpc22xx/irq/irq.c, lpc22xx/irq/irq.h: Now
	runs in Skyeye.
2007-10-05 18:57:52 +00:00
Ralf Corsepius
9aab34cd3d Regenerate. 2007-10-04 16:08:35 +00:00
Ralf Corsepius
b268e70e07 2007-10-04 Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
Ralf Corsépius <ralf.corsepius@rtems.org>

	* libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
	libnetworking/libc/if_indextoname.c,
	libnetworking/libc/if_nameindex.c: New (from FreeBSD)
	* Makefile.am: Add files above.
	* libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2007-10-04 16:08:15 +00:00
Ralf Corsepius
9df2ef1b6c 2007-10-04 Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
Ralf Corsépius <ralf.corsepius@rtems.org>

	* libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c,
	libnetworking/libc/if_indextoname.c,
	libnetworking/libc/if_nameindex.c: New (from FreeBSD)
	* Makefile.am: Add files above.
	* libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2007-10-04 14:24:27 +00:00
Ralf Corsepius
0295725f55 Add if_nameindex etc. (from FreeBSD). 2007-10-04 14:24:10 +00:00
Ralf Corsepius
3d2a28d738 New (from FreeBSD) 2007-10-04 14:23:45 +00:00
Joel Sherrill
8da756e889 2007-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
	mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
	mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
	mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
	mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
	mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
	mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
	mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
	mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
	mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
	mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
	mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
	mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
	mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am: Basic
	build structure should now be correct. The remaining issues should be
	test specific.
	* mptests/mp01/config_base.h, mptests/mp01/node1/config.h,
	mptests/mp01/node1/mp01_node1.adb, mptests/mp01/node2/config.h,
	mptests/mp01/node2/mp01_node2.adb, mptests/mp02/config_base.h,
	mptests/mp02/node1/config.h, mptests/mp02/node1/mp02_node1.adb,
	mptests/mp02/node2/config.h, mptests/mp02/node2/mp02_node2.adb,
	mptests/mp03/config_base.h, mptests/mp03/node1/config.h,
	mptests/mp03/node1/mp03_node1.adb, mptests/mp03/node2/config.h,
	mptests/mp03/node2/mp03_node2.adb, mptests/mp04/config_base.h,
	mptests/mp04/node1/config.h, mptests/mp04/node1/mp04_node1.adb,
	mptests/mp04/node2/config.h, mptests/mp04/node2/mp04_node2.adb,
	mptests/mp05/config_base.h, mptests/mp05/node1/config.h,
	mptests/mp05/node1/mp05_node1.adb, mptests/mp05/node2/config.h,
	mptests/mp05/node2/mp05_node2.adb, mptests/mp06/config_base.h,
	mptests/mp06/node1/config.h, mptests/mp06/node1/mp06_node1.adb,
	mptests/mp06/node2/config.h, mptests/mp06/node2/mp06_node2.adb,
	mptests/mp07/config_base.h, mptests/mp07/node1/config.h,
	mptests/mp07/node1/mp07_node1.adb, mptests/mp07/node2/config.h,
	mptests/mp07/node2/mp07_node2.adb, mptests/mp08/config_base.h,
	mptests/mp08/node1/config.h, mptests/mp08/node1/mp08_node1.adb,
	mptests/mp08/node2/config.h, mptests/mp08/node2/mp08_node2.adb,
	mptests/mp09/config_base.h, mptests/mp09/node1/config.h,
	mptests/mp09/node1/mp09_node1.adb, mptests/mp09/node2/config.h,
	mptests/mp09/node2/mp09_node2.adb, mptests/mp10/config_base.h,
	mptests/mp10/node1/config.h, mptests/mp10/node1/mp10_node1.adb,
	mptests/mp10/node2/config.h, mptests/mp10/node2/mp10_node2.adb,
	mptests/mp11/config_base.h, mptests/mp11/node1/config.h,
	mptests/mp11/node1/mp11_node1.adb, mptests/mp11/node2/config.h,
	mptests/mp11/node2/mp11_node2.adb, mptests/mp12/config_base.h,
	mptests/mp12/node1/config.h, mptests/mp12/node1/mp12_node1.adb,
	mptests/mp12/node2/config.h, mptests/mp12/node2/mp12_node2.adb,
	mptests/mp13/config_base.h, mptests/mp13/node1/config.h,
	mptests/mp13/node1/mp13_node1.adb, mptests/mp13/node2/config.h,
	mptests/mp13/node2/mp13_node2.adb, mptests/mp14/config_base.h,
	mptests/mp14/node1/config.h, mptests/mp14/node1/mp14_node1.adb,
	mptests/mp14/node2/config.h, mptests/mp14/node2/mp14_node2.adb:
	New files. GNATMAKE is easier to operate if the filename of the
	main package matches the executable name.  In this case, we needed
	one for each node's executable.
	* mptests/mp01/config.h: Removed.
2007-10-03 20:12:15 +00:00
Joel Sherrill
c309c6f158 2007-10-02 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* startup/linkcmds: Move definition of _end so memory is not corrupted.
2007-10-02 13:54:03 +00:00
Ralf Corsepius
d731ccc742 New. 2007-10-02 08:38:06 +00:00
Joel Sherrill
23848bbd80 2007-10-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* mptests/mp01/mptest.adb, mptests/mp01/mptest.ads,
	mptests/mp01/node1/Makefile.am, mptests/mp02/mptest.adb,
	mptests/mp02/mptest.ads, mptests/mp03/mptest.adb,
	mptests/mp03/mptest.ads, mptests/mp04/mptest.adb,
	mptests/mp04/mptest.ads, mptests/mp05/mptest.adb,
	mptests/mp05/mptest.ads, mptests/mp06/mptest.adb,
	mptests/mp06/mptest.ads, mptests/mp07/mptest.adb,
	mptests/mp07/mptest.ads, mptests/mp08/mptest.adb,
	mptests/mp08/mptest.ads, mptests/mp09/mptest.adb,
	mptests/mp09/mptest.ads, mptests/mp10/mptest.adb,
	mptests/mp10/mptest.ads, mptests/mp11/mptest.adb,
	mptests/mp11/mptest.ads, mptests/mp12/mptest.adb,
	mptests/mp12/mptest.ads, mptests/mp13/mptest.adb,
	mptests/mp13/mptest.ads, mptests/mp14/mptest.adb,
	mptests/mp14/mptest.ads, support/init.c, support/test_support.adb,
	support/test_support.ads: Most of single processor Ada tests now
	build. Some run.
2007-10-01 22:58:09 +00:00
Joel Sherrill
f10fe70731 2007-10-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems.adb, rtems.ads: Most of single processor Ada tests now build.
	Some run.
2007-10-01 22:57:52 +00:00
Ralf Corsepius
1e7b8d32a0 Remove (obsolete). 2007-10-01 10:33:32 +00:00
Joel Sherrill
0faa8b117e 2007-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/stackchk/check.c: Eliminate output with little information.
	Always print a blown message using the same routine. Now works with
	GNAT RTS -fstack-checking if you have patch for the RTEMS specific
	support in your GCC version.
2007-09-28 14:53:46 +00:00
Ralf Corsepius
fbb54035b7 Remove (obsolete). 2007-09-28 08:11:09 +00:00
Ralf Corsepius
dfc0dc23ee Remove. 2007-09-28 07:41:49 +00:00
Ralf Corsepius
51aac0ee9f Cleanups. 2007-09-28 07:38:40 +00:00
Ralf Corsepius
2d9201a54a Add rtems-4.9*.spec 2007-09-28 07:35:18 +00:00
Ralf Corsepius
b1f6abc739 Reset GCC_RPMREL, GDB_RPMREL, BINUTILS_RPMREL = 1. 2007-09-28 07:31:55 +00:00
Ralf Corsepius
1cb8b7fc35 Remove. 2007-09-28 07:27:06 +00:00
Ralf Corsepius
ed73806be6 copy from rtems-4.8 to rtems-4.9. 2007-09-28 07:24:56 +00:00
Ralf Corsepius
1f60e1c555 rtems-4.9. 2007-09-28 07:19:29 +00:00
Ralf Corsepius
36c11ad862 Bump _RTEMS_API to 4.9. 2007-09-27 15:52:19 +00:00
Ralf Corsepius
207c63697b Bump version to 0.8. 2007-09-27 15:52:00 +00:00
Joel Sherrill
889fc2b5ca 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/gxx_wrappers.c: Revert.
2007-09-25 21:39:45 +00:00
Joel Sherrill
995e2c0405 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
	PRId32 to fix warning.
2007-09-25 21:39:05 +00:00
Joel Sherrill
a29bf16b56 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/shmdr/dump.c, libchip/shmdr/shm_driver.h: Fix warnings.
2007-09-25 21:34:43 +00:00
Joel Sherrill
21961089eb 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* nfsclient/Makefile.am: Fix errors.
2007-09-25 21:13:27 +00:00
Joel Sherrill
a10128c072 2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/passwd.h: New file.
2007-09-25 17:14:36 +00:00
Joel Sherrill
8ad6681b6b 2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
	telnetd/telnetd.h: telnetd rewrite.
	* telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2007-09-25 17:14:01 +00:00
Joel Sherrill
96eadec43e 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* nfsclient/Makefile.am, nfsclient/preinstall.am: Install libnfs.a.
2007-09-25 16:56:48 +00:00
Joel Sherrill
41783ffe2f 2007-09-24 Chris Johns <chrisj@rtems.org>
* include/bsp.h: Do not use C++ comments.
2007-09-24 21:40:54 +00:00
Joel Sherrill
b1cbb2de59 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1262/filesystem
	* posix_users/io.t: Add support for readv() and writev() including
	documentation and test case.
2007-09-24 21:35:19 +00:00
Joel Sherrill
b5bf8cd163 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1262/filesystem
	* libcsupport/Makefile.am, libnetworking/libc/herror.c,
	libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
	telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
	telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
	writev() including documentation and test case.
	* libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2007-09-24 21:35:10 +00:00
Joel Sherrill
41f17ba4a5 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1262/filesystem
	* Makefile.am, configure.ac, include/pmacros.h: Add support for readv()
	and writev() including documentation and test case.
	* psxrdwrv/.cvsignore, psxrdwrv/Makefile.am, psxrdwrv/main.c,
	psxrdwrv/psxrdwrv.scn, psxrdwrv/test.c: New files.
2007-09-24 21:34:47 +00:00
Chris Johns
263d3fc734 Remove C++ comment. 2007-09-24 02:35:07 +00:00
Joel Sherrill
2b985e795f 2007-09-21 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/occan.c: Fix warning on Diab compiler.
2007-09-21 15:48:12 +00:00
Joel Sherrill
fe5ecbb692 2007-09-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* network_5200/network.c: Add multicast support.
2007-09-21 15:45:20 +00:00
Joel Sherrill
6f57450dfe 2007-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/Makefile.am: Add dummy socketpair() implementation to
	document what is required to provide a fully functional
	implementation.
	* libnetworking/rtems/rtems_socketpair.c: New file.
2007-09-21 15:34:10 +00:00
Ralf Corsepius
f2502b39cb 2007-09-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* VERSION: Bump VERSION to 4.8.99.0.
2007-09-21 08:51:43 +00:00
Ralf Corsepius
90a51d8a49 2007-09-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump RTEMS_API to 4.9.
	Bump RTEMS_VERSION to 4.8.99.0.
2007-09-21 08:50:19 +00:00
Joel Sherrill
682a8ffad6 2007-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/read.c, libcsupport/src/write.c: Fix spacing.
2007-09-20 22:25:14 +00:00
Joel Sherrill
47ef320b5d 2007-09-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Add cplb.h.
	* startup/bspstart.c: Add cast of constant.
2007-09-20 21:44:24 +00:00
Joel Sherrill
1966665da3 2007-09-20 Kate Feng <feng1@bnl.gov>
* network/if_100MHz/GT64260eth.c: Add else.
2007-09-20 16:34:42 +00:00
Joel Sherrill
b151f5bd50 2007-09-19 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/occan.c: Fix Reenable command and fix typo.
2007-09-19 15:15:15 +00:00
Joel Sherrill
74a65e47ce 2007-09-19 Kate Feng <feng1@bnl.gov>
* README: Update.
2007-09-19 14:47:02 +00:00
4592 changed files with 325769 additions and 119367 deletions

View File

@@ -1,3 +1,92 @@
2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* SUPPORT: Update address.
2008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
* aclocal/check-bsps.m4: Adopt icecube changes from CVS-HEAD.
2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.maint: Bump rtems_api to 4.9.
2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
* aclocal/check-bsps.m4: Add missing icecube.
2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* MAINTAINERS, README.configure, aclocal/bsp-alias.m4,
aclocal/canonical-target-name.m4, aclocal/check-bsps.m4: Remove TI
C4x and NIOS2 ports from 4.9 branch.
2008-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* README.configure: Updated list of BSPs.
2008-09-08 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* make/custom/pghplus.cfg, make/custom/tqm8xx_stk8xx.cfg,
* make/custom/tqm8xx.cfg,
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
added MPC8xx based tqm8xx BSP family
2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* acinclude.m4 (_RTEMS_OUTPUT_SUBDIRS): Allow empty configdirs.
2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Remove doxygen
comments.
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
AC_PREREQ(2.62).
2008-07-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Added MPC5566EVB and
MPC8313ERDB. Added Doxygen style comment.
2008-07-14 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* make/custom/haleakala.cfg:
added PPC405 haleakala BSP contributed by Michael Hamel
2008-07-09 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4,
* make/custom/m5484FireEngine.cfg:
added pgh360 BSP variant
added m5484FireEngine BSP
2008-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac, acinclude.m4: s/AC_HELP/AS_HELP/.
2008-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* bootstrap: Use find . ... preinstall.am for portability reasons.
2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/enable-cxx.m4, aclocal/enable-itron.m4,
aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4,
aclocal/enable-posix.m4, aclocal/enable-rtems-debug.m4,
aclocal/enable-rtemsbsp.m4, aclocal/enable-tests.m4,
aclocal/multilib.m4: s/AC_HELP/AS_HELP/.
2007-11-06 Ray Xu <rayx.cn@gmail.com>
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
2007-09-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* VERSION: Bump VERSION to 4.8.99.0.
* aclocal/version.m4: Bump RTEMS_API to 4.9.
Bump RTEMS_VERSION to 4.8.99.0.
2007-09-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.maint: touch all documentation master files so the date on

View File

@@ -35,7 +35,6 @@ Networking NAME-TBD EMAIL-TBD
arm Jay Monkman jtm@lopingdog.com
avr Ralf Corsepius ralf.corsepius@rtems.org
c4x Joel Sherrill joel.sherrill@OARcorp.com
h8300 NAME-TBD EMAIL-TBD
i386 NAME-TBD EMAIL-TBD
m68k NAME-TBD EMAIL-TBD

View File

@@ -31,7 +31,7 @@ TAG_SUFFIX = -test1
rtems_version := $(shell cat VERSION | sed -n '/.* Version /{s/^.*Version[ ]*\([0-9\.]\+\)/\1/p};')
rtems_tag := $(shell echo "rtems-$(rtems_version)" | tr . -)
rtems_api := 4.8
rtems_api := 4.9
PATH := /opt/rtems-$(rtems_api)/bin:$(PATH)
# -----------------
@@ -61,8 +61,8 @@ rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2: rtems-$(rtems_version)/stamp.autofi
doc/itron3.0/itron.texi doc/networking/networking.texi \
doc/new_chapters/new_chapters.texi doc/porting/porting.texi \
doc/posix1003.1/posix1003_1.texi doc/posix_users/posix_users.texi \
doc/relnotes/relnotes.texi doc/started_ada/started_ada.texi \
doc/started/started.texi doc/user/c_user.texi
doc/relnotes/relnotes.texi doc/started/started.texi \
doc/user/c_user.texi
tar -cj -X rtems-$(rtems_version)/excludes \
-f rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2 rtems-$(rtems_version)

View File

@@ -88,20 +88,17 @@ within a target architecture. Remember that the target specifies the
CPU family while the BSP specifies the precise board you will be using.
The following targets are supported:
(none) will build the host-based version on Linux,
Solaris and HPUX.
(none) will build the host-based version on Linux, Solaris and HPUX.
arm-rtems
c4x-rtems
h8300-rtems
i386-rtems
m68k-rtems
mips-rtems
no_cpu-rtems
or32-rtems
powerpc-rtems
sh-rtems
sparc-rtems
arm-rtems4.9
h8300-rtems4.9
i386-rtems4.9
m68k-rtems4.9
mips-rtems4.9
no_cpu-rtems4.9
powerpc-rtems4.9
sh-rtems4.9
sparc-rtems4.9
bare see notes
The cross-compiler is set to $(target)-gcc by default. This can be
@@ -126,21 +123,13 @@ As an example, to build and install the mvme136 and mvme162 bsps for m68k do:
make install RTEMS_BSP="mvme136 mvme162"
The sample tests are built by 'make all', do a 'make test' to build the full
The sample tests are built by 'make all' when configured with
--enable-tests=samples. Use --enable-tests=all to build the full
test suite.
By default, --enable-docs is disabled and documentation is not built.
Documentation is built separately from the source code.
2.2 Build with Cygnus one-tree release
[NOTE: This section does not apply anymore.]
To build and install RTEMS with the one-tree structure, just copy the rtems
directory to the tree. The one-tree configure.in and Makefile.in has to be
replaced with the RTEMS-aware versions. The build options are the same as
for the standalone build.
2.3 Target Dependent Notes
2.2 Target Dependent Notes
bare:
@@ -176,42 +165,44 @@ The following bsps are supported:
host-based : posix (on Linux, FreeBSD, Cygwin, Solaris, and HPUX)
arm : csb336 csb337 edb7312 gba gp32 rtl22x
arm : csb336 csb337 edb7312 gba gp32 nds rtl22x rtl22xx_t
smdk2410
avr: : none
bfin : eZKit533
c4x : c3xsim c4xsim
bfin : eZKit533 bf537Stamp
h8300 : h8sim
i386 : 386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
i386 : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
NOTE: The "pc386" BSP can be compiled to support a
variety of PC configurations including PC-104
based solutions.
m68k : gen68360 gen68360_040 mvme136 mvme147s mvme162 mvme162lx
mvme167 ods68302 sim68000 mcf5206elite uC5282
gen68302 csb360 simcpu32 mrm332 av5282 gen68340 mcf5235 idp
m68k : av5282 csb360 gen68302 gen68360 gen68360_040
genmcf548x idp mcf5206elite mcf52235 mcf5235 mcf5239
m5484FireEngine mrm332 mvme136 mvme147s mvme162 mvme162lx
mvme167 ods68302 pgh360 sim68000 simcpu32 uC5282
no_cpu : no_bsp (porting example)
mips : csb350 genmongoosev hurricane jmr3904 rbtx4925 rbtx4938
p4600 p4650
powerpc : psim score603e mcp750 mvme2100 mvme2307 mpc8260ads ss555
mvme5500 ep1a pm520_cr825 pm520_ze30 gen405 helas403
mbx821_001 mbx821_002 mbx821_002b mbx860_001b
mbx860_002 mbx860_005b mtx603e brs5l gen5200 ep5200
virtex gen83xx mpc8349eamds
mbx860_002 mbx860_005b mtx603e brs5l gen5200 icecube
virtex gen83xx mpc8349eamds hsc_cm01
powerpc : brs5l ep1a gen5200 gen83xx haleakala hsc_cm01 icecube
mbx821_001 mbx821_002 mbx821_002b mbx860_001b mbx860_002
mbx860_005b mcp750 mvme2100 mvme2307 mtx603e
mvme5500 mpc55xxevb mpc8260ads mpc8313erdb mpc8349eamds
pghplus pm520_cr825 pm520_ze30 psim score603e ss555
tqm8xx_stk8xx virtex
NOTE: The "motorola_powerpc" BSP is a single BSP which
can be conditionally compiled to support most Motorola
VMEbus, CompactPCI, and MTX boards.)
NOTE: The ep5200 is a clone of the 5200Lite a.k.a. IceCube.
NOTE: The mbx8xx, gen5200, gen83xx, and tqm8xx BSPs are
designed to handle a variety of boards based on the same
family of system on chips CPUs
sh : gensh1 gensh2 gensh4 shsim simsh4 simsh7045
@@ -248,22 +239,12 @@ Please refer to the BSP and Device Driver Guide.
7. Tested configurations
========================
All gnu-based bsps have been built on Linux.
The native (posix) ports have been built and run only on Linux.
The following configurations have NOT been tested:
+ Anything on Nextstep, HPUX and Irix.
+ The C4x and OR32 ports (requires specially patched toolchain)
All BSPs have been built on GNU/Linux if the target architecture
is supported in the FSF tools distribution.
8. Prerequisites
================
Gawk version 2 or higher.
GNU make version 3.72 or higher.
GNU make
Bash.
gcc version > 2.8
NOTE: These prerequisites are probably out of date but autoconf should detect
any problems.
binutils, gcc, newlib and gdb versions matching those in the RPMs.

View File

@@ -8,12 +8,12 @@ includes porting RTEMS to new processors and the development of custom board
support packages and device drivers. In addition, OAR is available
to assist in the development of your real-time embedded application.
For more information, email Mark Johannes at mark.johannes@OARcorp.com
For more information, email Joel Sherrill joel.sherrill@OARcorp.com
or contact OAR at:
On-Line Applications Research Corporation
4910-L Corporate Drive
Huntsville AL 35805
7047 Old Madison Pike Suite 320
Huntsville AL 35806
Voice: (205) 722-9985
Fax: (205 722-0985

View File

@@ -4,4 +4,4 @@
# $Id$
#
RTEMS Version 4.7.99.2
RTEMS Version 4.9.5

View File

@@ -14,7 +14,7 @@ dnl Stripped down version of autoconf-2.52's AC_ARG_VAR.
AC_DEFUN([_RTEMS_ARG_VAR],
[
m4_expand_once([m4_divert_once([HELP_VAR],
[AC_HELP_STRING([$1], [$2], [ ])])],
[AS_HELP_STRING([$1], [$2], [ ])])],
[$0($1)])dnl
])
@@ -211,7 +211,7 @@ if test "$no_recursion" != yes; then
esac
ac_popdir=`pwd`
for ac_dir in $$1_configdirs; do
for ac_dir in : $$1_configdirs; do test "x$ac_dir" = x: && continue
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.

View File

@@ -8,8 +8,12 @@ AC_DEFUN([_RTEMS_BSP_ALIAS],
[# account for "aliased" bsps which share source code
case $1 in
bare*) $2=bare ;; # EXP: bare-aliases
c3xsim) $2=c4xsim ;; # TI C3x Simulator in gdb
gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
pghplus) $2=tqm8xx ;; # powerpc - mpc8xx custom board
tqm8xx_stk8xx) $2=tqm8xx ;; # powerpc - tqm8xx on starter kit
pgh360) $2=gen68360 ;; # m68k - 68360 custom board
m5484FireEngine) $2=genmcf548x ;; # m68k - mcf548x eva board
mbx8*) $2=mbx8xx ;; # MBX821/MBX860 board
mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant
mtx603e) $2=motorola_powerpc ;; # Motorola PPC board variant
@@ -26,8 +30,11 @@ AC_DEFUN([_RTEMS_BSP_ALIAS],
brs5l*) $2=gen5200 ;; # MPC5200 based board
pm520*) $2=gen5200 ;; # MPC5200 based board
icecube) $2=gen5200 ;; # MPC5200 based board - LITE5200B
mpc55??evb) $2=mpc55xxevb ;; # MPC5566EVB based board
mpc8349eamds) $2=gen83xx ;; # MPC8349 based board
hsc_cm01) $2=gen83xx ;; # MPC8349 based board
mpc8313erdb) $2=gen83xx ;; # MPC83XX based board
rtl22xx_t) $2=rtl22xx ;; # rtl22xx bsp in thumb mode
simcpu32) $2=sim68000 ;; # BSVC CPU32 variant
simsh7032) $2=shsim ;; # SH7032 simulator
simsh7045) $2=shsim ;; # SH7045 simulator

View File

@@ -29,9 +29,6 @@ case "${target}" in
sparc-sun-solaris*) # unix "simulator" port
RTEMS_CPU=unix
;;
tic4x-*rtems*) # gcc changed the name
RTEMS_CPU=c4x
;;
*)
RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
;;

View File

@@ -16,8 +16,9 @@ AC_MSG_CHECKING([for available BSPs])
-e "s,/bsp_specs$,,"`
case $bsp_family in
# Now account for BSPs with build variants
c4xsim) bsps="c4xsim c3xsim";;
gen68360) bsps="gen68360 gen68360_040";;
gen68360) bsps="gen68360 gen68360_040 pgh360";;
tqm8xx) bsps="pghplus tqm8xx_stk8xx";;
genmcf548x) bsps="m5484FireEngine";;
p4000) bsps="p4600 p4650";;
mvme162) bsps="mvme162 mvme162lx";;
mbx8xx) bsps="mbx821_001 mbx860_001b"
@@ -25,11 +26,13 @@ AC_MSG_CHECKING([for available BSPs])
bsps="$bsps mbx860_002"
bsps="$bsps mbx860_005b"
;;
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l";;
gen83xx) bsps="mpc8349eamds hsc_cm01";;
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l icecube";;
mpc55xxevb) bsps="mpc5566evb";;
gen83xx) bsps="mpc8349eamds hsc_cm01 mpc8313erdb";;
motorola_powerpc) bsps="mvme2307 mcp750 mtx603e mvme2100";;
pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
erc32) bsps="erc32 sis";;
rtl22xx) bsps="rtl22xx rtl22xx_t)";;
sim68000) bsps="sim68000 simcpu32";;
shsim) bsps="simsh7032 simsh7045";;
*) bsps="$bsp_family";;

View File

@@ -3,7 +3,7 @@ dnl $Id$
AC_DEFUN([RTEMS_ENABLE_CXX],
[
AC_ARG_ENABLE(cxx,
[AC_HELP_STRING([--enable-cxx],
[AS_HELP_STRING([--enable-cxx],
[enable C++ support and build the rtems++ library])],
[case "${enable_cxx}" in
yes) RTEMS_HAS_CPLUSPLUS=yes ;;

View File

@@ -5,7 +5,7 @@ AC_DEFUN([RTEMS_ENABLE_ITRON],
## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
AC_ARG_ENABLE(itron,
[AC_HELP_STRING([--enable-itron],[enable itron interface])],
[AS_HELP_STRING([--enable-itron],[enable itron interface])],
[case "${enableval}" in
yes) RTEMS_HAS_ITRON_API=yes ;;
no) RTEMS_HAS_ITRON_API=no ;;

View File

@@ -3,7 +3,7 @@ dnl $Id$
AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING],
[
AC_ARG_ENABLE(multiprocessing,
[AC_HELP_STRING([--enable-multiprocessing],
[AS_HELP_STRING([--enable-multiprocessing],
[enable multiprocessing interface])],
[case "${enable_multiprocessing}" in
yes) ;;

View File

@@ -5,7 +5,7 @@ AC_DEFUN([RTEMS_ENABLE_NETWORKING],
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
AC_ARG_ENABLE(networking,
[AC_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
[AS_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
[case "${enableval}" in
yes) RTEMS_HAS_NETWORKING=yes ;;
no) RTEMS_HAS_NETWORKING=no ;;

View File

@@ -5,7 +5,7 @@ AC_DEFUN([RTEMS_ENABLE_POSIX],
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
AC_ARG_ENABLE(posix,
[AC_HELP_STRING([--enable-posix],[enable posix interface])],
[AS_HELP_STRING([--enable-posix],[enable posix interface])],
[case "${enableval}" in
yes) RTEMS_HAS_POSIX_API=yes ;;
no) RTEMS_HAS_POSIX_API=no ;;

View File

@@ -3,7 +3,7 @@
AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG],
[
AC_ARG_ENABLE(rtems-debug,
AC_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
AS_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
[case "${enable_rtems_debug}" in
yes) enable_rtems_debug=yes ;;
no) enable_rtems_debug=no ;;

View File

@@ -7,7 +7,7 @@ AC_DEFUN([RTEMS_ENABLE_RTEMSBSP],
[
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
AC_ARG_ENABLE(rtemsbsp,
[AC_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
[BSPs to include in build])],
[case "${enable_rtemsbsp}" in
yes ) enable_rtemsbsp="" ;;

View File

@@ -3,7 +3,7 @@ dnl $Id$
AC_DEFUN([RTEMS_ENABLE_TESTS],
[
AC_ARG_ENABLE(tests,
[AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
[AS_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
[case "${enableval}" in
samples) enable_tests=samples;;
yes) enable_tests=yes ;;

View File

@@ -5,7 +5,7 @@ dnl parts of these macros are derived from newlib-1.8.2's multilib support
AC_DEFUN([RTEMS_ENABLE_MULTILIB],
[
AC_ARG_ENABLE(multilib,
AC_HELP_STRING([--enable-multilib],
AS_HELP_STRING([--enable-multilib],
[build many library versions (default=no)]),
[case "${enableval}" in
yes) multilib=yes ;;

View File

@@ -1,5 +1,8 @@
dnl $Id$
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
dnl
dnl RTEMS_TOP($1)
dnl
@@ -8,6 +11,7 @@ dnl
AC_DEFUN([RTEMS_TOP],
[dnl
AC_REQUIRE([RTEMS_VERSIONING])
AC_REQUIRE([AC_DISABLE_OPTION_CHECKING])
AC_CONFIG_AUX_DIR([$1])
AC_CHECK_PROGS(MAKE, gmake make)
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.7.99.2]))
m4_define([_RTEMS_VERSION],[4.9.5]))
m4_define([RTEMS_API],[4.8])
m4_define([RTEMS_API],[4.9])

View File

@@ -98,7 +98,7 @@ done
case $mode in
preinstall)
confs=`find -name Makefile.am -exec grep -l 'include .*/preinstall\.am' {} \;`
confs=`find . -name Makefile.am -exec grep -l 'include .*/preinstall\.am' {} \;`
for i in $confs; do
dir=$(dirname $i);
test "$quite" = "true" || echo "Generating $dir/preinstall.am"

View File

@@ -153,7 +153,7 @@ The following persons/organizations have made contributions:
interrupt management API that reduces interrupt latency while making
it easier to support external interrupt controllers.
+ Joel Sherrill <joel@OARcorp.com> for the BSPs that work with
+ Joel Sherrill <joel.sherrill@OARcorp.com> for the BSPs that work with
numerous simulators including psim, c4xsim, h8sim, armulator,
sim68000, and simcpu32. Most of these BSPs work with instruction
set simulators in gdb.

View File

@@ -1,3 +1,8 @@
2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* ACKNOWLEDGEMENTS, TOOL_TARGETS: Remove TI C4x and NIOS2 ports from
4.9 branch.
2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Use MKDIR_P instead of mkdir_p.

View File

@@ -5,48 +5,32 @@
The following are targets for the GNU tools (gcc, binutils, newlib, and gdb)
that are for RTEMS, their object format, and status notes
arm:
arm-rtems ELF
arm: arm-rtems ELF
c4x:
c4x-rtems COFF Requires patches
h8300: h8300-rtems COFF
h8300:
h8300-rtems COFF
i386: i386-rtems ELF
i386:
i386-rtems ELF
m68k: m68k-rtems ELF
m68k:
m68k-rtems ELF
mips:
mips*-rtems ELF Big endian
mips*el-rtems ELF Little endian
mips: mips*-rtems ELF Big endian
mips*el-rtems ELF Little endian
NOTE: Little endian configuration is not in all tools and
is untested for RTEMS itself.
nios2:
nios2-elf ELF Little endian
nios2: nios2-elf ELF Little endian
NOTE: Currently there is no native nios2-rtems toolchain;
Altera's nios2-elf-tools can be used with wrapper scripts.
powerpc:
powerpc-rtems ELF
powerpcle-rtems ELF Little endian
powerpc: powerpc-rtems ELF
powerpcle-rtems ELF Little endian
NOTE: Little endian configuration is not in all tools and
is untested for RTEMS itself.
sh:
sh-rtems COFF
sh-rtemscoff COFF
sh-rtemself ELF
NOTE: ELF is not completely stable for SH yet.
sh: sh-rtems ELF
sparc:
sparc-rtems ELF

View File

@@ -1,3 +1,287 @@
2009-03-12 Daniel Hellstrom <daniel@gaisler.com>
PR 1392/bsps
* libchip/i2c/spi-memdrv.c: SPI Memory driver. Fix but where writes
over multiple pages results in extra data being written.
2009-01-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/i2c/spi-sd-card.c: Fixed RTEMS_BLKDEV_CAPABILITIES ioctl
which caused invalid multiple block writes.
2008-11-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/serial/ns16550.c: Transmit the character in the polled write
function within a critical section for printk() compatibility.
2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Remove pre-production testing CFLAGS.
2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/canonical-target-name.m4, aclocal/rtems-cpu-subdirs.m4:
Remove TI C4x and NIOS2 ports from 4.9 branch.
2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.h: Convert to Unix file format.
2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/mc68681.c, libchip/serial/mc68681_p.h,
libchip/serial/ns16550.c, libchip/serial/ns16550_p.h,
libchip/serial/serial.h, libchip/serial/serprobe.c,
libchip/serial/sersupp.h, libchip/serial/z85c30.c:
Convert to "bool".
* libchip/i2c/spi-flash-m25p40.c, libchip/i2c/spi-fram-fm25l256.c,
libchip/i2c/spi-memdrv.h: Convert to "bool".
* libchip/rtc/ds1375-rtc.h, libchip/rtc/ds1375.c,
libchip/rtc/mc146818a.c, libchip/rtc/mc146818a.h,
libchip/rtc/rtc.h, libchip/rtc/rtcprobe.c: Convert to "bool".
* libchip/ide/ata.c, libchip/ide/ata_internal.h,
libchip/ide/ide_ctrl_cfg.h: Convert to "bool".
* libchip/display/disp_hcms29xx.c, libchip/display/disp_hcms29xx.h:
Convert to "bool".
* libchip/network/if_fxp.c, libchip/network/if_fxpvar.h:
Convert to "bool".
* libchip/shmdr/fatal.c, libchip/shmdr/shm_driver.h:
Convert to "bool".
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/Makefile.am, libchip/shmdr/init.c, libchip/shmdr/mpisr.c,
libchip/shmdr/poll.c, libchip/shmdr/shm_driver.h: Update shared
memory driver to not use the clock ioctl to install a method to poll
for input. It now uses a Class API Timer which means we can eliminate
this special IOCTL from all clock drivers.
* libchip/shmdr/setckvec.c: Removed.
2008-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/network/sonic.c: Do not declare a variable just to hold an
ignored return value.
2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/i2c/spi-sd-card.c: Fixed integer conversion warnings.
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/display/disp_hcms29xx.c: Initialize softc_ptr to NULL.
* libchip/network/dec21140.c, libchip/network/if_dc.c: Use uint32_t.
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/display/disp_hcms29xx.c: Do not make these static. They
appear to be unused that way.
2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/shmdr/shm_driver.h: Correct prototypes.
2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/display/disp_hcms29xx.c: Fixed warnings. Initialized
variables and made methods static.
2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/serial/ns16550.c: Fix warning.
2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Add -Wnested-externs.
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c: Add missing prototype.
* libchip/ide/ata.c, libchip/network/elnk.c: Add missing prototypes.
2008-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Add -Wimplicit-function-declaration
-Wstrict-prototypes to RTEMS_CFLAGS.
2008-08-02 Chris Johns <chrisj@rtems.org>
* libchip/i2c/spi-sd-card.c, libchip/ide/ata.c: Remove
rtems_blkdev_request count and start references. Use
RTEMS_BLKDEV_START_BLOCK.
2008-07-29 Chris Johns <chrisj@rtems.org>
* libchip/i2c/spi-sd-card.c: Updated to the libblock changes.
* libchip/ide/ata.c: Change to use a mutex rather than disable
pre-emption. Updated to the libblock changes.
* libchip/ide/ata_internal.h: Updated to the new chains API.
* libchip/ide/ide_controller.c: Updated to the libblock
changes. Added come debug tracing.
* libchip/ide/ide_ctrl_cfg.h, libchip/ide/ide_ctrl_io.h: Updated
to the libblock changes.
2008-07-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RPCGEN, RPCTOOLS.
2008-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/i2c/spi-sd-card.h, libchip/i2c/spi-sd-card.c: Use inttypes.h
for output format specifiers.
2008-07-17 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* libchip/display/font_hcms29xx.h, libchip/display/disp_hcms29xx.h:
Fixed some data types
2008-07-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/i2c/spi-sd-card.c: Added missing header file.
* libchip/Makefile.am: Added SD Card driver.
2008-07-14 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* libchip/display/font_hcms29xx.c, libchip/display/disp_fonts.h
make glyphs non-constant, added file headers
2008-07-09 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* libchip/display/disp_fonts.h, libchip/display/disp_hcms29xx.c
* libchip/display/disp_hcms29xx.h, libchip/display/font_hcms29xx.c
* libchip/display/font_hcms29xx.h
Creation of SPI display driver
2008-07-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/i2c/spi-sd-card.h, libchip/i2c/spi-sd-card.c: SD Card driver
via SPI.
2008-06-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
AC_PREREQ(2.62).
2008-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/target.m4: Allow empty RTEMS_BUILD_SUBDIRS.
2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/Makefile.am: Move termios helper routines from libchip to
libcsupport. Add routine which makes it easy for a termios device
driver to inform termios of its default baud rate. This avoids
inconsistencies in later termios settings changes.
* libchip/serial/termios_baud2index.c,
libchip/serial/termios_baud2num.c: Removed.
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/bsp-bootcards-handles-ram-allocation.m4: New file.
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* wrapup/Makefile.am: Many BSPs do not include any .rel files now so do
not fail if there are none.
2008-05-15 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* libchip/i2c/spi-flash-m25p40.c, libchip/i2c/spi-flash-m25p40.h,
* libchip/i2c/spi-fram-fm25l256.c, libchip/i2c/spi-fram-fm25l256.h,
* libchip/i2c/spi-memdrv.c, libchip/i2c/spi-memdrv.h,
* libchip/Makefile.am:
derived a generic spi memory driver from spi-flash-m25p40,
added descriptor for fram fm25l256
2008-05-07 Till Straumann <strauman@slac.stanford.edu>
PR 649/bsps
* libchip/ide/ata.c: Give up if the interface does not become ready.
2008-04-25 Joel Sherrill <joel.sherrill@OARcorp.com>
Moved to cpukit.
* nfsclient/.cvsignore, nfsclient/ChangeLog.slac, nfsclient/LICENSE,
nfsclient/Makefile.am, nfsclient/README, nfsclient/preinstall.am,
nfsclient/rfc1094.txt, nfsclient/rtems-filesystem-patch,
nfsclient/proto/mount_prot.h, nfsclient/proto/mount_prot.x,
nfsclient/proto/mount_prot_xdr.c, nfsclient/proto/nfs_prot.h,
nfsclient/proto/nfs_prot.x, nfsclient/proto/nfs_prot_xdr.c,
nfsclient/src/cexphelp.c, nfsclient/src/dirutils.c,
nfsclient/src/librtemsNfs.h, nfsclient/src/nfs.c,
nfsclient/src/nfs.modini.c, nfsclient/src/nfsTest.c,
nfsclient/src/rpcio.c, nfsclient/src/rpcio.h,
nfsclient/src/rpcio.modini.c, nfsclient/src/sock_mbuf.c,
nfsclient/src/xdr_mbuf.c: Removed.
2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Stop building nfsclient here and build it in CPUKIT.
2008-01-05 Chris Johns <chrisj@rtems.org>
* libchip/flash/am29lv160.c: Update the blank check error message
to say there is an error.
2007-12-22 Chris Johns <chrisj@rtems.org>
* nfsclient/src/nfs.c, nfsclient/src/rpcio.c: Adjust the length of
the hello message. Just one line but still a little too long.
2007-12-14 Chris Johns <chrisj@rtems.org>
* wrapup/Makefile.am: Add libflash.a to the libbsp library.
* libchip/Makefile.am, libchip/preinstall.am: Add the flash chip support.
* libchip/flash, libchip/flash/am29lv160.c,
libchip/flash/am29lv160.h: New.
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/if_fxp.c: Spacing.
2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h:
Avoid using 'stdio' before the system is up and fully
initialized.
2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h,
* libchip/Makefile.am, libchip/preinstall.am:
added new driver for Maxim DS1375 i2c RTC.
2007-09-26 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* libchip/i2c/spi-flash-m25p40.c:
added addressing call in write function
2007-09-24 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* libchip/i2c/spi-flash-m25p40.c, libchip/i2c/spi-flash-m25p40.c,
* libchip/Makefile.am:
added SPI flash driver for a M25P40 chip (based on libi2c extensions)
2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/shmdr/dump.c, libchip/shmdr/shm_driver.h: Fix warnings.
2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* nfsclient/Makefile.am: Fix errors.
2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* nfsclient/Makefile.am, nfsclient/preinstall.am: Install libnfs.a.
2007-09-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump RTEMS_API to 4.9.
Bump RTEMS_VERSION to 4.8.99.0.
2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/network/smc91111.h: Eliminate DEBUG_puts.

View File

@@ -0,0 +1,35 @@
dnl $Id$
dnl
dnl RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION - some autoconf voodoo to
dnl indicate that the BSP is using the shared RAM allocation code in
dnl bootcard.c. This is a new way of doing things that will reduce the
dnl size of each BSP's bspstart.c and open the door for another round
dnl of benefits for BSPs that use this scheme.
dnl
dnl Benefits:
dnl - Reduced code in bspstart.c
dnl - Can optionally dirty memory at boot time.
dnl
dnl NOTE: This macro is intended to be temporary. When most of the
dnl BSPs use the new shared method, we need to either bulk edit
dnl the remaining BSPs to eliminate code using the old way. Or
dnl switch the sense of this macro to be required on BSPs using
dnl the old way.
dnl
dnl AGAIN: This is intended to be temporary. Please help by
dnl updating BSPs to use the new scheme.
dnl To be used in bsp-configure scripts
AC_DEFUN([RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION],
[AC_DEFINE_UNQUOTED([BSP_BOOTCARD_HANDLES_RAM_ALLOCATION],
[1],
[BSP uses shared logic in bootcard.c]
)
RTEMS_BSPOPTS_SET([BSP_DIRTY_MEMORY],[*],[0])
RTEMS_BSPOPTS_HELP([BSP_DIRTY_MEMORY],
[If defined, then PSIM will put a non-zero pattern into the RTEMS
Workspace and C program heap. This should assist in finding
code that assumes memory starts set to zero.])
])

View File

@@ -34,10 +34,6 @@ case "${host}" in
RTEMS_CPU=unix
RTEMS_HOST=Solaris
;;
tic4x-*rtems*) # gcc changed the name
RTEMS_CPU=c4x
RTEMS_HOST=$host_os
;;
*)
RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
RTEMS_HOST=$host_os

View File

@@ -35,10 +35,10 @@ GCCSPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
GCCSPECS="${GCCSPECS} -specs bsp_specs -qrtems"])
AC_SUBST(GCCSPECS)
if test "$GCC" = yes; then
AS_IF([test "$GCC" = yes],[
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
fi
])
AC_SUBST(RTEMS_CFLAGS)
AS_IF([test x"$rtems_cv_gcc_isystem" = xyes],[

View File

@@ -13,13 +13,11 @@ case $RTEMS_CPU in
_RTEMS_CPU_SUBDIR([arm],[$1]);;
_RTEMS_CPU_SUBDIR([bfin],[$1]);;
_RTEMS_CPU_SUBDIR([avr],[$1]);;
_RTEMS_CPU_SUBDIR([c4x],[$1]);;
_RTEMS_CPU_SUBDIR([h8300],[$1]);;
_RTEMS_CPU_SUBDIR([hppa1.1],[$1]);;
_RTEMS_CPU_SUBDIR([i386],[$1]);;
_RTEMS_CPU_SUBDIR([m68k],[$1]);;
_RTEMS_CPU_SUBDIR([mips],[$1]);;
_RTEMS_CPU_SUBDIR([nios2],[$1]);;
_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
_RTEMS_CPU_SUBDIR([or32],[$1]);;
_RTEMS_CPU_SUBDIR([powerpc],[$1]);;

View File

@@ -1,5 +1,8 @@
dnl $Id$
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
dnl
dnl RTEMS_TOP($1)
dnl
@@ -8,6 +11,7 @@ dnl
AC_DEFUN([RTEMS_TOP],
[dnl
AC_REQUIRE([RTEMS_VERSIONING])
AC_REQUIRE([AC_DISABLE_OPTION_CHECKING])
AC_REQUIRE([AM_SET_LEADING_DOT])
AC_CONFIG_AUX_DIR([$1])
AC_CHECK_PROGS(MAKE, gmake make)

View File

@@ -33,7 +33,8 @@ if test "$no_recursion" != yes; then
],
[rtems_configure_args])
for rtems_config_dir in $RTEMS_BUILD_SUBDIRS; do
for rtems_config_dir in : $RTEMS_BUILD_SUBDIRS; do test "x$rtems_config_dir" = x: && continue
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.
if test ! -d $srcdir/$rtems_config_dir; then

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.7.99.2]))
m4_define([_RTEMS_VERSION],[4.9.5]))
m4_define([RTEMS_API],[4.8])
m4_define([RTEMS_API],[4.9])

View File

@@ -1,3 +1,389 @@
2008-09-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/timer_driver.adb, support/timer_driver.ads,
tmtests/tm01/tmtest.adb, tmtests/tm02/tmtest.adb,
tmtests/tm03/tmtest.adb, tmtests/tm04/tmtest.adb,
tmtests/tm05/tmtest.adb, tmtests/tm06/tmtest.adb,
tmtests/tm07/tmtest.adb, tmtests/tm08/tmtest.adb,
tmtests/tm09/tmtest.adb, tmtests/tm10/tmtest.adb,
tmtests/tm11/tmtest.adb, tmtests/tm12/tmtest.adb,
tmtests/tm13/tmtest.adb, tmtests/tm14/tmtest.adb,
tmtests/tm15/tmtest.adb, tmtests/tm16/tmtest.adb,
tmtests/tm17/tmtest.adb, tmtests/tm18/tmtest.adb,
tmtests/tm19/tmtest.adb, tmtests/tm20/config.h,
tmtests/tm20/tmtest.adb, tmtests/tm21/tmtest.adb,
tmtests/tm22/tmtest.adb, tmtests/tm23/tmtest.adb,
tmtests/tm24/tmtest.adb, tmtests/tm25/tmtest.adb,
tmtests/tm28/tmtest.adb, tmtests/tm29/tmtest.adb,
tmtests/tmck/tmtest.adb, tmtests/tmoverhd/tmtest.adb: Clean up.
Verified to run on psim with gcc 4.3.2.
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-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-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sptests/spname01/config.h: New file.
2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, sptests/Makefile.am: Exercise passing as object Id of
SELF.
* sptests/spname01/.cvsignore, sptests/spname01/Makefile.am,
sptests/spname01/ada_spname01.scn, sptests/spname01/spname01.adb,
sptests/spname01/sptest.adb, sptests/spname01/sptest.ads: New files.
2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
samples/base_mp/node1/Makefile.am, samples/base_mp/node2/Makefile.am,
samples/base_sp/Makefile.am, samples/hello/Makefile.am,
samples/nsecs/Makefile.am, samples/ticker/Makefile.am,
sptests/sp01/Makefile.am, sptests/sp02/Makefile.am,
sptests/sp03/Makefile.am, sptests/sp04/Makefile.am,
sptests/sp05/Makefile.am, sptests/sp06/Makefile.am,
sptests/sp07/Makefile.am, sptests/sp08/Makefile.am,
sptests/sp09/Makefile.am, sptests/sp11/Makefile.am,
sptests/sp12/Makefile.am, sptests/sp13/Makefile.am,
sptests/sp14/Makefile.am, sptests/sp15/Makefile.am,
sptests/sp16/Makefile.am, sptests/sp17/Makefile.am,
sptests/sp19/Makefile.am, sptests/sp20/Makefile.am,
sptests/sp22/Makefile.am, sptests/sp23/Makefile.am,
sptests/sp24/Makefile.am, sptests/sp25/Makefile.am,
tmtests/tm01/Makefile.am, tmtests/tm02/Makefile.am,
tmtests/tm03/Makefile.am, tmtests/tm04/Makefile.am,
tmtests/tm05/Makefile.am, tmtests/tm06/Makefile.am,
tmtests/tm07/Makefile.am, tmtests/tm08/Makefile.am,
tmtests/tm09/Makefile.am, tmtests/tm10/Makefile.am,
tmtests/tm11/Makefile.am, tmtests/tm12/Makefile.am,
tmtests/tm13/Makefile.am, tmtests/tm14/Makefile.am,
tmtests/tm15/Makefile.am, tmtests/tm16/Makefile.am,
tmtests/tm17/Makefile.am, tmtests/tm18/Makefile.am,
tmtests/tm19/Makefile.am, tmtests/tm20/Makefile.am,
tmtests/tm21/Makefile.am, tmtests/tm22/Makefile.am,
tmtests/tm23/Makefile.am, tmtests/tm24/Makefile.am,
tmtests/tm25/Makefile.am, tmtests/tm28/Makefile.am,
tmtests/tm29/Makefile.am, tmtests/tmck/Makefile.am,
tmtests/tmoverhd/Makefile.am: Make all test names unique. All needed
ada_ as prefix to distinguish them from the C tests. MP tests should
produce an executable with test name and node number in it. Screens
renamed to follow.
* ada_mvscn, mptests/mp01/node1/ada_mp01-node1.scn,
mptests/mp01/node2/ada_mp01-node2.scn,
mptests/mp02/node1/ada_mp02-node1.scn,
mptests/mp02/node2/ada_mp02-node2.scn,
mptests/mp03/node1/ada_mp03-node1.scn,
mptests/mp03/node2/ada_mp03-node2.scn,
mptests/mp04/node1/ada_mp04-node1.scn,
mptests/mp04/node2/ada_mp04-node2.scn,
mptests/mp05/node1/ada_mp05-node1.scn,
mptests/mp05/node2/ada_mp05-node2.scn,
mptests/mp06/node1/ada_mp06-node1.scn,
mptests/mp06/node2/ada_mp06-node2.scn,
mptests/mp07/node1/ada_mp07-node1.scn,
mptests/mp07/node2/ada_mp07-node2.scn,
mptests/mp08/node1/ada_mp08-node1.scn,
mptests/mp08/node2/ada_mp08-node2.scn,
mptests/mp09/node1/ada_mp09-node1.scn,
mptests/mp09/node2/ada_mp09-node2.scn,
mptests/mp10/node1/ada_mp10-node1.scn,
mptests/mp10/node2/ada_mp10-node2.scn,
mptests/mp11/node1/ada_mp11-node1.scn,
mptests/mp11/node2/ada_mp11-node2.scn,
mptests/mp12/node1/ada_mp12-node1.scn,
mptests/mp12/node2/ada_mp12-node2.scn,
mptests/mp13/node1/ada_mp13-node1.scn,
mptests/mp13/node2/ada_mp13-node2.scn,
mptests/mp14/node1/ada_mp14-node1.scn,
mptests/mp14/node2/ada_mp14-node2.scn,
samples/base_mp/node1/ada_base_mp-node1.scn,
samples/base_mp/node2/ada_base_mp-node2.scn,
samples/base_sp/ada_base_sp.scn, samples/hello/ada_hello.scn,
samples/nsecs/ada_nsecs.scn, samples/ticker/ada_ticker.scn,
sptests/sp01/ada_sp01.scn, sptests/sp02/ada_sp02.scn,
sptests/sp03/ada_sp03.scn, sptests/sp04/ada_sp04.scn,
sptests/sp05/ada_sp05.scn, sptests/sp06/ada_sp06.scn,
sptests/sp07/ada_sp07.scn, sptests/sp08/ada_sp08.scn,
sptests/sp09/ada_sp09.scn, sptests/sp11/ada_sp11.scn,
sptests/sp12/ada_sp12.scn, sptests/sp13/ada_sp13.scn,
sptests/sp14/ada_sp14.scn, sptests/sp15/ada_sp15.scn,
sptests/sp16/ada_sp16.scn, sptests/sp17/ada_sp17.scn,
sptests/sp19/ada_sp19.scn, sptests/sp20/ada_sp20.scn,
sptests/sp22/ada_sp22.scn, sptests/sp23/ada_sp23.scn,
sptests/sp24/ada_sp24.scn, sptests/sp25/ada_sp25.scn: New files.
* mptests/mp01/node1/mp01-node1.scn, mptests/mp01/node2/mp01-node2.scn,
mptests/mp02/node1/mp02-node1.scn, mptests/mp02/node2/mp02-node2.scn,
mptests/mp03/node1/mp03-node1.scn, mptests/mp03/node2/mp03-node2.scn,
mptests/mp04/node1/mp04-node1.scn, mptests/mp04/node2/mp04-node2.scn,
mptests/mp05/node1/mp05-node1.scn, mptests/mp05/node2/mp05-node2.scn,
mptests/mp06/node1/mp06-node1.scn, mptests/mp06/node2/mp06-node2.scn,
mptests/mp07/node1/mp07-node1.scn, mptests/mp07/node2/mp07-node2.scn,
mptests/mp08/node1/mp08-node1.scn, mptests/mp08/node2/mp08-node2.scn,
mptests/mp09/node1/mp09-node1.scn, mptests/mp09/node2/mp09-node2.scn,
mptests/mp10/node1/mp10-node1.scn, mptests/mp10/node2/mp10-node2.scn,
mptests/mp11/node1/mp11-node1.scn, mptests/mp11/node2/mp11-node2.scn,
mptests/mp12/node1/mp12-node1.scn, mptests/mp12/node2/mp12-node2.scn,
mptests/mp13/node1/mp13-node1.scn, mptests/mp13/node2/mp13-node2.scn,
mptests/mp14/node1/mp14-node1.scn, mptests/mp14/node2/mp14-node2.scn,
samples/base_mp/node1/base_mp-node1.scn,
samples/base_mp/node2/base_mp-node2.scn, samples/base_sp/base_sp.scn,
samples/hello/hello.scn, samples/nsecs/nsecs.scn,
samples/ticker/ticker.scn, sptests/sp01/sp01.scn,
sptests/sp02/sp02.scn, sptests/sp03/sp03.scn, sptests/sp04/sp04.scn,
sptests/sp05/sp05.scn, sptests/sp06/sp06.scn, sptests/sp07/sp07.scn,
sptests/sp08/sp08.scn, sptests/sp09/sp09.scn, sptests/sp11/sp11.scn,
sptests/sp12/sp12.scn, sptests/sp13/sp13.scn, sptests/sp14/sp14.scn,
sptests/sp15/sp15.scn, sptests/sp16/sp16.scn, sptests/sp17/sp17.scn,
sptests/sp19/sp19.scn, sptests/sp20/sp20.scn, sptests/sp22/sp22.scn,
sptests/sp23/sp23.scn, sptests/sp24/sp24.scn, sptests/sp25/sp25.scn:
Removed.
2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* ada.am: Now builds cleanly with GCC trunk.
2007-10-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
samples/base_mp/Makefile.am, samples/base_mp/node1/Makefile.am,
samples/base_mp/node2/Makefile.am, samples/base_sp/Makefile.am,
samples/hello/Makefile.am, samples/nsecs/Makefile.am,
samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
sptests/sp02/Makefile.am, sptests/sp03/Makefile.am,
sptests/sp04/Makefile.am, sptests/sp05/Makefile.am,
sptests/sp06/Makefile.am, sptests/sp07/Makefile.am,
sptests/sp08/Makefile.am, sptests/sp09/Makefile.am,
sptests/sp11/Makefile.am, sptests/sp12/Makefile.am,
sptests/sp13/Makefile.am, sptests/sp14/Makefile.am,
sptests/sp15/Makefile.am, sptests/sp16/Makefile.am,
sptests/sp17/Makefile.am, sptests/sp19/Makefile.am,
sptests/sp20/Makefile.am, sptests/sp22/Makefile.am,
sptests/sp23/Makefile.am, sptests/sp24/Makefile.am,
sptests/sp25/Makefile.am, tmtests/tm01/Makefile.am,
tmtests/tm02/Makefile.am, tmtests/tm03/Makefile.am,
tmtests/tm04/Makefile.am, tmtests/tm05/Makefile.am,
tmtests/tm06/Makefile.am, tmtests/tm07/Makefile.am,
tmtests/tm08/Makefile.am, tmtests/tm09/Makefile.am,
tmtests/tm10/Makefile.am, tmtests/tm11/Makefile.am,
tmtests/tm12/Makefile.am, tmtests/tm13/Makefile.am,
tmtests/tm14/Makefile.am, tmtests/tm15/Makefile.am,
tmtests/tm16/Makefile.am, tmtests/tm17/Makefile.am,
tmtests/tm18/Makefile.am, tmtests/tm19/Makefile.am,
tmtests/tm20/Makefile.am, tmtests/tm21/Makefile.am,
tmtests/tm22/Makefile.am, tmtests/tm23/Makefile.am,
tmtests/tm24/Makefile.am, tmtests/tm25/Makefile.am,
tmtests/tm28/Makefile.am, tmtests/tm29/Makefile.am,
tmtests/tmck/Makefile.am, tmtests/tmoverhd/Makefile.am: Executables
should end in .exe just like their C counterparts.
2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* configure.ac, samples/Makefile.am: Added a test for Clock_Get_Uptime
* samples/nsecs/.cvsignore, samples/nsecs/Makefile.am,
samples/nsecs/config.h, samples/nsecs/nsecs.adb,
samples/nsecs/nsecs.scn, samples/nsecs/sptest.adb,
samples/nsecs/sptest.ads: New files.
2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sptests/sp16/sptest.ads, sptests/sp20/sptest.adb,
sptests/sp20/sptest.ads: Forgot to update the copyright.
2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sptests/sp09/sp09.scn, sptests/sp09/sptest.adb,
sptests/sp13/sp13.scn, sptests/sp13/sptest.adb,
sptests/sp16/sp16.scn, sptests/sp16/sptest.adb,
sptests/sp16/sptest.ads, sptests/sp20/sp20.scn,
sptests/sp20/sptest.adb, sptests/sp20/sptest.ads: Updated tests to
match the current C tests and regenerated the .scn files.
2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* configure.ac, samples/base_sp/base_sp.scn, samples/base_sp/config.h,
samples/base_sp/sptest.adb, samples/hello/config.h,
samples/ticker/config.h, samples/ticker/ticker.scn,
sptests/Makefile.am, sptests/sp01/sp01.scn, sptests/sp02/config.h,
sptests/sp02/sp02.scn, sptests/sp03/config.h, sptests/sp03/sp03.scn,
sptests/sp04/sp04.scn, sptests/sp04/sptest.adb,
sptests/sp05/config.h, sptests/sp05/sp05.scn, sptests/sp06/config.h,
sptests/sp07/config.h, sptests/sp07/sp07.scn,
sptests/sp07/sptest.adb, sptests/sp07/sptest.ads,
sptests/sp08/config.h, sptests/sp08/sp08.scn,
sptests/sp09/Makefile.am, sptests/sp09/config.h,
sptests/sp09/sp09.scn, sptests/sp09/sptest.adb,
sptests/sp09/sptest.ads, sptests/sp11/config.h,
sptests/sp11/sp11.scn, sptests/sp12/config.h, sptests/sp12/sp12.scn,
sptests/sp13/config.h, sptests/sp13/sp13.scn,
sptests/sp13/sptest.adb, sptests/sp14/config.h,
sptests/sp14/sp14.scn, sptests/sp15/config.h, sptests/sp15/sp15.scn,
sptests/sp16/config.h, sptests/sp16/sp16.scn,
sptests/sp16/sptest.adb, sptests/sp17/config.h,
sptests/sp19/config.h, sptests/sp19/sp19.scn, sptests/sp20/config.h,
sptests/sp20/sp20.scn, sptests/sp22/config.h, sptests/sp22/sp22.scn,
sptests/sp23/config.h, sptests/sp23/sp23.scn, sptests/sp24/config.h,
sptests/sp24/sp24.scn, sptests/sp25/config.h, sptests/sp25/sp25.scn,
support/init.c, support/test_support.adb, support/test_support.ads,
tmtests/tm09/config.h, tmtests/tm20/tmtest.adb,
tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/dummy_rtems.ads,
tmtests/tmoverhd/tmtest.adb, tmtests/tmoverhd/tmtest.ads: Updated
tests so that they would all compile and run without errors. Some
tests that are no longer valid using the current binding were
removed. Also updated the .scn files to reflect the current test
output.
* sptests/sp21/.cvsignore, sptests/sp21/Makefile.am,
sptests/sp21/config.h, sptests/sp21/sp21.adb, sptests/sp21/sp21.scn,
sptests/sp21/sptest.adb, sptests/sp21/sptest.ads,
sptests/spsize/.cvsignore, sptests/spsize/Makefile.am,
sptests/spsize/spsize.adb, sptests/spsize/sptest.adb,
sptests/spsize/sptest.ads: Removed.
2007-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am: Basic
build structure should now be correct. The remaining issues should be
test specific.
* mptests/mp01/config_base.h, mptests/mp01/node1/config.h,
mptests/mp01/node1/mp01_node1.adb, mptests/mp01/node2/config.h,
mptests/mp01/node2/mp01_node2.adb, mptests/mp02/config_base.h,
mptests/mp02/node1/config.h, mptests/mp02/node1/mp02_node1.adb,
mptests/mp02/node2/config.h, mptests/mp02/node2/mp02_node2.adb,
mptests/mp03/config_base.h, mptests/mp03/node1/config.h,
mptests/mp03/node1/mp03_node1.adb, mptests/mp03/node2/config.h,
mptests/mp03/node2/mp03_node2.adb, mptests/mp04/config_base.h,
mptests/mp04/node1/config.h, mptests/mp04/node1/mp04_node1.adb,
mptests/mp04/node2/config.h, mptests/mp04/node2/mp04_node2.adb,
mptests/mp05/config_base.h, mptests/mp05/node1/config.h,
mptests/mp05/node1/mp05_node1.adb, mptests/mp05/node2/config.h,
mptests/mp05/node2/mp05_node2.adb, mptests/mp06/config_base.h,
mptests/mp06/node1/config.h, mptests/mp06/node1/mp06_node1.adb,
mptests/mp06/node2/config.h, mptests/mp06/node2/mp06_node2.adb,
mptests/mp07/config_base.h, mptests/mp07/node1/config.h,
mptests/mp07/node1/mp07_node1.adb, mptests/mp07/node2/config.h,
mptests/mp07/node2/mp07_node2.adb, mptests/mp08/config_base.h,
mptests/mp08/node1/config.h, mptests/mp08/node1/mp08_node1.adb,
mptests/mp08/node2/config.h, mptests/mp08/node2/mp08_node2.adb,
mptests/mp09/config_base.h, mptests/mp09/node1/config.h,
mptests/mp09/node1/mp09_node1.adb, mptests/mp09/node2/config.h,
mptests/mp09/node2/mp09_node2.adb, mptests/mp10/config_base.h,
mptests/mp10/node1/config.h, mptests/mp10/node1/mp10_node1.adb,
mptests/mp10/node2/config.h, mptests/mp10/node2/mp10_node2.adb,
mptests/mp11/config_base.h, mptests/mp11/node1/config.h,
mptests/mp11/node1/mp11_node1.adb, mptests/mp11/node2/config.h,
mptests/mp11/node2/mp11_node2.adb, mptests/mp12/config_base.h,
mptests/mp12/node1/config.h, mptests/mp12/node1/mp12_node1.adb,
mptests/mp12/node2/config.h, mptests/mp12/node2/mp12_node2.adb,
mptests/mp13/config_base.h, mptests/mp13/node1/config.h,
mptests/mp13/node1/mp13_node1.adb, mptests/mp13/node2/config.h,
mptests/mp13/node2/mp13_node2.adb, mptests/mp14/config_base.h,
mptests/mp14/node1/config.h, mptests/mp14/node1/mp14_node1.adb,
mptests/mp14/node2/config.h, mptests/mp14/node2/mp14_node2.adb:
New files. GNATMAKE is easier to operate if the filename of the
main package matches the executable name. In this case, we needed
one for each node's executable.
* mptests/mp01/config.h: Removed.
2007-10-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* mptests/mp01/mptest.adb, mptests/mp01/mptest.ads,
mptests/mp01/node1/Makefile.am, mptests/mp02/mptest.adb,
mptests/mp02/mptest.ads, mptests/mp03/mptest.adb,
mptests/mp03/mptest.ads, mptests/mp04/mptest.adb,
mptests/mp04/mptest.ads, mptests/mp05/mptest.adb,
mptests/mp05/mptest.ads, mptests/mp06/mptest.adb,
mptests/mp06/mptest.ads, mptests/mp07/mptest.adb,
mptests/mp07/mptest.ads, mptests/mp08/mptest.adb,
mptests/mp08/mptest.ads, mptests/mp09/mptest.adb,
mptests/mp09/mptest.ads, mptests/mp10/mptest.adb,
mptests/mp10/mptest.ads, mptests/mp11/mptest.adb,
mptests/mp11/mptest.ads, mptests/mp12/mptest.adb,
mptests/mp12/mptest.ads, mptests/mp13/mptest.adb,
mptests/mp13/mptest.ads, mptests/mp14/mptest.adb,
mptests/mp14/mptest.ads, support/init.c, support/test_support.adb,
support/test_support.ads: Most of single processor Ada tests now
build. Some run.
2007-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/init.c: Spacing cleanup.

View File

@@ -1,6 +1,6 @@
SUFFIXES = .adb .ali .ads .adp
GNATMAKE = @GNATMAKE@ -cargs $(GCCSPECS) -largs $(GCCSPECS)
GNATMAKE = @GNATMAKE@
AM_ADAFLAGS = -I$(PROJECT_ROOT)/lib/include/adainclude \
-I$(PROJECT_ROOT)/@RTEMS_BSP@/lib/include/adainclude \
@@ -10,7 +10,9 @@ GNATCOMPILE = $(GNATMAKE) \
-bargs -Mgnat_main \
-margs $(AM_ADAFLAGS) $(ADAFLAGS) \
-cargs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
$(GCCSPECS) \
-largs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
$(GCCSPECS) \
$(AM_LDFLAGS) $(LDFLAGS) init.o
CLEANFILES = *.ali *.o b~*.adb b~*.ads

65
c/src/ada-tests/ada_mvscn Normal file
View File

@@ -0,0 +1,65 @@
while read f
do
bname=`basename $f`
# mv $f `dirname $f`/ada_`basename $f`
cvs rm -f $f
cvs add `dirname $f`/ada_`basename $f`
done <<EOF
./sptests/sp15/sp15.scn
./sptests/sp24/sp24.scn
./sptests/sp20/sp20.scn
./sptests/sp17/sp17.scn
./sptests/sp19/sp19.scn
./sptests/sp09/sp09.scn
./sptests/sp07/sp07.scn
./sptests/sp12/sp12.scn
./sptests/sp14/sp14.scn
./sptests/sp03/sp03.scn
./sptests/sp23/sp23.scn
./sptests/sp16/sp16.scn
./sptests/sp06/sp06.scn
./sptests/sp04/sp04.scn
./sptests/sp11/sp11.scn
./sptests/sp01/sp01.scn
./sptests/sp22/sp22.scn
./sptests/sp05/sp05.scn
./sptests/sp02/sp02.scn
./sptests/sp08/sp08.scn
./sptests/sp25/sp25.scn
./sptests/sp13/sp13.scn
./mptests/mp13/node2/mp13-node2.scn
./mptests/mp13/node1/mp13-node1.scn
./mptests/mp02/node2/mp02-node2.scn
./mptests/mp02/node1/mp02-node1.scn
./mptests/mp01/node2/mp01-node2.scn
./mptests/mp01/node1/mp01-node1.scn
./mptests/mp10/node2/mp10-node2.scn
./mptests/mp10/node1/mp10-node1.scn
./mptests/mp11/node2/mp11-node2.scn
./mptests/mp11/node1/mp11-node1.scn
./mptests/mp03/node2/mp03-node2.scn
./mptests/mp03/node1/mp03-node1.scn
./mptests/mp05/node2/mp05-node2.scn
./mptests/mp05/node1/mp05-node1.scn
./mptests/mp12/node2/mp12-node2.scn
./mptests/mp12/node1/mp12-node1.scn
./mptests/mp14/node2/mp14-node2.scn
./mptests/mp14/node1/mp14-node1.scn
./mptests/mp04/node2/mp04-node2.scn
./mptests/mp04/node1/mp04-node1.scn
./mptests/mp08/node2/mp08-node2.scn
./mptests/mp08/node1/mp08-node1.scn
./mptests/mp07/node2/mp07-node2.scn
./mptests/mp07/node1/mp07-node1.scn
./mptests/mp06/node2/mp06-node2.scn
./mptests/mp06/node1/mp06-node1.scn
./mptests/mp09/node2/mp09-node2.scn
./mptests/mp09/node1/mp09-node1.scn
./mvscn
./samples/base_mp/node2/base_mp-node2.scn
./samples/base_mp/node1/base_mp-node1.scn
./samples/hello/hello.scn
./samples/base_sp/base_sp.scn
./samples/nsecs/nsecs.scn
./samples/ticker/ticker.scn
EOF

View File

@@ -48,6 +48,7 @@ samples/Makefile
samples/base_sp/Makefile
samples/hello/Makefile
samples/ticker/Makefile
samples/nsecs/Makefile
samples/base_mp/Makefile
samples/base_mp/node1/Makefile
samples/base_mp/node2/Makefile
@@ -73,12 +74,11 @@ sptests/sp16/Makefile
sptests/sp17/Makefile
sptests/sp19/Makefile
sptests/sp20/Makefile
sptests/sp21/Makefile
sptests/sp22/Makefile
sptests/sp23/Makefile
sptests/sp24/Makefile
sptests/sp25/Makefile
sptests/spsize/Makefile
sptests/spname01/Makefile
])
AC_CONFIG_FILES([

View File

@@ -0,0 +1,32 @@
/* config_base.h
*
* This include file defines all of the Configuration Table for this test
* EXCEPT the NODE NUMBER.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
#include <rtems/confdefs.h>
/* end of include file */

View File

@@ -28,8 +28,6 @@ with UNSIGNED32_IO;
package body MPTEST is
package body PER_NODE_CONFIGURATION is separate;
--PAGE
--
-- INIT
@@ -38,7 +36,7 @@ package body MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
) is
C : RTEMS.CHARACTER;
C : CHARACTER;
TIME : RTEMS.TIME_OF_DAY;
STATUS : RTEMS.STATUS_CODES;
begin
@@ -46,12 +44,12 @@ package body MPTEST is
TEXT_IO.NEW_LINE( 2 );
TEXT_IO.PUT( "*** TEST 1 -- NODE " );
UNSIGNED32_IO.PUT(
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
TEST_SUPPORT.NODE,
WIDTH => 1
);
TEXT_IO.PUT_LINE( " ***" );
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE /= 1 then
if TEST_SUPPORT.NODE /= 1 then
C := 'S';
else
C := 'M';

View File

@@ -43,6 +43,7 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- TEST_TASK
@@ -55,108 +56,6 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
--
-- This is the Driver Address Table for this test.
--
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
(1=>
(
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
RTEMS.NO_DRIVER_ENTRY, -- Open
RTEMS.NO_DRIVER_ENTRY, -- Close
RTEMS.NO_DRIVER_ENTRY, -- Read
RTEMS.NO_DRIVER_ENTRY, -- Write
RTEMS.NO_DRIVER_ENTRY -- Control
)
);
--
-- This is the Initialization Tasks Table for this test.
--
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
(1=>
(
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
2048, -- stack size
1, -- priority
RTEMS.GLOBAL, -- attributes
MPTEST.INIT'ACCESS, -- entry point
RTEMS.NO_PREEMPT, -- initial mode
0 -- argument list
)
);
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- BEGIN SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
package PER_NODE_CONFIGURATION is
--
-- LOCAL_NODE_NUMBER
--
-- DESCRIPTION:
--
-- This function returns the node number for this node.
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32;
pragma INLINE ( LOCAL_NODE_NUMBER );
end PER_NODE_CONFIGURATION;
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- END SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- This is the Multiprocessor Configuration Table for this test.
--
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
2, -- maximum # nodes in system
33, -- maximum # global objects
33 -- maximum # proxies
);
--
-- This is the Configuration Table for this test.
--
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
64 * 1024, -- executive RAM size
10, -- maximum # tasks
0, -- maximum # timers
0, -- maximum # semaphores
0, -- maximum # message queues
0, -- maximum # messages
0, -- maximum # partitions
0, -- maximum # regions
0, -- maximum # dp memory areas
0, -- maximum # periods
0, -- maximum # user extensions
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
50 -- # ticks in a timeslice
);
pragma Convention (C, TEST_TASK);
end MPTEST;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node1$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp01_ada_mp01_node1.exe
mp01_ada_mp01_node1_exe_SOURCES = mp01_node1.adb ../mptest.adb config.h ../mptest.ads
mp01_ada_mp01_node1_exe_SOURCES += ../../../support/init.c
mp01_ada_mp01_node1.exe: mp01_node1.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp01-node1.scn
dist_scn_DATA = ada_mp01-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 1
#include "../config_base.h"
/* end of include file */

View File

@@ -3,13 +3,13 @@
--
-- DESCRIPTION:
--
-- This is the entry point for Test SPsize of the Single Processor Test Suite.
-- This is the entry point for Test MP01_NODE1 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-1997.
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
@@ -20,10 +20,10 @@
--
with RTEMS;
with SPTEST;
with MPTEST;
with TEST_SUPPORT;
procedure SPsize is
procedure MP01_NODE1 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
@@ -42,7 +42,7 @@ begin
RTEMS.TASK_START(
INIT_ID,
SPTEST.INIT'ACCESS,
MPTEST.INIT'ACCESS,
0,
STATUS
);
@@ -52,5 +52,5 @@ begin
delay 120.0;
end loop;
end SPsize;
end MP01_NODE1;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node2$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp01_ada_mp01_node2.exe
mp01_ada_mp01_node2_exe_SOURCES = mp01_node2.adb ../mptest.adb config.h ../mptest.ads
mp01_ada_mp01_node2_exe_SOURCES += ../../../support/init.c
mp01_ada_mp01_node2.exe: mp01_node2.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp01-node2.scn
dist_scn_DATA = ada_mp01-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 2
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP01_NODE2 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP01_NODE2 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP01_NODE2;

View File

@@ -0,0 +1,32 @@
/* config_base.h
*
* This include file defines all of the Configuration Table for this test
* EXCEPT the NODE NUMBER.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
#include <rtems/confdefs.h>
/* end of include file */

View File

@@ -28,8 +28,6 @@ with UNSIGNED32_IO;
package body MPTEST is
package body PER_NODE_CONFIGURATION is separate;
--PAGE
--
-- INIT
@@ -44,7 +42,7 @@ package body MPTEST is
TEXT_IO.NEW_LINE( 2 );
TEXT_IO.PUT( "*** TEST 2 -- NODE " );
UNSIGNED32_IO.PUT(
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
TEST_SUPPORT.NODE,
WIDTH => 1
);
TEXT_IO.PUT_LINE( " ***" );
@@ -55,7 +53,7 @@ package body MPTEST is
TEXT_IO.PUT_LINE( "Creating test task (Global)" );
RTEMS.TASK_CREATE(
MPTEST.TASK_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
MPTEST.TASK_NAME( TEST_SUPPORT.NODE ),
1,
2048,
RTEMS.NO_PREEMPT,
@@ -97,7 +95,7 @@ package body MPTEST is
RTEMS.TASK_IDENT( RTEMS.SELF, RTEMS.SEARCH_ALL_NODES, TID, STATUS );
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_IDENT OF SELF" );
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
if TEST_SUPPORT.NODE = 1 then
REMOTE_NODE := 2;
else
REMOTE_NODE := 1;

View File

@@ -43,6 +43,7 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- TEST_TASK
@@ -55,108 +56,6 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
--
-- This is the Driver Address Table for this test.
--
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
(1=>
(
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
RTEMS.NO_DRIVER_ENTRY, -- Open
RTEMS.NO_DRIVER_ENTRY, -- Close
RTEMS.NO_DRIVER_ENTRY, -- Read
RTEMS.NO_DRIVER_ENTRY, -- Write
RTEMS.NO_DRIVER_ENTRY -- Control
)
);
--
-- This is the Initialization Tasks Table for this test.
--
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
(1=>
(
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
2048, -- stack size
1, -- priority
RTEMS.DEFAULT_ATTRIBUTES, -- attributes
MPTEST.INIT'ACCESS, -- entry point
RTEMS.NO_PREEMPT, -- initial mode
0 -- argument list
)
);
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- BEGIN SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
package PER_NODE_CONFIGURATION is
--
-- LOCAL_NODE_NUMBER
--
-- DESCRIPTION:
--
-- This function returns the node number for this node.
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32;
pragma INLINE ( LOCAL_NODE_NUMBER );
end PER_NODE_CONFIGURATION;
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- END SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- This is the Multiprocessor Configuration Table for this test.
--
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
2, -- maximum # nodes in system
32, -- maximum # global objects
32 -- maximum # proxies
);
--
-- This is the Configuration Table for this test.
--
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
64 * 1024, -- executive RAM size
10, -- maximum # tasks
0, -- maximum # timers
0, -- maximum # semaphores
0, -- maximum # message queues
0, -- maximum # messages
0, -- maximum # partitions
0, -- maximum # regions
0, -- maximum # dp memory areas
0, -- maximum # periods
0, -- maximum # user extensions
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
50 -- # ticks in a timeslice
);
pragma Convention (C, TEST_TASK);
end MPTEST;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node1$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp02_ada_mp02_node1.exe
mp02_ada_mp02_node1_exe_SOURCES = mp02_node1.adb ../mptest.adb config.h ../mptest.ads
mp02_ada_mp02_node1_exe_SOURCES += ../../../support/init.c
mp02_ada_mp02_node1.exe: mp02_node1.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp02-node1.scn
dist_scn_DATA = ada_mp02-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 1
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP02_NODE1 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP02_NODE1 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP02_NODE1;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node2$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp02_ada_mp02_node2.exe
mp02_ada_mp02_node2_exe_SOURCES = mp02_node2.adb ../mptest.adb config.h ../mptest.ads
mp02_ada_mp02_node2_exe_SOURCES += ../../../support/init.c
mp02_ada_mp02_node2.exe: mp02_node2.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp02-node2.scn
dist_scn_DATA = ada_mp02-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 2
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP02_NODE2 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP02_NODE2 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP02_NODE2;

View File

@@ -0,0 +1,32 @@
/* config_base.h
*
* This include file defines all of the Configuration Table for this test
* EXCEPT the NODE NUMBER.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
#include <rtems/confdefs.h>
/* end of include file */

View File

@@ -1,8 +1,4 @@
--
-- MPTEST / BODY
--
-- DESCRIPTION:
--
-- This package is the implementation for Test 3 of the RTEMS
-- Multiprocessor Test Suite.
--
@@ -28,8 +24,6 @@ with UNSIGNED32_IO;
package body MPTEST is
package body PER_NODE_CONFIGURATION is separate;
--PAGE
--
-- INIT
@@ -44,7 +38,7 @@ package body MPTEST is
TEXT_IO.NEW_LINE( 2 );
TEXT_IO.PUT( "*** TEST 3 -- NODE " );
UNSIGNED32_IO.PUT(
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
TEST_SUPPORT.NODE,
WIDTH => 1
);
TEXT_IO.PUT_LINE( " ***" );
@@ -54,7 +48,7 @@ package body MPTEST is
TEXT_IO.PUT_LINE( "Creating Test_task (Global)" );
RTEMS.TASK_CREATE(
MPTEST.TASK_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
MPTEST.TASK_NAME( TEST_SUPPORT.NODE ),
1,
2048,
RTEMS.NO_PREEMPT,
@@ -121,7 +115,7 @@ package body MPTEST is
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_IDENT OF SELF" );
TEXT_IO.PUT_LINE( "Getting TID of remote task" );
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
if TEST_SUPPORT.NODE = 1 then
MPTEST.REMOTE_NODE := 2;
else
MPTEST.REMOTE_NODE := 1;
@@ -163,7 +157,7 @@ package body MPTEST is
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TIMER_FIRE_AFTER" );
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 2 then
if TEST_SUPPORT.NODE = 2 then
RTEMS.TASK_WAKE_AFTER(
2 * TEST_SUPPORT.TICKS_PER_SECOND,
@@ -194,7 +188,7 @@ package body MPTEST is
STATUS : RTEMS.STATUS_CODES;
begin
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = NODE then
if TEST_SUPPORT.NODE = NODE then
loop

View File

@@ -65,6 +65,7 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- DELAYED_SEND_EVENT
@@ -79,6 +80,7 @@ package MPTEST is
IGNORED_ID : in RTEMS.ID;
IGNORED_ADDRESS : in RTEMS.ADDRESS
);
pragma Convention (C, DELAYED_SEND_EVENT);
--
-- TEST_TASK
@@ -91,6 +93,7 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, TEST_TASK);
--
-- TEST_TASK_SUPPORT
@@ -106,107 +109,4 @@ package MPTEST is
NODE : in RTEMS.UNSIGNED32
);
--
-- This is the Driver Address Table for this test.
--
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
(1=>
(
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
RTEMS.NO_DRIVER_ENTRY, -- Open
RTEMS.NO_DRIVER_ENTRY, -- Close
RTEMS.NO_DRIVER_ENTRY, -- Read
RTEMS.NO_DRIVER_ENTRY, -- Write
RTEMS.NO_DRIVER_ENTRY -- Control
)
);
--
-- This is the Initialization Tasks Table for this test.
--
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
(1=>
(
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
2048, -- stack size
1, -- priority
RTEMS.DEFAULT_ATTRIBUTES, -- attributes
MPTEST.INIT'ACCESS, -- entry point
RTEMS.NO_PREEMPT, -- initial mode
0 -- argument list
)
);
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- BEGIN SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
package PER_NODE_CONFIGURATION is
--
-- LOCAL_NODE_NUMBER
--
-- DESCRIPTION:
--
-- This function returns the node number for this node.
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32;
pragma INLINE ( LOCAL_NODE_NUMBER );
end PER_NODE_CONFIGURATION;
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- END SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- This is the Multiprocessor Configuration Table for this test.
--
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
2, -- maximum # nodes in system
32, -- maximum # global objects
32 -- maximum # proxies
);
--
-- This is the Configuration Table for this test.
--
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
64 * 1024, -- executive RAM size
10, -- maximum # tasks
1, -- maximum # timers
0, -- maximum # semaphores
0, -- maximum # message queues
0, -- maximum # messages
0, -- maximum # partitions
0, -- maximum # regions
0, -- maximum # dp memory areas
0, -- maximum # periods
0, -- maximum # user extensions
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
50 -- # ticks in a timeslice
);
end MPTEST;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node1$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp03_ada_mp03_node1.exe
mp03_ada_mp03_node1_exe_SOURCES = mp03_node1.adb ../mptest.adb config.h ../mptest.ads
mp03_ada_mp03_node1_exe_SOURCES += ../../../support/init.c
mp03_ada_mp03_node1.exe: mp03_node1.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp03-node1.scn
dist_scn_DATA = ada_mp03-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 1
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP03_NODE1 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP03_NODE1 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP03_NODE1;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node2$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp03_ada_mp03_node2.exe
mp03_ada_mp03_node2_exe_SOURCES = mp03_node2.adb ../mptest.adb config.h ../mptest.ads
mp03_ada_mp03_node2_exe_SOURCES += ../../../support/init.c
mp03_ada_mp03_node2.exe: mp03_node2.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp03-node2.scn
dist_scn_DATA = ada_mp03-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 2
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP03_NODE2 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP03_NODE2 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP03_NODE2;

View File

@@ -0,0 +1,32 @@
/* config_base.h
*
* This include file defines all of the Configuration Table for this test
* EXCEPT the NODE NUMBER.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
#include <rtems/confdefs.h>
/* end of include file */

View File

@@ -28,8 +28,6 @@ with UNSIGNED32_IO;
package body MPTEST is
package body PER_NODE_CONFIGURATION is separate;
--PAGE
--
-- INIT
@@ -44,7 +42,7 @@ package body MPTEST is
TEXT_IO.NEW_LINE( 2 );
TEXT_IO.PUT( "*** TEST 4 -- NODE " );
UNSIGNED32_IO.PUT(
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
TEST_SUPPORT.NODE,
WIDTH => 1
);
TEXT_IO.PUT_LINE( " ***" );
@@ -55,8 +53,8 @@ package body MPTEST is
TEXT_IO.PUT_LINE( "Creating Test_task (Global)" );
RTEMS.TASK_CREATE(
MPTEST.TASK_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
MPTEST.TASK_NAME( TEST_SUPPORT.NODE ),
TEST_SUPPORT.NODE,
2048,
RTEMS.DEFAULT_MODES,
RTEMS.GLOBAL,
@@ -100,7 +98,7 @@ package body MPTEST is
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_IDENT OF SELF" );
TEXT_IO.PUT_LINE( "Getting TID of remote task" );
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
if TEST_SUPPORT.NODE = 1 then
MPTEST.REMOTE_NODE := 2;
else
MPTEST.REMOTE_NODE := 1;
@@ -124,7 +122,7 @@ package body MPTEST is
RTEMS.TASK_SET_PRIORITY(
MPTEST.REMOTE_TID,
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
TEST_SUPPORT.NODE,
PREVIOUS_PRIORITY,
STATUS
);

View File

@@ -57,6 +57,7 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- TEST_TASK
@@ -69,108 +70,6 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
--
-- This is the Driver Address Table for this test.
--
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
(1=>
(
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
RTEMS.NO_DRIVER_ENTRY, -- Open
RTEMS.NO_DRIVER_ENTRY, -- Close
RTEMS.NO_DRIVER_ENTRY, -- Read
RTEMS.NO_DRIVER_ENTRY, -- Write
RTEMS.NO_DRIVER_ENTRY -- Control
)
);
--
-- This is the Initialization Tasks Table for this test.
--
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
(1=>
(
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
2048, -- stack size
1, -- priority
RTEMS.DEFAULT_ATTRIBUTES, -- attributes
MPTEST.INIT'ACCESS, -- entry point
RTEMS.NO_PREEMPT, -- initial mode
0 -- argument list
)
);
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- BEGIN SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
package PER_NODE_CONFIGURATION is
--
-- LOCAL_NODE_NUMBER
--
-- DESCRIPTION:
--
-- This function returns the node number for this node.
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32;
pragma INLINE ( LOCAL_NODE_NUMBER );
end PER_NODE_CONFIGURATION;
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- END SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- This is the Multiprocessor Configuration Table for this test.
--
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
2, -- maximum # nodes in system
32, -- maximum # global objects
32 -- maximum # proxies
);
--
-- This is the Configuration Table for this test.
--
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
64 * 1024, -- executive RAM size
10, -- maximum # tasks
1, -- maximum # timers
0, -- maximum # semaphores
0, -- maximum # message queues
0, -- maximum # messages
0, -- maximum # partitions
0, -- maximum # regions
0, -- maximum # dp memory areas
0, -- maximum # periods
0, -- maximum # user extensions
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
50 -- # ticks in a timeslice
);
pragma Convention (C, TEST_TASK);
end MPTEST;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node1$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp04_ada_mp04_node1.exe
mp04_ada_mp04_node1_exe_SOURCES = mp04_node1.adb ../mptest.adb config.h ../mptest.ads
mp04_ada_mp04_node1_exe_SOURCES += ../../../support/init.c
mp04_ada_mp04_node1.exe: mp04_node1.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp04-node1.scn
dist_scn_DATA = ada_mp04-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 1
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP04_NODE1 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP04_NODE1 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP04_NODE1;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node2$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp04_ada_mp04_node2.exe
mp04_ada_mp04_node2_exe_SOURCES = mp04_node2.adb ../mptest.adb config.h ../mptest.ads
mp04_ada_mp04_node2_exe_SOURCES += ../../../support/init.c
mp04_ada_mp04_node2.exe: mp04_node2.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp04-node2.scn
dist_scn_DATA = ada_mp04-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 2
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP04_NODE2 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP04_NODE2 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP04_NODE2;

View File

@@ -0,0 +1,32 @@
/* config_base.h
*
* This include file defines all of the Configuration Table for this test
* EXCEPT the NODE NUMBER.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
#include <rtems/confdefs.h>
/* end of include file */

View File

@@ -28,8 +28,6 @@ with UNSIGNED32_IO;
package body MPTEST is
package body PER_NODE_CONFIGURATION is separate;
--PAGE
--
-- INIT
@@ -44,7 +42,7 @@ package body MPTEST is
TEXT_IO.NEW_LINE( 2 );
TEXT_IO.PUT( "*** TEST 5 -- NODE " );
UNSIGNED32_IO.PUT(
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
TEST_SUPPORT.NODE,
WIDTH => 1
);
TEXT_IO.PUT_LINE( " ***" );
@@ -55,7 +53,7 @@ package body MPTEST is
TEXT_IO.PUT_LINE( "Creating Test_task (Global)" );
RTEMS.TASK_CREATE(
MPTEST.TASK_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
MPTEST.TASK_NAME( TEST_SUPPORT.NODE ),
1,
2048,
RTEMS.TIMESLICE,
@@ -79,7 +77,7 @@ package body MPTEST is
MPTEST.TIMER_NAME( 2 ) := RTEMS.BUILD_NAME( 'T', 'M', '2', ' ' );
RTEMS.TIMER_CREATE(
MPTEST.TIMER_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
MPTEST.TIMER_NAME( TEST_SUPPORT.NODE ),
MPTEST.TIMER_ID( 1 ),
STATUS
);
@@ -158,7 +156,7 @@ package body MPTEST is
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "SIGNAL_CATCH" );
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
if TEST_SUPPORT.NODE = 1 then
MPTEST.REMOTE_NODE := 2;
MPTEST.REMOTE_SIGNAL := RTEMS.SIGNAL_18;
MPTEST.EXPECTED_SIGNAL := RTEMS.SIGNAL_17;
@@ -194,7 +192,7 @@ package body MPTEST is
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TIMER_FIRE_AFTER" );
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
if TEST_SUPPORT.NODE = 1 then
TEXT_IO.PUT_LINE( "Sending signal to remote task" );
loop

View File

@@ -43,7 +43,7 @@ package MPTEST is
--
-- This variable is set when the test should stop executing.
--
STOP_TEST : RTEMS.BOOLEAN;
STOP_TEST : BOOLEAN;
--
-- This variable contains the ID of the remote task with which this
@@ -77,7 +77,7 @@ package MPTEST is
-- signal sets have been caught cumulative.
--
SIGNAL_CAUGHT : RTEMS.BOOLEAN;
SIGNAL_CAUGHT : BOOLEAN;
SIGNAL_COUNT : RTEMS.UNSIGNED32;
--
@@ -97,6 +97,7 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- PROCESS_ASR
@@ -109,6 +110,7 @@ package MPTEST is
procedure PROCESS_ASR (
SIGNAL : in RTEMS.SIGNAL_SET
);
pragma Convention (C, PROCESS_ASR);
--
-- STOP_TEST_TSR
@@ -122,6 +124,7 @@ package MPTEST is
IGNORED_ID : in RTEMS.ID;
IGNORED_ADDRESS : in RTEMS.ADDRESS
);
pragma Convention (C, STOP_TEST_TSR);
--
-- TEST_TASK
@@ -134,108 +137,6 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
--
-- This is the Driver Address Table for this test.
--
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
(1=>
(
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
RTEMS.NO_DRIVER_ENTRY, -- Open
RTEMS.NO_DRIVER_ENTRY, -- Close
RTEMS.NO_DRIVER_ENTRY, -- Read
RTEMS.NO_DRIVER_ENTRY, -- Write
RTEMS.NO_DRIVER_ENTRY -- Control
)
);
--
-- This is the Initialization Tasks Table for this test.
--
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
(1=>
(
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
2048, -- stack size
1, -- priority
RTEMS.DEFAULT_ATTRIBUTES, -- attributes
MPTEST.INIT'ACCESS, -- entry point
RTEMS.NO_PREEMPT, -- initial mode
0 -- argument list
)
);
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- BEGIN SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
package PER_NODE_CONFIGURATION is
--
-- LOCAL_NODE_NUMBER
--
-- DESCRIPTION:
--
-- This function returns the node number for this node.
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32;
pragma INLINE ( LOCAL_NODE_NUMBER );
end PER_NODE_CONFIGURATION;
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- END SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- This is the Multiprocessor Configuration Table for this test.
--
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
2, -- maximum # nodes in system
32, -- maximum # global objects
32 -- maximum # proxies
);
--
-- This is the Configuration Table for this test.
--
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
64 * 1024, -- executive RAM size
10, -- maximum # tasks
1, -- maximum # timers
2, -- maximum # semaphores
0, -- maximum # message queues
0, -- maximum # messages
0, -- maximum # partitions
0, -- maximum # regions
0, -- maximum # dp memory areas
0, -- maximum # periods
0, -- maximum # user extensions
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
50 -- # ticks in a timeslice
);
pragma Convention (C, TEST_TASK);
end MPTEST;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node1$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp05_ada_mp05_node1.exe
mp05_ada_mp05_node1_exe_SOURCES = mp05_node1.adb ../mptest.adb config.h ../mptest.ads
mp05_ada_mp05_node1_exe_SOURCES += ../../../support/init.c
mp05_ada_mp05_node1.exe: mp05_node1.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp05-node1.scn
dist_scn_DATA = ada_mp05-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 1
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP05_NODE1 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP05_NODE1 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP05_NODE1;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node2$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp05_ada_mp05_node2.exe
mp05_ada_mp05_node2_exe_SOURCES = mp05_node2.adb ../mptest.adb config.h ../mptest.ads
mp05_ada_mp05_node2_exe_SOURCES += ../../../support/init.c
mp05_ada_mp05_node2.exe: mp05_node2.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp05-node2.scn
dist_scn_DATA = ada_mp05-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 2
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP05_NODE2 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP05_NODE2 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP05_NODE2;

View File

@@ -0,0 +1,32 @@
/* config_base.h
*
* This include file defines all of the Configuration Table for this test
* EXCEPT the NODE NUMBER.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
#include <rtems/confdefs.h>
/* end of include file */

View File

@@ -28,8 +28,6 @@ with UNSIGNED32_IO;
package body MPTEST is
package body PER_NODE_CONFIGURATION is separate;
--PAGE
--
-- INIT
@@ -44,7 +42,7 @@ package body MPTEST is
TEXT_IO.NEW_LINE( 2 );
TEXT_IO.PUT( "*** TEST 6 -- NODE " );
UNSIGNED32_IO.PUT(
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
TEST_SUPPORT.NODE,
WIDTH => 1
);
TEXT_IO.PUT_LINE( " ***" );
@@ -55,8 +53,8 @@ package body MPTEST is
TEXT_IO.PUT_LINE( "Creating Test_task (Global)" );
RTEMS.TASK_CREATE(
MPTEST.TASK_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
MPTEST.TASK_NAME( TEST_SUPPORT.NODE ),
TEST_SUPPORT.NODE,
2048,
RTEMS.DEFAULT_MODES,
RTEMS.GLOBAL,
@@ -79,7 +77,7 @@ package body MPTEST is
MPTEST.TIMER_NAME( 2 ) := RTEMS.BUILD_NAME( 'T', 'M', '2', ' ' );
RTEMS.TIMER_CREATE(
MPTEST.TIMER_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
MPTEST.TIMER_NAME( TEST_SUPPORT.NODE ),
MPTEST.TIMER_ID( 1 ),
STATUS
);
@@ -123,7 +121,7 @@ package body MPTEST is
MPTEST.STOP_TEST := FALSE;
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
if TEST_SUPPORT.NODE = 1 then
MPTEST.REMOTE_NODE := 2;
else
MPTEST.REMOTE_NODE := 1;
@@ -147,7 +145,7 @@ package body MPTEST is
end loop;
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
if TEST_SUPPORT.NODE = 1 then
TEXT_IO.PUT_LINE( "Sending events to remote task" );
else
TEXT_IO.PUT_LINE( "Receiving events from remote task" );
@@ -173,7 +171,7 @@ package body MPTEST is
INTEGER( COUNT ) mod MPTEST.EVENT_SET_TABLE'LAST + 1
);
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
if TEST_SUPPORT.NODE = 1 then
RTEMS.EVENT_SEND(
MPTEST.REMOTE_TID,
@@ -195,7 +193,7 @@ package body MPTEST is
if RTEMS.ARE_STATUSES_EQUAL( STATUS, RTEMS.TIMEOUT ) then
TEXT_IO.NEW_LINE( 1 );
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 2 then
if TEST_SUPPORT.NODE = 2 then
TEXT_IO.PUT_LINE(
"Correct behavior if the other node exitted."
);
@@ -227,7 +225,7 @@ package body MPTEST is
TEXT_IO.NEW_LINE;
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 2 then
if TEST_SUPPORT.NODE = 2 then
RTEMS.EVENT_RECEIVE(
RTEMS.EVENT_16,

View File

@@ -43,7 +43,7 @@ package MPTEST is
--
-- This variable is set when the test should stop executing.
--
STOP_TEST : RTEMS.BOOLEAN;
STOP_TEST : BOOLEAN;
--
-- This variable contains the ID of the remote task with which this
@@ -116,6 +116,7 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- STOP_TEST_TSR
@@ -129,6 +130,7 @@ package MPTEST is
IGNORED1 : in RTEMS.ID;
IGNORED2 : in RTEMS.ADDRESS
);
pragma Convention (C, STOP_TEST_TSR);
--
-- TEST_TASK
@@ -141,108 +143,6 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
--
-- This is the Driver Address Table for this test.
--
DEVICE_DRIVERS : aliased RTEMS.DRIVER_ADDRESS_TABLE( 1 .. 1 ) :=
(1=>
(
CLOCK_DRIVER.INITIALIZE'ACCESS, -- Initialization
RTEMS.NO_DRIVER_ENTRY, -- Open
RTEMS.NO_DRIVER_ENTRY, -- Close
RTEMS.NO_DRIVER_ENTRY, -- Read
RTEMS.NO_DRIVER_ENTRY, -- Write
RTEMS.NO_DRIVER_ENTRY -- Control
)
);
--
-- This is the Initialization Tasks Table for this test.
--
INITIALIZATION_TASKS : aliased RTEMS.INITIALIZATION_TASKS_TABLE( 1 .. 1 ) :=
(1=>
(
RTEMS.BUILD_NAME( 'U', 'I', '1', ' ' ), -- task name
2048, -- stack size
1, -- priority
RTEMS.DEFAULT_ATTRIBUTES, -- attributes
MPTEST.INIT'ACCESS, -- entry point
RTEMS.NO_PREEMPT, -- initial mode
0 -- argument list
)
);
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- BEGIN SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- MPTEST.PER_NODE_CONFIGURATION / SPECIFICATION
--
-- DESCRIPTION:
--
-- This package is the specification for the subpackage
-- which will define the per node configuration parameters.
--
package PER_NODE_CONFIGURATION is
--
-- LOCAL_NODE_NUMBER
--
-- DESCRIPTION:
--
-- This function returns the node number for this node.
--
function LOCAL_NODE_NUMBER
return RTEMS.UNSIGNED32;
pragma INLINE ( LOCAL_NODE_NUMBER );
end PER_NODE_CONFIGURATION;
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- END SUBPACKAGE --
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- This is the Multiprocessor Configuration Table for this test.
--
MULTIPROCESSING_CONFIGURATION : aliased RTEMS.MULTIPROCESSING_TABLE := (
MPTEST.PER_NODE_CONFIGURATION.LOCAL_NODE_NUMBER,
2, -- maximum # nodes in system
32, -- maximum # global objects
32 -- maximum # proxies
);
--
-- This is the Configuration Table for this test.
--
CONFIGURATION : aliased RTEMS.CONFIGURATION_TABLE := (
RTEMS.NULL_ADDRESS, -- will be replaced by BSP
64 * 1024, -- executive RAM size
10, -- maximum # tasks
1, -- maximum # timers
2, -- maximum # semaphores
0, -- maximum # message queues
0, -- maximum # messages
0, -- maximum # partitions
0, -- maximum # regions
0, -- maximum # dp memory areas
0, -- maximum # periods
0, -- maximum # user extensions
RTEMS.MILLISECONDS_TO_MICROSECONDS(10), -- # us in a tick
50 -- # ticks in a timeslice
);
pragma Convention (C, TEST_TASK);
end MPTEST;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node1$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp06_ada_mp06_node1.exe
mp06_ada_mp06_node1_exe_SOURCES = mp06_node1.adb ../mptest.adb config.h ../mptest.ads
mp06_ada_mp06_node1_exe_SOURCES += ../../../support/init.c
mp06_ada_mp06_node1.exe: mp06_node1.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp06-node1.scn
dist_scn_DATA = ada_mp06-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -0,0 +1,23 @@
/* config.h
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
* the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
/* configuration information */
#define CONFIGURE_MP_APPLICATION
#define CONFIGURE_MP_NODE_NUMBER 1
#include "../config_base.h"
/* end of include file */

View File

@@ -0,0 +1,56 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP06_NODE1 of the Single Processor Test Suite.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1989-2007.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distribution or at
-- http://www.rtems.com/license/LICENSE.
--
-- $Id$
--
with RTEMS;
with MPTEST;
with TEST_SUPPORT;
procedure MP06_NODE1 is
INIT_ID : RTEMS.ID;
STATUS : RTEMS.STATUS_CODES;
begin
RTEMS.TASK_CREATE(
RTEMS.BUILD_NAME( 'I', 'N', 'I', 'T' ),
1,
RTEMS.MINIMUM_STACK_SIZE,
RTEMS.NO_PREEMPT,
RTEMS.DEFAULT_ATTRIBUTES,
INIT_ID,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );
RTEMS.TASK_START(
INIT_ID,
MPTEST.INIT'ACCESS,
0,
STATUS
);
TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );
loop
delay 120.0;
end loop;
end MP06_NODE1;

View File

@@ -7,16 +7,14 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
node2$(EXEEXT): ../mptest.adb
noinst_PROGRAMS = mp06_ada_mp06_node2.exe
mp06_ada_mp06_node2_exe_SOURCES = mp06_node2.adb ../mptest.adb config.h ../mptest.ads
mp06_ada_mp06_node2_exe_SOURCES += ../../../support/init.c
mp06_ada_mp06_node2.exe: mp06_node2.adb ../mptest.adb init.$(OBJEXT)
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = mp06-node2.scn
dist_scn_DATA = ada_mp06-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

Some files were not shown because too many files have changed in this diff Show More