Changeset View
Changeset View
Standalone View
Standalone View
head/sys/mips/include/cpufunc.h
Show First 20 Lines • Show All 242 Lines • ▼ Show 20 Lines | |||||
MIPS_RW32_COP0_SEL(config4, MIPS_COP_0_CONFIG, 4); | MIPS_RW32_COP0_SEL(config4, MIPS_COP_0_CONFIG, 4); | ||||
#endif | #endif | ||||
#ifdef BERI_LARGE_TLB | #ifdef BERI_LARGE_TLB | ||||
MIPS_RW32_COP0_SEL(config5, MIPS_COP_0_CONFIG, 5); | MIPS_RW32_COP0_SEL(config5, MIPS_COP_0_CONFIG, 5); | ||||
#endif | #endif | ||||
#if defined(CPU_NLM) || defined(BERI_LARGE_TLB) | #if defined(CPU_NLM) || defined(BERI_LARGE_TLB) | ||||
MIPS_RW32_COP0_SEL(config6, MIPS_COP_0_CONFIG, 6); | MIPS_RW32_COP0_SEL(config6, MIPS_COP_0_CONFIG, 6); | ||||
#endif | #endif | ||||
#if defined(CPU_NLM) || defined(CPU_MIPS1004KC) | #if defined(CPU_NLM) || defined(CPU_MIPS1004K) | ||||
MIPS_RW32_COP0_SEL(config7, MIPS_COP_0_CONFIG, 7); | MIPS_RW32_COP0_SEL(config7, MIPS_COP_0_CONFIG, 7); | ||||
#endif | #endif | ||||
MIPS_RW32_COP0(count, MIPS_COP_0_COUNT); | MIPS_RW32_COP0(count, MIPS_COP_0_COUNT); | ||||
MIPS_RW32_COP0(index, MIPS_COP_0_TLB_INDEX); | MIPS_RW32_COP0(index, MIPS_COP_0_TLB_INDEX); | ||||
MIPS_RW32_COP0(wired, MIPS_COP_0_TLB_WIRED); | MIPS_RW32_COP0(wired, MIPS_COP_0_TLB_WIRED); | ||||
MIPS_RW32_COP0(cause, MIPS_COP_0_CAUSE); | MIPS_RW32_COP0(cause, MIPS_COP_0_CAUSE); | ||||
#if !defined(__mips_n64) | #if !defined(__mips_n64) | ||||
MIPS_RW32_COP0(excpc, MIPS_COP_0_EXC_PC); | MIPS_RW32_COP0(excpc, MIPS_COP_0_EXC_PC); | ||||
▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines |