Compare commits

..

191 Commits
4.8.0 ... 4.8.2

Author SHA1 Message Date
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
450 changed files with 27142 additions and 12324 deletions

View File

@@ -1,3 +1,12 @@
2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
* aclocal/check-bsps.m4: Add missing icecube.
2008-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* bootstrap: Use find . ... preinstall.am for portability reasons.
2007-09-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.maint: touch all documentation master files so the date on

View File

@@ -4,4 +4,4 @@
# $Id$
#
RTEMS Version 4.8.0
RTEMS Version 4.8.2

View File

@@ -25,7 +25,7 @@ AC_MSG_CHECKING([for available BSPs])
bsps="$bsps mbx860_002"
bsps="$bsps mbx860_005b"
;;
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l";;
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l icecube";;
gen83xx) bsps="mpc8349eamds hsc_cm01";;
motorola_powerpc) bsps="mvme2307 mcp750 mtx603e mvme2100";;
pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.8.0]))
m4_define([_RTEMS_VERSION],[4.8.2]))
m4_define([RTEMS_API],[4.8])

View File

@@ -1,3 +1,9 @@
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.
2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* nfsclient/Makefile.am: Fix errors.

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.8.0]))
m4_define([_RTEMS_VERSION],[4.8.2]))
m4_define([RTEMS_API],[4.8])

View File

@@ -1,3 +1,13 @@
2009-01-06 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1350/bsps
* network/lan91c11x.c: Do not write 65th element into 64 element array.
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.
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps

View File

@@ -224,9 +224,6 @@ void lan91c11x_write_phy_reg(int reg, uint16_t phydata)
mask >>= 1;
}
/* Final clock bit */
bits[clk_idx++] = 0;
/* Turn off all MII Interface bits */
lan91c11x_write_reg(LAN91C11X_MGMT,
lan91c11x_read_reg(LAN91C11X_MGMT) & 0xfff0);

View File

@@ -143,7 +143,7 @@ SECTIONS
.eh_frame : { *(.eh_frame) } > sdram
.data1 : { *(.data1) } > sdram
.eh_frame : { *(.eh_frame) } > sdram
.gcc_except_table : { *(.gcc_except_table) } > sdram
.gcc_except_table : { *(.gcc_except_table*) } > sdram
.rodata :
{

View File

@@ -1,3 +1,8 @@
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.
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps

View File

@@ -130,7 +130,7 @@ SECTIONS
.eh_frame : { *(.eh_frame) } > sdram
.data1 : { *(.data1) } > sdram
.eh_frame : { *(.eh_frame) } > sdram
.gcc_except_table : { *(.gcc_except_table) } > sdram
.gcc_except_table : { *(.gcc_except_table*) } > sdram
.rodata :
{

View File

@@ -1,3 +1,8 @@
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.
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps

View File

@@ -142,7 +142,7 @@ SECTIONS
.eh_frame : { *(.eh_frame) } > sdram
.data1 : { *(.data1) } > sdram
.eh_frame : { *(.eh_frame) } > sdram
.gcc_except_table : { *(.gcc_except_table) } > sdram
.gcc_except_table : { *(.gcc_except_table*) } > sdram
.rodata :
{

View File

@@ -1,3 +1,8 @@
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.
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps

View File

@@ -151,7 +151,7 @@ SECTIONS
.gcc_except_table :
{
*(.gcc_except_table)
*(.gcc_except_table*)
. = ALIGN(4);
} =0xFF

View File

@@ -1,3 +1,8 @@
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.
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps

View File

@@ -170,7 +170,7 @@ SECTIONS
.gcc_except_table :
{
*(.gcc_except_table)
*(.gcc_except_table*)
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
} >sdram = 0
_axf_ro_end = . ;

View File

@@ -1,3 +1,13 @@
2009-03-02 Ray Xu <rayx.cn@gmail.com>
PR 1380/bsps
* include/bsp.h: Switch to English comments.
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.
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps

View File

@@ -30,12 +30,15 @@ extern "C" {
/* cclk=cco/(2*P) */
/* cco = cclk*2*P */
#define LPC22xx_Fcclk CONFIG_ARM_CLK /* system clk frequecy,<=60Mhz, defined in system configuration */
/* system clk frequecy,<=60Mhz, defined in system configuration */
#define LPC22xx_Fcclk CONFIG_ARM_CLK
/* Fcco 156M~320Mhz*/
#define LPC22xx_Fcclk CONFIG_ARM_CLK /* system clk frequecy,<=60Mhz, defined in system configuration */
/* system clk frequecy,<=60Mhz, defined in system configuration */
#define LPC22xx_Fcclk CONFIG_ARM_CLK
#define LPC22xx_Fcco LPC22xx_Fcclk * 4
#define LPC22xx_Fpclk (LPC22xx_Fcclk /4) *1 /*VPB clk frequency,1,1/2,1/4 times of Fcclk */
/*VPB clk frequency,1,1/2,1/4 times of Fcclk */
#define LPC22xx_Fpclk (LPC22xx_Fcclk /4) *1
@@ -76,14 +79,15 @@ extern "C" {
/**
* help file
*/
/* ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>, Fosc<EFBFBD><EFBFBD>Fcclk<EFBFBD><EFBFBD>Fcco<EFBFBD><EFBFBD>Fpclk<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
#define Fosc 11059200 //<2F><><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5>,10MHz~25MHz<48><7A>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>һ<EFBFBD><D2BB>
#define Fcclk (Fosc << 2) //ϵͳƵ<EFBFBD>ʣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪFosc<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(1~32)<29><><EFBFBD><EFBFBD><=60MHZ
#define Fcco (Fcclk <<2) //CCOƵ<4F>ʣ<EFBFBD><CAA3><EFBFBD><EFBFBD><EFBFBD>ΪFcclk<6C><6B>2<EFBFBD><32>4<EFBFBD><34>8<EFBFBD><38>16<31><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΧΪ156MHz~320MHz
#define Fpclk (Fcclk >>2) * 1 //VPBʱ<42><CAB1>Ƶ<EFBFBD>ʣ<EFBFBD>ֻ<EFBFBD><D6BB>Ϊ(Fcclk / 4)<29><>1 ~ 4<><34>
#define M Fcclk / Fosc;
#define P_min Fcco_MIN / (2*Fcclk) + 1;
#define P_max Fcco_MAX / (2*Fcclk);
/* System configure, Fosc Fcclk Fcco Fpclk must be defined*/
#define Fosc 11059200 // osc freq,10MHz~25MHz,
// change to real one if needed
#define Fcclk (Fosc << 2) //system freq 2^n time of Fosc(1~32) <=60MHZ
#define Fcco (Fcclk <<2) //CCO freq 2,4,8,16 time of Fcclk 156MHz~320MHz
#define Fpclk (Fcclk >>2) * 1 //VPB freq only(Fcclk / 4) 1~4
#define M Fcclk / Fosc
#define P_min Fcco_MIN / (2*Fcclk) + 1;
#define P_max Fcco_MAX / (2*Fcclk);
@@ -106,20 +110,20 @@ extern "C" {
#define SPI_CS_PIN_FUNC PINSEL0_bit.SPI_CS_PIN
// Flash definition
//#define FLASH_SIZE (0x200000-FLASH_BOOT) // Total area of Flash region in words 8 bit
#define FLASH_SIZE (0x80000-FLASH_BOOT) // Total area of Flash region in words 8 bit
//#define FLASH_SIZE (0x80000-FLASH_BOOT) // Total area of Flash region in words 8 bit
#define FLASH_BEGIN 0x80000000
#define FLASH_BASE (FLASH_BEGIN+FLASH_BOOT) //First 0x8000 bytes reserved for boot loader etc.
//#define FLASH_SIZE (0x200000-FLASH_BOOT) // Total area of Flash region in words 8 bit
#define FLASH_SIZE (0x80000-FLASH_BOOT) // Total area of Flash region in words 8 bit
//#define FLASH_SIZE (0x80000-FLASH_BOOT) // Total area of Flash region in words 8 bit
#define FLASH_BEGIN 0x80000000
#define FLASH_BASE (FLASH_BEGIN+FLASH_BOOT) //First 0x8000 bytes reserved for boot loader etc.
// SRAM definition
#define SRAM_SIZE 0x100000 // Total area of Flash region in words 8 bit
#define SRAM_BASE 0x81000000 //First 0x8000 bytes reserved for boot loader etc.
#define SRAM_SIZE 0x100000 // Total area of Flash region in words 8 bit
#define SRAM_BASE 0x81000000 //First 0x8000 bytes reserved for boot loader etc.
// CS8900A definition
#define CS8900A_BASE 0x82000000 //
#define CS8900A_BASE 0x82000000
// RTL8019AS definition
#define RTL8019AS_BASE 0x82000000 //
#define RTL8019AS_BASE 0x82000000

View File

@@ -150,7 +150,7 @@ SECTIONS
.eh_frame : { *(.eh_frame) } > sdram
.data1 : { *(.data1) } > sdram
.eh_frame : { *(.eh_frame) } > sdram
.gcc_except_table : { *(.gcc_except_table) } > sdram
.gcc_except_table : { *(.gcc_except_table*) } > sdram
.rodata :
{

View File

@@ -1,3 +1,16 @@
2008-08-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Install cplb.h
2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Install cplb.h
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-02-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Include cplb.h

View File

@@ -80,7 +80,7 @@ SECTIONS
.eh_frame : { *(.eh_frame) } > sdram
.data1 : { *(.data1) } > sdram
.eh_frame : { *(.eh_frame) } > sdram
.gcc_except_table : { *(.gcc_except_table) } > sdram
.gcc_except_table : { *(.gcc_except_table*) } > sdram
.rodata :
{

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -49,7 +49,7 @@ SECTIONS
_sdata = .;
*(.data*);
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
_edata = .;
}
_data_start = ADDR(.data) ;

View File

@@ -1,3 +1,13 @@
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-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.
2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps

View File

@@ -274,6 +274,20 @@ static int console_last_close(int major, int minor, void *arg)
return 0;
}
static int ser_console_first_open(int major, int minor, void *arg)
{
/*
* Pass data area info down to driver
*/
BSP_uart_termios_set(BSPConsolePort,
((rtems_libio_open_close_args_t *)arg)->iop->data1);
/* Enable interrupts on channel */
BSP_uart_intr_ctrl(BSPConsolePort, BSP_UART_INTR_CTRL_TERMIOS);
return 0;
}
/*-------------------------------------------------------------------------+
| Console device driver OPEN entry point
+--------------------------------------------------------------------------*/
@@ -321,6 +335,8 @@ console_open(rtems_device_major_number major,
cb.write = BSP_uart_termios_write_com2;
}
cb.firstOpen = ser_console_first_open;
status = rtems_termios_open (major, minor, arg, &cb);
if(status != RTEMS_SUCCESSFUL)
@@ -329,15 +345,6 @@ console_open(rtems_device_major_number major,
return status;
}
/*
* Pass data area info down to driver
*/
BSP_uart_termios_set(BSPConsolePort,
((rtems_libio_open_close_args_t *)arg)->iop->data1);
/* Enable interrupts on channel */
BSP_uart_intr_ctrl(BSPConsolePort, BSP_UART_INTR_CTRL_TERMIOS);
return RTEMS_SUCCESSFUL;
}

View File

@@ -95,7 +95,7 @@ SECTIONS
*(.data)
*(.data.*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
_edata = ALIGN( 0x10 ) ;
}

View File

@@ -1,3 +1,8 @@
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.
2007-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Eliminate maximum_drivers configuration parameter

View File

@@ -124,7 +124,7 @@ SECTIONS
. = ALIGN(0x20);
*(.gnu.linkonce.d*)
. = ALIGN(0x20);
*(.gcc_except_table)
*(.gcc_except_table*)
. = ALIGN(0x20);
_edata = .;
}

View File

@@ -1,3 +1,19 @@
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.
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -548,10 +548,10 @@ fec_sendpacket(struct ifnet *ifp, struct mbuf *m)
* The IP fragmentation routine in ip_output
* can produce fragments with zero length.
*/
txBd = sc->txBdBase + sc->txBdHead;
if (m->m_len){
char *p = mtod(m, char *);
int offset = (int) p & 0x3;
txBd = sc->txBdBase + sc->txBdHead;
if (offset == 0) {
txBd->buffer = p;
txBd->length = m->m_len;

View File

@@ -141,7 +141,7 @@ SECTIONS
PROVIDE( _copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -141,7 +141,7 @@ SECTIONS
PROVIDE( _copy_start = .);
*(.data)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -140,7 +140,7 @@ SECTIONS
PROVIDE( _copy_start = .);
*(.data)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -111,7 +111,7 @@ SECTIONS
*(.data*)
. = ALIGN (0x10);
*(.gcc_exc)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (0x10);
*(.gnu.linkonce.d*)

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -120,7 +120,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -148,7 +148,7 @@ SECTIONS {
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,9 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -112,7 +112,7 @@ SECTIONS {
_copy_start = .;
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (edata = .);

View File

@@ -118,7 +118,7 @@ SECTIONS {
*(.data)
*(.gnu.linkonce.d*)
*(.jcr)
*(.gcc_except_table)
*(.gcc_except_table*)
. = ALIGN (16);
PROVIDE (edata = .);
_copy_end = .;

View File

@@ -117,7 +117,7 @@ SECTIONS {
*(.data)
*(.gnu.linkonce.d*)
*(.jcr)
*(.gcc_except_table)
*(.gcc_except_table*)
. = ALIGN (16);
PROVIDE (edata = .);
_copy_end = .;

View File

@@ -1,3 +1,13 @@
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-02-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/ckinit.c, console/duart.c, timer/timer.c: Reflect changes
to rtems/motorola/*.h.
2007-06-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/leds.c, console/mc68ec.c: Rename delay to rtems_bsp_delay to

View File

@@ -67,8 +67,8 @@ rtems_isr Clock_isr(
{
Clock_driver_ticks += 1;
/* acknowledge interrupt
TSR = 1; */
MC68230_WRITE (TSR, 1);
MC68230_TSR = 1; */
MC68230_WRITE (MC68230_TSR, 1);
if ( Clock_isrs == 1 ) {
rtems_clock_tick();
@@ -86,7 +86,7 @@ rtems_isr Clock_isr(
void Disable_clock()
{
/* Disable timer */
MC68230_WRITE (TCR, 0x00);
MC68230_WRITE (MC68230_TCR, 0x00);
}
void Install_clock( clock_isr )
@@ -99,26 +99,26 @@ rtems_isr_entry clock_isr;
Old_ticker = (rtems_isr_entry) set_vector( clock_isr, CLOCK_VECTOR, 1 );
/* Disable timer for initialization */
MC68230_WRITE (TCR, 0x00);
MC68230_WRITE (MC68230_TCR, 0x00);
/* some PI/T initialization stuff here -- see comment in the ckisr.c
file in this directory to understand why I use the values that I do */
/* Set up the interrupt vector on the MC68230 chip:
TIVR = CLOCK_VECTOR; */
MC68230_WRITE (TIVR, CLOCK_VECTOR);
MC68230_TIVR = CLOCK_VECTOR; */
MC68230_WRITE (MC68230_TIVR, CLOCK_VECTOR);
/* Set CPRH through CPRL to 193 (not 203) decimal for countdown--see ckisr.c
CPRH = 0x00;
CPRM = 0x00;
CPRL = 0xC1; */
MC68230_WRITE (CPRH, 0x00);
MC68230_WRITE (CPRM, 0x00);
MC68230_WRITE (CPRL, 0xC1);
MC68230_WRITE (MC68230_CPRH, 0x00);
MC68230_WRITE (MC68230_CPRM, 0x00);
MC68230_WRITE (MC68230_CPRL, 0xC1);
/* Enable timer and use it as an external periodic interrupt generator
TCR = 0xA1; */
MC68230_TCR = 0xA1; */
/* led_putnum('a'); * for debugging purposes */
MC68230_WRITE (TCR, 0xA1);
MC68230_WRITE (MC68230_TCR, 0xA1);
/*
* Schedule the clock cleanup routine to execute if the application exits.
@@ -134,8 +134,8 @@ void Clock_exit( void )
/* disable timer
data = TCR;
TCR = (data & 0xFE); */
MC68230_READ (TCR, data);
MC68230_WRITE (TCR, (data & 0xFE));
MC68230_READ (MC68230_TCR, data);
MC68230_WRITE (MC68230_TCR, (data & 0xFE));
/* do not restore old vector */
}

View File

@@ -58,7 +58,7 @@ void init_pit()
/*
* install ISR for ports A and B
*/
set_vector(C_Receive_ISR, (VECT+H3VECT), 1);
set_vector(C_Receive_ISR, (MC68230_VECT+MC68230_H3VECT), 1);
/*
* initialize pit
@@ -70,12 +70,12 @@ void init_pit()
* setup pivr
* turn on all ports
*/
MC68230_WRITE(PGCR, 0x00);
MC68230_WRITE(PSRR, 0x18);
MC68230_WRITE(PBDDR, 0x00);
MC68230_WRITE(PBCR, 0x82);
MC68230_WRITE(PIVR, VECT);
MC68230_WRITE(PGCR, 0x20);
MC68230_WRITE(MC68230_PGCR, 0x00);
MC68230_WRITE(MC68230_PSRR, 0x18);
MC68230_WRITE(MC68230_PBDDR, 0x00);
MC68230_WRITE(MC68230_PBCR, 0x82);
MC68230_WRITE(MC68230_PIVR, MC68230_VECT);
MC68230_WRITE(MC68230_PGCR, 0x20);
/*
* For some reason, the reset of receiver/transmitter only works for
@@ -186,7 +186,7 @@ rtems_isr C_Receive_ISR(rtems_vector_number vector)
/*
* Clear pit interrupt.
*/
_addr = (unsigned char *) (PIT_ADDR + PITSR);
_addr = (unsigned char *) (MC68230_PIT_ADDR + MC68230_PITSR);
*_addr = 0x04;
/*

View File

@@ -117,7 +117,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -45,19 +45,19 @@ void Timer_initialize()
/* some PI/T initialization stuff here */
/* Set up the interrupt vector on the MC68230 chip:
TIVR = TIMER_VECTOR; */
MC68230_WRITE (TIVR, TIMER_VECTOR);
MC68230_WRITE (MC68230_TIVR, TIMER_VECTOR);
/* Set CPRH through CPRL to maximum count to reduce interrupt overhead
CPRH = 0xFF;
CPRM = 0xFF;
CPRL = 0xFF; */
MC68230_WRITE (CPRH, 0xFF);
MC68230_WRITE (CPRM, 0xFF);
MC68230_WRITE (CPRL, 0xFF);
MC68230_WRITE (MC68230_CPRH, 0xFF);
MC68230_WRITE (MC68230_CPRM, 0xFF);
MC68230_WRITE (MC68230_CPRL, 0xFF);
/* Enable timer and use it as an external periodic interrupt generator
TCR = 0xA1; */
MC68230_WRITE (TCR, 0xA1);
MC68230_WRITE (MC68230_TCR, 0xA1);
}
@@ -71,26 +71,26 @@ int Read_timer()
uint32_t remaining, total;
/* Disable timer so that timer can be read
data = TCR;
TCR = (data & 0xFE); */
MC68230_READ (TCR, data);
MC68230_WRITE (TCR, (data & 0xFE));
data = MC68230_TCR;
MC68230_TCR = (data & 0xFE); */
MC68230_READ (MC68230_TCR, data);
MC68230_WRITE (MC68230_TCR, (data & 0xFE));
/* Read the counter value
msb = CNTRH;
osb = CNTRM;
lsb = CNTRL; */
MC68230_READ (CNTRH, msb);
MC68230_READ (CNTRM, osb);
MC68230_READ (CNTRL, lsb);
msb = MC68230_CNTRH;
osb = MC68230_CNTRM;
lsb = MC68230_CNTRL; */
MC68230_READ (MC68230_CNTRH, msb);
MC68230_READ (MC68230_CNTRM, osb);
MC68230_READ (MC68230_CNTRL, lsb);
/* Calculate the time so far */
remaining = 0x1000000 - ((msb << 16) + (osb << 8) + lsb);
total = (Ttimer_val * 0x1000000) + remaining;
/* Enable timer so that timer can continue
TCR = 0xA1; */
MC68230_WRITE (TCR, 0xA1);
MC68230_TCR = 0xA1; */
MC68230_WRITE (MC68230_TCR, 0xA1);
/* do not restore old vector */
if ( Timer_driver_Find_average_overhead == 1 )

View File

@@ -1,3 +1,9 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -142,7 +142,7 @@ SECTIONS
*(.data*)
. = ALIGN (0x10);
*(.gcc_exc)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (0x10);
*(.gnu.linkonce.d*)

View File

@@ -147,7 +147,7 @@ SECTIONS
*(.data)
. = ALIGN (0x10);
*(.gcc_exc)
*(.gcc_except_table)
*(.gcc_except_table*)
. = ALIGN (0x10);
*(.gnu.linkonce.d*)
. = ALIGN (0x10);

View File

@@ -1,3 +1,9 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -148,7 +148,7 @@ SECTIONS
PROVIDE( _copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -153,7 +153,7 @@ SECTIONS
PROVIDE( _copy_start = .);
*(.data)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -148,7 +148,7 @@ SECTIONS
PROVIDE( _copy_start = .);
*(.data)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,9 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -141,7 +141,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -161,7 +161,7 @@ SECTIONS
_sdata = . ;
*(.data)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
CONSTRUCTORS

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -117,7 +117,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -121,7 +121,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -121,7 +121,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -124,7 +124,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -132,7 +132,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -34,7 +34,7 @@ SECTIONS
.vtable RAM_BASE :
{
vtable_start = .;
*(.vtable)
*(.vtable*)
evtable = .;
} >ram
@@ -135,7 +135,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -114,7 +114,7 @@ SECTIONS
PROVIDE (_copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-11-26 Eric Norum <norume@aps.anl.gov>
* network/network.c: Fix LED configuration to match uCDIMM.

View File

@@ -148,7 +148,7 @@ SECTIONS
PROVIDE( _copy_start = .);
*(.data*)
*(.gnu.linkonce.d*)
*(.gcc_except_table)
*(.gcc_except_table*)
*(.jcr)
. = ALIGN (16);
PROVIDE (_edata = .);

View File

@@ -1,3 +1,8 @@
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.
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.

View File

@@ -48,7 +48,7 @@ SECTIONS
*(set_domain_*);
*(set_pseudo_*);
*(.gcc_except_table)
*(.gcc_except_table*)
*(.eh_frame_hdr)
*(.eh_frame)
} >ram

View File

@@ -1,3 +1,8 @@
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.
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.

View File

@@ -51,7 +51,7 @@ SECTIONS
*(set_domain_*);
*(set_pseudo_*);
*(.gcc_except_table)
*(.gcc_except_table*)
*(.eh_frame_hdr)
*(.eh_frame)
} >ram

View File

@@ -1,3 +1,8 @@
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.
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.

View File

@@ -38,7 +38,7 @@ SECTIONS
*(set_domain_*);
*(set_pseudo_*);
*(.gcc_except_table)
*(.gcc_except_table*)
*(.eh_frame_hdr)
*(.eh_frame)
}

View File

@@ -1,3 +1,8 @@
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.
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.

View File

@@ -37,7 +37,7 @@ SECTIONS
*(set_domain_*);
*(set_pseudo_*);
*(.gcc_except_table)
*(.gcc_except_table*)
*(.eh_frame_hdr)
*(.eh_frame)
}

View File

@@ -1,3 +1,11 @@
2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Attempt to prevent runaways.
2008-08-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Major update. Now more likely not to run away.
2007-09-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest: Add capture to list of interative tests to skip in batch

View File

@@ -85,7 +85,7 @@ logdir=log
update_on_tick="no"
max_run_time=$((5 * 60))
using_print_buffer="yes"
simulator=mipstx39-rtems4.8-run
simulator=mipstx39-rtems4.9-run
while getopts vdl:o:s: OPT
do
@@ -128,7 +128,7 @@ args=$*
tests="$args"
if [ ! "$tests" ]
then
set -- `echo *.exe`
set -- `ls -1 *.exe *.ralf 2>/dev/null`
tests="$*"
fi
@@ -142,6 +142,7 @@ for tfile in $tests
do
tname=`basename $tfile .exe`
tname=`basename $tname .ralf`
cpus="1"
TEST_TYPE="single"
@@ -163,7 +164,7 @@ do
tname=`echo $tname | sed 's/-node.*//'`
TEST_TYPE="mp"
;;
minimum*|stackchk*|spfatal*|termio*)
minimum*|stackchk*|*fatal*|termio*)
continue
;;
esac
@@ -214,32 +215,45 @@ do
fatal "Cannot currently generate device files"
fi
# Spin off the simulator in the background
${simulator} --board=jmr3904 $tfile | \
# Spin off the simulator in the background
${simulator} --board=jmr3904 $tfile </dev/null | \
sed -e 's/
//' -e '/^$/d' > ${logfile} 2>&1 &
pid=$!
# Make sure it won't run forever...
time_run=0
while [ $time_run -lt $max_run_time ]
do
# sleep 5s at a time waiting for job to finish or timer to expire
# if job has exited, then we exit, too.
sleep 5
kill -0 $pid 2> /dev/null
running=$?
if [ $running -eq 0 ]
then
time_run=$((time_run + 5))
if [ $time_run -ge $max_run_time ]
then
kill -9 $pid 2> /dev/null
ran_too_long="yes"
fi
else
ran_too_long="no"
//' -e '/^$/d' > ${logfile} 2>&1 &
pid=$!
# Make sure it won't run forever...
millilimit=`expr ${max_run_time} \* 1000`
milliseconds=0
while :
do
# sleep 10ms at a time waiting for job to finish or timer to expire
# if job has exited, then we exit, too.
usleep 10000 # ten milliseconds
milliseconds=`expr ${milliseconds} + 10`
kill -0 $pid 2> /dev/null
running=$?
if [ $running -eq 0 ] ; then
if [ ${milliseconds} -ge ${millilimit} ]; then
kill -9 $pid 2> /dev/null
#cat ${logfile}
echo "${tname} killed after running ${max_run_time} seconds"
break
fi
grep "^Unhandled exception" ${logfile} >/dev/null
exceptionExit=$?
grep "^mips-core: " ${logfile} >/dev/null
badAccessExit=$?
if [ $badAccessExit -eq 0 -o $exceptionExit -eq 0 ] ; then
kill -9 ${pid} >/dev/null 2>&1
#cat ${logfile}
# echo Ran in ${milliseconds} milliseconds
fi
else
# done normally
# cat ${logfile}
# echo "${tname} ran in ${milliseconds} milliseconds"
break
fi
done

View File

@@ -1,3 +1,8 @@
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.
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.

View File

@@ -39,7 +39,7 @@ SECTIONS
*(set_domain_*);
*(set_pseudo_*);
*(.gcc_except_table)
*(.gcc_except_table*)
*(.eh_frame_hdr)
*(.eh_frame)
}

View File

@@ -1,3 +1,8 @@
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.
2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove qrtems_debug.

View File

@@ -39,7 +39,7 @@ SECTIONS
*(set_domain_*);
*(set_pseudo_*);
*(.gcc_except_table)
*(.gcc_except_table*)
*(.eh_frame_hdr)
*(.eh_frame)
}

View File

@@ -1,3 +1,13 @@
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-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.
2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/uart.c: Fix typo.

View File

@@ -1,3 +1,8 @@
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.
2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c: Eliminate DEBUG_puts.

View File

@@ -97,7 +97,7 @@ SECTIONS
CONSTRUCTORS
}
PROVIDE (__EXCEPT_START__ = .);
.gcc_except_table : { *(.gcc_except_table) }
.gcc_except_table : { *(.gcc_except_table*) }
PROVIDE (__EXCEPT_END__ = .);
.data1 : { *(.data1) }

View File

@@ -1,3 +1,15 @@
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.
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-02-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds.brs5l: Change .bss to .bss*.

View File

@@ -37,9 +37,9 @@ void bsp_cleanup( void )
/*
* Now reset the CPU
*/
_ISR_Set_level( 0 );
mpc5200.gpt[0].count_in = 0xf;
mpc5200.gpt[0].emsel = 0x9004;
while(1) ;
#endif
}

View File

@@ -137,7 +137,7 @@ SECTIONS
_erodata = .;
PROVIDE (__EXCEPT_START__ = .);
*(.gcc_except_table)
*(.gcc_except_table*)
PROVIDE (__EXCEPT_END__ = .);
__GOT_START__ = .;
s.got = .;

View File

@@ -139,7 +139,7 @@ SECTIONS
_erodata = .;
PROVIDE (__EXCEPT_START__ = .);
*(.gcc_except_table)
*(.gcc_except_table*)
PROVIDE (__EXCEPT_END__ = .);
__GOT_START__ = .;
s.got = .;

View File

@@ -151,7 +151,7 @@ SECTIONS
.jcr : { KEEP (*(.jcr)) } >ram
PROVIDE (__EXCEPT_START__ = .);
.gcc_except_table : { *(.gcc_except_table) } >ram
.gcc_except_table : { *(.gcc_except_table*) } >ram
PROVIDE (__EXCEPT_END__ = .);
__GOT_START__ = .;
.got :

View File

@@ -136,7 +136,7 @@ SECTIONS
_erodata = .;
PROVIDE (__EXCEPT_START__ = .);
*(.gcc_except_table)
*(.gcc_except_table*)
PROVIDE (__EXCEPT_END__ = .);
__GOT_START__ = .;
s.got = .;

View File

@@ -1,3 +1,9 @@
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.
2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, irq/irq_init.c: Eliminate warnings.

View File

@@ -151,7 +151,7 @@ SECTIONS
_erodata = .;
PROVIDE (__EXCEPT_START__ = .);
*(.gcc_except_table)
*(.gcc_except_table*)
PROVIDE (__EXCEPT_END__ = .);
__GOT_START__ = .;
s.got = .;

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