Annotation of xinu/sys/conf7300.c, revision 1.1.1.1

1.1       root        1: /* conf.c (GENERATED FILE; DO NOT EDIT) */
                      2: 
                      3: #include "../h/conf.h"
                      4: 
                      5: /* device independent I/O switch */
                      6: 
                      7: struct devsw   devtab[NDEVS] = {
                      8: 
                      9: /*  CONSOLE */
                     10: 0,
                     11: ttyinit7201, ioerr, ioerr,
                     12: ttyread, ttywrite7201, ioerr,
                     13: ttygetc, ttyputc7201, ttycntl7201,
                     14: 0xe50000, 0x70, 0x70,
                     15: slu1int, slu1int, NULLPTR, 0,
                     16: /*  TTYB -- NYI, so init is null */
                     17: 1,
                     18: ionull, ioerr, ioerr,
                     19: ttyread, ttywrite7201, ioerr,
                     20: ttygetc, ttyputc7201, ttycntl7201,
                     21: 0xe50002, 0x00, 0x00,
                     22: slu2int, slu2int, NULLPTR, 1,
                     23: /*  TTYC--keyboard interface */
                     24: 2,
                     25: /*ttyinit6850*/ionull, ioerr, ioerr,
                     26: ttyread, ttywrite6850, ioerr,
                     27: ttygetc, ttyputc6850, ttycntl6850,
                     28: 0xe70000, 0x6c, 0x6c,
                     29: slu3int, slu3int, NULLPTR, 1,
                     30: 
                     31: /*  RING0IN--NYI */
                     32: 3,
                     33: /* dlcinit*/ ionull, ioerr, ioerr,
                     34: dlcread, dlcwrite, ioerr,
                     35: ioerr, dlcputc, dlccntl,
                     36: 0xe50002,0x00,0x00,
                     37: dlciin, dlcoin, NULLPTR, 0,
                     38: 
                     39: /*  RING0OUT */
                     40: 4,
                     41: /* dlcinit */ ionull, ioerr, ioerr,
                     42: dlcread, dlcwrite, ioerr,
                     43: ioerr, dlcputc, dlccntl,
                     44: 0xe70000, 0x6c, 0x6c,
                     45: dlciin, dlcoin, NULLPTR, 1,
                     46: 
                     47: /*  LPR */
                     48: /* Note that on the ATT7300, the parallel interface for the LP device has
                     49:    interrupts enabled all the time, so we need at least a near-trivial
                     50:    driver that just acknowledges PI interrupts that happen
                     51: */
                     52: 
                     53: 5,
                     54: lpinit, lpopen, lpclose,
                     55: ioerr, lpwrite, ioerr,
                     56: ioerr, lpputc, lpcntl,
                     57: 0x470000, 0000, 0x68,
                     58: ionull, lpoin, NULLPTR, 0
                     59: };
                     60: 
                     61: /* slu1int saves regs, calls slu1intc, etc.-- */
                     62: slu1intc()
                     63: {
                     64:   sluint7201(CONSOLE);
                     65: }
                     66: slu2intc()
                     67: {
                     68:   sluint7201(TTYB);
                     69: }
                     70: slu3intc()
                     71: {
                     72:   sluint6850(TTYC);
                     73: }
                     74: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.