xref: /netbsd-src/sys/arch/vax/include/ka680.h (revision 6a6027692662ba623e7bf5274322989a7b5d1440)
1*6a602769Sragge /*	$NetBSD: ka680.h,v 1.3 2017/05/22 17:12:11 ragge Exp $	*/
21af765a6Sragge /*
31af765a6Sragge  * Copyright (c) 1998 Ludd, University of Lule}, Sweden.
41af765a6Sragge  * All rights reserved.
51af765a6Sragge  *
61af765a6Sragge  * Redistribution and use in source and binary forms, with or without
71af765a6Sragge  * modification, are permitted provided that the following conditions
81af765a6Sragge  * are met:
91af765a6Sragge  * 1. Redistributions of source code must retain the above copyright
101af765a6Sragge  *    notice, this list of conditions and the following disclaimer.
111af765a6Sragge  * 2. Redistributions in binary form must reproduce the above copyright
121af765a6Sragge  *    notice, this list of conditions and the following disclaimer in the
131af765a6Sragge  *    documentation and/or other materials provided with the distribution.
141af765a6Sragge  *
151af765a6Sragge  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
161af765a6Sragge  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
171af765a6Sragge  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
181af765a6Sragge  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
191af765a6Sragge  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
201af765a6Sragge  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
211af765a6Sragge  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
221af765a6Sragge  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
231af765a6Sragge  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
241af765a6Sragge  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
251af765a6Sragge  */
261af765a6Sragge 
271af765a6Sragge /* Done by Michael Kukat (michael@unixiron.org) */
281af765a6Sragge 
291af765a6Sragge /*
301af765a6Sragge  * KA675/680 (VAX4000/[45]00) specific definitions.
311af765a6Sragge  */
321af765a6Sragge 
3356effcf2Smatt #ifndef _VAX_KA680_H_
3456effcf2Smatt #define _VAX_KA680_H_
351af765a6Sragge 
361af765a6Sragge /* IPR bits definitions */
371af765a6Sragge #define        PCSTS_FLUSH              4
381af765a6Sragge #define        PCSTS_ENABLE             2
391af765a6Sragge #define        PCTAG_PARITY    0x80000000
401af765a6Sragge #define        PCTAG_VALID              1
411af765a6Sragge 
421af765a6Sragge /* memory addresses of interest */
431af765a6Sragge #define        KA680_INVFLT    0x20200000
441af765a6Sragge #define        KA680_INVFLTSZ  32768
451af765a6Sragge #define        KA680_CCR       0x23000000
461af765a6Sragge #define        KA680_TAGST     0x2d000000
471af765a6Sragge #define        KA680_TAGSZ     32768
481af765a6Sragge 
491af765a6Sragge #define        CCR_CENA        0x00000001
501af765a6Sragge #define        CCR_SPECIO      0x00000010
511af765a6Sragge 
521af765a6Sragge #define        KA680_BWF0      0x20080014
531af765a6Sragge #define        BWF0_FEN        0x01000000
541af765a6Sragge 
5556effcf2Smatt #endif /* _VAX_KA680_H_ */
56