[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pbsd-mg2] Small patch to debugger "machine tlb" command



Index: mips/db_interface.c
===================================================================
RCS file: /cvs/jproot//hpcmips/sys/arch/mips/mips/db_interface.c,v
retrieving revision 1.3
diff -u -r1.3 db_interface.c
--- db_interface.c	1999/08/25 12:11:45	1.3
+++ db_interface.c	1999/09/06 04:37:17
@@ -302,7 +302,7 @@
 		struct tlb tlb;
 		int i;
 
-		for (i = 0; i < MIPS3_TLB_NUM_TLB_ENTRIES; i++) {
+		for (i = 0; i < mips_num_tlb_entries; i++) {
 			mips3_TLBRead(i, &tlb);
 			db_printf("TLB%c%2d Hi 0%x08x ",
 			(tlb.tlb_lo0 | tlb.tlb_lo1) & MIPS3_PG_V ? ' ' : '*',