xref: /netbsd-src/sys/arch/vax/include/ka750.h (revision 6a6027692662ba623e7bf5274322989a7b5d1440)
1*6a602769Sragge /*	$NetBSD: ka750.h,v 1.11 2017/05/22 17:12:11 ragge Exp $	*/
2d62187c0Scgd 
38026fb53Sragge /*
48026fb53Sragge  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
58026fb53Sragge  * All rights reserved.
68026fb53Sragge  *
78026fb53Sragge  * Redistribution and use in source and binary forms, with or without
88026fb53Sragge  * modification, are permitted provided that the following conditions
98026fb53Sragge  * are met:
108026fb53Sragge  * 1. Redistributions of source code must retain the above copyright
118026fb53Sragge  *    notice, this list of conditions and the following disclaimer.
128026fb53Sragge  * 2. Redistributions in binary form must reproduce the above copyright
138026fb53Sragge  *    notice, this list of conditions and the following disclaimer in the
148026fb53Sragge  *    documentation and/or other materials provided with the distribution.
158026fb53Sragge  *
168026fb53Sragge  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
178026fb53Sragge  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
188026fb53Sragge  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
198026fb53Sragge  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
208026fb53Sragge  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
218026fb53Sragge  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
228026fb53Sragge  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
238026fb53Sragge  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
248026fb53Sragge  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
258026fb53Sragge  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
268026fb53Sragge  */
278026fb53Sragge 
2856effcf2Smatt #ifndef _VAX_KA750_H_
2956effcf2Smatt #define _VAX_KA750_H_
3056effcf2Smatt 
319d9a70a5Smycroft #include <machine/nexus.h>
328026fb53Sragge 
338026fb53Sragge #define V750UCODE(x)    ((x>>8)&255)
348026fb53Sragge #define V750HARDW(x)    (x&255)
358026fb53Sragge 
367aac03e7Sragge #define NNEX750 NNEXSBI
377aac03e7Sragge #define NEX750		(0xf20000)
387aac03e7Sragge #define	NEX750SZ	(NNEX750 * sizeof(struct nexus))
397aac03e7Sragge 
407aac03e7Sragge /* 11/750 specific pages needed to be stolen when bootstrapping */
417aac03e7Sragge #define	V750PGS	4
4256effcf2Smatt 
4356effcf2Smatt #endif /* _VAX_KA750_H_ */
44