summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2014-01-29 22:01:42 +0000
committerbrooks <brooks@FreeBSD.org>2014-01-29 22:01:42 +0000
commitf3a850110aaff00dc60263ac71eac8e4f136df13 (patch)
tree47f0b79587a7a46bd868711dd80f185625f8b63b /sys/conf
parenta98111a09d5c21f9bb9ee942f66c68546661a99c (diff)
downloadFreeBSD-src-f3a850110aaff00dc60263ac71eac8e4f136df13.zip
FreeBSD-src-f3a850110aaff00dc60263ac71eac8e4f136df13.tar.gz
MFC r256937:
MFP4: Change 231031 by brooks@brooks_zenith on 2013/07/11 16:22:08 Turn the unused and uncompilable MIPS_DISABLE_L1_CACHE define in cache.c into an option and when set force I- and D-cache line sizes to 0 (the latter part might be better as a tunable). Fix some casts in an #if 0'd bit of code which attempts to disable L1 cache ops when the cache is coherent. Sponsored by: DARPA/AFRL
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/options.mips5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/conf/options.mips b/sys/conf/options.mips
index 93e9a73..911e74b 100644
--- a/sys/conf/options.mips
+++ b/sys/conf/options.mips
@@ -71,6 +71,11 @@ TICK_USE_MALTA_RTC opt_global.h
MAXMEM opt_global.h
#
+# Manual override of cache config
+#
+MIPS_DISABLE_L1_CACHE opt_global.h
+
+#
# Options that control the Cavium Simple Executive.
#
OCTEON_MODEL opt_cvmx.h
OpenPOWER on IntegriCloud