aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv/include
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2020-09-23 19:34:21 +0000
committerMark Johnston <markj@FreeBSD.org>2020-09-23 19:34:21 +0000
commit78257765f296ab4158b8afd521a71cbe897f5aaa (patch)
tree3d47eacf5117761482a1ae3c385e04ba5db1d200 /sys/riscv/include
parent4168aedcde0b8dc1b05ac5e230c60c4ee3cc5b29 (diff)
downloadsrc-78257765f296ab4158b8afd521a71cbe897f5aaa.tar.gz
src-78257765f296ab4158b8afd521a71cbe897f5aaa.zip
Add a vmparam.h constant indicating pmap support for large pages.
Enable SHM_LARGEPAGE support on arm64. Reviewed by: alc, kib Sponsored by: Juniper Networks, Inc., Klara, Inc. Differential Revision: https://reviews.freebsd.org/D26467
Notes
Notes: svn path=/head/; revision=366090
Diffstat (limited to 'sys/riscv/include')
-rw-r--r--sys/riscv/include/vmparam.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/riscv/include/vmparam.h b/sys/riscv/include/vmparam.h
index 00ee1c3ed989..f3cab1074454 100644
--- a/sys/riscv/include/vmparam.h
+++ b/sys/riscv/include/vmparam.h
@@ -237,6 +237,11 @@ extern vm_offset_t init_pt_va;
#define DEVMAP_MAX_VADDR VM_MAX_KERNEL_ADDRESS
/*
+ * No non-transparent large page support in the pmap.
+ */
+#define PMAP_HAS_LARGEPAGES 0
+
+/*
* Need a page dump array for minidump.
*/
#define MINIDUMP_PAGE_TRACKING 1