cpufunc.h (256281) | cpufunc.h (257528) |
---|---|
1/* $OpenBSD: pio.h,v 1.2 1998/09/15 10:50:12 pefo Exp $ */ 2 3/*- 4 * Copyright (c) 2002-2004 Juli Mallett. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 39 unchanged lines hidden (view full) --- 48 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 49 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 50 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 51 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 52 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 53 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * 55 * JNPR: cpufunc.h,v 1.5 2007/08/09 11:23:32 katta | 1/* $OpenBSD: pio.h,v 1.2 1998/09/15 10:50:12 pefo Exp $ */ 2 3/*- 4 * Copyright (c) 2002-2004 Juli Mallett. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 39 unchanged lines hidden (view full) --- 48 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 49 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 50 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 51 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 52 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 53 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * 55 * JNPR: cpufunc.h,v 1.5 2007/08/09 11:23:32 katta |
56 * $FreeBSD: stable/10/sys/mips/include/cpufunc.h 249776 2013-04-22 19:02:37Z brooks $ | 56 * $FreeBSD: stable/10/sys/mips/include/cpufunc.h 257528 2013-11-01 21:17:45Z brooks $ |
57 */ 58 59#ifndef _MACHINE_CPUFUNC_H_ 60#define _MACHINE_CPUFUNC_H_ 61 62#include <sys/types.h> 63#include <machine/cpuregs.h> 64 --- 172 unchanged lines hidden (view full) --- 237MIPS_RW32_COP0(compare, MIPS_COP_0_COMPARE); 238MIPS_RW32_COP0(config, MIPS_COP_0_CONFIG); 239MIPS_RW32_COP0_SEL(config1, MIPS_COP_0_CONFIG, 1); 240MIPS_RW32_COP0_SEL(config2, MIPS_COP_0_CONFIG, 2); 241MIPS_RW32_COP0_SEL(config3, MIPS_COP_0_CONFIG, 3); 242#ifdef CPU_CNMIPS 243MIPS_RW32_COP0_SEL(config4, MIPS_COP_0_CONFIG, 4); 244#endif | 57 */ 58 59#ifndef _MACHINE_CPUFUNC_H_ 60#define _MACHINE_CPUFUNC_H_ 61 62#include <sys/types.h> 63#include <machine/cpuregs.h> 64 --- 172 unchanged lines hidden (view full) --- 237MIPS_RW32_COP0(compare, MIPS_COP_0_COMPARE); 238MIPS_RW32_COP0(config, MIPS_COP_0_CONFIG); 239MIPS_RW32_COP0_SEL(config1, MIPS_COP_0_CONFIG, 1); 240MIPS_RW32_COP0_SEL(config2, MIPS_COP_0_CONFIG, 2); 241MIPS_RW32_COP0_SEL(config3, MIPS_COP_0_CONFIG, 3); 242#ifdef CPU_CNMIPS 243MIPS_RW32_COP0_SEL(config4, MIPS_COP_0_CONFIG, 4); 244#endif |
245#ifdef CPU_NLM | 245#ifdef BERI_LARGE_TLB 246MIPS_RW32_COP0_SEL(config5, MIPS_COP_0_CONFIG, 5); 247#endif 248#if defined(CPU_NLM) || defined(BERI_LARGE_TLB) |
246MIPS_RW32_COP0_SEL(config6, MIPS_COP_0_CONFIG, 6); | 249MIPS_RW32_COP0_SEL(config6, MIPS_COP_0_CONFIG, 6); |
250#endif 251#ifdef CPU_NLM |
|
247MIPS_RW32_COP0_SEL(config7, MIPS_COP_0_CONFIG, 7); 248#endif 249MIPS_RW32_COP0(count, MIPS_COP_0_COUNT); 250MIPS_RW32_COP0(index, MIPS_COP_0_TLB_INDEX); 251MIPS_RW32_COP0(wired, MIPS_COP_0_TLB_WIRED); 252MIPS_RW32_COP0(cause, MIPS_COP_0_CAUSE); 253#if !defined(__mips_n64) 254MIPS_RW32_COP0(excpc, MIPS_COP_0_EXC_PC); --- 114 unchanged lines hidden --- | 252MIPS_RW32_COP0_SEL(config7, MIPS_COP_0_CONFIG, 7); 253#endif 254MIPS_RW32_COP0(count, MIPS_COP_0_COUNT); 255MIPS_RW32_COP0(index, MIPS_COP_0_TLB_INDEX); 256MIPS_RW32_COP0(wired, MIPS_COP_0_TLB_WIRED); 257MIPS_RW32_COP0(cause, MIPS_COP_0_CAUSE); 258#if !defined(__mips_n64) 259MIPS_RW32_COP0(excpc, MIPS_COP_0_EXC_PC); --- 114 unchanged lines hidden --- |