1: /*
   2:  *	@(#)ka630.h	7.1 (Berkeley) 6/5/86
   3:  *
   4:  * Definitions specific to the ka630 uvax2 cpu card. Includes the tod
   5:  * clock chip and the cpu registers.
   6:  */
   7: #ifdef VAX630
   8: /* Bdr register bits */
   9: #define KA630BDR_PWROK  0x8000
  10: #define KA630BDR_HLTENB 0x4000
  11: #define KA630BDR_CPU    0x0c00
  12: #define KA630BDR_BDG    0x0300
  13: #define KA630BDR_DSPL   0x000f
  14: 
  15: /* Memory system err reg. */
  16: #define KA630MSER_CD    0x00000300
  17: #define KA630MSER_NXM   0x00000080
  18: #define KA630MSER_LPE   0x00000040
  19: #define KA630MSER_QPE   0x00000020
  20: #define KA630MSER_MERR  0x000000f0
  21: #define KA630MSER_CPUER 0x00000060
  22: #define KA630MSER_DQPE  0x00000010
  23: #define KA630MSER_LEB   0x00000008
  24: #define KA630MSER_WRWP  0x00000002
  25: #define KA630MSER_PAREN 0x00000001
  26: 
  27: /* Mem. error address regs. */
  28: #define KA630CEAR_PG    0x00007fff
  29: #define KA630DEAR_PG    0x00007fff
  30: 
  31: /* Clock registers and constants */
  32: #define MINSEC  60
  33: #define HRSEC   3600
  34: 
  35: #define KA630CLK_VRT    0200
  36: #define KA630CLK_UIP    0200
  37: #define KA630CLK_RATE   040
  38: #define KA630CLK_ENABLE 06
  39: #define KA630CLK_SET    0206
  40: /* cpmbx bits */
  41: #define KA630CLK_HLTACT 03
  42: /* halt action values */
  43: #define KA630CLK_RESTRT 01
  44: #define KA630CLK_REBOOT 02
  45: #define KA630CLK_HALT   03
  46: /* in progress flags */
  47: #define KA630CLK_BOOT   04
  48: #define KA630CLK_RSTRT  010
  49: #define KA630CLK_LANG   0360
  50: 
  51: #ifndef LOCORE
  52: struct cldevice {
  53:     u_short sec;
  54:     u_short secalrm;
  55:     u_short min;
  56:     u_short minalrm;
  57:     u_short hr;
  58:     u_short hralrm;
  59:     u_short dayofwk;
  60:     u_short day;
  61:     u_short mon;
  62:     u_short yr;
  63:     u_short csr0;
  64:     u_short csr1;
  65:     u_short csr2;
  66:     u_short csr3;
  67:     u_short cpmbx;  /* CPMBX is used by the boot rom. see ka630-ug-3.3.3 */
  68: };
  69: 
  70: struct ka630cpu {
  71:     u_short ka630_bdr;
  72:     u_short ka630_xxx;
  73:     u_long  ka630_mser;
  74:     u_long  ka630_cear;
  75:     u_long  ka630_dear;
  76: };
  77: #endif
  78: #endif

Defined struct's

cldevice defined in line 52; used 8 times
ka630cpu defined in line 70; used 10 times

Defined macros

HRSEC defined in line 33; used 4 times
KA630BDR_BDG defined in line 12; never used
KA630BDR_CPU defined in line 11; never used
KA630BDR_DSPL defined in line 13; never used
KA630BDR_HLTENB defined in line 10; never used
KA630BDR_PWROK defined in line 9; never used
KA630CEAR_PG defined in line 28; never used
KA630CLK_BOOT defined in line 47; never used
KA630CLK_ENABLE defined in line 38; used 4 times
KA630CLK_HALT defined in line 45; never used
KA630CLK_HLTACT defined in line 41; never used
KA630CLK_LANG defined in line 49; used 1 times
KA630CLK_RATE defined in line 37; used 2 times
KA630CLK_REBOOT defined in line 44; used 1 times
KA630CLK_RESTRT defined in line 43; never used
KA630CLK_RSTRT defined in line 48; never used
KA630CLK_SET defined in line 39; used 2 times
KA630CLK_UIP defined in line 36; used 2 times
KA630CLK_VRT defined in line 35; used 1 times
KA630DEAR_PG defined in line 29; never used
KA630MSER_CD defined in line 16; never used
KA630MSER_CPUER defined in line 21; used 1 times
KA630MSER_DQPE defined in line 22; used 1 times
KA630MSER_LEB defined in line 23; never used
KA630MSER_LPE defined in line 18; never used
KA630MSER_MERR defined in line 20; used 1 times
KA630MSER_NXM defined in line 17; never used
KA630MSER_PAREN defined in line 25; used 1 times
KA630MSER_QPE defined in line 19; never used
KA630MSER_WRWP defined in line 24; never used
MINSEC defined in line 32; used 3 times

Usage of this include

Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 874
Valid CSS Valid XHTML 1.0 Strict