summaryrefslogtreecommitdiffstats
path: root/sys/arm64
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-02-02 16:35:37 +0000
committerandrew <andrew@FreeBSD.org>2016-02-02 16:35:37 +0000
commit7c81e8b6526c1c0b426d113b839b2f72ef058929 (patch)
tree15c51141526b12ebb41e97838aaf4792cfa482ee /sys/arm64
parent80defbca6b1280bd85e38b31455b6e3af0158dd0 (diff)
downloadFreeBSD-src-7c81e8b6526c1c0b426d113b839b2f72ef058929.zip
FreeBSD-src-7c81e8b6526c1c0b426d113b839b2f72ef058929.tar.gz
Increase the space we use after the kernel to 8MiB. On 2GiB HiKey board we
would try to access data past this point stopping the boot. Sponsored by: ABT Systems Ltd
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/arm64/locore.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
index 5a61c4a..9909a42 100644
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -369,8 +369,8 @@ create_pagetables:
sub x8, x7, x6
/* Get the number of l2 pages to allocate, rounded down */
lsr x10, x8, #(L2_SHIFT)
- /* Add 4 MiB for any rounding above and the module data */
- add x10, x10, #2
+ /* Add 8 MiB for any rounding above and the module data */
+ add x10, x10, #4
/* Create the kernel space L2 table */
mov x6, x26
OpenPOWER on IntegriCloud