Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcarm/hpcarm Fix build with DEBUG_BEFOREMMU.



details:   https://anonhg.NetBSD.org/src/rev/d8e2db129e45
branches:  trunk
changeset: 1024164:d8e2db129e45
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Oct 11 14:30:30 2021 +0000

description:
Fix build with DEBUG_BEFOREMMU.

diffstat:

 sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 4ce34cfd2e2b -r d8e2db129e45 sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c
--- a/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c       Mon Oct 11 14:29:15 2021 +0000
+++ b/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c       Mon Oct 11 14:30:30 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sa11x0_hpc_machdep.c,v 1.18 2021/08/17 22:00:29 andvar Exp $   */
+/*     $NetBSD: sa11x0_hpc_machdep.c,v 1.19 2021/10/11 14:30:30 rin Exp $      */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sa11x0_hpc_machdep.c,v 1.18 2021/08/17 22:00:29 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa11x0_hpc_machdep.c,v 1.19 2021/10/11 14:30:30 rin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_dram_pages.h"
@@ -136,6 +136,10 @@
 void    dumppages(char *, int);
 #endif
 
+#ifdef DEBUG_BEFOREMMU
+static void fakecninit(void);
+#endif
+
 /* Mode dependent sleep function holder */
 extern void (*__sleep_func)(void *);
 extern void *__sleep_ctx;



Home | Main Index | Thread Index | Old Index