Module Name: src
Committed By: andvar
Date: Sun Dec 24 11:42:35 UTC 2023
Modified Files:
src/sys/arch/evbarm/armadillo: armadillo9_machdep.c
Log Message:
Use %ld format specifier for physmem to fix VERBOSE_INIT_ARM build option.
Use epcom_kgdb_attach() instead of com_kgdb_attach() to fix KGDB build option.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/evbarm/armadillo/armadillo9_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/evbarm/armadillo/armadillo9_machdep.c
diff -u src/sys/arch/evbarm/armadillo/armadillo9_machdep.c:1.38 src/sys/arch/evbarm/armadillo/armadillo9_machdep.c:1.39
--- src/sys/arch/evbarm/armadillo/armadillo9_machdep.c:1.38 Sun Jul 3 19:58:42 2022
+++ src/sys/arch/evbarm/armadillo/armadillo9_machdep.c Sun Dec 24 11:42:35 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: armadillo9_machdep.c,v 1.38 2022/07/03 19:58:42 andvar Exp $ */
+/* $NetBSD: armadillo9_machdep.c,v 1.39 2023/12/24 11:42:35 andvar Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -110,7 +110,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.38 2022/07/03 19:58:42 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.39 2023/12/24 11:42:35 andvar Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -544,7 +544,7 @@ initarm(void *arg)
#ifdef VERBOSE_INIT_ARM
/* Tell the user about the memory */
- printf("physmemory: %d pages at 0x%08lx -> 0x%08lx\n", physmem,
+ printf("physmemory: %ld pages at 0x%08lx -> 0x%08lx\n", physmem,
physical_start, physical_end - 1);
#endif
@@ -903,7 +903,7 @@ consinit(void)
#if KGDB
#if NEPCOM > 0
if (strcmp(kgdb_devname, "epcom") == 0) {
- com_kgdb_attach(&ep93xx_bs_tag, kgdb_devaddr, kgdb_devrate,
+ epcom_kgdb_attach(&ep93xx_bs_tag, kgdb_devaddr, kgdb_devrate,
kgdb_devmode);
}
#endif /* NEPCOM > 0 */