Compare commits

..

360 Commits
4.9.4 ... 4.8

Author SHA1 Message Date
Ralf Corsépius
48953dfae1 Remove (Obsolete). 2012-02-17 17:14:23 +01:00
Ralf Corsépius
9604d8b03c Remove (Moved to git.rtems.org/data/git/rtems-crossrpms.git). 2012-02-17 16:03:57 +01:00
Joel Sherrill
efddd4fc62 2011-01-21 Eric Norum <wenorum@lbl.gov>
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
2011-01-21 19:40:47 +00:00
Joel Sherrill
b2d8a9f477 2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* SUPPORT: Update address.
2010-12-16 19:00:40 +00:00
Joel Sherrill
c47008da0a 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:35 +00:00
Joel Sherrill
ca4fb8f12d 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:21 +00:00
Joel Sherrill
4b164e4f0a 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:48 +00:00
Joel Sherrill
b0ceb59bc4 2010-11-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1714/doc
	* user/datatypes.t, user/part.t: Add missing description of
	rtems_status_codes.
2010-11-01 15:58:26 +00:00
Ralf Corsepius
6918195e0c 2010-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1708/build:
	* aclocal/check-cpuopts.m4: Fix m4-quoting.
2010-10-01 17:01:24 +00:00
Ralf Corsepius
0c3f1864d8 2010-09-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.
2010-09-23 14:53:11 +00:00
Joel Sherrill
5c758d1a8c 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:42:52 +00:00
Joel Sherrill
6685b744d5 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:30 +00:00
Joel Sherrill
18cf72767e 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:47 +00:00
Joel Sherrill
7cf2cfaa5c Upgrade to 4.8.2 2010-03-18 17:28:06 +00:00
Joel Sherrill
97b9d90c1b 2010-03-18 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1497/bsps
	* startup/bspclean.c: Do not enable interrupts while waiting for board
	to reset.
2010-03-18 17:26:53 +00:00
Ralf Corsepius
fb9b445952 Remove. 2010-03-11 15:07:03 +00:00
Ralf Corsepius
1ea3eb8958 Sync with CVS-HEAD. 2010-01-11 12:32:20 +00:00
Ralf Corsepius
aa2b944cdd Bump version. 2010-01-11 12:25:58 +00:00
Ralf Corsepius
50bac4a70d Fix oversight. 2010-01-11 12:25:45 +00:00
Ralf Corsepius
c8225edd1f Set default osname to centos5. 2010-01-11 09:53:11 +00:00
Ralf Corsepius
05b5ec8cc7 Bump version.
Remove fedora.
2010-01-11 09:52:19 +00:00
Ralf Corsepius
d5808bea3c Add rtems-4.8-release. 2010-01-11 09:51:42 +00:00
Ralf Corsepius
ab41f99465 Add INSTALL 2010-01-11 09:51:03 +00:00
Ralf Corsepius
ee6377f9fe Remove (Bogusly checked in into CVS) 2010-01-11 09:50:47 +00:00
Joel Sherrill
19aa6d7c81 2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1482
	* posix/src/ptimer1.c: Exit dispatching critical section.
2009-12-10 22:19:36 +00:00
Ralf Corsepius
4f00a35cfc 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:03:36 +00:00
cvs2git
30dfdaa8c7 This commit was manufactured by cvs2svn to create branch 'rtems-4-8-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>':
    cpukit/libcsupport/src/tcgetpgrp.c
2009-09-15 05:32:50 +00:00
Joel Sherrill
f8589f08d6 2009-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp46/init.c: Make compile on 4.8 branch.
	* sp46/sp46.scn: New file.
2009-09-09 18:27:32 +00:00
Ralf Corsepius
0973a00638 Sync with rtems-4.9. 2009-07-26 06:09:18 +00:00
Ralf Corsepius
cdeed5a674 Update. 2009-07-26 06:07:32 +00:00
Ralf Corsepius
f774354f6e Remove. 2009-07-24 12:34:07 +00:00
Ralf Corsepius
2165ab45fd New. 2009-07-24 10:29:03 +00:00
Ralf Corsepius
a3edc1b8d2 Regenerate. 2009-07-24 10:26:17 +00:00
Ralf Corsepius
cd8dd21b63 Update. 2009-07-24 10:25:53 +00:00
Ralf Corsepius
2cc6357bea Bump GDB_RPMREL. 2009-07-24 10:25:34 +00:00
Ralf Corsepius
d26a03c92c Regenerate. 2009-07-24 10:13:19 +00:00
Ralf Corsepius
ba197db0c6 Update. 2009-07-24 10:13:05 +00:00
Ralf Corsepius
10d5360160 Bump GDB_RPMREL. 2009-07-24 10:12:54 +00:00
Ralf Corsepius
fd410cd8e3 Regenerate. 2009-07-24 09:40:26 +00:00
Ralf Corsepius
5589d26f3a Minor fixes. 2009-07-24 09:40:08 +00:00
Ralf Corsepius
5e6b855480 Bump GDB_RPMREL. 2009-07-24 09:39:36 +00:00
Ralf Corsepius
b813489b46 Remove. 2009-07-24 09:35:31 +00:00
Ralf Corsepius
9301ec20b9 Remove. 2009-07-23 15:30:49 +00:00
Ralf Corsepius
af0717b291 Sync. with rtems-4.10. 2009-07-23 08:38:49 +00:00
Ralf Corsepius
bd8e7703bd Regenerate. 2009-07-21 12:38:23 +00:00
Ralf Corsepius
f1534807f6 Bump *_RPMREL. 2009-07-21 12:38:08 +00:00
Ralf Corsepius
6dae02b4a8 Sync with rtems-4.10. 2009-07-21 12:33:19 +00:00
Ralf Corsepius
da3d35840f Sync with rtems-4.10. 2009-07-21 12:26:01 +00:00
Ralf Corsepius
01d2b1ebc5 Abandon mingw32, cygwin. 2009-07-21 12:25:31 +00:00
Ralf Corsepius
6542b4613b Remove. 2009-07-21 10:54:13 +00:00
Ralf Corsepius
0eaef9a704 Cleanup. 2009-07-21 10:50:59 +00:00
Ralf Corsepius
15e12bf63a Remove. 2009-07-21 10:46:01 +00:00
cvs2git
d8fce0335c This commit was manufactured by cvs2svn to create branch 'rtems-4-8-branch'.
Cherrypick from master 2009-07-13 14:20:36 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Add autoconf-sources.add.':
    contrib/crossrpms/autotools/autoconf-sources.add
    contrib/crossrpms/autotools/automake-sources.add
    contrib/crossrpms/patches/binutils-2.17.50-cygwin-20060817-1.diff
    contrib/crossrpms/patches/gdb-6.5-bfinrtems-20071114.diff
    contrib/crossrpms/patches/gdb-6.5-bfinrtems-20090122.diff
    cpukit/libnetworking/ifaddrs.h
    cpukit/libnetworking/libc/getifaddrs.c
    cpukit/libnetworking/libc/if_indextoname.c
    cpukit/libnetworking/libc/if_nameindex.c
2009-07-13 14:20:37 +00:00
Joel Sherrill
959f9ed343 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:23:12 +00:00
Joel Sherrill
3f5e231d5b 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/preface.texi: Correct list of supported CPU architectures.
2009-07-02 16:12:13 +00:00
Joel Sherrill
6998158727 2009-06-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1421/filesystem
	* libfs/src/imfs/deviceio.c, libfs/src/imfs/imfs.h,
	libfs/src/imfs/imfs_handlers_device.c: Backport ftruncate support for
	devices so fopen(device, w) works.
2009-06-03 19:27:38 +00:00
Joel Sherrill
8774fddf30 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 21:04:29 +00:00
Joel Sherrill
dc927fe9f8 2009-05-21 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1414/cpukit
	* score/src/objectget.c, score/src/objectgetisr.c,
	score/src/objectgetnoprotection.c: Tighten math on extraction of
	index so it is harder to trick by passing in a valid id of an
	incorrect object class.
2009-05-21 13:51:43 +00:00
Joel Sherrill
d7196bfd66 2009-04-20 Kate Feng <feng1@bnl.gov>
1396/bsps
	* 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.
	* network/if_1GHz/if_wm.c : fixed some bugs in the 1GHz driver.
	* irq/BSP_irq.c : added supports for shared IRQ.
	* 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()
2009-05-04 20:06:43 +00:00
Ralf Corsepius
e1be2b30ad Merge changes from CVS-HEAD addressing Fedora 11 rpm regressions. 2009-04-30 16:38:01 +00:00
Ralf Corsepius
72c7d3e2e6 Update. Bump version. 2009-04-08 14:26:15 +00:00
Ralf Corsepius
4f1b79b380 Use mirrorlists. 2009-04-08 14:26:01 +00:00
Ralf Corsepius
3ab7226ae5 2009-04-02 Ralf Corsépius <ralfcorsepius@rtems.org>
* aclocal/check-rtems-debug.m4: Add missing ','.
2009-04-02 11:51:28 +00:00
Joel Sherrill
c614948571 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:36 +00:00
Joel Sherrill
9f61de9ef6 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:54:00 +00:00
Joel Sherrill
6068f9b028 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: lseek handlers should return off_t.
2009-03-09 14:13:44 +00:00
Joel Sherrill
d7ad1f65fe 2009-03-02 Ray Xu <rayx.cn@gmail.com>
PR 1380/bsps
	* include/bsp.h: Switch to English comments.
2009-03-02 17:04:15 +00:00
Joel Sherrill
5ab52fb40a 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:40 +00:00
Joel Sherrill
86458b0e97 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:35 +00:00
Joel Sherrill
cc88fb7e84 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:39 +00:00
Joel Sherrill
8303576c15 2009-02-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/uC5282.cfg: Add cvs Id.
2009-02-17 14:37:07 +00:00
Joel Sherrill
b7a08ad494 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:19:00 +00:00
Joel Sherrill
c9b28ef278 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:26 +00:00
Joel Sherrill
065639c0f2 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:59 +00:00
Joel Sherrill
ecf19d14b3 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:20 +00:00
Joel Sherrill
2bcccf73c0 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:11 +00:00
Joel Sherrill
e02d489afc 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:55 +00:00
Joel Sherrill
eafefdf19f 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:11 +00:00
Joel Sherrill
081b2d4d95 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 16:14:16 +00:00
Joel Sherrill
f7a1d76d44 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 16:14:04 +00:00
Joel Sherrill
d13db6a837 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/concepts.t: Id has four parts not three.
2008-12-01 15:31:38 +00:00
Joel Sherrill
f4d9c474fd 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:27:15 +00:00
Ralf Corsepius
3b4bbc277d Use expanded osnames. 2008-11-18 06:07:23 +00:00
Ralf Corsepius
712a3a2cd7 update. 2008-11-18 05:25:33 +00:00
Ralf Corsepius
86b2da4fb7 Regenerate. 2008-11-13 07:55:18 +00:00
Ralf Corsepius
13873d54e4 Bump GCC_RPMREL. 2008-11-13 07:54:12 +00:00
Ralf Corsepius
03262f8917 Regenerate. 2008-11-13 04:59:35 +00:00
Ralf Corsepius
965839a4ba Regenerate. 2008-11-13 04:23:20 +00:00
Ralf Corsepius
05ab2acaf7 Bump AUTOCONF_RPMREL AUTOMAKE_RPMREL 2008-11-13 04:21:15 +00:00
Ralf Corsepius
e2684d4a75 New. 2008-11-13 04:20:05 +00:00
Ralf Corsepius
0b1ceac847 Merger from CVS-HEAD. 2008-11-12 15:40:26 +00:00
Joel Sherrill
6f536795d6 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/concepts.t: Use 32 bit version centered.
2008-11-07 20:16:55 +00:00
Joel Sherrill
4fdab5d871 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* ada_user/Makefile.am, user/Makefile.am: Make C and Ada manual build
	again after adding figure.
2008-11-07 19:04:18 +00:00
Ralf Corsepius
8e98cfb632 Import changes from HEAD. 2008-11-07 03:24:02 +00:00
Ralf Corsepius
3568f50df1 Remove solaris2.7 2008-11-05 16:43:33 +00:00
Till Straumann
47927b0477 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:03:06 +00:00
Till Straumann
c592a7f54a 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:54:33 +00:00
Joel Sherrill
f3a4c7a85a 2008-11-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1334/doc
	* user/Makefile.am, user/concepts.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:04 +00:00
Joel Sherrill
b37ab148fe 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:34:01 +00:00
Ralf Corsepius
c3a992696d Sync with CVS-HEAD. 2008-10-24 13:48:31 +00:00
Joel Sherrill
d6b8d5c974 2008-10-14 Tim Cussins <timcussins@eml.cc>
PR 1330/cpukit
	* libcsupport/src/malloc.c: Should print begin field not start field.
2008-10-14 16:09:56 +00:00
Joel Sherrill
52efd7de67 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 18:37:12 +00:00
Joel Sherrill
44a2f5d6c3 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
	* aclocal/check-bsps.m4: Add missing icecube.
2008-09-24 14:08:45 +00:00
Joel Sherrill
43db3c8656 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:58 +00:00
Ralf Corsepius
8683760168 Regenerate. 2008-09-03 09:30:34 +00:00
Ralf Corsepius
63d797186e Remove (Obsolete). 2008-09-03 09:29:36 +00:00
Ralf Corsepius
e5bbe572be Remove support for c4x.
Backport arm-endianness hack from rtems-4.10.
2008-09-03 09:26:39 +00:00
Ralf Corsepius
379e676a11 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:22:08 +00:00
Ralf Corsepius
be2b95568b 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:56:56 +00:00
Ralf Corsepius
d0ea9d9d89 Fix broken declaration of tcp_trace(). 2008-09-01 06:56:44 +00:00
Joel Sherrill
de9806ecb3 2008-08-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/clock.t: Correct discussion of timeval.
2008-08-24 17:44:34 +00:00
Joel Sherrill
32a46df3ba 2008-08-19 Cedric Aubert <cedric_aubert@yahoo.fr>
PR 500/misc
	* libcsupport/src/termios.c: Avoid potential buffer overflow.
2008-08-19 20:23:32 +00:00
Joel Sherrill
08e4923776 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:29:53 +00:00
Joel Sherrill
935eb84ab0 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:47 +00:00
Joel Sherrill
a4832af52e 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Attempt to prevent runaways.
2008-08-15 16:25:30 +00:00
Joel Sherrill
1572e389ff 2008-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Install cplb.h
2008-08-13 14:03:54 +00:00
Joel Sherrill
cabc362915 Upgrade to 4.8.1 2008-08-13 14:01:05 +00:00
Joel Sherrill
c657ad5b9f 2008-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/hurricane.cfg, custom/simsh4.cfg: Now build and link class
	examples.
2008-08-13 13:47:49 +00:00
Joel Sherrill
3c5939074c 2008-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Major update. Now more likely not to run away.
2008-08-12 13:05:08 +00:00
Joel Sherrill
77c5e9120d 2008-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/rbtx4925.cfg, custom/rbtx4938.cfg: Fix so all C++ example code
	compiles and links.
2008-08-11 18:38:37 +00:00
Joel Sherrill
b335275de0 2008-08-11 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-08-11 16:52:40 +00:00
Joel Sherrill
1256de38bf 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:55:10 +00:00
Joel Sherrill
6676f1de16 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:45:10 +00:00
Joel Sherrill
b8fa0b1266 2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
PR 1192/filesystem
	* libblock/src/diskdevs.c: Update the disktap pointer after the
	realloc.
2008-08-06 21:02:30 +00:00
Joel Sherrill
eab373a2d7 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:12 +00:00
Joel Sherrill
a7a9e1938a 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:11:09 +00:00
Joel Sherrill
c25cea9bee 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:11:01 +00:00
Joel Sherrill
014d541f37 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:31 +00:00
Joel Sherrill
9f170c9e84 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:38 +00:00
Joel Sherrill
b72e847b3f 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:25 +00:00
Joel Sherrill
bd029d8779 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:49:33 +00:00
Joel Sherrill
9cda660388 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:38 +00:00
Joel Sherrill
bdfdb0b3ca 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:38 +00:00
Joel Sherrill
c0694b0637 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:37 +00:00
Joel Sherrill
7f46d43d3d 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:45 +00:00
Joel Sherrill
1016b77514 2008-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1291/cpukit
	* psx05/init.c, psxmsgq01/init.c: Update tests to reflect absolute
	time.
2008-07-22 17:21:59 +00:00
Joel Sherrill
e5c0540d6a 2008-07-22 Joel Sherrill <joel.sherrill@OARcorp.com>
pr1291/cpukit
	* posix_users/mutex.t: Add ETIMEDOUT.
	* posix_users/semaphores.t: Clarify text to say absolute timeout.
2008-07-22 17:18:09 +00:00
Joel Sherrill
a2cf229615 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-22 17:17:12 +00:00
Joel Sherrill
a570a14004 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:59 +00:00
Joel Sherrill
95b674ccd6 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:14 +00:00
Joel Sherrill
ada1918f45 2008-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Fix text on CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER.
2008-06-20 17:06:01 +00:00
Ralf Corsepius
530d307f58 Abandon freebsd. 2008-06-04 04:14:06 +00:00
Ralf Corsepius
05e808763e Update to gcc-4.2.4 2008-05-26 08:45:19 +00:00
Ralf Corsepius
4cf3275ac0 Add gcc-4.2.4 2008-05-26 08:43:06 +00:00
Ralf Corsepius
fc19fcbd69 New. 2008-05-26 08:41:48 +00:00
Joel Sherrill
eaab3cd497 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Install cplb.h
2008-05-23 16:33:40 +00:00
Ralf Corsepius
37c77c5c00 Upgrade to gcc-4.2.3 2008-05-09 12:33:23 +00:00
Ralf Corsepius
01ab562f82 GCC_RPMREL = 29. 2008-05-08 05:07:27 +00:00
Ralf Corsepius
7567f4d580 Back out to gcc-4.2.2. 2008-05-08 05:06:24 +00:00
Ralf Corsepius
492e450891 Add support for gcc-4.3.0, gcc-4.2.3.
Update to newlib-1.15.0-rtems4.8-20080508.diff.
2008-05-08 05:04:59 +00:00
Ralf Corsepius
84d31bc518 Sync with CVS HEAD. 2008-05-08 05:01:27 +00:00
Ralf Corsepius
b61c8cca57 Add SIZE_MAX fix. 2008-05-08 04:58:00 +00:00
Ralf Corsepius
9a73a4c94d Rebase patch against gcc-core-4.2.3.
Disable building libiberty.
2008-05-08 04:57:32 +00:00
Ralf Corsepius
f79feff8fc Enable --with-system-readline only for gdb >= 6.7 2008-05-08 02:50:24 +00:00
Joel Sherrill
ef83c4c70f 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: Add nanoseconds clock tick granularity support.
2008-05-07 17:39:10 +00:00
Joel Sherrill
f58d7d8ac5 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:16:26 +00:00
Ralf Corsepius
8c0a48d754 Remove (Obsolete). 2008-05-02 05:00:14 +00:00
Ralf Corsepius
0c4dd1c8f1 Regenerate. 2008-05-02 04:57:58 +00:00
Ralf Corsepius
83ea84b6ae Sync with RTEMS CVS-HEAD. 2008-05-02 04:56:36 +00:00
Ralf Corsepius
1f567f2692 Upgrade to gdb-6.8. 2008-05-02 04:55:06 +00:00
Ralf Corsepius
355d23b708 New.
Include erc32 hacks from RTEMS CVS-HEAD.
2008-04-29 15:00:41 +00:00
Ralf Corsepius
433f6890b8 Update gdb packaging. 2008-04-29 14:50:12 +00:00
Ralf Corsepius
269f5a23c1 gdb-6.7.1-rtems4.8-20080429.diff. 2008-04-29 14:49:15 +00:00
Ralf Corsepius
9d2aae8b51 Bump GDB_RPMREL. 2008-04-29 14:43:30 +00:00
Ralf Corsepius
90c85d5bf7 Sync with CVS-HEAD. 2008-04-29 11:38:26 +00:00
Ralf Corsepius
b0f67b53f6 Use rtems_api. 2008-04-26 05:46:39 +00:00
Ralf Corsepius
229c0470d1 Add rtems_api. 2008-04-26 05:33:51 +00:00
Till Straumann
2bd2aba6c9 2008-04-25 Till Straumann <strauman@slac.stanford.edu>
* nfsclient/Changelog.slac, nfsclient/src/nfs.c:
	BUGFIX (PR#1284) -- possible memory corruption if
	server connectivity is lost.
2008-04-26 00:03:17 +00:00
Ralf Corsepius
5bb8ddf6b0 Remove stray blank line. 2008-04-25 15:30:46 +00:00
Ralf Corsepius
e3ad8494ef Add mpfr for gcc-4.3.0. 2008-04-25 15:29:12 +00:00
Joel Sherrill
280ef6eefd 2008-04-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/system.h: Fix typo in comment.
2008-04-25 15:24:38 +00:00
Joel Sherrill
7d032fc6bc 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:13 +00:00
Ralf Corsepius
48776cdbb0 2008-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* bootstrap: Use find . ... preinstall.am for portability reasons.
2008-04-14 07:42:27 +00:00
Ralf Corsepius
0b770037ef Add _host_rpmprefix. 2008-03-28 05:45:41 +00:00
Ralf Corsepius
4c081642b0 Remove stray line. 2008-03-26 17:54:59 +00:00
Ralf Corsepius
c2a5fa56d5 BuildRequire: @rpmprefix@%{_host}-gcc for CdnX. 2008-03-25 07:27:33 +00:00
Ralf Corsepius
bf33c69e2f Add _bindir to PATH. 2008-03-25 07:26:09 +00:00
Ralf Corsepius
1187fce8b8 Add cygwin hacks from CVS-HEAD. 2008-03-20 08:33:07 +00:00
Ralf Corsepius
5ee16abd07 Add %{_bindir} to PATH to cater CdnX-builds.
Set CFLAGS_FOR_BUILD.
2008-03-18 06:12:56 +00:00
Ralf Corsepius
10d6b97a0d Add %{_bindir} to PATH to cater CdnX-builds. 2008-03-18 06:11:28 +00:00
Ralf Corsepius
1ded262be0 BR: @rpmprefix@%{_host}-gcc for CdnX-builds. 2008-03-18 06:09:49 +00:00
Ralf Corsepius
1e2a76e8e9 Sync with CVS-HEAD. 2008-03-18 06:07:14 +00:00
Ralf Corsepius
9ee9a7d6a6 Set CFLAGS_FOR_BUILD and CC for CdnX-builds. 2008-03-18 05:39:28 +00:00
Ralf Corsepius
c8ecbf9c1e BR: @rpmprefix@@tool_target@-gcc and @rpmprefix@%{_host}-gcc for CdnX-builds. 2008-03-18 05:37:48 +00:00
Ralf Corsepius
44303a8fbd BR: @rpmprefix@@tool_target@-gcc-c++ for CdnX-builds. 2008-03-18 05:36:22 +00:00
Ralf Corsepius
a967c7357b Abandon freebsd6.1 2008-03-17 15:07:46 +00:00
Ralf Corsepius
3438bc3a2f Abandon freebsd6.0. 2008-03-15 05:30:59 +00:00
Ralf Corsepius
847c7e3b09 Abandon freebsd5.2 2008-03-14 10:11:14 +00:00
Joel Sherrill
ad62077db9 2008-03-07 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1280/tools
	* shttpd/log.c: Broaden logic so all gcc versions < 4.3.0 will enable
	work around.
2008-03-07 18:58:39 +00:00
Joel Sherrill
789c49080b 2008-03-04 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-04 22:35:13 +00:00
Joel Sherrill
102295eba7 2008-03-04 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-04 22:35:09 +00:00
Joel Sherrill
a4d9a11e2d 2008-03-04 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-04 22:34:57 +00:00
Joel Sherrill
8ae2a26e24 2008-03-04 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-04 22:34:55 +00:00
Joel Sherrill
ff1e20f46a 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:02:14 +00:00
Joel Sherrill
bb1dbc8255 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:02:12 +00:00
Joel Sherrill
1f0fde99c5 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:02:10 +00:00
Joel Sherrill
b6f188ff15 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:01:00 +00:00
Joel Sherrill
d5b4a68520 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:00:59 +00:00
Joel Sherrill
cf118868e7 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:00:57 +00:00
Joel Sherrill
734e053691 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:00:54 +00:00
Joel Sherrill
35305b59e8 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:13 +00:00
Ralf Corsepius
174eea53d5 2008-02-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal.m4: Remove (bogusly checked in).
2008-02-19 08:58:49 +00:00
Ralf Corsepius
2928e82995 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:10:49 +00:00
Ralf Corsepius
56535aaae2 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 07:10:09 +00:00
Joel Sherrill
dc709596a5 2008-02-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Spacing.
2008-02-14 17:31:53 +00:00
Joel Sherrill
876c5d9eb4 2008-02-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Include cplb.h
2008-02-14 17:31:17 +00:00
Joel Sherrill
7947987c78 Upgrade to 4.8.0 2008-02-14 17:29:18 +00:00
Joel Sherrill
52e97570a8 2008-02-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds.brs5l: Change .bss to .bss*.
2008-02-14 15:36:34 +00:00
Joel Sherrill
d89da6eca7 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:58:46 +00:00
Joel Sherrill
163a1047c2 2008-02-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/Makefile.am: Remove these. They were proposed but never
	standardized.
	* posix/src/pthreadgetcputime.c, posix/src/pthreadsetcputime.c: Removed.
2008-02-05 22:35:08 +00:00
Ralf Corsepius
bb4a8ad296 Bump version to 0.10. 2008-01-19 05:34:47 +00:00
Ralf Corsepius
f95a584bbe Remove ftp:// URLs (OAR's ftp: is too unreliable.) 2008-01-19 05:34:38 +00:00
Ralf Corsepius
f2bcb618b8 Sync with HEAD.
Add mirrors.
2008-01-14 07:43:26 +00:00
Chris Johns
d24a72f220 2008-01-11 Chris Johns <chisj@rtems.org>
* expat-version: New.

        * build-exes.sh: Fix the size calculation.

        * build-rpms.sh: Add expax support. Clean the BUILD, RPM and SRPM
        directories. Delete the RPM database if cleaning.

        * msys-path.nsi: Add comments.

        * rtems-tools.nsi: Fix the uninstall targets check.

        * target-section-text, targets: Add bfin target.

        * upload.sh: Upload only the specific version of files.

        * version: Build 17.
2008-01-11 22:38:36 +00:00
Ralf Corsepius
713d79e3aa 2007-12-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/sync.c: Make sync() POSIX-compliant.
	* libcsupport/src/__gettod.c: Make gettimeofday() POSIX-compliant.
2007-12-23 07:14:23 +00:00
Ralf Corsepius
c752e84935 Make gettimeofday() POSIX-compliant. 2007-12-23 07:14:12 +00:00
Ralf Corsepius
e9a9bdd1e5 Make sync() POSIX-compliant. 2007-12-23 07:13:55 +00:00
Ralf Corsepius
2bf27202ea Regenerate. 2007-12-22 00:29:06 +00:00
Joel Sherrill
5881d06cb9 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1268/cpukit
	* libcsupport/include/rtems/assoc.h,
	rtems/src/semtranslatereturncode.c: There is no
	rtems_assoc_ptr_by_value method.
2007-12-21 15:23:01 +00:00
Ralf Corsepius
7d25764ef3 newlib-1.15.0-rtems4.8-20071221.diff 2007-12-21 11:31:44 +00:00
Ralf Corsepius
faa0950d4d Apply %{?_smp_mflags}. 2007-12-21 11:31:06 +00:00
Ralf Corsepius
f5cc928819 Reflect API changes from newlib-1.16.0 2007-12-21 11:30:36 +00:00
Ralf Corsepius
d475f9d7d0 Regenerate. 2007-12-17 07:52:25 +00:00
Ralf Corsepius
e945d6b9c9 Backport from HEAD. 2007-12-17 07:51:52 +00:00
Ralf Corsepius
50f25ace20 Sync. 2007-12-17 03:57:46 +00:00
Ralf Corsepius
7875d408be 2007-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
2007-12-16 18:14:09 +00:00
Ralf Corsepius
ed36c3513d Bump GDB_RPMREL. 2007-12-16 12:45:35 +00:00
Ralf Corsepius
5dd2ecbbc9 gdb-6.6-rtems4.8-20071216.diff. 2007-12-16 12:45:16 +00:00
Ralf Corsepius
ce195afa2f New. 2007-12-16 12:38:14 +00:00
Ralf Corsepius
bd025cde6b Remove. 2007-12-16 12:37:49 +00:00
Ralf Corsepius
1ecaae4972 Back port from HEAD. 2007-12-16 12:35:49 +00:00
Ralf Corsepius
16b5fa3163 Remove cpukit. 2007-12-16 12:29:29 +00:00
Ralf Corsepius
ae8600f335 Add %{?_smp_mflags}. 2007-12-16 12:18:51 +00:00
Joel Sherrill
49bf16a322 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c:
	Reverse file contents.
2007-12-11 23:44:29 +00:00
Ralf Corsepius
87f08a6b37 Remove from rtems-4-8-branch. 2007-12-10 04:03:24 +00:00
Ralf Corsepius
c3bb858209 2007-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu_supplement/tic4x.t: Remove.
2007-12-10 04:00:24 +00:00
Ralf Corsepius
06b8ba0ac5 Remove. 2007-12-10 03:59:49 +00:00
Ralf Corsepius
3402633033 2007-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu_supplement/Makefile.am, cpu_supplement/cpu_supplement.texi:
	Remove refs to tic4x/c4x.
2007-12-10 03:59:18 +00:00
Ralf Corsepius
372cdd515f 2007-12-10 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.
	* chain.c: Reflect removal of isr.h.
	* isr.h: Remove.
	* Makefile.am: Remove isr.h.
2007-12-10 03:44:06 +00:00
Joel Sherrill
aa56c20114 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* httpd/Makefile.am, httpd/preinstall.am,
	rtems/src/semtranslatereturncode.c: rtems_webserver.h must be
	installed. It is the initialization interface for both GoAhead and
	Simple HTTPD.
2007-12-06 15:18:42 +00:00
Joel Sherrill
2e3199e9ca 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/include/grcan_spwrtc.h: Removed.
2007-12-06 14:21:05 +00:00
Joel Sherrill
1b0c3e6cff 2007-12-05 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am: i2c should be on branch as well as CVS head.
	* shared/i2c/i2cmst.c, shared/include/i2cmst.h: New files.
2007-12-05 15:49:40 +00:00
Joel Sherrill
7e15770cda 2007-12-05 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: i2c should be on branch as well as CVS
	head.
2007-12-05 15:49:38 +00:00
Joel Sherrill
e5ce943eb9 2007-12-05 Daniel Hellstrom <daniel@gaisler.com>
* shared/include/ambapp.h: Sync head and 4.8 branch.
2007-12-05 15:41:28 +00:00
Ralf Corsepius
8ffd6be0ea 2007-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove score/cpu/avr/Makefile,
	score/cpu/nios2/Makefile, score/cpu/avr/Makefile.
	* score/cpu/Makefile.am: Remove avr, nios2, c4x.
2007-12-05 09:37:57 +00:00
Ralf Corsepius
dea5bb944e Remove score/cpu/avr/Makefile, score/cpu/nios2/Makefile, score/cpu/avr/Makefile. 2007-12-05 09:37:49 +00:00
Ralf Corsepius
76fb8a6c19 Remove avr, nios2, c4x. 2007-12-05 09:37:28 +00:00
Ralf Corsepius
abc81aa749 2007-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove nios2.
2007-12-05 05:14:05 +00:00
Ralf Corsepius
54e05e1169 Remove nios2. 2007-12-05 05:13:18 +00:00
Ralf Corsepius
bec1af03d4 Remove from rtems-4-8-branch. 2007-12-05 05:12:33 +00:00
Ralf Corsepius
ad8f26a766 Remove nios, tic4x family BSPs. 2007-12-04 16:27:14 +00:00
Ralf Corsepius
ccdfdb203d Remove tic4x, avr. 2007-12-04 16:24:06 +00:00
Ralf Corsepius
3753b0076f Remove tic4x, avr from rtems-4-8-branch. 2007-12-04 16:23:21 +00:00
Ralf Corsepius
29cce4be45 Remove from rtems-4-8-branch. 2007-12-04 16:22:31 +00:00
Ralf Corsepius
8abda6510f Revert previous change. 2007-12-04 16:15:55 +00:00
Ralf Corsepius
01a9d2c308 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-12-04 16:15:22 +00:00
Ralf Corsepius
be39e03665 2007-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/nios2, score/cpu/c4x, score/cpu/avr: Remove from
	  rtems-4-8-branch.
2007-12-04 16:14:51 +00:00
Ralf Corsepius
1992eff989 Remove from rtems-4-8-branch. 2007-12-04 16:13:25 +00:00
Joel Sherrill
e1cc416af0 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 23:00:05 +00:00
Joel Sherrill
38f3ce540a 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:17:44 +00:00
Joel Sherrill
b25b7da807 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:44 +00:00
Joel Sherrill
125d4c61b7 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:23 +00:00
Joel Sherrill
0cec037ece 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:10 +00:00
Joel Sherrill
d805da0ef1 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:06 +00:00
Ralf Corsepius
cf148c70b0 Regnerate. 2007-11-30 06:02:22 +00:00
Ralf Corsepius
b32338aba0 GCC_RPMREL = 27. 2007-11-30 06:00:40 +00:00
Ralf Corsepius
afb21a9997 Upgrade to gcc-4.2.2 2007-11-29 17:24:15 +00:00
Ralf Corsepius
eb5b37d6c0 Copy from CVS-HEAD/rtems-4.9 2007-11-29 17:20:26 +00:00
Glenn Humphrey
fc121ce659 2007-11-29 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* develenv/direct.t, develenv/sample.t: Corrected various errors in the
	documentation.
2007-11-29 16:13:32 +00:00
Ralf Corsepius
b5273f01dd gcc-core-4.2.1-rtems4.8-20071129. 2007-11-29 13:38:44 +00:00
Ralf Corsepius
385451bd5c Backport from CVS-HEAD/rtems-4.9 2007-11-29 13:37:27 +00:00
Joel Sherrill
f52af242aa 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/mvme5500.cfg: Fix typo.
2007-11-28 21:15:35 +00:00
Glenn Humphrey
ef47c44f50 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:24:39 +00:00
Glenn Humphrey
bd58b13034 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Fixed errors in the barrier binding.
2007-11-27 21:23:13 +00:00
Joel Sherrill
32daf5dbef 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:15 +00:00
Glenn Humphrey
a74aefea2c 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:42 +00:00
Glenn Humphrey
7301b37101 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:13:09 +00:00
Joel Sherrill
d9779bda42 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:30:59 +00:00
Glenn Humphrey
5d55a0b242 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:45:03 +00:00
Joel Sherrill
6bca11e8d6 2007-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2007-11-27 15:36:18 +00:00
Joel Sherrill
4b650b58a6 2007-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2007-11-27 15:36:12 +00:00
Joel Sherrill
325a4df0a3 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Add comment.
2007-11-26 22:09:45 +00:00
Joel Sherrill
7fd0bc4df5 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* shmsupp/getcfg.c: Fix spacing.
2007-11-26 21:53:16 +00:00
Joel Sherrill
0519e2c13f 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, include/bsp.h: Fix spacing.
2007-11-26 21:53:14 +00:00
Joel Sherrill
c4254e957f 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2007-11-26 21:13:35 +00:00
Joel Sherrill
8802a9b3d1 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:13:02 +00:00
Joel Sherrill
3a9e70c16b 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Filter out Memory exception error messages.
2007-11-26 19:46:24 +00:00
Joel Sherrill
e2f429f144 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/thread.h: Fix spelling error.
2007-11-26 19:35:48 +00:00
Joel Sherrill
8545a7eafc 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/uart.c: Fix typo.
2007-11-26 19:34:21 +00:00
Joel Sherrill
5cc0c0d3a1 2007-11-26 Eric Norum <norume@aps.anl.gov>
* network/network.c: Fix LED configuration to match uCDIMM.
2007-11-26 17:48:39 +00:00
Ralf Corsepius
08988b7d3d Remove. 2007-11-15 04:38:18 +00:00
Ralf Corsepius
27de0e70fd Update. 2007-11-14 14:37:33 +00:00
Ralf Corsepius
72c04e843d Remove. 2007-11-14 14:35:06 +00:00
Ralf Corsepius
6dba71ebcb backup. 2007-11-13 15:09:07 +00:00
Ralf Corsepius
02058598d4 Backport from HEAD. 2007-11-13 09:29:15 +00:00
Ralf Corsepius
be4e5f6967 GCC_RPMREL = 14. 2007-11-13 09:26:55 +00:00
Ralf Corsepius
fc98297639 New. 2007-11-13 09:26:17 +00:00
Ralf Corsepius
425cb26a52 More makeinfo hacks. 2007-11-11 16:58:15 +00:00
Ralf Corsepius
484d126a28 New. 2007-11-11 13:19:55 +00:00
Ralf Corsepius
e55f7f714e Remove gcc-3.4.6. 2007-11-11 13:19:12 +00:00
Ralf Corsepius
3254133b45 Remove gcc-4.2.0. 2007-11-11 13:17:20 +00:00
Ralf Corsepius
02e1bdbfa7 Remove gcc-4.0.3. 2007-11-11 13:16:07 +00:00
Ralf Corsepius
a3459e847b Remove gcc-4.1.2. 2007-11-11 13:14:31 +00:00
Ralf Corsepius
501a675ab2 Remove gcc-4.1.1. 2007-11-11 13:13:51 +00:00
Ralf Corsepius
7894589578 gcc-core-4.2.1-rtems4.8-20071111.diff. 2007-11-11 13:11:41 +00:00
Ralf Corsepius
4ee3225ebb GCC_RPMREL = 25. 2007-11-11 13:11:05 +00:00
Ralf Corsepius
cfa08cf05a Regenerate. 2007-11-10 07:05:17 +00:00
Ralf Corsepius
2b6a100aee gdb-6.6-rtems4.8-20071110.diff 2007-11-10 07:04:57 +00:00
Ralf Corsepius
70a276acc3 New. 2007-11-10 07:03:42 +00:00
Ralf Corsepius
42561520ea GDB_RPMREL = 10 2007-11-10 07:02:16 +00:00
Ralf Corsepius
116826e77d Remove (Unused). 2007-11-10 05:47:54 +00:00
Ralf Corsepius
66a55224a9 Remove gdb-6.5 2007-11-10 05:46:40 +00:00
Ralf Corsepius
001c1508c8 Update gdb-6.6 patch. 2007-11-10 05:43:14 +00:00
Joel Sherrill
57a483cf41 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:38:58 +00:00
Joel Sherrill
2a65626503 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:23:01 +00:00
Glenn Humphrey
2211225438 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:54:22 +00:00
Ralf Corsepius
0e95f1e57d Regenerate. 2007-11-04 09:36:15 +00:00
Ralf Corsepius
7d1ca2ac60 BINUTILS_RPMREL = 2. 2007-11-04 09:34:49 +00:00
Ralf Corsepius
6dc5431424 binutils-2.18-rtems4.8-20071104.diff. 2007-11-04 09:34:31 +00:00
Ralf Corsepius
7eb30458c4 New. 2007-11-04 09:31:43 +00:00
Joel Sherrill
334573e372 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:12 +00:00
Ralf Corsepius
0e7cee45c0 Upgrade to gdb-4.7.1 2007-11-01 07:47:41 +00:00
Ralf Corsepius
547657c34f Remove ref to rtems4.9 2007-11-01 07:46:19 +00:00
Ralf Corsepius
6d837a6273 New (from TRUNK). 2007-11-01 07:36:50 +00:00
Ralf Corsepius
aa26724ca5 Sync with trunk 2007-11-01 07:35:16 +00:00
Ralf Corsepius
21b3f3b114 Remove GDB. 2007-11-01 07:29:05 +00:00
Glenn Humphrey
8294a5d9f6 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Merge binding updates from CVS head. Bindings
	should now be reasonably in sync with C Classic API.
2007-10-26 21:37:07 +00:00
Glenn Humphrey
1b03eed0e5 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/rtmon.t: Fix report output.

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-26 21:34:57 +00:00
Glenn Humphrey
c4215bad1f 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:32:09 +00:00
Glenn Humphrey
0f4f543279 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:31:04 +00:00
Joel Sherrill
3ab4ba719a 2007-10-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* telnetd/icmds.c: Add header to file.
2007-10-19 21:34:34 +00:00
Joel Sherrill
f3b1d6851d Fix typo. 2007-10-19 21:34:28 +00:00
Joel Sherrill
0afb968bad 2007-10-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/assoc.c: Removed.  Accidentally included routine
	also in another file.  Mistake after splitting.
	* libcsrc/Makefile.am: Reflect file removal.
2007-10-19 14:38:25 +00:00
Joel Sherrill
9fe54b2469 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:37:12 +00:00
Joel Sherrill
814986ce3e 2007-10-14 Eric Norum <norume@aps.anl.gov>
* clock/clock.c: Add nanoseconds since tick support.
2007-10-16 17:14:38 +00:00
Ralf Corsepius
df3055aa6f 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 08:00:49 +00:00
Ralf Corsepius
d9a8aa054a Adjust to POSIX. Minor updates from FreeBSD. 2007-10-15 08:00:38 +00:00
Ralf Corsepius
8e1da2b644 Add if_nameindex (from FreeBSD). 2007-10-15 06:53:08 +00:00
Ralf Corsepius
a38723dd1e New. 2007-10-12 02:39:00 +00:00
Ralf Corsepius
2e4aab8738 Remove. 2007-10-12 02:36:58 +00:00
Joel Sherrill
6c64bcc365 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/occan.c: Fixes bug in OC-CAN baud rate calculator. The
	BTR1 8-bit value was swapped.
2007-10-11 12:54:30 +00:00
Joel Sherrill
ad8c2e6cbf 2007-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/copyrt.h: Update year.
2007-10-11 12:50:27 +00:00
Joel Sherrill
26ca309c2e 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:58 +00:00
Joel Sherrill
22f39fc0dc 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:58:02 +00:00
Ralf Corsepius
5f3b50c779 Regenerate. 2007-10-04 16:07:27 +00:00
Ralf Corsepius
98c8d080c1 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:06:49 +00:00
Joel Sherrill
470775b284 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:19 +00:00
Ralf Corsepius
433c7cad67 Remove. 2007-10-01 03:56:46 +00:00
Joel Sherrill
11d617593f 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 15:03:48 +00:00
Ralf Corsepius
e463596fc9 Update. 2007-09-28 07:47:33 +00:00
Joel Sherrill
27f0a73aa2 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* nfsclient/Makefile.am: Fix errors.
2007-09-25 21:33:11 +00:00
Joel Sherrill
77a152c74b 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* nfsclient/Makefile.am, nfsclient/preinstall.am: Install libnfs.a.
2007-09-25 16:56:09 +00:00
Joel Sherrill
6f5abc6638 2007-09-24 Chris Johns <chrisj@rtems.org>
* include/bsp.h: Do not use C++ comments.
2007-09-24 21:40:49 +00:00
Joel Sherrill
c2ac7e9df5 2007-09-21 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/occan.c: Fix warning on Diab compiler.
2007-09-21 15:47:53 +00:00
Joel Sherrill
b9f17f8a41 2007-09-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* network_5200/network.c: Add multicast support.
2007-09-21 15:45:11 +00:00
Joel Sherrill
6fe3bb36d6 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:38 +00:00
Joel Sherrill
ae6b44f55c 2007-09-20 Kate Feng <feng1@bnl.gov>
* network/if_100MHz/GT64260eth.c: Add else.
2007-09-20 16:35:23 +00:00
Joel Sherrill
81a54e64f7 2007-09-19 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/occan.c: Fix Reenable command and fix typo.
2007-09-19 15:14:52 +00:00
Joel Sherrill
a925b871a0 2007-09-19 Kate Feng <feng1@bnl.gov>
* README: Update.
2007-09-19 14:47:26 +00:00
cvs2git
a24f7003ab This commit was manufactured by cvs2svn to create branch 'rtems-4-8-branch'.
Sprout from master 2007-09-19 06:34:25 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Regenerate.'
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 SLAC 2007-07-25 05:22:23 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Import from rtems-nfs-1.5.tgz.':
    c/src/nfsclient/LICENSE
    c/src/nfsclient/README
    c/src/nfsclient/proto/mount_prot.h
    c/src/nfsclient/proto/mount_prot.x
    c/src/nfsclient/proto/mount_prot_xdr.c
    c/src/nfsclient/proto/nfs_prot.h
    c/src/nfsclient/proto/nfs_prot.x
    c/src/nfsclient/proto/nfs_prot_xdr.c
    c/src/nfsclient/rfc1094.txt
    c/src/nfsclient/rtems-filesystem-patch
    c/src/nfsclient/src/cexphelp.c
    c/src/nfsclient/src/librtemsNfs.h
    c/src/nfsclient/src/nfs.c
    c/src/nfsclient/src/nfs.modini.c
    c/src/nfsclient/src/nfsTest.c
    c/src/nfsclient/src/rpcio.h
    c/src/nfsclient/src/rpcio.modini.c
    c/src/nfsclient/src/sock_mbuf.c
    c/src/nfsclient/src/xdr_mbuf.c
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/README
    cpukit/zlib/algorithm.txt
    cpukit/zlib/crc32.h
    cpukit/zlib/infback.c
    cpukit/zlib/inffast.c
    cpukit/zlib/inffast.h
    cpukit/zlib/inffixed.h
    cpukit/zlib/inflate.c
    cpukit/zlib/inflate.h
    cpukit/zlib/trees.h
    cpukit/zlib/zlib.3
    cpukit/zlib/zlib.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/gcc-prep.add
    contrib/crossrpms/cygwin/gcc.am
    contrib/crossrpms/cygwin/i686/.cvsignore
    contrib/crossrpms/cygwin/i686/Makefile.am
    contrib/crossrpms/cygwin/i686/binutils-sources.add
    contrib/crossrpms/cygwin/i686/gcc-sources.add
    contrib/crossrpms/cygwin/i686/libncurses-devel.add
    contrib/crossrpms/cygwin/i686/libs.add
    contrib/crossrpms/cygwin/i686/target-libncurses-devel.add
    contrib/crossrpms/cygwin/i686/target-libs.add
    contrib/crossrpms/cygwin/i686/target-w32api.add
    contrib/crossrpms/cygwin/i686/target-zlib.add
    contrib/crossrpms/cygwin/i686/w32api.add
    contrib/crossrpms/cygwin/i686/zlib.add
    contrib/crossrpms/freebsd5.2/.cvsignore
    contrib/crossrpms/freebsd5.2/Makefile.am
    contrib/crossrpms/freebsd5.2/binutils.am
    contrib/crossrpms/freebsd5.2/gcc-prep.add
    contrib/crossrpms/freebsd5.2/gcc.am
    contrib/crossrpms/freebsd5.2/i586/.cvsignore
    contrib/crossrpms/freebsd5.2/i586/Makefile.am
    contrib/crossrpms/freebsd5.2/i586/binutils-sources.add
    contrib/crossrpms/freebsd5.2/i586/gcc-prep.add
    contrib/crossrpms/freebsd5.2/i586/gcc-sources.add
    contrib/crossrpms/freebsd5.2/i586/libs.add
    contrib/crossrpms/freebsd5.2/i586/target-libs.add
    contrib/crossrpms/freebsd6.0/.cvsignore
    contrib/crossrpms/freebsd6.0/Makefile.am
    contrib/crossrpms/freebsd6.0/binutils.am
    contrib/crossrpms/freebsd6.0/gcc-prep.add
    contrib/crossrpms/freebsd6.0/gcc.am
    contrib/crossrpms/freebsd6.0/i586/.cvsignore
    contrib/crossrpms/freebsd6.0/i586/Makefile.am
    contrib/crossrpms/freebsd6.0/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.0/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.0/i586/libs.add
    contrib/crossrpms/freebsd6.0/i586/target-libs.add
    contrib/crossrpms/freebsd6.1/.cvsignore
    contrib/crossrpms/freebsd6.1/Makefile.am
    contrib/crossrpms/freebsd6.1/binutils.am
    contrib/crossrpms/freebsd6.1/gcc-prep.add
    contrib/crossrpms/freebsd6.1/gcc.am
    contrib/crossrpms/freebsd6.1/i586/.cvsignore
    contrib/crossrpms/freebsd6.1/i586/Makefile.am
    contrib/crossrpms/freebsd6.1/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.1/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.1/i586/libs.add
    contrib/crossrpms/freebsd6.1/i586/target-libs.add
    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/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/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
2007-09-19 06:34:26 +00:00
4576 changed files with 70049 additions and 328029 deletions

View File

@@ -1,17 +0,0 @@
aclocal.m4
autom4te*.cache
compile
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
install.sh
Makefile
Makefile.in
mdate-sh
missing
texinfo.tex

View File

@@ -1,88 +1,16 @@
2008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
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.
* SUPPORT: Update address.
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,6 +35,7 @@ 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.9
rtems_api := 4.8
PATH := /opt/rtems-$(rtems_api)/bin:$(PATH)
# -----------------

View File

@@ -88,17 +88,20 @@ 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-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
arm-rtems
c4x-rtems
h8300-rtems
i386-rtems
m68k-rtems
mips-rtems
no_cpu-rtems
or32-rtems
powerpc-rtems
sh-rtems
sparc-rtems
bare see notes
The cross-compiler is set to $(target)-gcc by default. This can be
@@ -123,13 +126,21 @@ 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' when configured with
--enable-tests=samples. Use --enable-tests=all to build the full
The sample tests are built by 'make all', do a 'make test' to build the full
test suite.
Documentation is built separately from the source code.
By default, --enable-docs is disabled and documentation is not built.
2.2 Target Dependent Notes
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
bare:
@@ -165,44 +176,42 @@ The following bsps are supported:
host-based : posix (on Linux, FreeBSD, Cygwin, Solaris, and HPUX)
arm : csb336 csb337 edb7312 gba gp32 nds rtl22x rtl22xx_t
smdk2410
arm : csb336 csb337 edb7312 gba gp32 rtl22x
avr: : none
bfin : eZKit533 bf537Stamp
bfin : eZKit533
c4x : c3xsim c4xsim
h8300 : h8sim
i386 : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
i386 : 386ex 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 : av5282 csb360 gen68302 gen68360 gen68360_040
genmcf548x idp mcf5206elite mcf52235 mcf5235 mcf5239
m5484FireEngine mrm332 mvme136 mvme147s mvme162 mvme162lx
mvme167 ods68302 pgh360 sim68000 simcpu32 uC5282
m68k : gen68360 gen68360_040 mvme136 mvme147s mvme162 mvme162lx
mvme167 ods68302 sim68000 mcf5206elite uC5282
gen68302 csb360 simcpu32 mrm332 av5282 gen68340 mcf5235 idp
no_cpu : no_bsp (porting example)
mips : csb350 genmongoosev hurricane jmr3904 rbtx4925 rbtx4938
p4600 p4650
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
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
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 mbx8xx, gen5200, gen83xx, and tqm8xx BSPs are
designed to handle a variety of boards based on the same
family of system on chips CPUs
NOTE: The ep5200 is a clone of the 5200Lite a.k.a. IceCube.
sh : gensh1 gensh2 gensh4 shsim simsh4 simsh7045
@@ -239,12 +248,22 @@ Please refer to the BSP and Device Driver Guide.
7. Tested configurations
========================
All BSPs have been built on GNU/Linux if the target architecture
is supported in the FSF tools distribution.
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)
8. Prerequisites
================
GNU make
Gawk version 2 or higher.
GNU make version 3.72 or higher.
Bash.
binutils, gcc, newlib and gdb versions matching those in the RPMs.
gcc version > 2.8
NOTE: These prerequisites are probably out of date but autoconf should detect
any problems.

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.9.4
RTEMS Version 4.8.2

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],
[AS_HELP_STRING([$1], [$2], [ ])])],
[AC_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 test "x$ac_dir" = x: && continue
for ac_dir in $$1_configdirs; do
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.

View File

@@ -8,12 +8,8 @@ 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
@@ -30,11 +26,8 @@ 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,6 +29,9 @@ 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,9 +16,8 @@ AC_MSG_CHECKING([for available BSPs])
-e "s,/bsp_specs$,,"`
case $bsp_family in
# Now account for BSPs with build variants
gen68360) bsps="gen68360 gen68360_040 pgh360";;
tqm8xx) bsps="pghplus tqm8xx_stk8xx";;
genmcf548x) bsps="m5484FireEngine";;
c4xsim) bsps="c4xsim c3xsim";;
gen68360) bsps="gen68360 gen68360_040";;
p4000) bsps="p4600 p4650";;
mvme162) bsps="mvme162 mvme162lx";;
mbx8xx) bsps="mbx821_001 mbx860_001b"
@@ -27,12 +26,10 @@ AC_MSG_CHECKING([for available BSPs])
bsps="$bsps mbx860_005b"
;;
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l icecube";;
mpc55xxevb) bsps="mpc5566evb";;
gen83xx) bsps="mpc8349eamds hsc_cm01 mpc8313erdb";;
gen83xx) bsps="mpc8349eamds hsc_cm01";;
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,
[AS_HELP_STRING([--enable-cxx],
[AC_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,
[AS_HELP_STRING([--enable-itron],[enable itron interface])],
[AC_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,
[AS_HELP_STRING([--enable-multiprocessing],
[AC_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,
[AS_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
[AC_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,
[AS_HELP_STRING([--enable-posix],[enable posix interface])],
[AC_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,
AS_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
AC_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,
[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
[AC_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,
[AS_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
[AC_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,
AS_HELP_STRING([--enable-multilib],
AC_HELP_STRING([--enable-multilib],
[build many library versions (default=no)]),
[case "${enableval}" in
yes) multilib=yes ;;

View File

@@ -1,8 +1,5 @@
dnl $Id$
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
dnl
dnl RTEMS_TOP($1)
dnl
@@ -11,7 +8,6 @@ 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.9.4]))
m4_define([_RTEMS_VERSION],[4.8.2]))
m4_define([RTEMS_API],[4.9])
m4_define([RTEMS_API],[4.8])

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

@@ -1,8 +0,0 @@
aclocal.m4
autom4te*.cache
config.cache
config.log
config.status
configure
Makefile
Makefile.in

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.sherrill@OARcorp.com> for the BSPs that work with
+ Joel Sherrill <joel@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,8 +1,3 @@
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,32 +5,48 @@
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
h8300: h8300-rtems COFF
c4x:
c4x-rtems COFF Requires patches
i386: i386-rtems ELF
h8300:
h8300-rtems COFF
m68k: m68k-rtems ELF
i386:
i386-rtems ELF
mips: mips*-rtems ELF Big endian
mips*el-rtems ELF Little endian
m68k:
m68k-rtems ELF
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 ELF
sh:
sh-rtems COFF
sh-rtemscoff COFF
sh-rtemself ELF
NOTE: ELF is not completely stable for SH yet.
sparc:
sparc-rtems ELF

View File

@@ -1,14 +0,0 @@
aclocal.m4
autom4te*.cache
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
Makefile
Makefile.in
missing
mkinstalldirs

View File

@@ -1,273 +1,8 @@
2009-03-12 Daniel Hellstrom <daniel@gaisler.com>
2008-04-25 Till Straumann <strauman@slac.stanford.edu>
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.
* nfsclient/Changelog.slac, nfsclient/src/nfs.c:
BUGFIX (PR#1284) -- possible memory corruption if
server connectivity is lost.
2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
@@ -277,11 +12,6 @@
* 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

@@ -1,35 +0,0 @@
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,6 +34,10 @@ 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)
AS_IF([test "$GCC" = yes],[
if test "$GCC" = yes; then
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,11 +13,13 @@ 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,8 +1,5 @@
dnl $Id$
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
dnl
dnl RTEMS_TOP($1)
dnl
@@ -11,7 +8,6 @@ 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,8 +33,7 @@ if test "$no_recursion" != yes; then
],
[rtems_configure_args])
for rtems_config_dir in : $RTEMS_BUILD_SUBDIRS; do test "x$rtems_config_dir" = x: && continue
for rtems_config_dir in $RTEMS_BUILD_SUBDIRS; do
# 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.9.4]))
m4_define([_RTEMS_VERSION],[4.8.2]))
m4_define([RTEMS_API],[4.9])
m4_define([RTEMS_API],[4.8])

View File

@@ -1,12 +0,0 @@
Makefile
Makefile.in
aclocal*
aclocal.m4
autom4te*.cache
autom4te.*
autom4te.cache
config.*
config.cache
config.log
config.status
configure

View File

@@ -1,389 +1,3 @@
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@
GNATMAKE = @GNATMAKE@ -cargs $(GCCSPECS) -largs $(GCCSPECS)
AM_ADAFLAGS = -I$(PROJECT_ROOT)/lib/include/adainclude \
-I$(PROJECT_ROOT)/@RTEMS_BSP@/lib/include/adainclude \
@@ -10,9 +10,7 @@ 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

View File

@@ -1,65 +0,0 @@
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,7 +48,6 @@ 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
@@ -74,11 +73,12 @@ 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/spname01/Makefile
sptests/spsize/Makefile
])
AC_CONFIG_FILES([

View File

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -2,7 +2,7 @@
*
* This include file defines the Configuration Table for this test.
*
* COPYRIGHT (c) 1989-2007.
* COPYRIGHT (c) 1989-1997.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may in
@@ -15,7 +15,7 @@
/* configuration information */
#define CONFIGURE_APPLICATION
#define CONFIGURE_MPTEST
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
@@ -27,8 +27,6 @@
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 20
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
#define CONFIGURE_MAXIMUM_TASKS 1
#include <rtems/confdefs.h>
/* end of include file */

View File

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

View File

@@ -43,7 +43,6 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- TEST_TASK
@@ -56,6 +55,108 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, TEST_TASK);
--
-- 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
);
end MPTEST;

View File

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -7,14 +7,16 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
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)
node1$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = ada_mp01-node1.scn
dist_scn_DATA = mp01-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -1,23 +0,0 @@
/* 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

@@ -1,56 +0,0 @@
--
-- MAIN / BODY
--
-- DESCRIPTION:
--
-- This is the entry point for Test MP01_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 MP01_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 MP01_NODE1;

View File

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -7,14 +7,16 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
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)
node2$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = ada_mp01-node2.scn
dist_scn_DATA = mp01-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -1,23 +0,0 @@
/* 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

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -1,32 +0,0 @@
/* 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,6 +28,8 @@ with UNSIGNED32_IO;
package body MPTEST is
package body PER_NODE_CONFIGURATION is separate;
--PAGE
--
-- INIT
@@ -42,7 +44,7 @@ package body MPTEST is
TEXT_IO.NEW_LINE( 2 );
TEXT_IO.PUT( "*** TEST 2 -- NODE " );
UNSIGNED32_IO.PUT(
TEST_SUPPORT.NODE,
MPTEST.MULTIPROCESSING_CONFIGURATION.NODE,
WIDTH => 1
);
TEXT_IO.PUT_LINE( " ***" );
@@ -53,7 +55,7 @@ package body MPTEST is
TEXT_IO.PUT_LINE( "Creating test task (Global)" );
RTEMS.TASK_CREATE(
MPTEST.TASK_NAME( TEST_SUPPORT.NODE ),
MPTEST.TASK_NAME( MPTEST.MULTIPROCESSING_CONFIGURATION.NODE ),
1,
2048,
RTEMS.NO_PREEMPT,
@@ -95,7 +97,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 TEST_SUPPORT.NODE = 1 then
if MPTEST.MULTIPROCESSING_CONFIGURATION.NODE = 1 then
REMOTE_NODE := 2;
else
REMOTE_NODE := 1;

View File

@@ -43,7 +43,6 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- TEST_TASK
@@ -56,6 +55,108 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, TEST_TASK);
--
-- 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
);
end MPTEST;

View File

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -7,14 +7,16 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
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)
node1$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = ada_mp02-node1.scn
dist_scn_DATA = mp02-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -1,23 +0,0 @@
/* 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

@@ -1,56 +0,0 @@
--
-- 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

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -7,14 +7,16 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
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)
node2$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = ada_mp02-node2.scn
dist_scn_DATA = mp02-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -1,23 +0,0 @@
/* 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

@@ -1,56 +0,0 @@
--
-- 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

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

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

View File

@@ -65,7 +65,6 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- DELAYED_SEND_EVENT
@@ -80,7 +79,6 @@ package MPTEST is
IGNORED_ID : in RTEMS.ID;
IGNORED_ADDRESS : in RTEMS.ADDRESS
);
pragma Convention (C, DELAYED_SEND_EVENT);
--
-- TEST_TASK
@@ -93,7 +91,6 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, TEST_TASK);
--
-- TEST_TASK_SUPPORT
@@ -109,4 +106,107 @@ 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

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -7,14 +7,16 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
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)
node1$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = ada_mp03-node1.scn
dist_scn_DATA = mp03-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -1,23 +0,0 @@
/* 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

@@ -1,56 +0,0 @@
--
-- 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

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -7,14 +7,16 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
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)
node2$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = ada_mp03-node2.scn
dist_scn_DATA = mp03-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -1,23 +0,0 @@
/* 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

@@ -1,56 +0,0 @@
--
-- 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

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

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

View File

@@ -57,7 +57,6 @@ package MPTEST is
procedure INIT (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, INIT);
--
-- TEST_TASK
@@ -70,6 +69,108 @@ package MPTEST is
procedure TEST_TASK (
ARGUMENT : in RTEMS.TASK_ARGUMENT
);
pragma Convention (C, TEST_TASK);
--
-- 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

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -7,14 +7,16 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
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)
node1$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node1
endif
node1_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = ada_mp04-node1.scn
dist_scn_DATA = mp04-node1.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -1,23 +0,0 @@
/* 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

@@ -1,56 +0,0 @@
--
-- 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

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -7,14 +7,16 @@ include $(top_srcdir)/ada.am
AM_ADAFLAGS += -I$(srcdir)/..
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)
node2$(EXEEXT): ../mptest.adb
$(GNATCOMPILE) -margs -a $< -o $@
if EXPADA
noinst_PROGRAMS = node2
endif
node2_SOURCES = mptest-per_node_configuration.adb
scndir = $(rtems_ada_testsdir)
dist_scn_DATA = ada_mp04-node2.scn
dist_scn_DATA = mp04-node2.scn
include $(top_srcdir)/../../../testsuites/automake/local.am

View File

@@ -1,23 +0,0 @@
/* 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

@@ -1,56 +0,0 @@
--
-- 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

@@ -1,2 +0,0 @@
Makefile
Makefile.in

View File

@@ -1,32 +0,0 @@
/* 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 */

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