From fcf07e4e7b654a94ba56b3179d5676cedb347fd8 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 13 Apr 2016 11:43:03 +0000 Subject: [PATCH] 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 --- sys/arm64/include/vmparam.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/sys/arm64/include/vmparam.h b/sys/arm64/include/vmparam.h index 5624f166c814..8dc880924cb0 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. *