aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-02-02 16:35:37 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-02-02 16:35:37 +0000
commit50d92826607b89054a258cdeb1c96439f5217b95 (patch)
tree15c51141526b12ebb41e97838aaf4792cfa482ee /sys
parent2c0ed87ef8225ef890984e623c8687daa45a0cfa (diff)
downloadsrc-50d92826607b89054a258cdeb1c96439f5217b95.tar.gz
src-50d92826607b89054a258cdeb1c96439f5217b95.zip
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
Notes
Notes: svn path=/head/; revision=295154
Diffstat (limited to 'sys')
-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 5a61c4a1f7cf..9909a42472d9 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