Source-Changes-HG archive

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

[src/netbsd-10]: src/sys/arch/mips/include Additionally pull up following rev...



details:   https://anonhg.NetBSD.org/src/rev/fdb806323e1f
branches:  netbsd-10
changeset: 374151:fdb806323e1f
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Apr 03 18:30:41 2023 +0000

description:
Additionally pull up following revision(s) for ticket #128
to unbreak the build:

        sys/arch/mips/include/types.h: revision 1.78
        sys/arch/mips/include/bus_space_defs.h: revision 1.5

Add missing PRIuBUSSIZE to mips.

diffstat:

 sys/arch/mips/include/bus_space_defs.h |  4 +++-
 sys/arch/mips/include/types.h          |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r 7cb7ba76cb13 -r fdb806323e1f sys/arch/mips/include/bus_space_defs.h
--- a/sys/arch/mips/include/bus_space_defs.h    Sun Apr 02 10:53:06 2023 +0000
+++ b/sys/arch/mips/include/bus_space_defs.h    Mon Apr 03 18:30:41 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space_defs.h,v 1.4 2020/07/26 08:08:41 simonb Exp $        */
+/*     $NetBSD: bus_space_defs.h,v 1.4.20.1 2023/04/03 18:30:41 martin Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -112,11 +112,13 @@ typedef int64_t bus_addr_t;
 typedef uint64_t bus_size_t;
 #define        PRIxBUSADDR     PRIx64
 #define        PRIxBUSSIZE     PRIx64
+#define        PRIuBUSSIZE     PRIu64
 #else
 typedef paddr_t bus_addr_t;
 typedef psize_t bus_size_t;
 #define        PRIxBUSADDR     PRIxPADDR
 #define        PRIxBUSSIZE     PRIxPSIZE
+#define        PRIuBUSSIZE     PRIuPSIZE
 #endif
 
 /*
diff -r 7cb7ba76cb13 -r fdb806323e1f sys/arch/mips/include/types.h
--- a/sys/arch/mips/include/types.h     Sun Apr 02 10:53:06 2023 +0000
+++ b/sys/arch/mips/include/types.h     Mon Apr 03 18:30:41 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.77 2022/07/07 10:06:02 martin Exp $        */
+/*     $NetBSD: types.h,v 1.77.4.1 2023/04/03 18:30:41 martin Exp $    */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -74,12 +74,14 @@ typedef __uint64_t  psize_t;
 #define        PRIxPADDR       PRIx64
 #define        PRIxPSIZE       PRIx64
 #define        PRIdPSIZE       PRId64
+#define        PRIuPSIZE       PRIu64
 #else
 typedef __uint32_t     paddr_t;
 typedef __uint32_t     psize_t;
 #define        PRIxPADDR       PRIx32
 #define        PRIxPSIZE       PRIx32
 #define        PRIdPSIZE       PRId32
+#define        PRIuPSIZE       PRIu32
 #endif
 #ifdef _LP64
 typedef __uint64_t     vaddr_t;



Home | Main Index | Thread Index | Old Index