Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips fix mips3 TLB printf format
details: https://anonhg.NetBSD.org/src/rev/0ccedfa3d2cd
branches: trunk
changeset: 477097:0ccedfa3d2cd
user: shin <shin%NetBSD.org@localhost>
date: Mon Oct 11 05:11:02 1999 +0000
description:
fix mips3 TLB printf format
diffstat:
sys/arch/mips/mips/db_interface.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r ea4c8fd97d81 -r 0ccedfa3d2cd sys/arch/mips/mips/db_interface.c
--- a/sys/arch/mips/mips/db_interface.c Mon Oct 11 01:57:43 1999 +0000
+++ b/sys/arch/mips/mips/db_interface.c Mon Oct 11 05:11:02 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.18 1999/09/25 00:00:38 shin Exp $ */
+/* $NetBSD: db_interface.c,v 1.19 1999/10/11 05:11:02 shin Exp $ */
/*
* Mach Operating System
@@ -304,15 +304,15 @@
for (i = 0; i < mips_num_tlb_entries; i++) {
mips3_TLBRead(i, &tlb);
- db_printf("TLB%c%2d Hi 0%x08x ",
+ db_printf("TLB%c%2d Hi 0x%08x ",
(tlb.tlb_lo0 | tlb.tlb_lo1) & MIPS3_PG_V ? ' ' : '*',
i, tlb.tlb_hi);
- db_printf("Lo0=0x%08x %c%c attr %x",
+ db_printf("Lo0=0x%08x %c%c attr %x ",
(unsigned)pfn_to_vad(tlb.tlb_lo0),
(tlb.tlb_lo0 & MIPS3_PG_D) ? 'D' : ' ',
(tlb.tlb_lo0 & MIPS3_PG_G) ? 'G' : ' ',
(tlb.tlb_lo0 >> 3) & 7);
- db_printf("Lo1=0x%08x %c%c atr %x sz=%x\n",
+ db_printf("Lo1=0x%08x %c%c attr %x sz=%x\n",
(unsigned)pfn_to_vad(tlb.tlb_lo1),
(tlb.tlb_lo1 & MIPS3_PG_D) ? 'D' : ' ',
(tlb.tlb_lo1 & MIPS3_PG_G) ? 'G' : ' ',
Home |
Main Index |
Thread Index |
Old Index