Module Name: src Committed By: rin Date: Mon Oct 11 14:30:30 UTC 2021
Modified Files: src/sys/arch/hpcarm/hpcarm: sa11x0_hpc_machdep.c Log Message: Fix build with DEBUG_BEFOREMMU. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c diff -u src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.18 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.19 --- src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c:1.18 Tue Aug 17 22:00:29 2021 +++ src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c Mon Oct 11 14:30:30 2021 @@ -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 @@ vaddr_t init_sa11x0(int, char **, struct 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;