summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'rtems-4-5-1-pre1'.4.5.1-pre1cvs2git2001-08-302-4/+0
| | | | | | Sprout from rtems-4-5-branch 2001-08-30 19:12:24 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'changed version to 4.5.1-pre1' Delete: c/src/lib/libbsp/mips/p4000/liblnk/.cvsignore c/src/librdbg/src/powerpc/new_exception_processing/.cvsignore
* 2001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-301-3/+3
| | | | * libc/lseek.c: Modified to reflect 4.5 placement of libio_.h.
* 2001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-303-64/+43
| | | | | | | | | | | | * src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c: The per thread field resource_count should only be manipulated when a mutex is priority ceiling or priority inherit. This was reported by Chris Johns <ccj@acm.org> who also noticed that the use of switches for all disciplines generated less efficient code than using explicit tests for the one or two cases we were really interested in. Further review of his modifications made it apparent that the "isa" methods to test mutex discipline were not being used so this modification was swept into the code as well.
* 2001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-301-1/+1
| | | | | * inline/rtems/rtems/attr.inl: Correct typo and use correct attribute RTEMS_SYSTEM_TASK. Reported by Chris Johns <ccj@acm.org>.
* 2001-08-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-171-6/+9
| | | | | * libc/lseek.c: Fix minor bug introduced by misinterpretation of return code.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/mqueuesendsupp.c: Account for possibly blocking during the core send operation. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * src/msgqsubmit.c: Add a comment indicating that we do not have to account for possibly blocking during the core send operation because Classic API message queue send is always non-blocking. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new return status to account for blocking sends. Otherwise, the caller will think that the returned message status will have the ultimate results of the operation. If the send times out, the final status will be in the return_code of the thread. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * src/coremutexsurrender.c: Use holder thread not executing thread because even though they may and often are the same it is not guaranteed unless the proper attribute is set. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * startup/linkcmds: Modified to work better with gcc 2.8.1 and gnat 3.13p. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * tools/runtest.in: Recognize debug variant of monitor test. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * sp13/sp13.scn: Id in screen had wrong class field value. * sp13/system.h: Account for message buffer memory. * sp13/task2.c: Remove unnecessary check for failure. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * sp20/system.h: Account for extra task stacks properly. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * include/tmacros.h: Attempt to print errno as further information.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-161-6/+26
| | | | | | | | * libc/lseek.c: Modified after discussion with Eugeny S. Mints <jack@oktet.ru> to correct the behavior. There were two mistakes. First, iop->offset was incorrectly set for SEEK_END. Second, iop->offset should be left unmodified if there are errors. This modification attempts to fix both situations.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-1612-13/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/mqueuesendsupp.c: Account for possibly blocking during the core send operation. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * src/msgqsubmit.c: Add a comment indicating that we do not have to account for possibly blocking during the core send operation because Classic API message queue send is always non-blocking. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new return status to account for blocking sends. Otherwise, the caller will think that the returned message status will have the ultimate results of the operation. If the send times out, the final status will be in the return_code of the thread. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * src/coremutexsurrender.c: Use holder thread not executing thread because even though they may and often are the same it is not guaranteed unless the proper attribute is set. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * startup/linkcmds: Modified to work better with gcc 2.8.1 and gnat 3.13p. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * tools/runtest.in: Recognize debug variant of monitor test. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * sp13/sp13.scn: Id in screen had wrong class field value. * sp13/system.h: Account for message buffer memory. * sp13/task2.c: Remove unnecessary check for failure. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * sp20/system.h: Account for extra task stacks properly. 2001-08-16 Joel Sherrill <joel@OARcorp.com> * include/tmacros.h: Attempt to print errno as further information.
* 2001-08-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-093-3/+3
| | | | | | | * 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 Chris Johns <ccj@acm.org>Joel Sherrill2001-08-091-64/+37
| | | | | | | | | | | | * 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 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-097-43/+57
| | | | | | | | | | | | * 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-03-26 Zoltan Kocsi <zoltan@bendor.com.au>Joel Sherrill2001-03-291-0/+1
| | | | | | * 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.
* 2000-11-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-281-0/+2
| | | | | * src/imfs/memfile.c: Bug report from Sturniolo Jose <jsturnio@nec.com.ar> where NULL pointer was dereferenced.
* 2000-11-28 Sergei Organov <osv@javad.ru>Joel Sherrill2000-11-281-1/+4
| | | | | * libc/getcwd.c: Ensure _closedir(dir) is called even on error exit from the routine.
* 2000-11-28 Chris Johns <ccj@acm.org>Joel Sherrill2000-11-281-1/+9
| | | | | | | | | * 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-20 Dmitry Kargapolov <dk@gentex.ru>Joel Sherrill2000-11-201-3/+9
| | | | | * libc/mount.c: Make sure there is space allocated for a device name in the mount table entry.
* 2000-09-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-201-1/+0
| | | | | * src/objectgetbyindex.c: Do not enable dispatching on an error path it was not disabled on.
* 2000-08-11 Chris Johns <ccj@acm.org>Joel Sherrill2000-08-1111-7/+58
| | | | | | | | | | | | | | | * 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.
* IEEEJoel Sherrill2000-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ==== -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
* Patch from Eric Valette <valette@crf.canon.fr> with debuggingJoel Sherrill2000-07-241-7/+15
| | | | | by Till Straumann <strauman@SLAC.Stanford.EDU>. With this patch, the motorola_shared BSP should also support the MVME2303.
* Changed name of static table versions to avoid conflict.Joel Sherrill2000-07-141-2/+2
|
* Switch logical in conditional.Joel Sherrill2000-07-131-1/+1
|
* Fixed problem reported by Victor V. Vengerov <Victor.Vengerov@oktet.ru>Joel Sherrill2000-07-071-1/+7
| | | | | | 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.
* Patch rtems-rc-20000702-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-031-4/+13
| | | | | | | | | | | | | 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: ----------------------------------------------------------------------
* Interrupt stack is allocated in _ISR_Handler_initialization notJoel Sherrill2000-07-038-8/+8
| | | | _Interrupt_Manager_initialization.
* Patches from Eric Valette to address librdbg issues on SunRPC upgradeJoel Sherrill2000-06-293-9/+16
| | | | and cleanup.
* Patch from Chris Johns <cjohns@cybertec.com.au> to make sure theJoel Sherrill2000-06-291-1/+2
| | | | ttyHead back link is set.
* Patch from Eric Valette <valette@crf.canon.fr> to make librdbg workJoel Sherrill2000-06-291-8/+10
| | | | with the new RPC code.
* Patch from Chris Johns <cjohns@cybertec.com.au> andJoel Sherrill2000-06-261-0/+3
| | | | | | | | | | | 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.
* Patch from Chris Johns <cjohns@cybertec.com.au> andJoel Sherrill2000-06-261-1/+1
| | | | | Jennifer Averett <jennifer.averett@oarcorp.com> to make sure "/" is created with S_IFDIR set.
* Fixed so hppa1.1 compiles with only problems in simhppa BSP.Joel Sherrill2000-06-123-6/+16
|
* Works on Solaris and Linux.Joel Sherrill2000-06-121-8/+6
|
* Added i960KA support in anticipation is i960 gdb simulator BSP.Joel Sherrill2000-06-124-12/+40
|
* Merging main trunk and 4.5 branch. These changes were in theJoel Sherrill2000-06-122-1439/+1439
| | | | main trunk.
* Updated a bit.Joel Sherrill2000-06-121-21/+18
|
* Changed st_atime, st_ctime, and st_mtime for IMFS nodes to beJoel Sherrill2000-06-125-22/+22
| | | | stat_ to avoid conflicts with macros on Solaris.
* Check that context control overlay is big enough.Joel Sherrill2000-06-101-2/+4
|
* Patch rtems-rc-4.5.0-27-cvs from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-06-091-6/+0
| | | | | to remove syntactically incorrect else code that was technically unneeded anyway.
* Configure a default interrupt stack size.Joel Sherrill2000-06-081-1/+1
|
* Added -DUSE_INIT_FINI so they should be able to run C++ tests.Joel Sherrill2000-06-078-24/+0
|
* Added attributes of allocatable and executable to .reset and .initialJoel Sherrill2000-06-072-3/+3
| | | | sections so they are disassembled by objdump and loaded by gdb.
* -T linkcmds now part of %lib rule so %link rule can more easily honorJoel Sherrill2000-06-077-10/+10
| | | | the CPU model library linking rules built into gcc.
* Patch from Keith Outwater <vac4050@cae597.rsc.raytheon.com> to renameJoel Sherrill2000-06-016-12/+12
| | | | | webserver trace() routine to goahead_trace() to avoid name conflicts with ncurses.
* Distributed the preinstall of the header files to the directoriesJoel Sherrill2000-05-3111-432/+139
| | | | owning the header files.
* Patch to:Joel Sherrill2000-05-311-7/+6
| | | | | | | | 1. Fixes a typo in the code conditionalized by GEN68360_WITH_SRAM 2. Mods the code to add support for an additional bank of SRAM (needed more RAM to run the web server!) From <vac4050@cae597.rsc.raytheon.com> reviewed by Eric Norum <eric@cls.usask.ca>.
* Patch rtems-rc-4.5.0-25.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-05-313-3/+3
| | | | multilib handling issues.
* Update from John S. Gwynne <jsg@jsgpc.mrcday.com> that:Joel Sherrill2000-05-318-34/+29
| | | | | | | | * updated README * improved misc script for running the RTEMS test programs * Updated 332 SIM configuration in start.c * C++ global constructor fix (USE_INIT_FINI) * change __end_of_ram to _RamEnd to match changes by others
* Added -DUSE_INIT_FINI to all m68k and PowerPC BSPs.Joel Sherrill2000-05-3122-2/+58
|
* Include clockdrv.h and console.h per Frank Szczerba <frank@wmi.com>.Joel Sherrill2000-05-311-0/+8
|
* Patch from Nick Simon <Nick.SIMON@syntegra.bt.co.uk> to makeJoel Sherrill2000-05-301-0/+9
| | | | error.h C++ safe.