Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/mac68k 0x%p ---> %p



details:   https://anonhg.NetBSD.org/src/rev/9069a2e8407e
branches:  trunk
changeset: 964804:9069a2e8407e
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Aug 18 07:05:16 2019 +0000

description:
0x%p ---> %p

diffstat:

 sys/arch/mac68k/mac68k/machdep.c        |  12 ++++++------
 sys/arch/mac68k/mac68k/pmap_bootstrap.c |   6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (75 lines):

diff -r cda9c4965669 -r 9069a2e8407e sys/arch/mac68k/mac68k/machdep.c
--- a/sys/arch/mac68k/mac68k/machdep.c  Sun Aug 18 07:03:55 2019 +0000
+++ b/sys/arch/mac68k/mac68k/machdep.c  Sun Aug 18 07:05:16 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.354 2019/08/18 07:03:55 rin Exp $        */
+/*     $NetBSD: machdep.c,v 1.355 2019/08/18 07:05:16 rin Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.354 2019/08/18 07:03:55 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.355 2019/08/18 07:05:16 rin Exp $");
 
 #include "opt_adb.h"
 #include "opt_copy_symtab.h"
@@ -2326,7 +2326,7 @@
                        addr += 32768;
                }
                if (mac68k_machine.do_graybars) {
-                       printf("  %s internal video at addr 0x%p (phys 0x%p), ",
+                       printf("  %s internal video at addr %p (phys %p), ",
                            id, (void *)mac68k_video.mv_log,
                            (void *)mac68k_video.mv_phys);
                        printf("len 0x%x.\n", mac68k_video.mv_len);
@@ -2471,7 +2471,7 @@
                 * Tell the user what we know.
                 */
                if (mac68k_machine.do_graybars)
-                       printf("On-board video at addr 0x%p (phys 0x%p), "
+                       printf("On-board video at addr %p (phys %p), "
                            "len 0x%x.\n",
                            (void *)mac68k_video.mv_kvaddr,
                            (void *)mac68k_video.mv_phys,
@@ -2597,9 +2597,9 @@
                                            mac68k_video.mv_kvaddr);
                        }
                } else if (mac68k_machine.do_graybars) {
-                       printf("  Video address = 0x%p\n",
+                       printf("  Video address = %p\n",
                            (void *)mac68k_video.mv_kvaddr);
-                       printf("  Int video starts at 0x%p\n",
+                       printf("  Int video starts at %p\n",
                            (void *)mac68k_video.mv_log);
                        printf("  Length = 0x%x (%d) bytes\n",
                            mac68k_video.mv_len, mac68k_video.mv_len);
diff -r cda9c4965669 -r 9069a2e8407e sys/arch/mac68k/mac68k/pmap_bootstrap.c
--- a/sys/arch/mac68k/mac68k/pmap_bootstrap.c   Sun Aug 18 07:03:55 2019 +0000
+++ b/sys/arch/mac68k/mac68k/pmap_bootstrap.c   Sun Aug 18 07:05:16 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.94 2013/07/16 07:31:40 jklos Exp $        */
+/*     $NetBSD: pmap_bootstrap.c,v 1.95 2019/08/18 07:05:16 rin Exp $  */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.94 2013/07/16 07:31:40 jklos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.95 2019/08/18 07:05:16 rin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -587,7 +587,7 @@
        mrg_fixupROMBase(oldROMBase, ROMBase);
 
        if (mac68k_machine.do_graybars)
-               printf("Video address 0x%p -> 0x%p.\n",
+               printf("Video address %p -> %p.\n",
                    (void *)mac68k_video.mv_kvaddr, (void *)newvideoaddr);
 
        mac68k_set_io_offsets(IOBase);



Home | Main Index | Thread Index | Old Index