summaryrefslogtreecommitdiffstats
path: root/c/src/exec (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Readded.Joel Sherrill1999-02-181-0/+14
|
* Should have been removed earlier.Joel Sherrill1999-02-1843-5878/+0
|
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-02-1812-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).
* Should have been removed from cvs early.Joel Sherrill1999-02-1831-5253/+0
|
* Patch from Emmanuel Raguet <raguet@crf.canon.fr>:Joel Sherrill1999-02-181-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.
* GLobal reentrancy structure is now dynamically initialized.Joel Sherrill1999-02-181-1/+2
|
* MPC860 support submitted by Jay Monkman <jmonkman@frasca.com>.Joel Sherrill1999-02-184-2/+256
|
* Jay Monkman <jmonkman@frasca.com> submitted the eth_comm BSP for a PPC860Joel Sherrill1999-02-171-0/+1300
| | | | based board.
* Patch from Eric Valette <valette@crf.canon.fr> to undo the patchJoel Sherrill1999-02-151-2/+0
| | | | that added ifdef on the pc386.
* changed version to 19990210Joel Sherrill1999-02-101-1/+1
|
* POSIX timer support.Joel Sherrill1999-02-101-1/+1
|
* Set the read/write offset to 0 when the file is opened. The ACVC had a testJoel Sherrill1999-02-101-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.
* Corrected multiple places the file size was not being properly updated.Joel Sherrill1999-02-101-2/+8
|
* Added getcwd().Joel Sherrill1999-02-101-0/+280
|
* POSIX timer support modifications.Joel Sherrill1999-02-103-4/+16
|
* Comments fixed after problem report from Ian Lance Taylor <ian@airs.com>.Joel Sherrill1999-02-101-19/+10
|
* Patch from Eric Norum to correct bug induced by select() patch.Joel Sherrill1999-02-052-5/+11
|
* Corrected spacing and added some new error checks that were neededJoel Sherrill1999-02-053-24/+34
| | | | to avoid dereferencing NULLs.
* Added caching enable routines.Joel Sherrill1999-02-051-1/+1
|
* Added printf()'s that can be uncommented to trace MBUF operations. ThisJoel Sherrill1999-02-041-0/+3
| | | | is very useful when debugging a device driver.
* Modifed to reflect transition from device driver to file system.Joel Sherrill1999-02-041-41/+4
|
* Added debug printf()'s that are commented out. Uncommenting theseJoel Sherrill1999-02-041-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.
* Added PowerPC specific header checksum code.Joel Sherrill1999-02-041-34/+5
|
* Added PowerPC specific header checksum code.Joel Sherrill1999-02-041-4/+61
| | | | Added volatile to i386 assembly statements in header checksum code.
* Debugged and now works except for handling of minor number.Joel Sherrill1999-02-041-313/+429
|
* Modified to include comments on how to get TCPDEBUG turned on andJoel Sherrill1999-02-042-1/+11
| | | | printing messages.
* POSIX Timers submitted by Juan Zamorano FloresJoel Sherrill1999-02-037-11/+1014
| | | | <jzamora@avellano.datsi.fi.upm.es>.
* New file.Joel Sherrill1999-02-021-0/+61
|
* Added debug #define and commented it out.Joel Sherrill1999-02-021-0/+1
|
* Added PowerPC specific in_cksum file.Joel Sherrill1999-02-021-0/+4
|
* New file. Based on the i386 version.Joel Sherrill1999-02-021-0/+202
|
* Prepended macro variables with "_" to avoid name conflicts in expansions.Joel Sherrill1999-01-311-78/+78
|
* Split psignal.c into many more files. This reduced the amount ofJoel Sherrill1999-01-3122-919/+1350
| | | | | object code that has to be loaded just for initializing the signal manager.
* Patch from Eric Norum <eric@skatter.usask.ca> to avoid dereferencing aJoel Sherrill1999-01-281-1/+4
| | | | NULL pointer.
* Patch from Eric Norum <eric@skatter.usask.ca> to set more flags inJoel Sherrill1999-01-281-2/+2
| | | | rtems_bsdnet_makeFdForSocket().
* Added include of <rtems/posix/priority.h> so a macro would expandJoel Sherrill1999-01-261-0/+1
| | | | and eliminate a link error.
* Changed prototype of rtems_bsdnet_makeFdForSocket to (void *) pointerJoel Sherrill1999-01-261-1/+1
| | | | so that the libc code did not have to know about (struct socket).
* Switched from printf() to puts().Joel Sherrill1999-01-261-1/+1
|
* Added libio_sockets.c to hold support routines for networking code.Joel Sherrill1999-01-261-0/+58
|
* Split most of POSIX Threads Manager into multiple files.Joel Sherrill1999-01-2531-958/+1362
|
* Added enough prototypes to allow most of POSIX Threads Manager to beJoel Sherrill1999-01-251-0/+26
| | | | split into multiple files.
* Made to compile after hacking tftp driver into beginnings of a mini-filesystem.Joel Sherrill1999-01-215-39/+299
|
* Patch from Eric Norum <eric@skatter.usask.ca> to make m68360.h usableJoel Sherrill1999-01-201-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.
* More general fix based on bug report and patch from Ian Lance TaylorJoel Sherrill1999-01-2014-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.
* Added comments for changing to a filesystemJoel Sherrill1999-01-191-0/+4
|
* Per bug report from Jiri Gaisler that RTEMS would no longer buildJoel Sherrill1999-01-191-1/+13
| | | | | with the --disable-posix option, stubs for some routines (_getpid_r and _kill_r) that are normally defined with POSIX were added.
* Removed duplicate lines in file.Joel Sherrill1999-01-191-14/+0
|
* Patch from Jiri Gaisler <jgais@ce.chalmers.se>:Joel Sherrill1999-01-192-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.
* Moved sys/ioctl.h to libc supportJoel Sherrill1999-01-192-18/+1
|
* Bug report from Jiri Gaisler <jgais@ws.estec.esa.nl>:Joel Sherrill1999-01-131-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 ...