cpu.h (202175) | cpu.h (202864) |
---|---|
1/* $OpenBSD: cpu.h,v 1.4 1998/09/15 10:50:12 pefo 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. --- 27 unchanged lines hidden (view full) --- 36 * its documentation for any purpose and without fee is hereby granted, 37 * provided that the above copyright notice appears in all copies. 38 * Digital Equipment Corporation makes no representations about the 39 * suitability of this software for any purpose. It is provided "as is" 40 * without express or implied warranty. 41 * 42 * from: @(#)cpu.h 8.4 (Berkeley) 1/4/94 43 * JNPR: cpu.h,v 1.9.2.2 2007/09/10 08:23:46 girish | 1/* $OpenBSD: cpu.h,v 1.4 1998/09/15 10:50:12 pefo 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. --- 27 unchanged lines hidden (view full) --- 36 * its documentation for any purpose and without fee is hereby granted, 37 * provided that the above copyright notice appears in all copies. 38 * Digital Equipment Corporation makes no representations about the 39 * suitability of this software for any purpose. It is provided "as is" 40 * without express or implied warranty. 41 * 42 * from: @(#)cpu.h 8.4 (Berkeley) 1/4/94 43 * JNPR: cpu.h,v 1.9.2.2 2007/09/10 08:23:46 girish |
44 * $FreeBSD: head/sys/mips/include/cpu.h 202175 2010-01-12 21:36:08Z imp $ | 44 * $FreeBSD: head/sys/mips/include/cpu.h 202864 2010-01-23 03:19:13Z neel $ |
45 */ 46 47#ifndef _MACHINE_CPU_H_ 48#define _MACHINE_CPU_H_ 49 50#include <machine/psl.h> 51#include <machine/endian.h> 52 --- 105 unchanged lines hidden (view full) --- 158#define CR_INT_UART CR_INT_1 159#define CR_INT_IPI CR_INT_2 160#define CR_INT_CLOCK CR_INT_5 161 162/* 163 * The bits in the CONFIG register 164 */ 165#define CFG_K0_UNCACHED 2 | 45 */ 46 47#ifndef _MACHINE_CPU_H_ 48#define _MACHINE_CPU_H_ 49 50#include <machine/psl.h> 51#include <machine/endian.h> 52 --- 105 unchanged lines hidden (view full) --- 158#define CR_INT_UART CR_INT_1 159#define CR_INT_IPI CR_INT_2 160#define CR_INT_CLOCK CR_INT_5 161 162/* 163 * The bits in the CONFIG register 164 */ 165#define CFG_K0_UNCACHED 2 |
166#if defined(CPU_SB1) 167#define CFG_K0_COHERENT 5 /* cacheable coherent */ 168#else | |
169#define CFG_K0_CACHED 3 | 166#define CFG_K0_CACHED 3 |
170#endif | 167#define CFG_K0_MASK 0x7 |
171 172/* 173 * The bits in the context register. 174 */ 175#define CNTXT_PTE_BASE 0xff800000 176#define CNTXT_BAD_VPN2 0x007ffff0 177 178/* --- 399 unchanged lines hidden --- | 168 169/* 170 * The bits in the context register. 171 */ 172#define CNTXT_PTE_BASE 0xff800000 173#define CNTXT_BAD_VPN2 0x007ffff0 174 175/* --- 399 unchanged lines hidden --- |