summaryrefslogtreecommitdiffstats
path: root/c/src/exec (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-02-18Readded.Joel Sherrill1-0/+14
1999-02-18Should have been removed earlier.Joel Sherrill43-5878/+0
1999-02-18Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill12-69/+60
This patch removes generation of targopts.h from leaf.cfg and generates it in location at score/include/rtems/score instead. To achieve this: * all rules in other Makefile.ins which have accessed targopts.h have been removed. * c/Makefile.in has been modified to generate the directories before doing anything else. I.e. to ensure the directories exist before any preinstall rule fires (This part is a bit kludgy, but it seems to work. Please check if the interaction with libhwapi still works).
1999-02-18Should have been removed from cvs early.Joel Sherrill31-5253/+0
1999-02-18Patch from Emmanuel Raguet <raguet@crf.canon.fr>:Joel Sherrill1-1/+9
You will find enclosed a patch which contains, for Intel PC386 target : - an Ethernet driver for DEC21140 device based boards. - a simple cache management with paging mechanism.
1999-02-18GLobal reentrancy structure is now dynamically initialized.Joel Sherrill1-1/+2
1999-02-18MPC860 support submitted by Jay Monkman <jmonkman@frasca.com>.Joel Sherrill4-2/+256
1999-02-17Jay Monkman <jmonkman@frasca.com> submitted the eth_comm BSP for a PPC860Joel Sherrill1-0/+1300
based board.
1999-02-15Patch from Eric Valette <valette@crf.canon.fr> to undo the patchJoel Sherrill1-2/+0
that added ifdef on the pc386.
1999-02-10changed version to 19990210Joel Sherrill1-1/+1
1999-02-10POSIX timer support.Joel Sherrill1-1/+1
1999-02-10Set the read/write offset to 0 when the file is opened. The ACVC had a testJoel Sherrill1-0/+1
that performed the sequence open/write/close/open/read/close on a file. It did not get the correct result since the file descriptor was reused.
1999-02-10Corrected multiple places the file size was not being properly updated.Joel Sherrill1-2/+8
1999-02-10Added getcwd().Joel Sherrill1-0/+280
1999-02-10POSIX timer support modifications.Joel Sherrill3-4/+16
1999-02-10Comments fixed after problem report from Ian Lance Taylor <ian@airs.com>.Joel Sherrill1-19/+10
1999-02-05Patch from Eric Norum to correct bug induced by select() patch.Joel Sherrill2-5/+11
1999-02-05Corrected spacing and added some new error checks that were neededJoel Sherrill3-24/+34
to avoid dereferencing NULLs.
1999-02-05Added caching enable routines.Joel Sherrill1-1/+1
1999-02-04Added printf()'s that can be uncommented to trace MBUF operations. ThisJoel Sherrill1-0/+3
is very useful when debugging a device driver.
1999-02-04Modifed to reflect transition from device driver to file system.Joel Sherrill1-41/+4
1999-02-04Added debug printf()'s that are commented out. Uncommenting theseJoel Sherrill1-0/+3
allows one to trace the enqueueing and dequeueing of messages. This can be used to insure that packets are getting to the boundary between the network stack and the device driver.
1999-02-04Added PowerPC specific header checksum code.Joel Sherrill1-34/+5
1999-02-04Added PowerPC specific header checksum code.Joel Sherrill1-4/+61
Added volatile to i386 assembly statements in header checksum code.
1999-02-04Debugged and now works except for handling of minor number.Joel Sherrill1-313/+429
1999-02-04Modified to include comments on how to get TCPDEBUG turned on andJoel Sherrill2-1/+11
printing messages.
1999-02-03POSIX Timers submitted by Juan Zamorano FloresJoel Sherrill7-11/+1014
<jzamora@avellano.datsi.fi.upm.es>.
1999-02-02New file.Joel Sherrill1-0/+61
1999-02-02Added debug #define and commented it out.Joel Sherrill1-0/+1
1999-02-02Added PowerPC specific in_cksum file.Joel Sherrill1-0/+4
1999-02-02New file. Based on the i386 version.Joel Sherrill1-0/+202
1999-01-31Prepended macro variables with "_" to avoid name conflicts in expansions.Joel Sherrill1-78/+78
1999-01-31Split psignal.c into many more files. This reduced the amount ofJoel Sherrill22-919/+1350
object code that has to be loaded just for initializing the signal manager.
1999-01-28Patch from Eric Norum <eric@skatter.usask.ca> to avoid dereferencing aJoel Sherrill1-1/+4
NULL pointer.
1999-01-28Patch from Eric Norum <eric@skatter.usask.ca> to set more flags inJoel Sherrill1-2/+2
rtems_bsdnet_makeFdForSocket().
1999-01-26Added include of <rtems/posix/priority.h> so a macro would expandJoel Sherrill1-0/+1
and eliminate a link error.
1999-01-26Changed prototype of rtems_bsdnet_makeFdForSocket to (void *) pointerJoel Sherrill1-1/+1
so that the libc code did not have to know about (struct socket).
1999-01-26Switched from printf() to puts().Joel Sherrill1-1/+1
1999-01-26Added libio_sockets.c to hold support routines for networking code.Joel Sherrill1-0/+58
1999-01-25Split most of POSIX Threads Manager into multiple files.Joel Sherrill31-958/+1362
1999-01-25Added enough prototypes to allow most of POSIX Threads Manager to beJoel Sherrill1-0/+26
split into multiple files.
1999-01-21Made to compile after hacking tftp driver into beginnings of a mini-filesystem.Joel Sherrill5-39/+299
1999-01-20Patch from Eric Norum <eric@skatter.usask.ca> to make m68360.h usableJoel Sherrill1-357/+366
outside RTEMS. Comment: I found a couple of places other than RTEMS where I'd like to use the declarations supplied in m68360.h. To make this easier to do, I've redone the declarations in m68360.h to use standard C types.
1999-01-20More general fix based on bug report and patch from Ian Lance TaylorJoel Sherrill14-2/+42
<ian@airs.com> to fix this problem: There is a small bug in __rtems_close in c/src/lib/libc/libio.c. It does not check whether the file descriptor it is passed is open. This can cause it to make a null dereference if it is passed a file descriptor which is in the valid range but which was not opened, or which was already closed.
1999-01-19Added comments for changing to a filesystemJoel Sherrill1-0/+4
1999-01-19Per bug report from Jiri Gaisler that RTEMS would no longer buildJoel Sherrill1-1/+13
with the --disable-posix option, stubs for some routines (_getpid_r and _kill_r) that are normally defined with POSIX were added.
1999-01-19Removed duplicate lines in file.Joel Sherrill1-14/+0
1999-01-19Patch from Jiri Gaisler <jgais@ce.chalmers.se>:Joel Sherrill2-2/+4
getting the spurious trap handling to work required a couple more fixes - I have attached a patch against rtems-4.0.0 with the necessary changes. I also added functionality so that the address of the trapped instruction is reported and in case of a data access error, the data address is also reported.
1999-01-19Moved sys/ioctl.h to libc supportJoel Sherrill2-18/+1
1999-01-13Bug report from Jiri Gaisler <jgais@ws.estec.esa.nl>:Joel Sherrill1-1/+1
> > I think I have found a bug in src/exec/scor/sparc/cpu/erc32.h in: > > > > #define ERC32_Disable_interrupt( _source, _previous ) \ > > do { \ > > unsigned32 _level; \ > > unsigned32 _mask = 1 << (_source); \ > > \ > > sparc_disable_interrupts( _level ); \ > > (_previous) = ERC32_MEC.Interrupt_Mask; \ > > ERC32_MEC.Interrupt_Mask = _previous | _mask; \ > > sparc_enable_interrupts( _level ); \ > > (_previous) &= ~_mask; \ <- IS THIS CORRECT...? > > } while (0) > > > > The previous interrupt mask is returned after first clearing the > > bit to be disabled, regardless whether the bit was set before or > > not. If the bit was set (interrupt masked), subsequent call to > > ERC32_Restore_interrupt() will enable the interrupt even though > > it was supposed to be masked. This is indeed what happens in > > DEBUG_puts when polled console I/O is used. In my opinion, the > > last statement in the macro should be removed - what is your opinion? > > I think the "~" shouldn't be there. I recall that the intent of that line > is to only return the state of the interrupts you were concerned with. > Removing the line returns entire state. Given that the value returned > shuold only be used in conjunction with the map, I suppose either removing > the ~ or the entire line is correct? I can go either way. Just let me > know which you think is more correct and the source will change. :) Hmmm, just removing the '~' should be OK. DEBUG_puts() seems to be the only user of ERC32_Restore_interrupt() anyway ...