Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Print all 64-bits of TTE data in db...



details:   https://anonhg.NetBSD.org/src/rev/4e863a82d3f1
branches:  trunk
changeset: 487497:4e863a82d3f1
user:      eeh <eeh%NetBSD.org@localhost>
date:      Thu Jun 08 17:45:29 2000 +0000

description:
Print all 64-bits of TTE data in db_pmap_kernel().

diffstat:

 sys/arch/sparc64/sparc64/db_interface.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r 28ed1ae6f93c -r 4e863a82d3f1 sys/arch/sparc64/sparc64/db_interface.c
--- a/sys/arch/sparc64/sparc64/db_interface.c   Thu Jun 08 17:43:24 2000 +0000
+++ b/sys/arch/sparc64/sparc64/db_interface.c   Thu Jun 08 17:45:29 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.32 2000/05/25 19:57:35 jhawk Exp $ */
+/*     $NetBSD: db_interface.c,v 1.33 2000/06/08 17:45:29 eeh Exp $ */
 
 /*
  * Mach Operating System
@@ -190,6 +190,7 @@
                        OF_enter();
                        /*NOTREACHED*/
                }
+               db_recover = 1;
        }
 
        /* Should switch to kdb`s own stack here. */
@@ -416,7 +417,7 @@
 {
        extern struct pmap kernel_pmap_;
        int i, j, full = 0;
-       int64_t data;
+       u_int64_t data;
 
        {
                register char c, *cp = modif;
@@ -428,10 +429,10 @@
                /* lookup an entry for this VA */
                
                if ((data = pseg_get(&kernel_pmap_, (vaddr_t)addr))) {
-                       db_printf("pmap_kernel(%p)->pm_segs[%lx][%lx][%lx]=>%lx\n",
+                       db_printf("pmap_kernel(%p)->pm_segs[%lx][%lx][%lx]=>%qx\n",
                                  (void *)addr, (u_long)va_to_seg(addr), 
                                  (u_long)va_to_dir(addr), (u_long)va_to_pte(addr),
-                                 (u_long)data);
+                                 (u_quad_t)data);
                } else {
                        db_printf("No mapping for %p\n", addr);
                }



Home | Main Index | Thread Index | Old Index