summaryrefslogtreecommitdiffstats
path: root/sys/ia64/conf
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-09-09 05:59:09 +0000
committermarcel <marcel@FreeBSD.org>2003-09-09 05:59:09 +0000
commitbdbd90ef2b540a88abed9f54f7c409d2573f0066 (patch)
treeecf9512c5b26488d4f80d4d1784faa6261154a75 /sys/ia64/conf
parent53db1769f397482da865abe9484dd6a84689d7cf (diff)
downloadFreeBSD-src-bdbd90ef2b540a88abed9f54f7c409d2573f0066.zip
FreeBSD-src-bdbd90ef2b540a88abed9f54f7c409d2573f0066.tar.gz
Introduce IA64_ID_PAGE_{MASK|SHIFT|SIZE} and LOG2_ID_PAGE_SIZE. The
latter is a kernel option for IA64_ID_PAGE_SHIFT, which in turn determines IA64_ID_PAGE_MASK and IA64_ID_PAGE_SIZE. The constants are used instead of the literal hardcoding (in its various forms) of the size of the direct mappings created in region 6 and 7. The default and probably only workable size is still 256M, but for kicks we use 128M for LINT.
Diffstat (limited to 'sys/ia64/conf')
-rw-r--r--sys/ia64/conf/NOTES5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/ia64/conf/NOTES b/sys/ia64/conf/NOTES
index 544f662..7c05afc 100644
--- a/sys/ia64/conf/NOTES
+++ b/sys/ia64/conf/NOTES
@@ -23,6 +23,11 @@ cpu ITANIUM2
# ia64. It is based on the ia32 emulation in the processor.
options IA32
+# option: LOG2_ID_PAGE_SIZE
+# Specify the log2 size of the identity (direct) mappings in regions 6 and 7
+# of the virtual address space.
+options LOG2_ID_PAGE_SIZE=27 # 128M
+
# option: LOG2_PAGE_SIZE
# Specify the log2 size of the page to be used for virtual memory management.
# The page size being equal to 1<<LOG2_PAGE_SIZE.
OpenPOWER on IntegriCloud