-/* $OpenBSD: sfclock.c,v 1.2 2022/04/06 18:59:27 naddy Exp $ */
+/* $OpenBSD: sfclock.c,v 1.3 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
#include <sys/systm.h>
#include <sys/device.h>
-#include <machine/intr.h>
#include <machine/bus.h>
#include <machine/fdt.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_clock.h>
-#include <dev/ofw/ofw_misc.h>
#include <dev/ofw/fdt.h>
/* Clock IDs */
-/* $OpenBSD: sfgpio.c,v 1.2 2022/06/06 14:34:11 kettenis Exp $ */
+/* $OpenBSD: sfgpio.c,v 1.3 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
-#include <sys/evcount.h>
#include <machine/intr.h>
#include <machine/bus.h>
-/* $OpenBSD: stfclock.c,v 1.13 2024/02/17 12:01:45 kettenis Exp $ */
+/* $OpenBSD: stfclock.c,v 1.14 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2023 Joel Sing <jsing@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/malloc.h>
-#include <machine/intr.h>
#include <machine/bus.h>
#include <machine/fdt.h>
-/* $OpenBSD: stfpcie.c,v 1.3 2023/11/27 13:42:19 jsg Exp $ */
+/* $OpenBSD: stfpcie.c,v 1.4 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2023 Mark Kettenis <kettenis@openbsd.org>
*
#include <machine/bus.h>
#include <machine/fdt.h>
-#include <dev/pci/pcidevs.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
#include <dev/ofw/ofw_gpio.h>
#include <dev/ofw/ofw_misc.h>
#include <dev/ofw/ofw_pinctrl.h>
-#include <dev/ofw/ofw_power.h>
#include <dev/ofw/fdt.h>
/*
-/* $OpenBSD: stfpciephy.c,v 1.1 2023/07/08 10:06:14 kettenis Exp $ */
+/* $OpenBSD: stfpciephy.c,v 1.2 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2023 Mark Kettenis <kettenis@openbsd.org>
*
#include <sys/systm.h>
#include <sys/device.h>
-#include <machine/intr.h>
#include <machine/bus.h>
#include <machine/fdt.h>
#include <dev/ofw/openfirm.h>
-#include <dev/ofw/ofw_clock.h>
#include <dev/ofw/ofw_misc.h>
#include <dev/ofw/fdt.h>
-/* $OpenBSD: stfpinctrl.c,v 1.3 2023/07/05 11:07:37 kettenis Exp $ */
+/* $OpenBSD: stfpinctrl.c,v 1.4 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/malloc.h>
-#include <sys/evcount.h>
-#include <machine/intr.h>
#include <machine/bus.h>
#include <machine/fdt.h>
-/* $OpenBSD: stftemp.c,v 1.2 2023/07/01 08:20:38 jsing Exp $ */
+/* $OpenBSD: stftemp.c,v 1.3 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
#include <sys/device.h>
#include <sys/sensors.h>
-#include <machine/intr.h>
#include <machine/bus.h>
#include <machine/fdt.h>
-/* $OpenBSD: sxitimer.c,v 1.1 2024/01/27 12:05:40 kettenis Exp $ */
+/* $OpenBSD: sxitimer.c,v 1.2 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2024 Mark Kettenis <kettenis@openbsd.org>
*
#include <sys/systm.h>
#include <sys/clockintr.h>
#include <sys/device.h>
-#include <sys/sensors.h>
#include <machine/intr.h>
#include <machine/bus.h>
-/* $OpenBSD: db_interface.c,v 1.9 2024/02/23 18:19:03 cheloha Exp $ */
+/* $OpenBSD: db_interface.c,v 1.10 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 1996 Scott K. Stevens
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
-#include <sys/reboot.h>
-#include <sys/exec.h>
#include <uvm/uvm_extern.h>
#include <ddb/db_output.h>
#include <ddb/db_run.h>
#include <ddb/db_variables.h>
-#include <ddb/db_sym.h>
#include <ddb/db_extern.h>
#include <ddb/db_interface.h>
#include <dev/cons.h>
-/* $OpenBSD: db_trace.c,v 1.5 2022/02/22 07:46:04 visa Exp $ */
+/* $OpenBSD: db_trace.c,v 1.6 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2000, 2001 Ben Harris
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
-#include <sys/stacktrace.h>
-#include <sys/user.h>
#include <machine/db_machdep.h>
#include <ddb/db_access.h>
#include <ddb/db_interface.h>
-#include <ddb/db_variables.h>
#include <ddb/db_sym.h>
#include <ddb/db_output.h>
-/* $OpenBSD: exception.S,v 1.8 2023/11/24 07:57:39 miod Exp $ */
+/* $OpenBSD: exception.S,v 1.9 2024/10/17 01:57:18 jsg Exp $ */
/*-
* Copyright (c) 2015-2018 Ruslan Bukin <br@bsdpad.com>
#include "assym.h"
#include <machine/asm.h>
-#include <machine/trap.h>
#include <machine/riscvreg.h>
.macro save_registers mode
-/* $OpenBSD: fpu.c,v 1.11 2021/06/30 22:20:56 kettenis Exp $ */
+/* $OpenBSD: fpu.c,v 1.12 2024/10/17 01:57:18 jsg Exp $ */
/*
* Copyright (c) 2020 Dale Rahn <drahn@openbsd.org>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/user.h>
-#include "machine/asm.h"
void
fpu_disable(void)