summaryrefslogtreecommitdiffstats
path: root/c (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-02-04Debugged and now works except for handling of minor number.Joel Sherrill3-939/+1287
1999-02-04Modified to include comments on how to get TCPDEBUG turned on andJoel Sherrill6-3/+33
printing messages.
1999-02-03Patch from John S Gwynne <jsg@donet.com> for malloctest. His comments:Joel Sherrill2-6/+12
I have a few patches for the efi332 bsp. If you let me know when you expect the next snapshot release, I will try to have them to you before then. Also, the malloctest has some problems that I would think would prevent it from running on almost any platform. I have enclose patches below to fix (1) Task_id and Task_name dimensioning, (2) end of test message, (3) the amount of memory malloc'ed, and (4) retry on unsuccessful (out of memory) molloc's.
1999-02-03POSIX Timers submitted by Juan Zamorano FloresJoel Sherrill7-11/+1014
<jzamora@avellano.datsi.fi.upm.es>.
1999-02-03New test from Juan Zamorano Flores <jzamora@avellano.datsi.fi.upm.es>Joel Sherrill1-1/+1
that is part of the addition of POSIX timers.
1999-02-03New files from Juan Zamorano Flores <jzamora@avellano.datsi.fi.upm.es>Joel Sherrill4-0/+508
that are part of the addition of POSIX timers.
1999-02-02New file.Joel Sherrill1-0/+61
1999-02-02Added debug #define and commented it out.Joel Sherrill3-0/+3
1999-02-02Added PowerPC specific in_cksum file.Joel Sherrill3-0/+12
1999-02-02New file. Based on the i386 version.Joel Sherrill3-0/+606
1999-02-02Added debug print routines for TX and RX descriptors.Joel Sherrill1-65/+89
Fixed bug where only the mbuf associated with the first TX fragment was being freed.
1999-02-02Converted from DOS text file.Joel Sherrill1-373/+373
1999-01-31Removed unneeded include of libio_.h.Joel Sherrill1-2/+0
1999-01-31Prepended macro variables with "_" to avoid name conflicts in expansions.Joel Sherrill3-234/+234
1999-01-31Added bump buffer.Joel Sherrill2-2/+4
1999-01-31Added dump buffer.Joel Sherrill1-1/+1
1999-01-31Can send and receive packets but fails when TDA wraps. There appearsJoel Sherrill2-45/+113
to be a problem with overwriting the TX descriptors during an RX.
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-31New files added to ease debugging.Joel Sherrill6-0/+302
1999-01-28Patch from Eric Norum <eric@skatter.usask.ca> to avoid dereferencing aJoel Sherrill3-3/+12
NULL pointer.
1999-01-28Patch from Eric Norum <eric@skatter.usask.ca> to set more flags inJoel Sherrill2-4/+4
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 Sherrill3-3/+3
so that the libc code did not have to know about (struct socket).
1999-01-26Switched from printf() to puts().Joel Sherrill3-3/+3
1999-01-26Added libio_sockets.c to hold support routines for networking code.Joel Sherrill3-1/+117
1999-01-26Added prototype information about the SONIC driver.Joel Sherrill1-0/+9
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 Sherrill15-117/+897
1999-01-20Changed call to __rtems_close() to close().Joel Sherrill2-6/+6
1999-01-20Update of network driver from Erik Ivanenko <erik.ivanenko@utoronto.ca>.Joel Sherrill6-165/+399
Comments follow: Here is the contents of the network directory of the i386ex BSP. The reset function has been recently added, and tested through a command line interface. A reset event to the reset thread to reset the NIC. This is done when the ISR detects that the NIC is in an invalid state. It has not been tested "in real life" since the board has not seen an invalid state since the reset function was implemented.
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 Sherrill28-4/+84
<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-19Removed referencing to network driver since it has not been merged yet.Joel Sherrill2-6/+6
1999-01-19Changed definition of ASMFLAGS since as does not recognize -B optionJoel Sherrill1-1/+1
used in gcc.
1999-01-19Added comments for changing to a filesystemJoel Sherrill3-0/+12
1999-01-19Per bug report from Jiri Gaisler that RTEMS would no longer buildJoel Sherrill2-2/+26
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 Sherrill6-17/+53
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 Sherrill3-19/+2
1999-01-13Bug report from Jiri Gaisler <jgais@ws.estec.esa.nl>:Joel Sherrill2-2/+2
> > 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 ...
1999-01-05Patch from Chris Johns <ccj@acm.org> to get around a C++ problem with psim.Joel Sherrill1-13/+13
This problem should and likely was occurring with other BSPs. This is from Chris' email: I had a look in the psim bsp for the older snapshot I have and it looks like you are using the `libbsp/shared/main.c' and this is known to work. I have just built the powerpc tools, and compiled the bsp. I have not added the linker command file patch so got the list of linker warnings. It looks to me like a compiler bug. The `main' call is being inlined and when that happens the special code to call `__eabi' is not being added to the inlined version. I have attached a patch which places `main' after `boot_card' and a call to main is now generated. I have not tested it but it should work. I also include a dump of `boot_card' and `main' showing the bug.
1999-01-04Patch from D. V. Henkel-Wallace <gumby@zembu.com> to use puts and have ↵Joel Sherrill3-3/+9
prototype.
1999-01-04Patch from D. V. Henkel-Wallace <gumby@zembu.com> to fix braces nesting problem.Joel Sherrill3-3/+6
1999-01-04Patch from D. V. Henkel-Wallace <gumby@zembu.com> to make macro nest ↵Joel Sherrill3-9/+15
properly in conditionals
1999-01-04Removed blank linesJoel Sherrill4-6/+0
1999-01-04Patch from D. V. Henkel-Wallace <gumby@zembu.com> to remove unused variable.Joel Sherrill1-1/+0
1999-01-04Patch from D. V. Henkel-Wallace <gumby@zembu.com> to mark sav as unused.Joel Sherrill1-1/+1
1998-12-17Patch from Jay Kulpinski <jskulpin@eng01.gdds.com> to get cdtest.exe to run.Joel Sherrill1-0/+2
1998-12-17changed version to 19981217Joel Sherrill1-1/+1