Ignore:
Timestamp:
Apr 9, 1997, 2:05:50 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
48d6de3
Parents:
bed475e
Message:

Added ka9q tcpip stack and network driver for the gen68360. This effort
was done based on the 3.6.0 release and had to be autoconf'ed locally.
It is turned on is the bsp enables it and it is not explicitly disabled
via the configure option --disable-tcpip. As many warnings as possible
were removed locally after the code was merged. Only the gen68360
and mvme136 bsps were compiled this way.

The ka9q port and network driver were submitted by Eric Norum
(eric@…).

The network demo programs are not included in the tree at this point.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/gen68360/start360/start360.s

    rbed475e re2d79559  
    5757        .long   uhoh                    |  22:
    5858        .long   uhoh                    |  23:
    59         .long   uhoh                    |  24: Spurious interrupt
     59        .long   spurious_interrupt      |  24: Spurious interrupt
    6060        .long   uhoh                    |  25: Level 1 interrupt autovector
    6161        .long   uhoh                    |  26: Level 2 interrupt autovector
     
    299299
    300300/*
     301 * Log, but otherwise ignore, spurious interrupts
     302 */
     303spurious_interrupt:
     304        addql   #1,SYM(_M68kSpuriousInterruptCount)
     305        rte
     306
     307/*
    301308 * Place the low-order 3 octets of the board's ethernet address at
    302309 * a `well-known' fixed location relative to the beginning of ROM.
     
    308315 * Initial PC
    309316 */
    310         .global start
     317         .global start
    311318start: 
    312319        /*
     
    387394                                        | Should this just force a reset?
    388395mainDone:       nop                     | Leave spot for breakpoint
     396        movew   #1,a7                   | Force a double bus error
     397        movel   d0,a7@-                 | This should cause a RESET
    389398        stop    #0x2700                 | Stop with interrupts disabled
    390399        bra.s   mainDone                | Stuck forever
     
    399408END_CODE
    400409
    401 BEGIN_BSS
     410BEGIN_DATA_DCL
    402411        .align 2
    403412        PUBLIC (environ)
    404413SYM (environ):
    405414        .long   0
     415        PUBLIC (_M68kSpuriousInterruptCount)
     416SYM (_M68kSpuriousInterruptCount):
     417        .long   0
     418END_DATA_DCL
     419
    406420END
Note: See TracChangeset for help on using the changeset viewer.