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 with options PMAPBOOT_DEB...
details: https://anonhg.NetBSD.org/src/rev/ecdc0cb7ee7a
branches: trunk
changeset: 368782:ecdc0cb7ee7a
user: ryo <ryo%NetBSD.org@localhost>
date: Wed Aug 03 17:55:05 2022 +0000
description:
fix build with options PMAPBOOT_DEBUG and options DDB
diffstat:
sys/arch/aarch64/aarch64/pmapboot.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r beab6ba92def -r ecdc0cb7ee7a sys/arch/aarch64/aarch64/pmapboot.c
--- a/sys/arch/aarch64/aarch64/pmapboot.c Wed Aug 03 11:09:13 2022 +0000
+++ b/sys/arch/aarch64/aarch64/pmapboot.c Wed Aug 03 17:55:05 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmapboot.c,v 1.17 2021/04/30 20:07:22 skrll Exp $ */
+/* $NetBSD: pmapboot.c,v 1.18 2022/08/03 17:55:05 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.17 2021/04/30 20:07:22 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmapboot.c,v 1.18 2022/08/03 17:55:05 ryo Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -43,6 +43,9 @@
#include <arm/cpufunc.h>
#include <aarch64/armreg.h>
+#ifdef DDB
+#include <aarch64/db_machdep.h>
+#endif
#include <aarch64/machdep.h>
#include <aarch64/pmap.h>
#include <aarch64/pte.h>
@@ -162,7 +165,7 @@
void (*pr)(const char *, ...) __printflike(1, 2))
{
#ifdef DDB
- db_pmap_pte_print(pte, level, pr);
+ db_pte_print(pte, level, pr);
#else
__USE(level);
pr(" %s PA=%016lx\n",
Home |
Main Index |
Thread Index |
Old Index