1*6a602769Sragge /* $NetBSD: ka46.h,v 1.4 2017/05/22 17:12:11 ragge Exp $ */ 2972b94efSragge /* 3972b94efSragge * Copyright (c) 1998 Ludd, University of Lule}, Sweden. 4972b94efSragge * All rights reserved. 5972b94efSragge * 6972b94efSragge * Redistribution and use in source and binary forms, with or without 7972b94efSragge * modification, are permitted provided that the following conditions 8972b94efSragge * are met: 9972b94efSragge * 1. Redistributions of source code must retain the above copyright 10972b94efSragge * notice, this list of conditions and the following disclaimer. 11972b94efSragge * 2. Redistributions in binary form must reproduce the above copyright 12972b94efSragge * notice, this list of conditions and the following disclaimer in the 13972b94efSragge * documentation and/or other materials provided with the distribution. 14972b94efSragge * 15972b94efSragge * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16972b94efSragge * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17972b94efSragge * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18972b94efSragge * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19972b94efSragge * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20972b94efSragge * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21972b94efSragge * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22972b94efSragge * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23972b94efSragge * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24972b94efSragge * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25972b94efSragge */ 26972b94efSragge 27972b94efSragge /* 28972b94efSragge * KA46 (VS4000/60) specific definitions. 29972b94efSragge */ 30972b94efSragge 3156effcf2Smatt #ifndef _VAX_KA46_H_ 3256effcf2Smatt #define _VAX_KA46_H_ 3356effcf2Smatt 34972b94efSragge 35972b94efSragge /* IPR bits definitions */ 36972b94efSragge #define PCSTS_FLUSH 4 37972b94efSragge #define PCSTS_ENABLE 2 38972b94efSragge #define PCTAG_PARITY 0x80000000 39972b94efSragge #define PCTAG_VALID 1 40972b94efSragge 412c639fb8Sragge /* memory addresses of interest */ 422c639fb8Sragge #define KA46_INVFLT 0x20200000 432c639fb8Sragge #define KA46_INVFLTSZ 32768 442c639fb8Sragge #define KA46_CCR 0x23000000 452c639fb8Sragge #define KA46_TAGST 0x2d000000 462c639fb8Sragge #define KA46_TAGSZ 32768 472c639fb8Sragge 482c639fb8Sragge #define CCR_CENA 0x00000001 492c639fb8Sragge #define CCR_SPECIO 0x00000010 502c639fb8Sragge 512c639fb8Sragge #define KA46_BWF0 0x20080014 522c639fb8Sragge #define BWF0_FEN 0x01000000 5356effcf2Smatt 5456effcf2Smatt #endif /* _VAX_KA46_H_ */ 55