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

Defined struct's

scb defined in line 13; used 6 times

Defined macros

SCB_HALT defined in line 66; never used
SCB_ISTACK defined in line 64; used 4 times
SCB_KSTACK defined in line 63; never used
SCB_WCS defined in line 65; never used
scbentry defined in line 61; used 4 times

Usage of this include

scb.h used 1 times
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 729
Valid CSS Valid XHTML 1.0 Strict