diff options
author | Mark Johnston <markj@FreeBSD.org> | 2020-09-23 19:34:21 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2020-09-23 19:34:21 +0000 |
commit | 78257765f296ab4158b8afd521a71cbe897f5aaa (patch) | |
tree | 3d47eacf5117761482a1ae3c385e04ba5db1d200 /sys/riscv/include | |
parent | 4168aedcde0b8dc1b05ac5e230c60c4ee3cc5b29 (diff) | |
download | src-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.h | 5 |
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 |