xref: /netbsd-src/sys/arch/hpcmips/vr/bcuvar.h (revision cbab9cadce21ae72fac13910001079fff214cc29)
1*cbab9cadSchs /*	$NetBSD: bcuvar.h,v 1.7 2012/10/27 17:17:55 chs Exp $	*/
2db2b0adeStakemura 
3db2b0adeStakemura /*-
4db2b0adeStakemura  * Copyright (c) 1999 SATO Kazumi. All rights reserved.
5db2b0adeStakemura  * Copyright (c) 1999 PocketBSD Project. All rights reserved.
6db2b0adeStakemura  *
7db2b0adeStakemura  * Redistribution and use in source and binary forms, with or without
8db2b0adeStakemura  * modification, are permitted provided that the following conditions
9db2b0adeStakemura  * are met:
10db2b0adeStakemura  * 1. Redistributions of source code must retain the above copyright
11db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer.
12db2b0adeStakemura  * 2. Redistributions in binary form must reproduce the above copyright
13db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer in the
14db2b0adeStakemura  *    documentation and/or other materials provided with the distribution.
15db2b0adeStakemura  * 3. All advertising materials mentioning features or use of this software
16db2b0adeStakemura  *    must display the following acknowledgement:
17db2b0adeStakemura  *	This product includes software developed by the PocketBSD project
18db2b0adeStakemura  *	and its contributors.
19db2b0adeStakemura  * 4. Neither the name of the project nor the names of its contributors
20db2b0adeStakemura  *    may be used to endorse or promote products derived from this software
21db2b0adeStakemura  *    without specific prior written permission.
22db2b0adeStakemura  *
23db2b0adeStakemura  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24db2b0adeStakemura  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25db2b0adeStakemura  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26db2b0adeStakemura  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27db2b0adeStakemura  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28db2b0adeStakemura  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29db2b0adeStakemura  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30db2b0adeStakemura  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31db2b0adeStakemura  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32db2b0adeStakemura  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33db2b0adeStakemura  * SUCH DAMAGE.
34db2b0adeStakemura  *
35db2b0adeStakemura  */
36db2b0adeStakemura 
37db2b0adeStakemura struct vrbcu_softc {
38*cbab9cadSchs 	device_t sc_dev;
39db2b0adeStakemura 	bus_space_tag_t sc_iot;
40db2b0adeStakemura 	bus_space_handle_t sc_ioh;
41db2b0adeStakemura };
42db2b0adeStakemura 
43957e5645She const char *vrbcu_vrip_getcpuname(void);
44961880b5Such int	vrbcu_vrip_getcpuid(void);
45961880b5Such int	vrbcu_vrip_getcpumajor(void);
46961880b5Such int	vrbcu_vrip_getcpuminor(void);
47961880b5Such int	vrbcu_vrip_getcpuclock(void);
48