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 Reduce characters to print in db_pt...
details: https://anonhg.NetBSD.org/src/rev/1f1e4b093820
branches: trunk
changeset: 379212:1f1e4b093820
user: skrll <skrll%NetBSD.org@localhost>
date: Wed May 19 11:54:17 2021 +0000
description:
Reduce characters to print in db_pte_print and unwrap some short lines.
diffstat:
sys/arch/aarch64/aarch64/db_interface.c | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diffs (50 lines):
diff -r 201c262f0f58 -r 1f1e4b093820 sys/arch/aarch64/aarch64/db_interface.c
--- a/sys/arch/aarch64/aarch64/db_interface.c Wed May 19 10:20:50 2021 +0000
+++ b/sys/arch/aarch64/aarch64/db_interface.c Wed May 19 11:54:17 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.14 2021/05/03 19:33:09 skrll Exp $ */
+/* $NetBSD: db_interface.c,v 1.15 2021/05/19 11:54:17 skrll Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.14 2021/05/03 19:33:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.15 2021/05/19 11:54:17 skrll Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -360,15 +360,13 @@ db_pte_print(pt_entry_t pte, int level,
pr(", PA=%lx", l3pte_pa(pte));
- pr(", %s", (pte & LX_BLKPAG_UXN) ?
- "UXN" : "UX ");
- pr(", %s", (pte & LX_BLKPAG_PXN) ?
- "PXN" : "PX ");
+ pr(", %s", (pte & LX_BLKPAG_UXN) ? "UXN" : "UX");
+ pr(", %s", (pte & LX_BLKPAG_PXN) ? "PXN" : "PX");
if (pte & LX_BLKPAG_CONTIG)
pr(", CONTIG");
- pr(", %s", (pte & LX_BLKPAG_NG) ? "NG" : "global");
+ pr(", %s", (pte & LX_BLKPAG_NG) ? "nG" : "G");
pr(", %s", (pte & LX_BLKPAG_AF) ?
"accessible" :
"**fault** ");
@@ -403,10 +401,10 @@ db_pte_print(pt_entry_t pte, int level,
pr(", WT");
break;
case LX_BLKPAG_ATTR_DEVICE_MEM:
- pr(", DEVICE");
+ pr(", DEV");
break;
case LX_BLKPAG_ATTR_DEVICE_MEM_SO:
- pr(", DEVICE(SO)");
+ pr(", DEV(SO)");
break;
default:
pr(", ATTR(%lu)", __SHIFTOUT(pte, LX_BLKPAG_ATTR_INDX));
Home |
Main Index |
Thread Index |
Old Index