-/* $OpenBSD: kvm_arm.c,v 1.11 2021/12/01 16:53:28 deraadt Exp $ */
+/* $OpenBSD: kvm_arm.c,v 1.12 2021/12/01 21:45:19 deraadt Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
* ARM machine dependent routines for kvm.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
-#include <sys/core.h>
#include <sys/kcore.h>
#include <unistd.h>
-/* $OpenBSD: kvm_arm64.c,v 1.2 2021/12/01 16:53:28 deraadt Exp $ */
+/* $OpenBSD: kvm_arm64.c,v 1.3 2021/12/01 21:45:19 deraadt Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
* ARM64 machine dependent routines for kvm.
*/
-#include <sys/param.h> /* MAXCOMLEN for sys/core.h */
#include <sys/types.h>
-#include <sys/core.h>
#include <sys/kcore.h>
#include <unistd.h>
#include "kvm_private.h"
-#include <arm64/kcore.h>
+#include <machine/kcore.h>
void
_kvm_freevtop(kvm_t *kd)
-/* $OpenBSD: kvm_m88k.c,v 1.7 2021/12/01 16:53:28 deraadt Exp $ */
+/* $OpenBSD: kvm_m88k.c,v 1.8 2021/12/01 21:45:19 deraadt Exp $ */
/* $NetBSD: kvm_alpha.c,v 1.2 1995/09/29 03:57:48 cgd Exp $ */
/*
* rights to redistribute these changes.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/proc.h>
-/* $OpenBSD: kvm_powerpc.c,v 1.11 2021/12/01 16:53:28 deraadt Exp $ */
+/* $OpenBSD: kvm_powerpc.c,v 1.12 2021/12/01 21:45:19 deraadt Exp $ */
/*-
* Copyright (C) 1996 Wolfgang Solfrank.
* PowerPC machine dependent routines for kvm.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/proc.h>
#include <sys/stat.h>
-#include <sys/core.h>
#include <sys/kcore.h>
#include <unistd.h>
#include <nlist.h>
-/* $OpenBSD: kvm_powerpc64.c,v 1.2 2021/12/01 16:53:28 deraadt Exp $ */
+/* $OpenBSD: kvm_powerpc64.c,v 1.3 2021/12/01 21:45:19 deraadt Exp $ */
/*
* Copyright (c) 2007 Miodrag Vallat.
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
-#include <sys/core.h>
#include <sys/kcore.h>
#include <unistd.h>
-/* $OpenBSD: kvm_riscv64.c,v 1.2 2021/12/01 16:53:28 deraadt Exp $ */
+/* $OpenBSD: kvm_riscv64.c,v 1.3 2021/12/01 21:45:19 deraadt Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
* RISCV machine dependent routines for kvm.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
-#include <sys/core.h>
#include <sys/kcore.h>
#include <unistd.h>
-/* $OpenBSD: kvm_sh.c,v 1.8 2021/12/01 16:53:28 deraadt Exp $ */
+/* $OpenBSD: kvm_sh.c,v 1.9 2021/12/01 21:45:19 deraadt Exp $ */
/*
* Copyright (c) 2007 Miodrag Vallat.
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
-#include <sys/core.h>
#include <sys/kcore.h>
#include <unistd.h>
-/* $OpenBSD: kvm_sparc64.c,v 1.12 2021/12/01 16:53:28 deraadt Exp $ */
+/* $OpenBSD: kvm_sparc64.c,v 1.13 2021/12/01 21:45:19 deraadt Exp $ */
/* $NetBSD: kvm_sparc64.c,v 1.7 2001/08/05 03:33:15 matt Exp $ */
/*-
* vm code will one day obsolete this module.
*/
-#include <sys/param.h> /* MAXCOMLEN */
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/exec.h>
#include <sys/proc.h>
#include <sys/stat.h>
-#include <sys/core.h>
#include <sys/kcore.h>
#include <unistd.h>
#include <nlist.h>