summaryrefslogtreecommitdiffstats
path: root/c/src (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-07-24Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel RaguetJoel Sherrill9-65/+96
<raguet@crf.canon.fr> to make their patches work together.
1998-07-23changed version to 980723Joel Sherrill2-2/+2
1998-07-23Patch from Emmanuel Raguet <raguet@crf.canon.fr>:Joel Sherrill7-4/+741
Here is a patch for KA9Q stack. This patch contains an Ethernet Driver for Western Digital, some fixes for the UDP and TCP protocols (for endian conversion) and some little programs which allow the test of UDP and TCP sockets via Ethernet. I have tested that on an Intel machine. If someone can test it on a big-endian machine, ...
1998-07-23Patch from Eric VALETTE <valette@crf.canon.fr>:Joel Sherrill31-510/+2721
Here is a enhanced version of my previous patch. This patch enables to potentially share the new interrupt management code for all Intel targets (pc386, go32 and force386) bsp. Note : this patch is complete only for pc386. It still needs to be completed for go32 and force386. I carrefully checked that anything needed is in for force386 (only some function name changes for IDT manipulation and GDT segment manipulation). But anyway I will not be able to test any of theses targets...
1998-07-23Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-0/+18
Here is a pure sh-rtems bug-fix patch. The defines to enable the network to host conversion macros in netinet/in.h were missing in sh/cpu.h
1998-07-23Removed consolex from build list. This file should be obsoleted by theJoel Sherrill1-1/+3
libchip, libio, and termios efforts.
1998-07-21Fix from Chris Johns <ccj@acm.org>. Comments:Joel Sherrill1-8/+3
Mask interrupts and save the current USP and MSP for all 68000 processor variants.
1998-07-18Changed so we could test interrupts on port 3.Joel Sherrill2-4/+4
1998-07-18Removed use of data port for z8530.Joel Sherrill4-180/+108
Move some code around.
1998-07-18Removed use of data port for z8530.Joel Sherrill2-14/+14
Tested all four ports. MC68681 as both polled and interrupt. Z8530 as polled only.
1998-07-18New fileJoel Sherrill1-0/+62
1998-07-18Added z85c30 specific probe routine to decide what the clock rate was.Joel Sherrill2-8/+52
This routines could be enhanced to determine if the SCC is present since it appears from the DY-4 manual that a status registers indicates this.
1998-07-18Addresses for SCC were wrong. A and B ports were swapped.Joel Sherrill1-44/+25
Deleted CSS interface related items. Added items required to access DMA Control and Status Register so we could figure out dynamically what the clock speed of the SCC really is.
1998-07-18Swapped RX and TX since doing this makes the lights blink on theJoel Sherrill1-2/+2
RS-422 converter. We now see the TD light blink when typing characters in HyperTerminal and when the board is reset we see the RD light blink. This leads us to believe the cabling is basically right.
1998-07-18Added RS-422 converter information and cable building information.Joel Sherrill1-8/+59
1998-07-18Added information on the MC68681.Joel Sherrill1-2/+12
1998-07-18Added background and setup to add section on RS-422.Joel Sherrill1-11/+21
1998-07-18Reworked to removed dependency on DY-4 CSS ROM monitor interface.Joel Sherrill1-5/+2
1998-07-18Removed css_iface.Joel Sherrill2-2/+2
1998-07-18Removed. We are no longer dependent on DY-4 CSS interface code.Joel Sherrill2-216/+0
1998-07-18New file.Joel Sherrill1-0/+26
1998-07-17Initialized tty->refcount to 0. When (for whatever reason) malloc()Joel Sherrill2-0/+6
returned a buffer which was not zero-filled, the reference count was not correct. When the application exitted, the "lastClose" handler was not being called to flush the output. This problem had manifested itself on a variety of platforms. The function rtems_termios_dequeue_characters() incorrectly incremented the buffer pointers when it was invoked and there were no characters in the ring buffer. This problem had also manifested itself on a variety of platforms. The symptom was a strange repeating of the data in the transmitter buffer when the transmitter serial device was supposed to go idle.
1998-07-17Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. Comments:Joel Sherrill4-9/+11
* Added support for bsd "install" ($(BSDINSTALL)) to host.cfg.in, i.e. the standard "install" program that most packages (including automake) use. In Makefiles outside of rtems, "install" normally is referenced by $(INSTALL), but rtems already uses $(INSTALL) for install-if-change, hence I used $(BSDINSTALL) instead to keep up backward compatibility. * Removed references to @GREP@ etc. from host.cfg.in, as configure.in doesn't check for them (Minor cleanup). * Added installation flags INST*FLAGS to host.cfg.in, which should replace -m XXXX flags for installation calls. *Changes to gcc.cfg to enable it to build host programs from multiple sources files. Should not disturb existing sources, but neccessary. * There was a not-so-minor bug in the configuration files: "make install" and "make debug_install" don't work in all subdirectories!! I tried to fix this by adding "install" to MTARGETS in main.cfg, which seems to solve most of the problems. But there still seem to be rare (?) cases where "make debug_install" still seems to have problems. * Changes to many host related tool-Makefiles to demonstrate the abilities of INST*FLAGS, BSDINSTALL and the new rules in gcc.cfg. ..of cause ... but BSDINSTALL is THE standard method to install files in most program packages besides rtems. This part of the patch fixes some minor protection setting problems, but doesn't support TARGET_VARIANTS NOTE: I hope you will like the BSDINSTALL, INST*FLAGS stuff. It is a step to get rid of "install-if-change" and to rely on a more standard installation procedure. If you don't like BSDINSTALL, removing it from the patch isn't difficult- just grep for BSDINSTALL and replace BSDINSTALL with INSTALL or MKDIR. FINALLY: I still have another patch pending (well, not a complete patch yet, it's a partial patch to demonstrate the principle), which adds automatic rebuilding of files generated by autoconf/configure. At the moment I don't dare to submit it, because integrating this patch would require to modify all Makefile.ins because we'd need to add a new "include " line to each Makefile.in.
1998-07-17Added scitab directory.Joel Sherrill2-1/+2
1998-07-17Turned stack checker on.Joel Sherrill1-0/+2
1998-07-17Patch fromalf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-0/+61
* c/src/lib/libbsp/sh/gensh1/scitab - NEW DIRECTORY Location for building the table generated by shgen
1998-07-17New files from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. His comments:Joel Sherrill7-0/+330
* c/src/exec/score/tools/sh - NEW DIRECTORY - contains shgen Most of it should be self-explanatory. I am a little bit concerned about host-dependent features (getopt, floating point libraries). This shouldn't disturb much now, as this tool should be compileable on all gnu-based hosts and is only applicable for the sh. But in case somebody complains, we may need to add autoconf checks or even restructurize parts of rtems (IMO, rtems needs to be restructurized - remember the "turning rtems upside down" issue).
1998-07-17Patch from Dario Alcocer <alcocer@connectnet.com>. His comments:Joel Sherrill2-0/+4
Haven't had a chance to do an extensive shake-out of 980710, but it builds just fine on FreeBSD 2.2.5 (after termios is fixed using the attached patch), and the tests run fine. FYI: FreeBSD doesn't support System V IPC out of the box, but one only needs to add three options to the kernel build configuration file, recompile the kernel, and you're ready.
1998-07-16Corrected header files.Joel Sherrill2-2/+4
1998-07-16Minor corrections for typos to get it to compile.Joel Sherrill2-4/+4
1998-07-16Split default baud rate table into its own file. This shrinks theJoel Sherrill10-216/+248
size of the minimum mc68681 driver. The clock speed field can not now be configured as NULL but must instead specify the address of the default table.
1998-07-15Fixed typo in which last port did not get switched to defaultJoel Sherrill2-8/+8
register access routines.
1998-07-15Fixed typos.Joel Sherrill8-8/+14
1998-07-15Switched to usign the default z8530 and mc68681 register access routines.Joel Sherrill7-272/+17
1998-07-15Added default z85c30 register access routines.Joel Sherrill6-2/+258
1998-07-15Added default mc68681 register access routines.Joel Sherrill10-24/+284
1998-07-15Added check for proper deviceType to interrupt processing code.Joel Sherrill4-4/+8
1998-07-15Added interrupt mask and interrupt status register bit constants.Joel Sherrill2-2/+48
Added prototype for mc68681_build_imr(), mc68681_process(), and mc68681_enable_interrupts().
1998-07-15Added default mc68681 register access routines.Joel Sherrill2-0/+98
1998-07-15Switched from driver's own buffering to using termios. This eliminatedJoel Sherrill2-242/+186
the need for the ringbuffer manipulation in this driver. It should also allow the removal of mc68681_flush. This greatly simplified the interrupt processing. Reworked Interrupt Mask Register handling. Added imr field to the device context. This handling makes sure that the IMR accurately reflects the state of the port in use and its mate. This required the reworking of the mc68681_enable_interrupts() routine to allow for the specification of which interrupt sources were being enabled/disabled. Reworked initialization to reset using port address rather than chip base address. Basically we were always resetting port 0. Added deviceType field which allows for multiple chips of the same class to have the same vector number.
1998-07-15Added information on the deviceType field.Joel Sherrill4-0/+16
1998-07-15Added default mc68681 register access routines.Joel Sherrill2-2/+4
1998-07-15Added SCV64_Get_Interrupt_Enable().Joel Sherrill1-4/+8
Added proper headers to routines.
1998-07-15Added SCV64_Get_Interrupt_Enable().Joel Sherrill1-0/+1
1998-07-15Added chip type identifier field. This was necessary because a singleJoel Sherrill2-0/+8
interrupt vector can be shared by multiple chips of varying types.
1998-07-15Added comment to remove use of TxBuffer ring buffer in all libchip drivers.Joel Sherrill2-2/+28
The scheme used in the mc68681 is the one to follow.
1998-07-15Added comments.Joel Sherrill2-6/+54
1998-07-15Added comments.Joel Sherrill1-1/+8
1998-07-15Masked out interrupts not being used prior to processing the status register.Joel Sherrill1-1/+9
1998-07-15Added routine to return interrupt mask. Added comments.Joel Sherrill1-3/+28