Deleted Added
full compact
cpuinfo.h (204690) cpuinfo.h (274752)
1/* $NetBSD: cpu.h,v 1.70 2003/01/17 23:36:08 thorpej Exp $ */
2
3/*-
4 * Copyright (c) 1992, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Ralph Campbell and Rick Macklem.

--- 21 unchanged lines hidden (view full) ---

30 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
1/* $NetBSD: cpu.h,v 1.70 2003/01/17 23:36:08 thorpej Exp $ */
2
3/*-
4 * Copyright (c) 1992, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Ralph Campbell and Rick Macklem.

--- 21 unchanged lines hidden (view full) ---

30 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * $FreeBSD: head/sys/mips/include/cpuinfo.h 204690 2010-03-04 05:37:19Z neel $
38 * $FreeBSD: head/sys/mips/include/cpuinfo.h 274752 2014-11-20 17:06:41Z br $
39 * @(#)cpu.h 8.4 (Berkeley) 1/4/94
40 */
41
42#ifndef _CPUINFO_H_
43#define _CPUINFO_H_
44
45/*
46 * Exported definitions unique to NetBSD/mips cpu support.

--- 15 unchanged lines hidden (view full) ---

62 u_int8_t ic_linesize;
63 u_int8_t ic_nways;
64 u_int16_t ic_nsets;
65 u_int32_t dc_size;
66 u_int8_t dc_linesize;
67 u_int8_t dc_nways;
68 u_int16_t dc_nsets;
69 } l1;
39 * @(#)cpu.h 8.4 (Berkeley) 1/4/94
40 */
41
42#ifndef _CPUINFO_H_
43#define _CPUINFO_H_
44
45/*
46 * Exported definitions unique to NetBSD/mips cpu support.

--- 15 unchanged lines hidden (view full) ---

62 u_int8_t ic_linesize;
63 u_int8_t ic_nways;
64 u_int16_t ic_nsets;
65 u_int32_t dc_size;
66 u_int8_t dc_linesize;
67 u_int8_t dc_nways;
68 u_int16_t dc_nsets;
69 } l1;
70 struct {
71 u_int32_t dc_size;
72 u_int8_t dc_linesize;
73 u_int8_t dc_nways;
74 u_int16_t dc_nsets;
75 } l2;
70};
71
72extern struct mips_cpuinfo cpuinfo;
73
74#endif /* !LOCORE */
75#endif /* _KERNEL */
76#endif /* _CPUINFO_H_ */
76};
77
78extern struct mips_cpuinfo cpuinfo;
79
80#endif /* !LOCORE */
81#endif /* _KERNEL */
82#endif /* _CPUINFO_H_ */