summaryrefslogtreecommitdiffstats
path: root/sys/arm64
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-04-13 11:43:03 +0000
committerandrew <andrew@FreeBSD.org>2016-04-13 11:43:03 +0000
commitfcf07e4e7b654a94ba56b3179d5676cedb347fd8 (patch)
tree70406e0de4f7313b72ac18f6cc22888107219f74 /sys/arm64
parenta95f99b703d7513c6a8c910ac658ce345e4a836b (diff)
downloadFreeBSD-src-fcf07e4e7b654a94ba56b3179d5676cedb347fd8.zip
FreeBSD-src-fcf07e4e7b654a94ba56b3179d5676cedb347fd8.tar.gz
Document the memory ranges within the kernel region to help with debugging
to track down which region an address is from. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/include/vmparam.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/sys/arm64/include/vmparam.h b/sys/arm64/include/vmparam.h
index 5624f16..8dc8809 100644
--- a/sys/arm64/include/vmparam.h
+++ b/sys/arm64/include/vmparam.h
@@ -128,14 +128,19 @@
* We use the full 48 bits for each region, however the kernel may only use
* a limited range within this space.
*
- * Upper region: 0xffffffffffffffff
- * 0xffff000000000000
+ * Upper region: 0xffffffffffffffff Top of virtual memory
*
- * Hole: 0xfffeffffffffffff
- * 0x0001000000000000
+ * 0xfffffeffffffffff End of DMAP
+ * 0xfffffd0000000000 Start of DMAP
*
- * Lower region: 0x0000ffffffffffff
- * 0x0000000000000000
+ * 0xffff007fffffffff End of KVA
+ * 0xffff000000000000 Kernel base address & start of KVA
+ *
+ * Hole: 0xfffeffffffffffff
+ * 0x0001000000000000
+ *
+ * Lower region: 0x0000ffffffffffff End of user address space
+ * 0x0000000000000000 Start of user address space
*
* We use the upper region for the kernel, and the lower region for userland.
*
OpenPOWER on IntegriCloud