Commit Graph

1596 Commits

Author SHA1 Message Date
Joel Sherrill
a1f514f197 First cut implementation of real-time clock support in libchip. This
version compiles cleanly but there is not a BSP with a configuration
table to utilize it.
1998-07-28 23:03:40 +00:00
Joel Sherrill
009c235613 Corrected spacing. 1998-07-28 21:18:17 +00:00
Joel Sherrill
07e9180893 Added rtc directory. 1998-07-28 21:18:11 +00:00
Joel Sherrill
30cde042bb Added missing parts of patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. 1998-07-28 16:50:14 +00:00
Joel Sherrill
bd7c547d20 Closed window thanks to patch from Eric Norum. 1998-07-28 16:49:36 +00:00
Joel Sherrill
5752f93066 New file -- copied from dmv177 but same as ppcn_60x. 1998-07-25 17:34:41 +00:00
Joel Sherrill
749c54ecbf Added comments and corrected spacing. 1998-07-25 17:22:58 +00:00
Joel Sherrill
cae05041f2 Corrected spacing and added headers. 1998-07-25 17:19:45 +00:00
Joel Sherrill
8739322c10 Added ns16550_set_attributes. 1998-07-25 17:17:46 +00:00
Joel Sherrill
b636d5639b Corrected spacing and added a comment. 1998-07-25 17:17:36 +00:00
Joel Sherrill
ccfa60b4ad Updated to reflect set attributes. 1998-07-25 17:17:05 +00:00
Joel Sherrill
70a94515a7 Rewrote NS16550 TX interrupt processing to use termios for the buffer
and manage the interrupt sources like the other drivers.  This
let use remove the ns16550_flush() routine.
1998-07-25 16:53:21 +00:00
Joel Sherrill
adedb057d5 Removed TX ring buffer. 1998-07-25 16:52:17 +00:00
Joel Sherrill
cb27f05cc7 Changed variable to hold received data to unsigned. 1998-07-25 16:52:00 +00:00
Joel Sherrill
dfb16ce24d Added constants for z85c30_enable_interrupts. 1998-07-25 16:20:33 +00:00
Joel Sherrill
04c5ac7112 Removed z85c30_flush().
Reworked transmit interrupt processing to remove ring buffer and
to mask the TX empty interrupt when it was not expected.  This code
now uses termios to buffer TX output.
1998-07-25 16:20:14 +00:00
Joel Sherrill
c1da2504fb Changed comment on TxBuffer. 1998-07-25 16:18:46 +00:00
Joel Sherrill
b070d69a0f Removed mc68681_flush and corrected spacing. 1998-07-25 16:18:27 +00:00
Joel Sherrill
f600da3fca Added information on Chris Johns' suggestion to use pointers internally
rather than doing repeated table lookups.
1998-07-25 16:17:33 +00:00
Joel Sherrill
3d2c161c4d Removed "if 0" used to switch between serial ports. 1998-07-25 16:16:10 +00:00
Joel Sherrill
da8ac60afd New file. 1998-07-25 16:02:21 +00:00
Joel Sherrill
c68b990b99 Changed to utilize return status from rtems_termios_dequeue_characters()
and to correctly set the TX active indicator.
1998-07-25 14:51:57 +00:00
Joel Sherrill
a3c9f0dc58 Moved console.c to libbsp/shared. 1998-07-25 14:50:07 +00:00
Joel Sherrill
f246caf6f9 Interrupts were incorrectly managed with a disable/disable pair rather
than with a disable/enable pair.
1998-07-25 14:13:34 +00:00
Joel Sherrill
bf21172de8 changed version to 980724 1998-07-24 18:30:50 +00:00
Joel Sherrill
03c09610e5 Patch from David Fiddes <D.J.Fiddes@hw.ac.uk>:
Here's a small patch I forgot about from earlier in the week that removes
    the hack fix Geoffroy had to use to get his BSP to work properly.

The termios osend() fix took care of this.
1998-07-24 16:18:39 +00:00
Joel Sherrill
dbab462feb Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
<raguet@crf.canon.fr> to make their patches work together.
1998-07-24 16:09:51 +00:00
Joel Sherrill
1501809c67 changed version to 980723 1998-07-23 22:13:46 +00:00
Joel Sherrill
dbaf51a44b Patch from Emmanuel Raguet <raguet@crf.canon.fr>:
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-23 22:13:10 +00:00
Joel Sherrill
67a2288991 Patch from Eric VALETTE <valette@crf.canon.fr>:
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-23 22:02:34 +00:00
Joel Sherrill
73452854c0 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
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-23 20:04:55 +00:00
Joel Sherrill
c91e0325cc Removed consolex from build list. This file should be obsoleted by the
libchip, libio, and termios efforts.
1998-07-23 19:32:01 +00:00
Joel Sherrill
92fc5a5db7 Fix from Chris Johns <ccj@acm.org>. Comments:
Mask interrupts and save the current USP and MSP for all 68000 processor
    variants.
1998-07-21 13:59:12 +00:00
Joel Sherrill
bced36ddf0 Changed so we could test interrupts on port 3. 1998-07-18 18:44:12 +00:00
Joel Sherrill
c14a619709 Removed use of data port for z8530.
Move some code around.
1998-07-18 18:35:34 +00:00
Joel Sherrill
3652929e61 Removed use of data port for z8530.
Tested all four ports.  MC68681 as both polled and interrupt.  Z8530 as
polled only.
1998-07-18 18:35:07 +00:00
Joel Sherrill
91f16d5c40 New file 1998-07-18 18:34:04 +00:00
Joel Sherrill
a4d34dd20d Added z85c30 specific probe routine to decide what the clock rate was.
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-18 17:47:50 +00:00
Joel Sherrill
f8a5d54ea8 Addresses for SCC were wrong. A and B ports were swapped.
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-18 17:46:33 +00:00
Joel Sherrill
c53e1df40b Swapped RX and TX since doing this makes the lights blink on the
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-18 16:56:16 +00:00
Joel Sherrill
fe05ec5ede Added RS-422 converter information and cable building information. 1998-07-18 16:11:13 +00:00
Joel Sherrill
cc3d33ac9b Added information on the MC68681. 1998-07-18 15:34:03 +00:00
Joel Sherrill
f7d6e57e09 Added background and setup to add section on RS-422. 1998-07-18 15:24:14 +00:00
Joel Sherrill
f77670be93 Reworked to removed dependency on DY-4 CSS ROM monitor interface. 1998-07-18 15:23:56 +00:00
Joel Sherrill
e286479ae8 Removed css_iface. 1998-07-18 15:23:24 +00:00
Joel Sherrill
6d4062f1ec Removed. We are no longer dependent on DY-4 CSS interface code. 1998-07-18 15:22:54 +00:00
Joel Sherrill
cce1200e43 New file. 1998-07-18 15:19:28 +00:00
Joel Sherrill
4555bc1eb5 Initialized tty->refcount to 0. When (for whatever reason) malloc()
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-17 22:34:54 +00:00
Joel Sherrill
f95d2b53f2 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. Comments:
* 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-17 15:49:12 +00:00
Joel Sherrill
8123c63506 Added scitab directory. 1998-07-17 15:43:42 +00:00