Changeset 5c491aef in rtems for c/src/lib/libbsp/m68k


Ignore:
Timestamp:
12/20/95 15:39:19 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c64e4ed4
Parents:
4442d21c
Message:

changes remerged after lost in disk crash -- recovered from snapshot, partially recovered working tree, etc

Location:
c/src/lib/libbsp/m68k
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/efi332/startup/bspstart.c

    r4442d21c r5c491aef  
    1 #define STACK_CHECKER_ON
    21/*  bsp_start()
    32 *
  • c/src/lib/libbsp/m68k/efi68k/startup/bspstart.c

    r4442d21c r5c491aef  
    1 #define STACK_CHECKER_ON
    21/*  bsp_start()
    32 *
  • c/src/lib/libbsp/m68k/mvme162/README

    r4442d21c r5c491aef  
    2828to follow the future RTEMS versions. I will do my best to provide
    2929whatever support I can afford time-wise.
     30
     31MVME162FX and DMA on the IP bus
     32-------------------------------
     33
     34From Eric Vaitl <eric@viasat.com>:
     35
     36If you have any customers that will be using the 162FX, tell them to
     37be careful. The main difference between the 162 and the 162FX is DMA
     38on the IP bus. I spent over a month trying to write a DMA HDLC driver
     39for GreenSprings IP-MP and couldn't get it to work. I talked to some
     40people at GreenSprings, and they agreed that there really is no way to
     41get DMA to work unless you know the size of the packets in advance.
     42Once the IP2 chip DMA controller is given the character count and
     43enabled, it doesn't accept further commands until all of the
     44characters have arrived. The only way to terminate a DMA transfer
     45prematurely is by raising DMAEND* during the last read. None of the IP
     46modules that I know of are currently able to do that. GreenSprings is
     47working on the problem, but nothing is going to available for a few
     48months.
    3049
    3150Installation
  • c/src/lib/libbsp/m68k/mvme162/include/bsp.h

    r4442d21c r5c491aef  
    11/*  bsp.h
    22 *
    3  *  This include file contains all MVME162 board IO definitions.
     3 *  This include file contains all MVME162fx board IO definitions.
    44 *
    55 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
     
    166166 * because such stuff is bsp-specific (yet). The function bodies
    167167 * are in console.c
     168 *
     169 * NOTE from Eric Vaitl <evaitl@viasat.com>:
     170 *
     171 * I dropped RTEMS into a 162FX today (the MVME162-513). The 162FX has a
     172 * bug in the MC2 chip (revision 1) such that the SCC data register is
     173 * not accessible, it has to be accessed indirectly through the SCC
     174 * control register.
    168175 */
    169176
     
    191198
    192199#define ZREAD(port, n)  (ZWRITE0(port, n), (scc[port].csr))
    193 #define ZREADD(port)  (scc[port].buf)
     200#define ZREADD(port)  (scc[port].csr=0x08, scc[port].csr )
    194201
    195202#define ZWRITE(port, n, v) (ZWRITE0(port, n), ZWRITE0(port, v))
    196 #define ZWRITED(port, v)  (scc[port].buf = (unsigned char)(v))
     203#define ZWRITED(port, v)  (scc[port].csr = 0x08, \
     204                           scc[port].csr = (unsigned char)(v))
    197205/*----------------------------------------------------------------*/
    198206
  • c/src/lib/libbsp/m68k/mvme162/startup/bspclean.c

    r4442d21c r5c491aef  
    2929  extern void start( void  );
    3030
     31  page_table_teardown();
     32
    3133  lcsr->intr_ena = 0;               /* disable interrupts */
    3234  m68k_set_vbr(0xFFE00000);         /* restore 162Bug vectors */
  • c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c

    r4442d21c r5c491aef  
    189189  lcsr->vector_base = (VBR0 << 28) | (VBR1 << 24);
    190190
    191   m68k_enable_caching();
     191  page_table_init();
    192192
    193193  /*
Note: See TracChangeset for help on using the changeset viewer.