Module Name: src Committed By: skrll Date: Mon Jul 15 11:27:19 UTC 2019
Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Pass the VA of start (and not VM_MIN_KERNEL_ADDRESS) when mapping the kernel at its KVA address. Previously the last 64 bytes of the .bss might not be mapped if _end was within 64 bytes of a L2_SIZE boundary To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/aarch64/aarch64/locore.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/aarch64/aarch64/locore.S diff -u src/sys/arch/aarch64/aarch64/locore.S:1.35 src/sys/arch/aarch64/aarch64/locore.S:1.36 --- src/sys/arch/aarch64/aarch64/locore.S:1.35 Thu Jul 11 10:53:39 2019 +++ src/sys/arch/aarch64/aarch64/locore.S Mon Jul 15 11:27:19 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.35 2019/07/11 10:53:39 skrll Exp $ */ +/* $NetBSD: locore.S,v 1.36 2019/07/15 11:27:19 skrll Exp $ */ /* * Copyright (c) 2017 Ryo Shimizu <r...@nerv.org> @@ -38,7 +38,7 @@ #include <aarch64/hypervisor.h> #include "assym.h" -RCSID("$NetBSD: locore.S,v 1.35 2019/07/11 10:53:39 skrll Exp $") +RCSID("$NetBSD: locore.S,v 1.36 2019/07/15 11:27:19 skrll Exp $") /*#define DEBUG_LOCORE /* debug print */ @@ -829,7 +829,7 @@ init_mmutable: adr x1, start /* va = start */ ADDR x2, _end sub x2, x2, x1 /* size = _end - start */ - mov x0, #VM_MIN_KERNEL_ADDRESS /* va */ + ldr x0, =start bl pmapboot_enter cbnz x0, init_mmutable_error