aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2011-05-13 20:58:48 +0000
committerAttilio Rao <attilio@FreeBSD.org>2011-05-13 20:58:48 +0000
commitb2aa562e7b75f4e54b37a6f272bf8b57d3553ece (patch)
treef34ed698a1044eda15705db3b73ae0594bf0be71 /sys/sparc64/include
parentf89d6b3f06c9688c2326b2f172d3bafea07f5685 (diff)
parent9a6e729a117787ebcdfccb4ec39febeb530d0742 (diff)
downloadsrc-b2aa562e7b75f4e54b37a6f272bf8b57d3553ece.tar.gz
src-b2aa562e7b75f4e54b37a6f272bf8b57d3553ece.zip
MFC
Notes
Notes: svn path=/projects/largeSMP/; revision=221858
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r--sys/sparc64/include/vmparam.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sparc64/include/vmparam.h b/sys/sparc64/include/vmparam.h
index 0638d0d78bf7..1b9e537ef17f 100644
--- a/sys/sparc64/include/vmparam.h
+++ b/sys/sparc64/include/vmparam.h
@@ -240,4 +240,11 @@
extern vm_offset_t vm_max_kernel_address;
+/*
+ * Older sparc64 machines have a virtually indexed L1 data cache of 16KB.
+ * Consequently, mapping the same physical page multiple times may have
+ * caching disabled.
+ */
+#define ZERO_REGION_SIZE PAGE_SIZE
+
#endif /* !_MACHINE_VMPARAM_H_ */