diff --git a/sys/arch/aarch64/aarch64/db_interface.c b/sys/arch/aarch64/aarch64/db_interface.c index 2741d7478606..053f6f0dd468 100644 --- a/sys/arch/aarch64/aarch64/db_interface.c +++ b/sys/arch/aarch64/aarch64/db_interface.c @@ -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 @@ -27,7 +27,7 @@ */ #include -__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 #include @@ -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));