Source-Changes-HG archive

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

[src/trunk]: src/sys/arch s/0x0x/0x/



details:   https://anonhg.NetBSD.org/src/rev/204fd005363b
branches:  trunk
changeset: 845464:204fd005363b
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Oct 03 15:36:24 2019 +0000

description:
s/0x0x/0x/

diffstat:

 sys/arch/acorn32/acorn32/rpc_machdep.c |  6 +++---
 sys/arch/arm/mpcore/mpcorereg.h        |  2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r 8f749350c51d -r 204fd005363b sys/arch/acorn32/acorn32/rpc_machdep.c
--- a/sys/arch/acorn32/acorn32/rpc_machdep.c    Thu Oct 03 15:21:44 2019 +0000
+++ b/sys/arch/acorn32/acorn32/rpc_machdep.c    Thu Oct 03 15:36:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpc_machdep.c,v 1.93 2019/07/16 14:41:43 skrll Exp $   */
+/*     $NetBSD: rpc_machdep.c,v 1.94 2019/10/03 15:36:24 msaitoh Exp $ */
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -55,7 +55,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.93 2019/07/16 14:41:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.94 2019/10/03 15:36:24 msaitoh Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -518,7 +518,7 @@
 #endif
        for (loop = 0, physmem = 0; loop < bootconfig.dramblocks; ++loop) {
 #ifdef VERBOSE_INIT_ARM
-               printf("0x0x%x + 0x%0x, type = 0x%08x\n", bootconfig.dram[loop].address,
+               printf("0x%x + 0x%0x, type = 0x%08x\n", bootconfig.dram[loop].address,
                                 bootconfig.dram[loop].pages * PAGE_SIZE,
                                 bootconfig.dram[loop].flags);
 #endif
diff -r 8f749350c51d -r 204fd005363b sys/arch/arm/mpcore/mpcorereg.h
--- a/sys/arch/arm/mpcore/mpcorereg.h   Thu Oct 03 15:21:44 2019 +0000
+++ b/sys/arch/arm/mpcore/mpcorereg.h   Thu Oct 03 15:36:24 2019 +0000
@@ -32,7 +32,7 @@
  */
 #define        MPCORE_PMR_SCU  0x0000
 #define        MPCORE_PMR_CII  0x0100  /* CPU Interrupt Interface (for current core) */
-#define        MPCORE_PMR_CII_CORE(n)  (0x0x200 + 0x100 * (n)) /* for core N */
+#define        MPCORE_PMR_CII_CORE(n)  (0x200 + 0x100 * (n))   /* for core N */
 #define        MPCORE_PMR_CII_SIZE     0x100
 #define        MPCORE_PMR_TIMER        0x600   /* for current core */
 #define        MPCORE_PMR_TIMER_CORE(n)        (0x700 + 0x100 * (n))   /* for core N */



Home | Main Index | Thread Index | Old Index