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 - Make tlb dump DDB command have 'D' indi...



details:   https://anonhg.NetBSD.org/src/rev/bd972cf6f2ce
branches:  trunk
changeset: 473092:bd972cf6f2ce
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Thu May 20 03:34:06 1999 +0000

description:
- Make tlb dump DDB command have 'D' indication for TLB 'dirty bit'.  MIPS
processor is one of processors with no 'referenced bit' nor 'modified bit'
processor machinary.  Those functions are implemented combining two
hardware bits, 'dirty bit' and 'valid bit', with TLBmod exception handler.

diffstat:

 sys/arch/mips/mips/db_interface.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 80584e65a143 -r bd972cf6f2ce sys/arch/mips/mips/db_interface.c
--- a/sys/arch/mips/mips/db_interface.c Wed May 19 21:44:29 1999 +0000
+++ b/sys/arch/mips/mips/db_interface.c Thu May 20 03:34:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.15 1999/04/24 08:10:39 simonb Exp $ */
+/*     $NetBSD: db_interface.c,v 1.16 1999/05/20 03:34:06 nisimura Exp $       */
 
 /*
  * Mach Operating System
@@ -291,7 +291,7 @@
                                i, tlb.tlb_hi,
                                tlb.tlb_lo & MIPS1_PG_FRAME);
                        db_printf(" %c%c%c\n",
-                               (tlb.tlb_lo & MIPS1_PG_M) ? 'M' : ' ',
+                               (tlb.tlb_lo & MIPS1_PG_M) ? 'D' : ' ',
                                (tlb.tlb_lo & MIPS1_PG_G) ? 'G' : ' ',
                                (tlb.tlb_lo & MIPS1_PG_N) ? 'N' : ' ');
                }
@@ -309,12 +309,12 @@
                                i, tlb.tlb_hi);
                        db_printf("Lo0=0x%08x %c%c attr %x",
                                (unsigned)pfn_to_vad(tlb.tlb_lo0),
-                               (tlb.tlb_lo0 & MIPS3_PG_M) ? 'M' : ' ',
+                               (tlb.tlb_lo0 & MIPS3_PG_M) ? '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",
                                (unsigned)pfn_to_vad(tlb.tlb_lo1),
-                               (tlb.tlb_lo1 & MIPS3_PG_M) ? 'M' : ' ',
+                               (tlb.tlb_lo1 & MIPS3_PG_M) ? 'D' : ' ',
                                (tlb.tlb_lo1 & MIPS3_PG_G) ? 'G' : ' ',
                                (tlb.tlb_lo1 >> 3) & 7,
                                tlb.tlb_mask);



Home | Main Index | Thread Index | Old Index