Annotation of researchv9/sys.vax/h/scb.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * VAX System control block layout
                      3:  */
                      4: 
                      5: struct scb {
                      6:        int     (*scb_stray)();         /* reserved */
                      7:        int     (*scb_machchk)();       /* machine chack */
                      8:        int     (*scb_kspinval)();      /* KSP invalid */
                      9:        int     (*scb_powfail)();       /* power fail */
                     10:        int     (*scb_resinstr)();      /* reserved instruction */
                     11:        int     (*scb_custinst)();      /* XFC instr */
                     12:        int     (*scb_resopnd)();       /* reserved operand */
                     13:        int     (*scb_resaddr)();       /* reserved addr mode */
                     14:        int     (*scb_acv)();           /* access control violation */
                     15:        int     (*scb_tnv)();           /* translation not valid */
                     16:        int     (*scb_tracep)();        /* trace pending */
                     17:        int     (*scb_bpt)();           /* breakpoint instr */
                     18:        int     (*scb_compat)();        /* compatibility mode fault */
                     19:        int     (*scb_arith)();         /* arithmetic fault */
                     20:        int     (*scb_stray2)();
                     21:        int     (*scb_stray3)();
                     22:        int     (*scb_chmk)();          /* CHMK instr */
                     23:        int     (*scb_chme)();          /* CHME instr */
                     24:        int     (*scb_chms)();          /* CHMS instr */
                     25:        int     (*scb_chmu)();          /* CHMU instr */
                     26:        int     (*scb_sbisilo)();       /* SBI silo compare */
                     27:        int     (*scb_cmrd)();          /* corrected mem read data */
                     28:        int     (*scb_sbialert)();      /* SBI alert */
                     29:        int     (*scb_sbiflt)();        /* SBI fault */
                     30:        int     (*scb_wtime)();         /* memory write timeout */
                     31:        int     (*scb_stray4[8])();
                     32:        int     (*scb_soft[15])();      /* software interrupt */
                     33:        int     (*scb_timer)();         /* interval timer interrupt */
                     34:        int     (*scb_stray5[7])();
                     35:        int     (*scb_stray6[4])();
                     36:        int     (*scb_csdr)();          /* console storage receive */
                     37:        int     (*scb_csdx)();          /* console storage transmit */
                     38:        int     (*scb_ctr)();           /* console terminal receive */
                     39:        int     (*scb_ctx)();           /* console terminal transmit */
                     40:        int     (*scb_ipl14[16])();     /* device interrupts IPL 14 */
                     41:        int     (*scb_ipl15[16])();     /*   "          "    IPL 15 */
                     42:        int     (*scb_ipl16[16])();     /*   "          "    IPL 16 */
                     43:        int     (*scb_ipl17[16])();     /*   "          "    IPL 17 */
                     44:        int     (*scb_ubaint[128])();   /* Unibus device intr */
                     45: };
                     46: 
                     47: #ifdef KERNEL
                     48: extern struct scb scb;
                     49: /* scb.scb_ubaint is the same as UNIvec */
                     50: #endif
                     51: 
                     52: #define        scbentry(f, how)                ((int (*)())(((int)f)+how))
                     53: 
                     54: #define        SCB_KSTACK      0
                     55: #define        SCB_ISTACK      1
                     56: #define        SCB_WCS         2
                     57: #define        SCB_HALT        3

unix.superglobalmegacorp.com

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