Commit Graph

13106 Commits

Author SHA1 Message Date
Joel Sherrill
d17c1140a8 2008-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1291/cpukit
	* posix/src/posixtimespecabsolutetimeout.c: New file.
	* itron/inline/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
	posix/Makefile.am, 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/mutexfromcorestatus.c, posix/src/mutextimedlock.c,
	posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
	posix/src/semtrywait.c, posix/src/semwait.c, rtems/src/semobtain.c,
	rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coresem.h, score/src/coremsgseize.c,
	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-24 20:43:24 +00:00
Joel Sherrill
5e60f15d23 2008-07-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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:50:40 +00:00
Joel Sherrill
3ed9ad9b83 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:07 +00:00
Joel Sherrill
fb4f19f134 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:15 +00:00
Ralf Corsepius
b6ca30ae15 Sync with rtems-4-8-branch. 2008-05-08 03:03:08 +00:00
Ralf Corsepius
d299ca4b48 New (sync with rtems-4-8-branch) 2008-05-08 02:57:51 +00:00
Ralf Corsepius
72a6eb1dce Upgrade to gdb-6.6. 2008-05-08 02:54:35 +00:00
Ralf Corsepius
1a5a29f25c Upgrade to gdb-6.8 2008-05-08 02:53:20 +00:00
Ralf Corsepius
b0ac7a0ecb Enable --with-system-readline only for gdb >= 6.7 2008-05-08 02:51:41 +00:00
Ralf Corsepius
61eddf7267 Sync with rtems-4.8. 2008-05-07 14:36:58 +00:00
Ralf Corsepius
632ea6046b Remove white line. 2008-05-06 02:46:06 +00:00
Ralf Corsepius
94baa4dd9f Sync with rtems-4-8-branch. 2008-05-06 02:35:42 +00:00
Ralf Corsepius
1971684fea New. 2008-05-03 08:34:37 +00:00
Ralf Corsepius
9ebaf4e7c7 New. Keep this outdated stuff building on modern hosts. 2008-05-03 08:18:52 +00:00
Ralf Corsepius
35b8c8ee7f Regenerate. 2008-05-03 08:17:59 +00:00
Ralf Corsepius
9ea5a2f86e Update to gcc-core-4.0.3-rtems4.7-20080503.diff. 2008-05-03 08:16:43 +00:00
Ralf Corsepius
bd6d5b949e Bump GCC_RPMREL. 2008-05-03 08:13:39 +00:00
Ralf Corsepius
1e2d157921 Update to gcc-core-4.1.1-rtems4.7-20080503.diff. 2008-05-03 05:14:35 +00:00
Ralf Corsepius
88c99a29f7 Upgrade to gcc-core-4.1.1-rtems4.7-20070405.diff 2008-05-03 04:16:05 +00:00
Ralf Corsepius
a5043d402c Update to newlib-1.15.0-rtems4.7-20080503.diff. 2008-05-03 04:08:14 +00:00
Ralf Corsepius
5e36d45331 Remove support for newlib-1.14.0. 2008-05-03 04:06:42 +00:00
Ralf Corsepius
8a13db160c Remove SIZE_MIN, fix SIZE_MAX. 2008-05-03 04:03:10 +00:00
Joel Sherrill
582d68e49e 2008-04-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/system.h: Fix typo in comment.
2008-04-25 15:24:28 +00:00
Joel Sherrill
de7b14e8d2 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:01 +00:00
Joel Sherrill
febc98612f 2008-02-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/mp.t: Now builds.
4.7.2
2008-02-14 19:35:39 +00:00
Joel Sherrill
78a89d7299 2008-02-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Add vme_am_defs.h
2008-02-14 18:49:58 +00:00
Joel Sherrill
9e8c23a50e Upgrade to 4.7.2 2008-02-14 18:49:12 +00:00
Joel Sherrill
8dbed6ef1f 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:33 +00:00
Ralf Corsepius
55dfb11351 Sync with HEAD 2008-01-19 05:36:54 +00:00
Ralf Corsepius
e50777dfb0 Bump version to 0.10. 2008-01-19 05:36:36 +00:00
Joel Sherrill
b4bf197008 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1268/cpukit
	* libcsupport/include/rtems/assoc.h: There is no
	rtems_assoc_ptr_by_value method.
2007-12-21 15:24:25 +00:00
Glenn Humphrey
1e121d8324 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:53 +00:00
Joel Sherrill
1773d3bd6f 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/mvme5500.cfg: Fix typo.
2007-11-28 21:15:41 +00:00
Glenn Humphrey
f68a8bf3ef 2007-11-28 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* 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:25:29 +00:00
Joel Sherrill
0c628898fc 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:22 +00:00
Joel Sherrill
2723df7ea3 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* develenv/develenv.texi, develenv/direct.t, develenv/intro.texi,
	develenv/sample.t, develenv/utils.t: Update directory tree.
2007-11-27 19:31:13 +00:00
Joel Sherrill
4ed0280e47 2007-11-26 Eric Norum <norume@aps.anl.gov>
* network/network.c: Fix LED configuration to match uCDIMM.
2007-11-26 19:08:16 +00:00
Ralf Corsepius
98e206b7d3 Update. 2007-11-15 05:40:15 +00:00
Ralf Corsepius
93745d5b10 Update. 2007-11-15 05:37:58 +00:00
Ralf Corsepius
1793d8bf65 Remove. 2007-11-15 05:33:53 +00:00
Ralf Corsepius
0eb005795e New. 2007-11-15 05:33:33 +00:00
Ralf Corsepius
ebfbcea713 Remove. 2007-11-15 05:27:39 +00:00
Joel Sherrill
3dbaf97582 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:40:01 +00:00
Joel Sherrill
7fa99def1e 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/cpuuse/cpuuse.c: Fix date formatting.
2007-11-06 20:21:21 +00:00
Joel Sherrill
0e111b7c33 2007-09-20 Kate Feng <feng1@bnl.gov>
* network/if_100MHz/GT64260eth.c: Add else.
2007-09-20 16:35:34 +00:00
Joel Sherrill
02cbce4816 2007-09-19 Kate Feng <feng1@bnl.gov>
* README: Update.
2007-09-19 14:47:14 +00:00
Joel Sherrill
b3baf73dfe Fixed formatting. 2007-09-17 15:44:55 +00:00
Joel Sherrill
e49b92e09c 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* network/GT64260eth.c, network/GT64260eth.h, network/GT64260ethreg.h: Removed.
2007-09-14 18:56:32 +00:00
Joel Sherrill
b047186473 2007-09-14 Kate Feng <feng1@bnl.gov>
* Makefile.am, README, README.booting, README.irq,
	preinstall.am, GT64260/MVME5500I2C.c, include/bsp.h, irq/irq.c,
	irq/irq.h, irq/irq_init.c, pci/pci.c, pci/pci_interface.c,
	pci/pcifinddevice.c, start/preload.S, startup/bspclean.c,
	startup/bspstart.c, startup/pgtbl_activate.c, startup/reboot.c:
	Merge my improvements in this BSP including a new network
	driver for the 1GHz NIC.
	* network/if_100MHz/GT64260eth.c, network/if_100MHz/GT64260eth.h,
	network/if_100MHz/GT64260ethreg.h, network/if_100MHz/Makefile.am,
	network/if_1GHz/Makefile.am, network/if_1GHz/POSSIBLEBUG,
	network/if_1GHz/if_wm.c, network/if_1GHz/if_wmreg.h,
	network/if_1GHz/pci_map.c, network/if_1GHz/pcireg.h: New files.
2007-09-14 15:43:37 +00:00
Joel Sherrill
622e09b440 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1261/cpukit
	* posix/src/semaphorecreatesupp.c: Initialize all fields during
	semaphore creation.
2007-09-14 14:53:00 +00:00