Module Name:    src
Committed By:   skrll
Date:           Sat May 11 10:15:10 UTC 2013

Modified Files:
        src/sys/arch/arm/arm32: arm32_boot.c

Log Message:
Include opt_{ddb,kgdb} and fix KGDB build


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/arm32/arm32_boot.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/arm/arm32/arm32_boot.c
diff -u src/sys/arch/arm/arm32/arm32_boot.c:1.2 src/sys/arch/arm/arm32/arm32_boot.c:1.3
--- src/sys/arch/arm/arm32/arm32_boot.c:1.2	Wed Oct 17 18:53:45 2012
+++ src/sys/arch/arm/arm32/arm32_boot.c	Sat May 11 10:15:10 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: arm32_boot.c,v 1.2 2012/10/17 18:53:45 matt Exp $	*/
+/*	$NetBSD: arm32_boot.c,v 1.3 2013/05/11 10:15:10 skrll Exp $	*/
 
 /*
  * Copyright (c) 2002, 2003, 2005  Genetec Corporation.  All rights reserved.
@@ -123,7 +123,10 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.2 2012/10/17 18:53:45 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.3 2013/05/11 10:15:10 skrll Exp $");
+
+#include "opt_ddb.h"
+#include "opt_kgdb.h"
 
 #include <sys/param.h>
 #include <sys/reboot.h>
@@ -140,6 +143,10 @@ __KERNEL_RCSID(1, "$NetBSD: arm32_boot.c
 
 #include <machine/bootconfig.h>
 
+#ifdef KGDB
+#include <sys/kgdb.h>
+#endif
+
 vaddr_t
 initarm_common(vaddr_t kvm_base, vsize_t kvm_size,
 	const struct boot_physmem *bp, size_t nbp)

Reply via email to