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.s	7.1 (Berkeley) 6/5/86
   7:  */
   8: 
   9: #include "uba.h"
  10: 
  11: /*
  12:  * System control block
  13:  */
  14:         .set    INTSTK,1        # handle this interrupt on the interrupt stack
  15:         .set    HALT,3          # halt if this interrupt occurs
  16: 
  17: _scb:   .globl  _scb
  18: 
  19: #define STRAY   .long   _Xstray+INTSTK
  20: #define STRAY8  STRAY;STRAY;STRAY;STRAY;STRAY;STRAY;STRAY;STRAY
  21: #define STRAY15 STRAY;STRAY;STRAY;STRAY;STRAY;STRAY;STRAY;STRAY8
  22: #define KS(a)   .long   _X/**/a
  23: #define IS(a)   .long   _X/**/a+INTSTK
  24: #define STOP(a) .long   _X/**/a+HALT
  25: 
  26: /* 000 */       STRAY;          IS(machcheck);  IS(kspnotval);  STOP(powfail);
  27: /* 010 */       KS(privinflt);  KS(xfcflt);     KS(resopflt);   KS(resadflt);
  28: /* 020 */       KS(protflt);    KS(transflt);   KS(tracep);     KS(bptflt);
  29: /* 030 */       KS(compatflt);  KS(arithtrap);  STRAY;          STRAY;
  30: /* 040 */       KS(syscall);    KS(chme);       KS(chms);       KS(chmu);
  31: /* 050 */       STRAY;          IS(cmrd);       STRAY;          STRAY;
  32: /* 060 */       IS(wtime);      STRAY;          STRAY;          STRAY;
  33: /* 070 */       STRAY;          STRAY;          STRAY;          STRAY;
  34: /* 080 */       STRAY;          STRAY;          KS(astflt);     STRAY;
  35: /* 090 */       STRAY;          STRAY;          STRAY;          STRAY;
  36: /* 0a0 */       IS(softclock);  STRAY;          STRAY;          STRAY;
  37: /* 0b0 */       IS(netintr);    STRAY;          STRAY;          STRAY;
  38: /* 0c0 */       IS(hardclock);  STRAY;          KS(emulate);    KS(emulateFPD);
  39: /* 0d0 */       STRAY;          STRAY;          STRAY;          STRAY;
  40: /* 0e0 */       STRAY;          STRAY;          STRAY;          STRAY;
  41: /* 0f0 */       IS(consdin);    IS(consdout);   IS(cnrint);     IS(cnxint);
  42: /* 100 */       IS(nexzvec); STRAY15;           /* ipl 0x14, nexus 0-15 */
  43: /* 140 */       IS(nexzvec); STRAY15;           /* ipl 0x15, nexus 0-15 */
  44: /* 180 */       IS(nexzvec); STRAY15;           /* ipl 0x16, nexus 0-15 */
  45: /* 1c0 */       IS(nexzvec); STRAY15;           /* ipl 0x17, nexus 0-15 */
  46: 
  47:         .globl  _UNIvec
  48: _UNIvec:        .space  512             # 750 unibus intr vector
  49:                                         # 1st UBA jump table on 780's
  50: #if NUBA > 1
  51:         .globl  _UNI1vec
  52: _UNI1vec:       .space  512             # 750 second unibus intr vector
  53:                                         # 2nd UBA jump table on 780's
  54: #endif

Defined functions

_UNI1vec declared in line 51; defined in line 52; used 1 times
  • in line 51
_UNIvec declared in line 47; defined in line 48; used 1 times
  • in line 47
_scb declared in line 17; defined in line 17; used 1 times
  • in line 17

Defined macros

IS defined in line 23; used 15 times
KS defined in line 22; used 17 times
STOP defined in line 24; used 1 times
  • in line 26
STRAY defined in line 19; used 35 times
STRAY15 defined in line 21; used 4 times
STRAY8 defined in line 20; never used
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 579
Valid CSS Valid XHTML 1.0 Strict