svn commit: r295154 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Tue Feb 2 16:35:38 UTC 2016
Author: andrew
Date: Tue Feb 2 16:35:37 2016
New Revision: 295154
URL: https://svnweb.freebsd.org/changeset/base/295154
Log:
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
Modified:
head/sys/arm64/arm64/locore.S
Modified: head/sys/arm64/arm64/locore.S
==============================================================================
--- head/sys/arm64/arm64/locore.S Tue Feb 2 16:32:44 2016 (r295153)
+++ head/sys/arm64/arm64/locore.S Tue Feb 2 16:35:37 2016 (r295154)
@@ -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
More information about the svn-src-head
mailing list