1 /*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University, 7 * Ralph Campbell and Rick Macklem. 8 * 9 * %sccs.include.redist.c% 10 * 11 * @(#)kn01.h 8.1 (Berkeley) 06/10/93 12 */ 13 14 /* 15 * Mach Operating System 16 * Copyright (c) 1991,1990,1989 Carnegie Mellon University 17 * All Rights Reserved. 18 * 19 * Permission to use, copy, modify and distribute this software and 20 * its documentation is hereby granted, provided that both the copyright 21 * notice and this permission notice appear in all copies of the 22 * software, derivative works or modified versions, and any portions 23 * thereof, and that both notices appear in supporting documentation. 24 * 25 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 26 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 27 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 28 * 29 * Carnegie Mellon requests users of this software to return to 30 * 31 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 32 * School of Computer Science 33 * Carnegie Mellon University 34 * Pittsburgh PA 15213-3890 35 * 36 * any improvements or extensions that they make and grant Carnegie the 37 * rights to redistribute these changes. 38 */ 39 /* 40 * HISTORY 41 * $Log: kn01.h,v $ 42 * Revision 2.5 91/05/14 17:23:14 mrt 43 * Correcting copyright 44 * 45 * Revision 2.4 91/02/05 17:41:54 mrt 46 * Added author notices 47 * [91/02/04 11:14:12 mrt] 48 * 49 * Changed to use new Mach copyright 50 * [91/02/02 12:12:45 mrt] 51 * 52 * Revision 2.3 90/12/05 23:31:50 af 53 * Cleanups. 54 * [90/12/04 16:38:21 af] 55 * 56 * Created, from the DEC specs: 57 * "DECstation 3100 Desktop Workstation Functional Specification" 58 * Workstation Systems Engineering, Palo Alto, CA. Aug 28, 1990. 59 * [90/09/03 af] 60 */ 61 /* 62 * File: kn01.h 63 * Author: Alessandro Forin, Carnegie Mellon University 64 * Date: 9/90 65 * 66 * Definitions specific to the KN01 processor (pmax) 67 */ 68 69 #ifndef MIPS_KN01_H 70 #define MIPS_KN01_H 1 71 72 /* 73 * KN01's Physical address space 74 */ 75 76 #define KN01_PHYS_MIN 0x00000000 /* 512 Meg */ 77 #define KN01_PHYS_MAX 0x1fffffff 78 79 /* 80 * Memory map 81 */ 82 83 #define KN01_PHYS_MEMORY_START 0x00000000 84 #define KN01_PHYS_MEMORY_END 0x01800000 /* 24 Meg in 8 slots */ 85 86 #define KN01_PHYS_FBUF_START 0x0fc00000 /* frame buffer memory */ 87 #define KN01_PHYS_FBUF_M_END 0x0fc20000 /* mono */ 88 #define KN01_PHYS_FBUF_C_END 0x0fd00000 /* color */ 89 90 #define KN01_PHYS_COLMASK_START 0x10000000 /* Color Plane mask */ 91 #define KN01_PHYS_COLMASK_END 0x11000000 /* Color Plane mask */ 92 93 94 /* 95 * I/O map 96 */ 97 98 #define KN01_SYS_PCC 0x11000000 /* Progr. Cursor Chip */ 99 100 #define KN01_SYS_VDAC 0x12000000 /* Color map */ 101 102 #define KN01_SYS_ERRADR 0x17000000 /* Write error address */ 103 104 #define KN01_SYS_LANCE 0x18000000 /* Lance chip */ 105 106 #define KN01_SYS_LANCE_B_START 0x19000000 /* 64 Kb Lance Buffer */ 107 #define KN01_SYS_LANCE_B_END 0x19010000 108 109 #define KN01_SYS_SII 0x1a000000 /* scsi SII chip */ 110 111 #define KN01_SYS_SII_B_START 0x1b000000 /* 128 Kb SCSI buffer */ 112 #define KN01_SYS_SII_B_END 0x1b020000 113 114 #define KN01_SYS_DZ 0x1c000000 /* Serial lines (DZ) */ 115 116 #define KN01_SYS_CLOCK 0x1d000000 /* rtc chip */ 117 118 #define KN01_SYS_CSR 0x1e000000 /* System control register */ 119 120 #define KN01_SYS_ROM_START 0x1f000000 /* System ROM */ 121 #define KN01_SYS_ROM_END 0x1f07ffff 122 123 124 /* 125 * Interrupts 126 */ 127 128 #define KN01_INT_FPA IP_LEV7 /* Floating Point coproc */ 129 #define KN01_INT_MEM IP_LEV6 /* memory controller */ 130 #define KN01_INT_CLOCK IP_LEV5 /* rtc chip */ 131 #define KN01_INT_DZ IP_LEV4 /* serial line chip */ 132 #define KN01_INT_LANCE IP_LEV3 /* ether */ 133 #define KN01_INT_SII IP_LEV2 /* SCSI interface */ 134 135 /* 136 * System board registers 137 */ 138 139 /* system Status and Control register */ 140 141 #define KN01_CSR_LEDS_MASK 0x00ff /* wo */ 142 /* Diagnostic leds mask */ 143 #define KN01_CSR_VRGTRB 0x0001 /* ro */ 144 /* Red VoltageLev > Blue */ 145 #define KN01_CSR_VRGTRG 0x0002 /* ro */ 146 /* Red VoltageLev > Green */ 147 #define KN01_CSR_VBGTRG 0x0004 /* ro */ 148 /* Blue VoltageLev > Green */ 149 #define KN01_CSR_TXDIS 0x0100 /* rw */ 150 /* Disable DZ xmit */ 151 #define KN01_CSR_VINT 0x0200 /* rc */ 152 /* Vertical retrace intr. */ 153 #define KN01_CSR_MERR 0x0400 /* rc */ 154 /* Memory write error intr */ 155 #define KN01_CSR_MONO 0x0800 /* ro */ 156 /* Mono Framebuf (or none) */ 157 #define KN01_CSR_CRSRTST 0x1000 /* ro */ 158 /* Cursor test output */ 159 #define KN01_CSR_PARDIS 0x2000 /* rw */ 160 /* Disable mem parity chks */ 161 #define KN01_CSR_SELFTEST 0x4000 /* rw */ 162 /* Self-test ok pinout */ 163 #define KN01_CSR_MNFMOD 0x8000 /* ro */ 164 /* Manifacturer MOD jumper */ 165 #define KN01_CSR_MBZ 0x9800 166 167 /* Error address status register */ 168 169 #define KN01_ERR_ADDRESS 0x07ffffff /* phys address mask ? */ 170 171 172 #endif /* MIPS_KN01_H */ 173