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 fix build error without DDB



details:   https://anonhg.NetBSD.org/src/rev/97a74ddd3915
branches:  trunk
changeset: 836229:97a74ddd3915
user:      ryo <ryo%NetBSD.org@localhost>
date:      Fri Oct 05 01:54:10 2018 +0000

description:
fix build error without DDB

diffstat:

 sys/arch/aarch64/aarch64/pmapboot.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r a4d462bfd200 -r 97a74ddd3915 sys/arch/aarch64/aarch64/pmapboot.c
--- a/sys/arch/aarch64/aarch64/pmapboot.c       Fri Oct 05 01:25:38 2018 +0000
+++ b/sys/arch/aarch64/aarch64/pmapboot.c       Fri Oct 05 01:54:10 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmapboot.c,v 1.1 2018/10/04 23:53:13 ryo Exp $ */
+/*     $NetBSD: pmapboot.c,v 1.2 2018/10/05 01:54:10 ryo Exp $ */
 
 /*
  * Copyright (c) 2018 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v 1.1 2018/10/04 23:53:13 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v 1.2 2018/10/05 01:54:10 ryo Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -147,7 +147,9 @@
        pmap_db_pte_print(pte, level, pr);
 #else
        __USE(level);
-       pr(" PA=%016lx\n", lxpde_pa(pte));
+       pr(" %s PA=%016lx\n",
+           l0pde_valid(pte) ? "VALID" : "INVALID",
+           l0pde_pa(pte));
 #endif
 }
 



Home | Main Index | Thread Index | Old Index