Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/oea Apply PMAPNAME() to pmap_bootstrap[12](...



details:   https://anonhg.NetBSD.org/src/rev/67ef04f82c13
branches:  trunk
changeset: 959954:67ef04f82c13
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 02 00:28:55 2021 +0000

description:
Apply PMAPNAME() to pmap_bootstrap[12](); fix build for ofppc, which has
both pmap32 and pmap64bridge in a single kernel.

diffstat:

 sys/arch/powerpc/oea/pmap.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 629aea16f9f9 -r 67ef04f82c13 sys/arch/powerpc/oea/pmap.c
--- a/sys/arch/powerpc/oea/pmap.c       Tue Mar 02 00:18:22 2021 +0000
+++ b/sys/arch/powerpc/oea/pmap.c       Tue Mar 02 00:28:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.99 2021/03/01 01:53:46 thorpej Exp $        */
+/*     $NetBSD: pmap.c,v 1.100 2021/03/02 00:28:55 rin Exp $   */
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -63,7 +63,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.99 2021/03/01 01:53:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.100 2021/03/02 00:28:55 rin Exp $");
 
 #define        PMAP_NOOPNAMES
 
@@ -191,6 +191,8 @@
 #endif
 #define pmap_steal_memory      PMAPNAME(steal_memory)
 #define pmap_bootstrap         PMAPNAME(bootstrap)
+#define pmap_bootstrap1                PMAPNAME(bootstrap1)
+#define pmap_bootstrap2                PMAPNAME(bootstrap2)
 #else
 #define        STATIC                  /* nothing */
 #endif /* PMAPNAME */
@@ -234,6 +236,8 @@
 #endif
 STATIC vaddr_t pmap_steal_memory(vsize_t, vaddr_t *, vaddr_t *);
 STATIC void pmap_bootstrap(paddr_t, paddr_t);
+STATIC void pmap_bootstrap1(paddr_t, paddr_t);
+STATIC void pmap_bootstrap2(void);
 
 #ifdef PMAPNAME
 const struct pmap_ops PMAPNAME(ops) = {



Home | Main Index | Thread Index | Old Index