-/* $OpenBSD: clock.c,v 1.84 2024/03/29 21:18:19 miod Exp $ */
+/* $OpenBSD: clock.c,v 1.85 2024/03/29 21:26:38 miod Exp $ */
/* $NetBSD: clock.c,v 1.41 2001/07/24 19:29:25 eeh Exp $ */
/*
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/proc.h>
-#include <sys/resourcevar.h>
#include <sys/malloc.h>
#include <sys/systm.h>
#include <sys/clockintr.h>
-#ifdef GPROF
-#include <sys/gmon.h>
-#endif
#include <sys/sched.h>
#include <sys/stdint.h>
#include <sys/timetc.h>
#include <dev/clock_subr.h>
#include <dev/ic/mk48txxreg.h>
-#include <sparc64/sparc64/intreg.h>
#include <sparc64/dev/iommureg.h>
#include <sparc64/dev/sbusreg.h>
#include <dev/sbus/sbusvar.h>
-/* $OpenBSD: cpu.c,v 1.76 2024/03/29 21:11:32 miod Exp $ */
+/* $OpenBSD: cpu.c,v 1.77 2024/03/29 21:26:38 miod Exp $ */
/* $NetBSD: cpu.c,v 1.13 2001/05/26 21:27:15 chs Exp $ */
/*
#include <machine/autoconf.h>
#include <machine/cpu.h>
#include <machine/reg.h>
-#include <machine/trap.h>
#include <machine/hypervisor.h>
#include <machine/openfirm.h>
#include <machine/pmap.h>
-/* $OpenBSD: machdep.c,v 1.213 2024/03/29 21:17:13 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.214 2024/03/29 21:26:38 miod Exp $ */
/* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */
/*-
*/
#include <sys/param.h>
-#include <sys/extent.h>
#include <sys/signal.h>
#include <sys/signalvar.h>
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/mount.h>
-#include <sys/msgbuf.h>
#include <sys/syscallargs.h>
#include <sys/exec.h>
#include <net/if.h>
-#include <uvm/uvm.h>
#include <sys/sysctl.h>
#include <sys/exec_elf.h>
#define _SPARC_BUS_DMA_PRIVATE
-#include <machine/autoconf.h>
#include <machine/bus.h>
#include <machine/frame.h>
#include <machine/cpu.h>
-/* $OpenBSD: pmap.c,v 1.114 2024/03/29 21:17:13 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.115 2024/03/29 21:26:38 miod Exp $ */
/* $NetBSD: pmap.c,v 1.107 2001/08/31 16:47:41 eeh Exp $ */
/*
*
#include <sys/atomic.h>
#include <sys/param.h>
-#include <sys/malloc.h>
#include <sys/queue.h>
#include <sys/systm.h>
#include <sys/proc.h>
#ifdef DDB
#include <machine/db_machdep.h>
-#include <ddb/db_command.h>
-#include <ddb/db_sym.h>
-#include <ddb/db_variables.h>
-#include <ddb/db_extern.h>
-#include <ddb/db_access.h>
#include <ddb/db_output.h>
-#define db_enter() __asm volatile("ta 1; nop");
#else
#define db_enter()
-#define db_printf printf
#endif
#define MEG (1<<20) /* 1MB */