diff options
author | brooks <brooks@FreeBSD.org> | 2013-11-01 21:17:45 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2013-11-01 21:17:45 +0000 |
commit | 45a606d1102ff82798f3f84d55b9a225a951edff (patch) | |
tree | c44c98a52d40f607a644f23bc0081ff03958b6b9 /sys/mips/include/cpufunc.h | |
parent | 9f85db3b595d9f3835c9e15267b9e9d4a1a14b74 (diff) | |
download | FreeBSD-src-45a606d1102ff82798f3f84d55b9a225a951edff.zip FreeBSD-src-45a606d1102ff82798f3f84d55b9a225a951edff.tar.gz |
MFC r256935
MFP4:
Change 228019 by bz@bz_zenith on 2013/04/23 13:55:30
Add kernel side support for large TLB on BERI/CHERI.
Modelled similar to NLM
Sponsored by: DAPRA/AFRL
Approved by: re (delphij)
Diffstat (limited to 'sys/mips/include/cpufunc.h')
-rw-r--r-- | sys/mips/include/cpufunc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/mips/include/cpufunc.h b/sys/mips/include/cpufunc.h index 1b96160..d47f9aa 100644 --- a/sys/mips/include/cpufunc.h +++ b/sys/mips/include/cpufunc.h @@ -242,8 +242,13 @@ MIPS_RW32_COP0_SEL(config3, MIPS_COP_0_CONFIG, 3); #ifdef CPU_CNMIPS MIPS_RW32_COP0_SEL(config4, MIPS_COP_0_CONFIG, 4); #endif -#ifdef CPU_NLM +#ifdef BERI_LARGE_TLB +MIPS_RW32_COP0_SEL(config5, MIPS_COP_0_CONFIG, 5); +#endif +#if defined(CPU_NLM) || defined(BERI_LARGE_TLB) MIPS_RW32_COP0_SEL(config6, MIPS_COP_0_CONFIG, 6); +#endif +#ifdef CPU_NLM MIPS_RW32_COP0_SEL(config7, MIPS_COP_0_CONFIG, 7); #endif MIPS_RW32_COP0(count, MIPS_COP_0_COUNT); |