Commit Graph

4280 Commits

Author SHA1 Message Date
Joel Sherrill
5ccb03b887 2001-08-09 Joel Sherrill <joel@OARcorp.com>
* scripts/setup.def, scripts/gccnewlib/base-gcc.add,
 	scripts/gccnewlib/gccnewlib.add, scripts-ada/buildall.in:
	Updated to reflect new versions.
2001-08-09 21:25:48 +00:00
Joel Sherrill
6559511b4e 2001-08-09 Joel Sherrill <joel@OARcorp.com>
* c/src/lib/libbsp/i386/i386ex/startup/linkcmds,
	c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.am,
	c/src/libnetworking/pppd/ipxcp.c: These files had latent single
	bit mistakes from the CVS server's RAM failure.
2001-08-09 21:23:42 +00:00
Joel Sherrill
256226b87e 2001-08-09 Chris Johns <ccj@acm.org>
* cpu_asm.S: This patch was co-developed with Eric Norum
	<eric.norum@usask.ca>.  It closes a one instruction window
	on some m68k CPU cores.  It fixes symptoms seen as:
	    1) No more `interrupt handler invoked twice for
	       a single interrupt'.
	    2) No more `lockup when mc68360 CPM and PIT interrupts
	       are at different levels'.
	It does insert a little more overhead on machines without hardware
	interrupt stacks but correctness has a price.
2001-08-09 21:09:52 +00:00
Joel Sherrill
3bb9542cd6 2001-08-09 Joel Sherrill <joel@OARcorp.com>
* c/src/exec/itron/src/snd_mbx.c, c/src/exec/itron/src/tsnd_mbf.c
	c/src/exec/posix/src/mqueuesendsupp.c,
	c/src/exec/rtems/src/msgqsubmit.c,
	c/src/exec/score/include/rtems/score/coremsg.h,
	c/src/exec/score/inline/rtems/score/coremsg.inl,
	c/src/exec/score/src/coremsgsubmit.c: Unblocking message queue
	operations should NOT use _Thread_Executing for return status
	since it is permissible to invoke message send operations from
	an ISR.  This was reported by Suvrat Gupta <suvrat@utstar.com>.
2001-08-09 21:08:50 +00:00
Joel Sherrill
b748fff9c5 2001-03-26 Zoltan Kocsi <zoltan@bendor.com.au>
* src/eventsurrender.c: Clear event condition when task is unblocked.
	This makes sure that subsequent event send thinks the task is still
	blocked and overwrites the initial events received.
2001-03-29 15:51:54 +00:00
Joel Sherrill
ca4c387054 2000-11-28 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c: Bug report from Sturniolo Jose
	<jsturnio@nec.com.ar> where NULL pointer was dereferenced.
2000-11-28 21:52:53 +00:00
Joel Sherrill
079b1f4c2c 2000-11-28 Sergei Organov <osv@javad.ru>
* libc/getcwd.c: Ensure _closedir(dir) is called even on
	error exit from the routine.
2000-11-28 21:49:50 +00:00
Joel Sherrill
99cfdc2dea 2000-11-28 Chris Johns <ccj@acm.org>
* src/heapallocate.c: Do not allow the size to overflow when
	adjusting it.  A test allocated a stack of -1 (~0). This
	actually resulted in a stack being allocated but with a
	size of 0xb. The allocator did not test the size to see if
	it rolled through 0 and so allowed the allocation to happen, the
	thread to get created. The task crashed as you would expect.
2000-11-28 21:47:27 +00:00
Joel Sherrill
e5aeae7b30 2000-11-20 Dmitry Kargapolov <dk@gentex.ru>
* libc/mount.c: Make sure there is space allocated for a device name
	in the mount table entry.
2000-11-20 13:30:03 +00:00
Joel Sherrill
0b18036afc 2000-09-20 Joel Sherrill <joel@OARcorp.com>
* src/objectgetbyindex.c: Do not enable dispatching on an
	error path it was not disabled on.
2000-09-20 13:27:47 +00:00
Joel Sherrill
74835d7880 2000-08-11 Chris Johns <ccj@acm.org>
* libc/chmod.c: Return ENOTSUP if filesystem does not have handler.
	* libc/eval.c: Ditto.
	* libc/fcntl.c: Ditto.
	* libc/fsync.c: Ditto.
	* libc/ioctl.c: Ditto.
	* libc/ioman.c: Ditto.
	* libc/link.c: Ditto.
	* libc/memfile.c: Ditto.
	* libc/mknod.c: Ditto.
	* libc/symlink.c: Ditto.
	* libc/libio.h(rtems_filesystem_dev_major_t): New macro.
	* libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
2000-08-11 20:04:03 +00:00
Joel Sherrill
289f822131 IEEE
====
-4 = {d = -4, i = {0xc0100000, 0x0}} s=1 e=0x80 m=0x100000 (0x0900000)
-3 = {d = -3, i = {0xc0080000, 0x0}} s=1 e=0x80 m=0x080000 (0x0880000)
-2 = {d = -2, i = {0xc0000000, 0x0}} s=1 e=0x80 m=0x000000 (0x0800000)
-1 = {d = -1, i = {0xbff00000, 0x0}} s=1 e=0x7f m=0x000000 (0x0800000)
 0 = {d =  0, i = {0x00000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 1 = {d =  1, i = {0x3ff00000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
 2 = {d =  2, i = {0x40000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 3 = {d =  3, i = {0x40080000, 0x0}} s=0 e=0    m=0x080000 (0x0880000)

C4X
===
-4 = {d = -4, i = {0x01800000, 0x0}} s=1 e=1    m=0x800000 (0x1000000)
-3 = {d = -3, i = {0x01c00000, 0x0}} s=1 e=1    m=0xa00000 (0x1400000)
-2 = {d = -2, i = {0x00800000, 0x0}} s=1 e=0    m=0x800000 (0x1000000)
-1 = {d = -1, i = {0xff800000, 0x0}} s=1 e=0xff m=0x000000 (0x1000000)
 0 = {d =  0, i = {0x80000000, 0x0}} s=0 e=0    m=0x000000 (0x0800000)
 1 = {d =  1, i = {0x00000000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000)
 2 = {d =  2, i = {0x01000000, 0x0}} s=0 e=1    m=0x400000 (0x0800000)
 3 = {d =  3, i = {0x01400000, 0x0}} s=0 e=1    m=0x600000 (0x0c00000)
 4 = {d =  4, i = {0x02000000, 0x0}} s=0 e=2    m=0xXXXXXX (0x0000000)

0x1010 0000
  0101 0000
  0010 1002
2000-08-03 14:43:43 +00:00
Joel Sherrill
d7d1096c78 Patch from Eric Valette <valette@crf.canon.fr> with debugging
by Till Straumann <strauman@SLAC.Stanford.EDU>.  With this
patch, the motorola_shared BSP should also support the MVME2303.
2000-07-24 19:17:34 +00:00
Joel Sherrill
36f910cdbe changed version to 4.5.0 2000-07-24 17:58:24 +00:00
Joel Sherrill
cadf485057 changed version to 4.5.0 2000-07-17 01:06:22 +00:00
Joel Sherrill
2d722f996d changed version to 4.5.0 2000-07-14 19:37:39 +00:00
Joel Sherrill
356a74b69d changed version to 4.5.0 2000-07-14 19:30:07 +00:00
Joel Sherrill
3df0c1e9ff changed version to 4.5.0 2000-07-14 19:24:28 +00:00
Joel Sherrill
b167323ddb changed version to 4.5.0 2000-07-14 19:14:12 +00:00
Joel Sherrill
9717739f27 changed version to 4.5.0 2000-07-14 19:10:50 +00:00
Joel Sherrill
8465866651 changed version to 4.5.0 2000-07-14 19:05:23 +00:00
Joel Sherrill
a5c67bc66d Updated RTEMS version. 2000-07-14 19:04:42 +00:00
Joel Sherrill
a4c731f6aa Updated tool versions for gnat 3.12p RPM revision 5. 2000-07-14 19:04:13 +00:00
Joel Sherrill
c1956b5952 Changed name of static table versions to avoid conflict. 2000-07-14 18:53:21 +00:00
Joel Sherrill
21555cba2d Switch logical in conditional. 2000-07-13 16:17:23 +00:00
Joel Sherrill
822d6b4799 Patch rtems-rc-20000711-2-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that removes setting unused variables WORKSPACE_MB and HEAPSPACE_MB.
2000-07-11 15:33:40 +00:00
Joel Sherrill
6d19b7edd4 Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>
where alarm() did not correctly account for the watchdog start_time
and stop_time fields being based on ticks not seconds.  This resulted
in alarm() returning a bogus number of seconds remaining.
2000-07-07 19:31:28 +00:00
Joel Sherrill
7f51092d10 Patch from James Housley <jim@thehousleys.net> so application Makefiles
can find tools installed to $(prefix)/bin after installation.
2000-07-07 16:48:29 +00:00
Joel Sherrill
1d51c45deb Patch rtems-rc-20000705-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------
2000-07-06 20:10:40 +00:00
Joel Sherrill
e734e57635 Patch rtems-rc-20000702-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is a hack to workaround a switch generation compiler bug for the
SH2 and cleaned up some warnings.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------
2000-07-03 20:48:00 +00:00
Joel Sherrill
0f4bfda992 Interrupt stack is allocated in _ISR_Handler_initialization not
_Interrupt_Manager_initialization.
2000-07-03 18:43:44 +00:00
Joel Sherrill
6d3279acea Patches from Eric Valette to address librdbg issues on SunRPC upgrade
and cleanup.
2000-06-29 16:22:13 +00:00
Joel Sherrill
5aac7bc83e Patch from Chris Johns <cjohns@cybertec.com.au> to make sure the
ttyHead back link is set.
2000-06-29 16:05:30 +00:00
Joel Sherrill
14b4125f3c Patch from Eric Valette <valette@crf.canon.fr> to make librdbg work
with the new RPC code.
2000-06-29 15:48:05 +00:00
Joel Sherrill
5f3ad6a89d Patch from Chris Johns <cjohns@cybertec.com.au> and
Jennifer Averett <jennifer.averett@oarcorp.com> to fix
appends (O_APPEND at open time) on in-memory files.

A call such as:

    fd = open (file, O_APPEND | O_WRONLY);

did not append to the end of the file.
2000-06-26 14:50:00 +00:00
Joel Sherrill
f782320813 Patch from Chris Johns <cjohns@cybertec.com.au> and
Jennifer Averett <jennifer.averett@oarcorp.com> to make sure
"/" is created with S_IFDIR set.
2000-06-26 14:46:47 +00:00
Joel Sherrill
0a8a4c128d Patch from James Housley <jim@thehousleys.net> to address FreeBSD 4.x
build issues.
2000-06-16 13:05:17 +00:00
Joel Sherrill
d33b901755 changed version to 4.5.0-beta3a 2000-06-12 20:55:36 +00:00
Joel Sherrill
1dc9286f8b changed version to 4.5.0-beta3a 2000-06-12 20:30:01 +00:00
Joel Sherrill
b96734cdd0 Fixed so hppa1.1 compiles with only problems in simhppa BSP. 2000-06-12 20:29:45 +00:00
Joel Sherrill
380b2231e0 Works on Solaris and Linux. 2000-06-12 18:46:11 +00:00
Joel Sherrill
c243c4923e Added i960KA support in anticipation is i960 gdb simulator BSP. 2000-06-12 15:56:32 +00:00
Joel Sherrill
19c6e495d3 changed version to 4.5.0-beta3a 2000-06-12 15:26:51 +00:00
Joel Sherrill
930c1c8dc9 Merging main trunk and 4.5 branch. These changes were in the
main trunk.
2000-06-12 15:24:34 +00:00
Joel Sherrill
6a62bceb23 changed version to 4.5.0-beta3a 2000-06-12 14:22:25 +00:00
Joel Sherrill
f18d2e7432 Updated a bit. 2000-06-12 14:19:35 +00:00
Joel Sherrill
531cbf9a4a Changed st_atime, st_ctime, and st_mtime for IMFS nodes to be
stat_ to avoid conflicts with macros on Solaris.
2000-06-12 14:09:52 +00:00
Joel Sherrill
f981326efc Updated version. 2000-06-12 14:07:19 +00:00
Joel Sherrill
e88f497884 Make sure Context_Control is large enough. 2000-06-10 18:37:21 +00:00
Joel Sherrill
98165e21b7 Check that context control overlay is big enough. 2000-06-10 18:36:48 +00:00