Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 kern_vtopdiff is stored in fdt_star...



details:   https://anonhg.NetBSD.org/src/rev/8be68a1795fd
branches:  trunk
changeset: 320737:8be68a1795fd
user:      ryo <ryo%NetBSD.org@localhost>
date:      Tue Jul 17 11:12:41 2018 +0000

description:
kern_vtopdiff is stored in fdt_start.S. that is before cleaning bss.
decl "kern_vtopdiff = 0" for keep in .data section.

diffstat:

 sys/arch/aarch64/aarch64/aarch64_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9d86586bf42d -r 8be68a1795fd sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c        Tue Jul 17 10:18:32 2018 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c        Tue Jul 17 11:12:41 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.5 2018/07/17 00:29:20 christos Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.6 2018/07/17 11:12:41 ryo Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.5 2018/07/17 00:29:20 christos Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.6 2018/07/17 11:12:41 ryo Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -82,7 +82,7 @@
 /* XXX */
 vaddr_t physical_start;
 vaddr_t physical_end;
-u_long kern_vtopdiff;
+u_long kern_vtopdiff = 0; /* filled in before cleaning bss. keep in .data */
 
 
 /*



Home | Main Index | Thread Index | Old Index