-/* $OpenBSD: process_machdep.c,v 1.16 2018/06/05 06:39:10 guenther Exp $ */
+/* $OpenBSD: process_machdep.c,v 1.17 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: process_machdep.c,v 1.1 2003/04/26 18:39:31 fvdl Exp $ */
/*-
static __inline struct trapframe *process_frame(struct proc *);
static __inline struct fxsave64 *process_fpframe(struct proc *);
-#if 0
-static __inline int verr_gdt(struct pmap *, int sel);
-static __inline int verr_ldt(struct pmap *, int sel);
-#endif
static __inline struct trapframe *
process_frame(struct proc *p)
-/* $OpenBSD: vmm_machdep.c,v 1.26 2024/05/03 13:48:29 dv Exp $ */
+/* $OpenBSD: vmm_machdep.c,v 1.27 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
int vmm_inject_gp(struct vcpu *);
int vmm_inject_db(struct vcpu *);
void vmx_handle_intr(struct vcpu *);
-void vmx_handle_intwin(struct vcpu *);
void vmx_handle_misc_enable_msr(struct vcpu *);
int vmm_get_guest_memtype(struct vm *, paddr_t);
int vmx_get_guest_faulttype(void);
-/* $OpenBSD: acpipci.c,v 1.7 2022/02/21 11:03:39 mpi Exp $ */
+/* $OpenBSD: acpipci.c,v 1.8 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
NULL
};
-void acpipci_attach_deferred(struct device *);
int acpipci_print(void *, const char *);
int acpipci_parse_resources(int, union acpi_resource *, void *);
void acpipci_osc(struct acpipci_softc *);
extern struct bus_space armv7_bs_tag;
-
-void armv7_intr_bootstrap(vaddr_t);
-/* $OpenBSD: agintc.c,v 1.55 2024/02/03 10:37:25 kettenis Exp $ */
+/* $OpenBSD: agintc.c,v 1.56 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2007, 2009, 2011, 2017 Dale Rahn <drahn@dalerahn.com>
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
struct cpu_info *);
void agintc_route_irq(void *, int, struct cpu_info *);
void agintc_intr_barrier(void *);
-void agintc_wait_rwp(struct agintc_softc *sc);
void agintc_r_wait_rwp(struct agintc_softc *sc);
-uint32_t agintc_r_ictlr(void);
int agintc_ipi_ddb(void *v);
int agintc_ipi_halt(void *v);
-/* $OpenBSD: apldart.c,v 1.20 2024/01/20 11:22:46 kettenis Exp $ */
+/* $OpenBSD: apldart.c,v 1.21 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
bus_dma_segment_t *, int, bus_size_t, int);
void apldart_dmamap_unload(bus_dma_tag_t, bus_dmamap_t);
-void apldart_write(struct apldart_softc *sc, bus_size_t, uint32_t);
-
int
apldart_match(struct device *parent, void *match, void *aux)
{
-/* $OpenBSD: aplefuse.c,v 1.1 2022/12/17 11:56:44 kettenis Exp $ */
+/* $OpenBSD: aplefuse.c,v 1.2 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
};
int aplefuse_nvmem_read(void *, bus_addr_t, void *, bus_size_t);
-int aplefuse_nvmem_write(void *, bus_addr_t, const void *, bus_size_t);
int
aplefuse_match(struct device *parent, void *match, void *aux)
-/* $OpenBSD: aplspi.c,v 1.5 2023/07/23 11:17:50 kettenis Exp $ */
+/* $OpenBSD: aplspi.c,v 1.6 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
void aplspi_release_bus(void *, int);
void aplspi_set_cs(struct aplspi_softc *, int, int);
-int aplspi_wait_state(struct aplspi_softc *, uint32_t, uint32_t);
void aplspi_scan(struct aplspi_softc *);
void exiic_scan(struct device *, struct i2cbus_attach_args *, void *);
void exiic_setspeed(struct exiic_softc *, int);
int exiic_wait_state(struct exiic_softc *, uint32_t, uint32_t, uint32_t);
-int exiic_start(struct exiic_softc *, int, int, void *, int);
void exiic_xfer_start(struct exiic_softc *);
int exiic_xfer_wait(struct exiic_softc *);
-/* $OpenBSD: exmct.c,v 1.6 2021/10/24 17:52:27 mpi Exp $ */
+/* $OpenBSD: exmct.c,v 1.7 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
int exmct_match(struct device *, void *, void *);
void exmct_attach(struct device *, struct device *, void *);
-void exmct_stop(void);
-void exmct_reset(void);
const struct cfattach exmct_ca = {
sizeof (struct exmct_softc), exmct_match, exmct_attach
-/* $OpenBSD: amdisplay.c,v 1.17 2022/07/15 17:57:25 kettenis Exp $ */
+/* $OpenBSD: amdisplay.c,v 1.18 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2016 Ian Sutton <ians@openbsd.org>
*
int amdisplay_match(struct device *, void *, void *);
void amdisplay_attach(struct device *, struct device *, void *);
int amdisplay_detach(struct device *, int);
-int amdisplay_activate(struct device *, int);
int amdisplay_intr(void *);
int amdisplay_ioctl(void *, u_long, caddr_t, int, struct proc *);
-/* $OpenBSD: omapid.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */
+/* $OpenBSD: omapid.c,v 1.6 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2013 Dale Rahn <drahn@dalerahn.com>
*
void omapid_attach(struct device *parent, struct device *self, void *args);
-void omapid_wpending(int flags);
const struct cfattach omapid_ca = {
sizeof (struct omapid_softc), NULL, omapid_attach
-/* $OpenBSD: omdisplay.c,v 1.10 2022/07/15 17:57:25 kettenis Exp $ */
+/* $OpenBSD: omdisplay.c,v 1.11 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2007 Dale Rahn <drahn@openbsd.org>
*
void omdisplay_start(struct omdisplay_softc *sc);
void omdisplay_stop(struct omdisplay_softc *sc);
int omdisplay_intr(void *v);
-void omdisplay_dumpreg(struct omdisplay_softc *sc);
const struct cfattach omdisplay_ca = {
sizeof (struct omdisplay_softc), omdisplay_match, omdisplay_attach,
-/* $OpenBSD: omehci.c,v 1.9 2021/10/24 17:52:27 mpi Exp $ */
+/* $OpenBSD: omehci.c,v 1.10 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
int omehci_init(struct omehci_softc *);
void omehci_soft_phy_reset(struct omehci_softc *sc, unsigned int port);
-void omehci_enable(struct omehci_softc *);
-void omehci_disable(struct omehci_softc *);
-void omehci_utmi_init(struct omehci_softc *sc, unsigned int en_mask);
-void misc_setup(struct omehci_softc *sc);
-void omehci_uhh_init(struct omehci_softc *sc);
const struct cfattach omehci_ca = {
sizeof (struct omehci_softc), omehci_match, omehci_attach,
-/* $OpenBSD: prcm.c,v 1.18 2021/10/24 17:52:28 mpi Exp $ */
+/* $OpenBSD: prcm.c,v 1.19 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
uint32_t cm2_avail;
};
-int prcm_match(struct device *, void *, void *);
void prcm_attach(struct device *, struct device *, void *);
int prcm_setup_dpll5(struct prcm_softc *);
uint32_t prcm_v3_bit(int mod);
-/* $OpenBSD: prcmvar.h,v 1.8 2020/04/05 13:11:13 kettenis Exp $ */
+/* $OpenBSD: prcmvar.h,v 1.9 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
void prcm_setclock(int clock, int speed);
void prcm_enablemodule(int mod);
-void prcm_disablemodule(int mod);
#define PRCM_CLK_SPEED_32 0
#define PRCM_CLK_SPEED_SYS 1
-/* $OpenBSD: sxitimer.c,v 1.24 2023/09/17 14:50:51 cheloha Exp $ */
+/* $OpenBSD: sxitimer.c,v 1.25 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2013 Raphael Graf <r@undefined.ch>
int sxitimer_match(struct device *, void *, void *);
void sxitimer_attach(struct device *, struct device *, void *);
int sxitimer_tickintr(void *);
-int sxitimer_statintr(void *);
void sxitimer_cpu_initclocks(void);
void sxitimer_cpu_startclock(void);
void sxitimer_setstatclockrate(int);
-/* $OpenBSD: mpbios.c,v 1.45 2023/01/30 10:49:05 jsg Exp $ */
+/* $OpenBSD: mpbios.c,v 1.46 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: mpbios.c,v 1.2 2002/10/01 12:56:57 fvdl Exp $ */
/*-
int mp_print(void *, const char *);
int mp_match(struct device *, void *, void *);
-int mpbios_cpu_start(struct cpu_info *);
const void *mpbios_search(struct device *, paddr_t, int, struct mp_map *);
static __inline int mpbios_cksum(const void *, int);
-/* $OpenBSD: clock.c,v 1.68 2023/09/17 14:50:51 cheloha Exp $ */
+/* $OpenBSD: clock.c,v 1.69 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: clock.c,v 1.39 1996/05/12 23:11:54 mycroft Exp $ */
/*-
#include <dev/ic/i8253reg.h>
#include <i386/isa/nvram.h>
-void spinwait(int);
int clockintr(void *);
int gettick(void);
int rtcget(mc_todregs *);
-/* $OpenBSD: npx.c,v 1.75 2024/04/29 00:29:48 jsg Exp $ */
+/* $OpenBSD: npx.c,v 1.76 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: npx.c,v 1.57 1996/05/12 23:12:24 mycroft Exp $ */
#if 0
int (*npxdna_func)(struct cpu_info *) = npxdna_notset;
int npxdna_s87(struct cpu_info *);
int npxdna_xmm(struct cpu_info *);
-void npxexit(void);
/*
* Special interrupt handlers. Someday intr0-intr15 will be used to count
-/* $OpenBSD: pcibiosvar.h,v 1.18 2010/07/02 16:11:19 jsg Exp $ */
+/* $OpenBSD: pcibiosvar.h,v 1.19 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: pcibios.h,v 1.2 2000/04/28 17:15:16 uch Exp $ */
/*
#define PIR_DEVFUNC_FUNCTION(devfunc) ((devfunc) & 7)
#define PIR_DEVFUNC_COMPOSE(dev,func) ((((dev) &0x1f) << 3) | ((func) & 7))
-void pcibios_init(void);
-
extern struct pcibios_pir_header pcibios_pir_header;
extern struct pcibios_intr_routing *pcibios_pir_table;
extern int pcibios_pir_table_nentries;
-/* $OpenBSD: mainbus.c,v 1.9 2024/04/07 21:08:59 kettenis Exp $ */
+/* $OpenBSD: mainbus.c,v 1.10 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
void mainbus_attach_cpus(struct device *, cfmatch_t);
int mainbus_match_primary(struct device *, void *, void *);
int mainbus_match_secondary(struct device *, void *, void *);
-void mainbus_attach_efi(struct device *);
void mainbus_attach_framebuffer(struct device *);
struct mainbus_softc {
-/* $OpenBSD: cons.h,v 1.4 2017/04/30 13:04:49 mpi Exp $ */
+/* $OpenBSD: cons.h,v 1.5 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: cons.h,v 1.3 2000/05/19 05:26:17 eeh Exp $ */
/*-
extern void *zs_conschan;
-extern void nullcnprobe(struct consdev *);
-
extern int zs_getc(void *arg);
extern void zs_putc(void *arg, int c);
-/* $OpenBSD: fd.c,v 1.52 2021/10/24 17:05:03 mpi Exp $ */
+/* $OpenBSD: fd.c,v 1.53 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: fd.c,v 1.112 2003/08/07 16:29:35 agc Exp $ */
/*-
};
int fdgetdisklabel(dev_t, struct fd_softc *, struct disklabel *, int);
-int fd_get_parms(struct fd_softc *);
void fdstrategy(struct buf *);
void fdstart(struct fd_softc *);
int fdprint(void *, const char *);
-/* $OpenBSD: vgafb.c,v 1.69 2023/04/13 15:07:43 miod Exp $ */
+/* $OpenBSD: vgafb.c,v 1.70 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
};
int vgafb_mapregs(struct vgafb_softc *, struct pci_attach_args *);
-int vgafb_rommap(struct vgafb_softc *, struct pci_attach_args *);
int vgafb_ioctl(void *, u_long, caddr_t, int, struct proc *);
paddr_t vgafb_mmap(void *, off_t, int);
int vgafb_is_console(int);
-/* $OpenBSD: vpci.c,v 1.35 2024/03/29 21:29:33 miod Exp $ */
+/* $OpenBSD: vpci.c,v 1.36 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
*
int vpci_dmamap_create(bus_dma_tag_t, bus_dma_tag_t, bus_size_t, int,
bus_size_t, bus_size_t, int, bus_dmamap_t *);
-void vpci_dmamap_destroy(bus_dma_tag_t, bus_dma_tag_t, bus_dmamap_t);
-int vpci_dmamap_load(bus_dma_tag_t, bus_dma_tag_t, bus_dmamap_t,
- void *, bus_size_t, struct proc *, int);
-void vpci_dmamap_unload(bus_dma_tag_t, bus_dma_tag_t, bus_dmamap_t);
-int vpci_dmamem_alloc(bus_dma_tag_t, bus_dma_tag_t, bus_size_t,
- bus_size_t, bus_size_t, bus_dma_segment_t *, int, int *, int);
-int vpci_dmamem_map(bus_dma_tag_t, bus_dma_tag_t, bus_dma_segment_t *,
- int, size_t, caddr_t *, int);
-void vpci_dmamem_unmap(bus_dma_tag_t, bus_dma_tag_t, caddr_t, size_t);
int
vpci_match(struct device *parent, void *match, void *aux)
-/* $OpenBSD: z8530kbd.c,v 1.31 2024/03/29 21:09:04 miod Exp $ */
+/* $OpenBSD: z8530kbd.c,v 1.32 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */
/*-
int zskbd_init(struct zskbd_softc *);
void zskbd_putc(struct zskbd_softc *, u_int8_t);
-void zskbd_raw(struct zskbd_softc *, u_int8_t);
/* wskbd glue */
void zskbd_cngetc(void *, u_int *, int *);
-/* $OpenBSD: fpu_extern.h,v 1.9 2024/03/29 21:14:31 miod Exp $ */
+/* $OpenBSD: fpu_extern.h,v 1.10 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: fpu_extern.h,v 1.4 2000/08/03 18:32:08 eeh Exp $ */
/*-
/* fpu.c */
void fpu_cleanup(struct proc *, struct fpstate *, union instr, union sigval);
-int fpu_emulate(struct proc *, struct trapframe *, struct fpstate *);
int fpu_execute(struct proc *, struct fpemu *, union instr);
/* fpu_add.c */
-/* $OpenBSD: autoconf.c,v 1.149 2024/04/14 19:08:09 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.150 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
struct openbsd_bootdata obd __attribute__((section(".openbsd.bootdata")));
-int bus_class(struct device *);
-int instance_match(struct device *, void *, struct bootpath *bp);
void nail_bootdev(struct device *, struct bootpath *);
/* Global interrupt mappings for all device types. Match against the OBP
-/* $OpenBSD: db_interface.c,v 1.64 2024/04/11 18:58:44 miod Exp $ */
+/* $OpenBSD: db_interface.c,v 1.65 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: db_interface.c,v 1.61 2001/07/31 06:55:47 eeh Exp $ */
/*
void db_pload_cmd(db_expr_t, int, db_expr_t, char *);
void db_pmap_cmd(db_expr_t, int, db_expr_t, char *);
void db_lock(db_expr_t, int, db_expr_t, char *);
-void db_dump_buf(db_expr_t, int, db_expr_t, char *);
-void db_dump_espcmd(db_expr_t, int, db_expr_t, char *);
void db_watch(db_expr_t, int, db_expr_t, char *);
void db_xir(db_expr_t, int, db_expr_t, char *);
-/* $OpenBSD: db_command.c,v 1.100 2023/09/19 11:35:30 claudio Exp $ */
+/* $OpenBSD: db_command.c,v 1.101 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */
/*
void db_dmesg_cmd(db_expr_t, int, db_expr_t, char *);
void db_show_panic_cmd(db_expr_t, int, db_expr_t, char *);
void db_bcstats_print_cmd(db_expr_t, int, db_expr_t, char *);
-void db_struct_offset_cmd(db_expr_t, int, db_expr_t, char *);
void db_ctf_show_struct(db_expr_t, int, db_expr_t, char *);
void db_show_regs(db_expr_t, int, db_expr_t, char *);
void db_write_cmd(db_expr_t, int, db_expr_t, char *);
-/* $OpenBSD: db_extern.h,v 1.21 2019/11/07 13:16:25 mpi Exp $ */
+/* $OpenBSD: db_extern.h,v 1.22 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: db_extern.h,v 1.1 1996/02/05 01:57:00 christos Exp $ */
/*
void db_trap(int, int);
/* db_prof.c */
-void db_prof_init(void);
int db_prof_enable(void);
void db_prof_disable(void);
-/* $OpenBSD: acpi.c,v 1.426 2024/01/08 19:52:29 kettenis Exp $ */
+/* $OpenBSD: acpi.c,v 1.427 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
void acpi_init_pm(struct acpi_softc *);
int acpi_founddock(struct aml_node *, void *);
-int acpi_foundpss(struct aml_node *, void *);
-int acpi_foundtmp(struct aml_node *, void *);
int acpi_foundprw(struct aml_node *, void *);
int acpi_foundvideo(struct aml_node *, void *);
int acpi_foundsbs(struct aml_node *node, void *);
-/* $OpenBSD: acpidebug.c,v 1.33 2022/08/10 16:58:16 patrick Exp $ */
+/* $OpenBSD: acpidebug.c,v 1.34 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@openbsd.org>
*
void db_aml_walktree(struct aml_node *);
void db_disprint(void *, const char *, ...);
-const char *db_aml_fieldacc(int);
-const char *db_aml_fieldlock(int);
-const char *db_aml_fieldupdate(int);
-
/* name of scope for lexer */
char scope[80];
void acpidmar_pci_hook(pci_chipset_tag_t, struct pci_attach_args *);
void dmar_ptmap(bus_dma_tag_t, bus_addr_t);
-void acpidmar_sw(int);
#define __EXTRACT(v,m) (((v) >> m##_SHIFT) & m##_MASK)
-/* $OpenBSD: acpitz.c,v 1.59 2022/08/10 16:58:16 patrick Exp $ */
+/* $OpenBSD: acpitz.c,v 1.60 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org>
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
void acpitz_init_perf(void *);
void acpitz_setperf(int);
-void acpitz_monitor(struct acpitz_softc *);
void acpitz_refresh(void *);
int acpitz_notify(struct aml_node *, int, void *);
int acpitz_gettempreading(struct acpitz_softc *, char *);
-/* $OpenBSD: acpivar.h,v 1.125 2023/11/29 03:41:31 jsg Exp $ */
+/* $OpenBSD: acpivar.h,v 1.126 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
void acpi_sleep_pm(struct acpi_softc *, int);
void acpi_resume_pm(struct acpi_softc *, int);
void acpi_resume_cpu(struct acpi_softc *, int);
-void acpi_sleep_walk(struct acpi_softc *, int);
#define ACPI_IOREAD 0
#define ACPI_IOWRITE 1
int acpi_set_gpehandler(struct acpi_softc *, int,
int (*)(struct acpi_softc *, int, void *), void *, int);
-void acpi_enable_gpe(struct acpi_softc *, uint32_t);
-int acpiec_intr(struct acpiec_softc *);
void acpiec_read(struct acpiec_softc *, uint8_t, int, uint8_t *);
void acpiec_write(struct acpiec_softc *, uint8_t, int, uint8_t *);
-void acpiec_handle_events(struct acpiec_softc *);
#if NACPIPWRRES > 0
int acpipwrres_ref_incr(struct acpipwrres_softc *, struct aml_node *);
-/* $OpenBSD: dsdt.c,v 1.266 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: dsdt.c,v 1.267 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
int aml_pc(uint8_t *);
-struct aml_value *aml_parseop(struct aml_scope *, struct aml_value *,int);
-struct aml_value *aml_parsetarget(struct aml_scope *, struct aml_value *,
- struct aml_value **);
-struct aml_value *aml_parseterm(struct aml_scope *, struct aml_value *);
-
-struct aml_value *aml_evaltarget(struct aml_scope *scope,
- struct aml_value *res);
int aml_evalterm(struct aml_scope *scope,
struct aml_value *raw, struct aml_value *dst);
-/* $OpenBSD: dsdt.h,v 1.81 2024/01/08 19:52:29 kettenis Exp $ */
+/* $OpenBSD: dsdt.h,v 1.82 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
void aml_freevalue(struct aml_value *);
void aml_notify(struct aml_node *, int);
void aml_showvalue(struct aml_value *);
-void aml_walkroot(void);
-void aml_walktree(struct aml_node *);
void aml_find_node(struct aml_node *, const char *,
int (*)(struct aml_node *, void *), void *);
void aml_disasm(struct aml_scope *scope, int lvl,
void (*dbprintf)(void *, const char *, ...),
void *arg);
-int aml_getpci(struct aml_node *, int64_t *);
int aml_evalhid(struct aml_node *, struct aml_value *);
int acpi_walkmem(int, const char *);
-/* $OpenBSD: dwgpio.c,v 1.7 2022/04/06 18:59:27 naddy Exp $ */
+/* $OpenBSD: dwgpio.c,v 1.8 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis
*
int dwgpio_read_pin(void *, int);
void dwgpio_write_pin(void *, int, int);
void dwgpio_intr_establish(void *, int, int, int (*)(void *), void *);
-int dwgpio_pin_intr(struct dwgpio_softc *, int);
int dwgpio_intr(void *);
int
-/* $OpenBSD: glkgpio.c,v 1.6 2022/10/20 20:40:57 kettenis Exp $ */
+/* $OpenBSD: glkgpio.c,v 1.7 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
* Copyright (c) 2019 James Hastings
NULL
};
-int glkgpio_parse_resources(int, union acpi_resource *, void *);
int glkgpio_read_pin(void *, int);
void glkgpio_write_pin(void *, int, int);
void glkgpio_intr_establish(void *, int, int, int (*)(void *), void *);
-/* $OpenBSD: tpm.c,v 1.18 2023/08/15 08:27:29 miod Exp $ */
+/* $OpenBSD: tpm.c,v 1.19 2024/05/13 01:15:50 jsg Exp $ */
/*
* Minimal interface to Trusted Platform Module chips implementing the
int tpm_request_locality_crb(struct tpm_softc *, int);
void tpm_release_locality_tis(struct tpm_softc *);
void tpm_release_locality_crb(struct tpm_softc *);
-int tpm_getburst_tis(struct tpm_softc *);
-int tpm_getburst_crb(struct tpm_softc *);
uint8_t tpm_status(struct tpm_softc *);
uint32_t tpm2_start_method(struct acpi_softc *);
-/* $OpenBSD: ams.c,v 1.8 2022/04/06 18:59:27 naddy Exp $ */
+/* $OpenBSD: ams.c,v 1.9 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: ams.c,v 1.11 2000/12/19 03:13:40 tsubai Exp $ */
/*
void ems_init(struct ams_softc *);
void ms_adbcomplete(caddr_t buffer, caddr_t data_area, int adb_command);
-void ms_handoff(adb_event_t *event, struct ams_softc *);
void ms_processevent(adb_event_t *event, struct ams_softc *);
int
-/* $OpenBSD: atascsi.c,v 1.153 2022/04/16 19:19:58 naddy Exp $ */
+/* $OpenBSD: atascsi.c,v 1.154 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
void atascsi_atapi_cmd_done(struct ata_xfer *);
void atascsi_pmp_cmd(struct scsi_xfer *);
-void atascsi_pmp_cmd_done(struct ata_xfer *);
void atascsi_pmp_sense(struct scsi_xfer *xs);
void atascsi_pmp_inq(struct scsi_xfer *xs);
-/* $OpenBSD: atavar.h,v 1.22 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: atavar.h,v 1.23 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: atavar.h,v 1.13 1999/03/10 13:11:43 bouyer Exp $ */
/*
int wdc_ata_addref(struct ata_drive_datas *);
void wdc_ata_delref(struct ata_drive_datas *);
-void wdc_ata_kill_pending(struct ata_drive_datas *);
int ata_get_params(struct ata_drive_datas*, u_int8_t,
struct ataparams *);
-/* $OpenBSD: cons.h,v 1.19 2022/07/02 08:50:41 visa Exp $ */
+/* $OpenBSD: cons.h,v 1.20 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: cons.h,v 1.14 1996/03/14 19:08:35 christos Exp $ */
/*
void cnputc(int);
void cnpollc(int);
void cnbell(u_int, u_int, u_int);
-void cnrint(void);
void nullcnpollc(dev_t, int);
/* console-specific types */
-/* $OpenBSD: amlusbphy.c,v 1.3 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: amlusbphy.c,v 1.4 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
};
int amlusbphy_enable(void *, uint32_t *);
-uint16_t amlusbphy_read(struct amlusbphy_softc *, bus_addr_t);
-void amlusbphy_write(struct amlusbphy_softc *, bus_addr_t, uint16_t);
int
amlusbphy_match(struct device *parent, void *match, void *aux)
-/* $OpenBSD: if_mvpp.c,v 1.52 2024/03/18 21:37:44 patrick Exp $ */
+/* $OpenBSD: if_mvpp.c,v 1.53 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2008, 2019 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2017, 2020 Patrick Wildt <patrick@blueri.se>
void mvpp2_port_change(struct mvpp2_port *);
void mvpp2_tick(void *);
-void mvpp2_rxtick(void *);
int mvpp2_link_intr(void *);
int mvpp2_intr(void *);
mvpp2_dmamem_alloc(struct mvpp2_softc *, bus_size_t, bus_size_t);
void mvpp2_dmamem_free(struct mvpp2_softc *, struct mvpp2_dmamem *);
struct mbuf *mvpp2_alloc_mbuf(struct mvpp2_softc *, bus_dmamap_t);
-void mvpp2_fill_rx_ring(struct mvpp2_softc *);
void mvpp2_interrupts_enable(struct mvpp2_port *, int);
void mvpp2_interrupts_disable(struct mvpp2_port *, int);
-/* $OpenBSD: imxspi.c,v 1.4 2022/02/14 00:53:40 jsg Exp $ */
+/* $OpenBSD: imxspi.c,v 1.5 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
void imxspi_attach(struct device *, struct device *, void *);
void imxspi_attachhook(struct device *);
int imxspi_detach(struct device *, int);
-int imxspi_intr(void *);
void imxspi_config(void *, struct spi_config *);
uint32_t imxspi_clkdiv(struct imxspi_softc *, uint32_t);
-/* $OpenBSD: qccpu.c,v 1.2 2023/07/01 18:59:11 drahn Exp $ */
+/* $OpenBSD: qccpu.c,v 1.3 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2023 Dale Rahn <drahn@openbsd.org>
*
int qccpu_match(struct device *, void *, void *);
void qccpu_attach(struct device *, struct device *, void *);
-void qccpu_enable(void *, uint32_t *, int);
int qccpu_set_frequency(void *, uint32_t *, uint32_t);
uint32_t qccpu_get_frequency(void *, uint32_t *);
uint32_t qccpu_lut_to_freq(struct qccpu_softc *, int, uint32_t);
-/* $OpenBSD: qcgpio_fdt.c,v 1.2 2022/11/08 11:51:34 patrick Exp $ */
+/* $OpenBSD: qcgpio_fdt.c,v 1.3 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2022 Mark Kettenis <kettenis@openbsd.org>
*
void qcgpio_fdt_intr_enable(void *);
void qcgpio_fdt_intr_disable(void *);
void qcgpio_fdt_intr_barrier(void *);
-int qcgpio_fdt_pin_intr(struct qcgpio_softc *, int);
int qcgpio_fdt_intr(void *);
int
-/* $OpenBSD: qcrtc.c,v 1.3 2023/07/22 22:48:35 patrick Exp $ */
+/* $OpenBSD: qcrtc.c,v 1.4 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2022 Patrick Wildt <patrick@blueri.se>
*
int qcrtc_gettime(struct todr_chip_handle *, struct timeval *);
int qcrtc_settime(struct todr_chip_handle *, struct timeval *);
-void qcrtc_tick(void *);
-
extern int qcscm_uefi_rtc_get(uint32_t *);
extern int qcscm_uefi_rtc_set(uint32_t);
-/* $OpenBSD: qcspmi.c,v 1.3 2022/12/21 23:26:54 patrick Exp $ */
+/* $OpenBSD: qcspmi.c,v 1.4 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2022 Patrick Wildt <patrick@blueri.se>
*
void qcspmi_intr_enable(void *);
void qcspmi_intr_disable(void *);
void qcspmi_intr_barrier(void *);
-int qcspmi_pin_intr(struct qcspmi_softc *, int);
int qcspmi_intr(void *);
const struct cfattach qcspmi_ca = {
-/* $OpenBSD: rkdrm.c,v 1.21 2024/02/15 09:48:03 jsg Exp $ */
+/* $OpenBSD: rkdrm.c,v 1.22 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: rk_drm.c,v 1.3 2019/12/15 01:00:58 mrg Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill@invisible.ca>
void rkdrm_attach(struct device *, struct device *, void *);
void rkdrm_attachhook(struct device *);
-#ifdef notyet
-vmem_t *rkdrm_alloc_cma_pool(struct drm_device *, size_t);
-#endif
-
-int rkdrm_load(struct drm_device *, unsigned long);
int rkdrm_unload(struct drm_device *);
struct drm_driver rkdrm_driver = {
void (*)(void *, int, int), void *);
void rkdrm_doswitch(void *);
void rkdrm_enter_ddb(void *, void *);
-int rkdrm_get_param(struct wsdisplay_param *);
-int rkdrm_set_param(struct wsdisplay_param *);
struct wsscreen_descr rkdrm_stdscreen = {
"std",
-/* $OpenBSD: rkspi.c,v 1.1 2024/03/02 19:50:30 kettenis Exp $ */
+/* $OpenBSD: rkspi.c,v 1.2 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2018,2023 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2024 Mark Kettenis <kettenis@openbsd.org>
int rkspi_match(struct device *, void *, void *);
void rkspi_attach(struct device *, struct device *, void *);
int rkspi_detach(struct device *, int);
-int rkspi_intr(void *);
void rkspi_config(void *, struct spi_config *);
int rkspi_transfer(void *, char *, char *, int, int);
-/* $OpenBSD: ssdfb.c,v 1.13 2022/07/15 17:57:26 kettenis Exp $ */
+/* $OpenBSD: ssdfb.c,v 1.14 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
void ssdfb_write_data(struct ssdfb_softc *, char *, size_t);
void ssdfb_init(struct ssdfb_softc *);
-void ssdfb_update(void *);
void ssdfb_partial(struct ssdfb_softc *, uint32_t, uint32_t,
uint32_t, uint32_t);
-/* $OpenBSD: sximmc.c,v 1.14 2024/02/07 22:35:08 kettenis Exp $ */
+/* $OpenBSD: sximmc.c,v 1.15 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: awin_mmc.c,v 1.23 2015/11/14 10:32:40 bouyer Exp $ */
/*-
uint32_t sximmc_host_ocr(sdmmc_chipset_handle_t);
int sximmc_host_maxblklen(sdmmc_chipset_handle_t);
int sximmc_card_detect(sdmmc_chipset_handle_t);
-int sximmc_write_protect(sdmmc_chipset_handle_t);
int sximmc_bus_power(sdmmc_chipset_handle_t, uint32_t);
int sximmc_bus_clock(sdmmc_chipset_handle_t, int, int);
int sximmc_bus_width(sdmmc_chipset_handle_t, int);
-/* $OpenBSD: gpiodcf.c,v 1.10 2022/07/02 08:50:42 visa Exp $ */
+/* $OpenBSD: gpiodcf.c,v 1.11 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
#define T_WARN 300000 /* degrade sensor status to warning (5min) */
#define T_CRIT 900000 /* degrade sensor status to critical (15min) */
-void gpiodcf_intr(void *);
void gpiodcf_probe(void *);
void gpiodcf_bv_probe(void *);
void gpiodcf_mg_probe(void *);
-/* $OpenBSD: ietp.h,v 1.1 2023/07/08 02:43:02 jcs Exp $ */
+/* $OpenBSD: ietp.h,v 1.2 2024/05/13 01:15:50 jsg Exp $ */
/*
* Elantech touchpad I2C driver
*
bool is_clickpad;
};
-int ietp_open(struct ietp_softc *);
-void ietp_close(struct ietp_softc *);
int ietp_ioctl(void *, u_long, caddr_t, int, struct proc *);
int ietp_enable(void *dev);
void ietp_disable(void *dev);
-/* $OpenBSD: imt.c,v 1.5 2020/07/09 21:01:56 jcs Exp $ */
+/* $OpenBSD: imt.c,v 1.6 2024/05/13 01:15:50 jsg Exp $ */
/*
* HID-over-i2c multitouch trackpad driver for devices conforming to
* Windows Precision Touchpad standard
};
int imt_enable(void *);
-int imt_open(struct ihidev *);
void imt_intr(struct ihidev *, void *, u_int);
void imt_disable(void *);
int imt_ioctl(void *, u_long, caddr_t, int, struct proc *);
-/* $OpenBSD: pca9548.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
+/* $OpenBSD: pca9548.c,v 1.7 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis
int pcamux_attach_acpi_mux(struct aml_node *, void *);
void pcamux_acpi_bus_scan(struct device *,
struct i2cbus_attach_args *, void *);
-int pcamux_acpi_found_channel(struct aml_node *, void *);
int pcamux_acpi_found_hid(struct aml_node *, void *);
int pcamux_acpi_parse_crs(int, union acpi_resource *, void *);
#endif
-/* $OpenBSD: anvar.h,v 1.23 2009/10/13 19:33:16 pirofti Exp $ */
+/* $OpenBSD: anvar.h,v 1.24 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: anvar.h,v 1.10 2005/02/27 00:27:00 perry Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
int an_attach(struct an_softc *);
int an_detach(struct an_softc *);
-int an_activate(struct device *, int);
-void an_power(int, void *);
int an_intr(void *);
int an_init(struct ifnet *);
void an_stop(struct ifnet *, int);
-/* $OpenBSD: atw.c,v 1.100 2022/04/21 21:03:02 stsp Exp $ */
+/* $OpenBSD: atw.c,v 1.101 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */
/*-
#define DPRINTF3(sc, x) /* nothing */
#endif
-#ifdef ATW_STATS
-void atw_print_stats(struct atw_softc *);
-#endif
-
const char *atw_printmac(u_int8_t);
/* ifnet methods */
-/* $OpenBSD: com.c,v 1.178 2023/09/11 08:41:26 mvs Exp $ */
+/* $OpenBSD: com.c,v 1.179 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*
void compwroff(struct com_softc *);
void cominit(bus_space_tag_t, bus_space_handle_t, int, int);
-int com_is_console(bus_space_tag_t, bus_addr_t);
struct cfdriver com_cd = {
NULL, "com", DV_TTY
-/* $OpenBSD: dc.c,v 1.156 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: dc.c,v 1.157 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
#endif
int dc_intr(void *);
-struct dc_type *dc_devtype(void *);
int dc_newbuf(struct dc_softc *, int, struct mbuf *);
int dc_encap(struct dc_softc *, bus_dmamap_t, struct mbuf *, u_int32_t *);
-/* $OpenBSD: gemvar.h,v 1.31 2015/11/28 09:42:10 jmatthew Exp $ */
+/* $OpenBSD: gemvar.h,v 1.32 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: gemvar.h,v 1.1 2001/09/16 00:11:43 eeh Exp $ */
/*
} while (0)
#ifdef _KERNEL
-void gem_attach(struct gem_softc *, const u_int8_t *);
-int gem_activate(struct device *, int);
-int gem_detach(struct gem_softc *);
int gem_intr(void *);
-int gem_read_srom(struct gem_softc *);
-int gem_srom_crcok(const u_int8_t *);
-int gem_isv_srom(const u_int8_t *);
-int gem_isv_srom_enaddr(struct gem_softc *, u_int8_t *);
-int gem_parse_old_srom(struct gem_softc *, u_int8_t *);
int gem_mediachange(struct ifnet *);
void gem_mediastatus(struct ifnet *, struct ifmediareq *);
-/* $OpenBSD: qwxvar.h,v 1.24 2024/03/02 15:18:57 stsp Exp $ */
+/* $OpenBSD: qwxvar.h,v 1.25 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2018-2019 The Linux Foundation.
HAL_CE_DESC_DST_STATUS,
};
-void qwx_ce_byte_swap(void *mem, uint32_t len);
-
struct ce_ie_addr {
uint32_t ie1_reg_addr;
uint32_t ie2_reg_addr;
-/* $OpenBSD: rtl81x9reg.h,v 1.104 2022/06/03 10:38:40 dlg Exp $ */
+/* $OpenBSD: rtl81x9reg.h,v 1.105 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 1997, 1998
extern int rl_attach(struct rl_softc *);
extern int rl_intr(void *);
-extern void rl_setmulti(struct rl_softc *);
int rl_detach(struct rl_softc *);
int rl_activate(struct device *, int);
-/* $OpenBSD: rtwvar.h,v 1.32 2024/05/12 08:44:09 jsg Exp $ */
+/* $OpenBSD: rtwvar.h,v 1.33 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: rtwvar.h,v 1.10 2004/12/26 22:37:57 mycroft Exp $ */
/*-
int rtw_enable(struct rtw_softc *);
int rtw_activate(struct device *, int);
-void rtw_shutdown(void *);
const char *rtw_pwrstate_string(enum rtw_pwrstate);
-/* $OpenBSD: siopvar.h,v 1.17 2011/09/23 10:40:06 miod Exp $ */
+/* $OpenBSD: siopvar.h,v 1.18 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: siopvar.h,v 1.22 2005/11/18 23:10:32 bouyer Exp $ */
/*
void siop_attach(struct siop_softc *);
int siop_intr(void *);
void siop_add_dev(struct siop_softc *, int, int);
-void siop_del_dev(struct siop_softc *, int, int);
-/* $OpenBSD: smc91cxx.c,v 1.52 2022/08/15 01:59:00 jsg Exp $ */
+/* $OpenBSD: smc91cxx.c,v 1.53 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */
/*-
void smc91cxx_read(struct smc91cxx_softc *);
void smc91cxx_reset(struct smc91cxx_softc *);
void smc91cxx_start(struct ifnet *);
-void smc91cxx_resume(struct smc91cxx_softc *);
void smc91cxx_watchdog(struct ifnet *);
int smc91cxx_ioctl(struct ifnet *, u_long, caddr_t);
-/* $OpenBSD: trm.c,v 1.44 2022/01/09 05:42:42 jsg Exp $
+/* $OpenBSD: trm.c,v 1.45 2024/05/13 01:15:50 jsg Exp $
* ------------------------------------------------------------
* O.S : OpenBSD
* File Name : trm.c
/* #define TRM_DEBUG0 */
-void trm_initSRB(struct trm_scsi_req_q *);
-
void trm_check_eeprom(struct trm_adapter_nvram *, bus_space_tag_t, bus_space_handle_t);
void trm_read_all (struct trm_adapter_nvram *, bus_space_tag_t, bus_space_handle_t);
void trm_write_all (struct trm_adapter_nvram *, bus_space_tag_t, bus_space_handle_t);
-/* $OpenBSD: fd.c,v 1.108 2022/04/06 18:59:28 naddy Exp $ */
+/* $OpenBSD: fd.c,v 1.109 2024/05/13 01:15:50 jsg Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
};
int fdgetdisklabel(dev_t, struct fd_softc *, struct disklabel *, int);
-int fd_get_parms(struct fd_softc *);
void fdstrategy(struct buf *);
void fdstart(struct fd_softc *);
int fdintr(struct fdc_softc *);
-/* $OpenBSD: midi.c,v 1.56 2023/09/26 19:55:24 mvs Exp $ */
+/* $OpenBSD: midi.c,v 1.57 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2003, 2004 Alexandre Ratchov
void midi_out_start(struct midi_softc *);
void midi_out_stop(struct midi_softc *);
void midi_out_do(struct midi_softc *);
-void midi_attach(struct midi_softc *, struct device *);
const struct cfattach midi_ca = {
-/* $OpenBSD: brswphy.c,v 1.4 2022/04/06 18:59:29 naddy Exp $ */
+/* $OpenBSD: brswphy.c,v 1.5 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 2014 Paul Irofti <paul@irofti.net>
int brswphy_service(struct mii_softc *, struct mii_data *, int);
void brswphy_status(struct mii_softc *);
-void brswphy_reset(struct mii_softc *);
const struct mii_phy_funcs brswphy_funcs = {
brswphy_service, brswphy_status, mii_phy_reset,
-/* $OpenBSD: tqphy.c,v 1.19 2022/04/06 18:59:29 naddy Exp $ */
+/* $OpenBSD: tqphy.c,v 1.20 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: tqphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $ */
/*
int tqphymatch(struct device *, void *, void *);
void tqphyattach(struct device *, struct device *, void *);
-int tqphydetach(struct device *, int);
const struct cfattach tqphy_ca = {
sizeof(struct mii_softc), tqphymatch, tqphyattach, mii_phy_detach
-/* $OpenBSD: openfirm.h,v 1.18 2021/05/06 19:45:16 kettenis Exp $ */
+/* $OpenBSD: openfirm.h,v 1.19 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: openfirm.h,v 1.1 1996/09/30 16:35:10 ws Exp $ */
/*
int OF_getnodebyphandle(uint32_t);
int OF_getindex(int, const char *, const char *);
-/*
- * Some generic routines for OpenFirmware handling.
- */
-int ofnmmatch(char *cp1, char *cp2);
-void ofw_intr_establish(void);
-
/*
* Generic OpenFirmware probe argument.
* This is how all probe structures must start
-/* $OpenBSD: agp_i810.c,v 1.95 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: agp_i810.c,v 1.96 2024/05/13 01:15:51 jsg Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
void intagp_write_gtt(struct agp_i810_softc *, bus_size_t, paddr_t);
int intagp_gmch_match(struct pci_attach_args *);
-extern void intagp_dma_sync(bus_dma_tag_t, bus_dmamap_t,
- bus_addr_t, bus_size_t, int);
-
const struct cfattach intagp_ca = {
sizeof(struct agp_i810_softc), agp_i810_probe, agp_i810_attach,
NULL, agp_i810_activate,
-/* $OpenBSD: agpvar.h,v 1.34 2022/01/09 05:42:45 jsg Exp $ */
+/* $OpenBSD: agpvar.h,v 1.35 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: agpvar.h,v 1.4 2001/10/01 21:54:48 fvdl Exp $ */
/*-
*/
int agp_enable(void *, u_int32_t);
-/*
- * Retrieve information about a memory block allocated with
- * agp_alloc_memory().
- */
-void agp_memory_info(void *, void *, struct agp_memory_info *);
-
#endif /* !_PCI_AGPVAR_H_ */
-/* $OpenBSD: auacer.c,v 1.28 2022/10/26 20:19:07 kn Exp $ */
+/* $OpenBSD: auacer.c,v 1.29 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: auacer.c,v 1.3 2004/11/10 04:20:26 kent Exp $ */
/*-
int auacer_freemem(struct auacer_softc *, struct auacer_dma *);
int auacer_set_rate(struct auacer_softc *, int, u_long);
-void auacer_finish_attach(struct device *);
static void auacer_reset(struct auacer_softc *sc);
-/* $OpenBSD: auglx.c,v 1.24 2024/04/14 03:26:25 jsg Exp $ */
+/* $OpenBSD: auglx.c,v 1.25 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
void *, struct audio_params *);
int auglx_trigger_input(void *, void *, void *, int, void (*)(void *),
void *, struct audio_params *);
-int auglx_alloc_cdata(struct auglx_softc *);
int auglx_alloc_prd(struct auglx_softc *, size_t, struct auglx_ring *);
void auglx_free_prd(struct auglx_softc *sc, struct auglx_ring *bm);
int auglx_allocmem(struct auglx_softc *, size_t, size_t, struct auglx_dma *);
-/* $OpenBSD: fms.c,v 1.36 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: fms.c,v 1.37 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: fms.c,v 1.5.4.1 2000/06/30 16:27:50 simonb Exp $ */
/*-
int fms_allocmem(struct fms_softc *, size_t, size_t,
struct fms_dma *);
-int fms_freemem(struct fms_softc *, struct fms_dma *);
int
fms_match(struct device *parent, void *match, void *aux)
-/* $OpenBSD: gcu.c,v 1.6 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: gcu.c,v 1.7 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 2009 Dariusz Swiderski <sfires@sfires.net>
int gcu_probe(struct device *, void *, void *);
void gcu_attach(struct device *, struct device *, void *);
-int gcu_detach(struct device *, int);
const struct pci_matchid gcu_devices[] = {
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_EP80579_GCU }
-/* $OpenBSD: i82365_pci.c,v 1.14 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: i82365_pci.c,v 1.15 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: i82365_pci.c,v 1.11 2000/02/24 03:42:44 itohy Exp $ */
/*
return (0);
}
-void pcic_isa_config_interrupts(struct device *);
-
void
pcic_pci_attach(struct device *parent, struct device *self, void *aux)
{
-/* $OpenBSD: if_aq_pci.c,v 1.26 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_aq_pci.c,v 1.27 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: if_aq.c,v 1.27 2021/06/16 00:21:18 riastradh Exp $ */
/*
int aq_match(struct device *, void *, void *);
void aq_attach(struct device *, struct device *, void *);
-int aq_detach(struct device *, int);
int aq_activate(struct device *, int);
int aq_intr(void *);
int aq_intr_link(void *);
int aq_hw_reset(struct aq_softc *);
int aq_hw_init(struct aq_softc *, int, int);
void aq_hw_qos_set(struct aq_softc *);
-void aq_l3_filter_set(struct aq_softc *);
void aq_hw_init_tx_path(struct aq_softc *);
void aq_hw_init_rx_path(struct aq_softc *);
int aq_set_mac_addr(struct aq_softc *, int, uint8_t *);
int aq_dmamem_alloc(struct aq_softc *, struct aq_dmamem *,
bus_size_t, u_int);
-void aq_dmamem_zero(struct aq_dmamem *);
void aq_dmamem_free(struct aq_softc *, struct aq_dmamem *);
int aq1_get_mac_addr(struct aq_softc *);
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.375 2024/05/07 18:35:23 jan Exp $ */
+/* $OpenBSD: if_em.c,v 1.376 2024/05/13 01:15:51 jsg Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
void em_disable_intr(struct em_softc *);
void em_free_transmit_structures(struct em_softc *);
void em_free_receive_structures(struct em_softc *);
-void em_update_stats_counters(struct em_softc *);
void em_disable_aspm(struct em_softc *);
void em_txeof(struct em_queue *);
int em_allocate_receive_structures(struct em_softc *);
*******************************************************************************/
-/* $OpenBSD: if_em_hw.h,v 1.93 2024/02/16 22:30:54 mglocker Exp $ */
+/* $OpenBSD: if_em_hw.h,v 1.94 2024/05/13 01:15:51 jsg Exp $ */
/* $FreeBSD: if_em_hw.h,v 1.15 2005/05/26 23:32:02 tackerman Exp $ */
/* if_em_hw.h
int32_t em_reset_hw(struct em_hw *hw);
int32_t em_init_hw(struct em_softc *sc);
int32_t em_set_mac_type(struct em_hw *hw);
-int em_max_queues(struct em_hw *hw);
void em_set_media_type(struct em_hw *hw);
/* Link Configuration */
int32_t em_write_phy_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t data);
int32_t em_phy_hw_reset(struct em_hw *hw);
int32_t em_phy_reset(struct em_hw *hw);
-int32_t em_phy_get_info(struct em_hw *hw, struct em_phy_info *phy_info);
-int32_t em_validate_mdi_setting(struct em_hw *hw);
-void em_phy_powerdown_workaround(struct em_hw *hw);
int em_sgmii_uses_mdio_82575(struct em_hw *);
int32_t em_read_phy_reg_i2c(struct em_hw *, uint32_t, uint16_t *);
int32_t em_write_phy_reg_i2c(struct em_hw *, uint32_t, uint16_t);
/* EEPROM Functions */
int32_t em_init_eeprom_params(struct em_hw *hw);
-/* MNG HOST IF functions */
-uint32_t em_enable_mng_pass_thru(struct em_hw *hw);
-
#define E1000_MNG_DHCP_TX_PAYLOAD_CMD 64
#define E1000_HI_MAX_MNG_DATA_LENGTH 0x6F8 /* Host Interface data length */
uint32_t em_hash_mc_addr(struct em_hw *hw, uint8_t *mc_addr);
void em_mta_set(struct em_hw *hw, uint32_t hash_value);
void em_rar_set(struct em_hw *hw, uint8_t *mc_addr, uint32_t rar_index);
-void em_write_vfta(struct em_hw *hw, uint32_t offset, uint32_t value);
-
-/* LED functions */
-int32_t em_setup_led(struct em_hw *hw);
-int32_t em_cleanup_led(struct em_hw *hw);
-int32_t em_led_on(struct em_hw *hw);
-int32_t em_led_off(struct em_hw *hw);
-int32_t em_blink_led_start(struct em_hw *hw);
/* Adaptive IFS Functions */
/* Everything else */
void em_clear_hw_cntrs(struct em_hw *hw);
-void em_reset_adaptive(struct em_hw *hw);
-void em_update_adaptive(struct em_hw *hw);
void em_get_bus_info(struct em_hw *hw);
void em_pci_set_mwi(struct em_hw *hw);
void em_pci_clear_mwi(struct em_hw *hw);
-/* $OpenBSD: if_iwn.c,v 1.261 2024/02/16 11:44:52 stsp Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.262 2024/05/13 01:15:51 jsg Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
const struct iwn_rx_stats *);
int iwn_send_sensitivity(struct iwn_softc *);
int iwn_set_pslevel(struct iwn_softc *, int, int, int);
-int iwn_send_temperature_offset(struct iwn_softc *);
int iwn_send_btcoex(struct iwn_softc *);
int iwn_send_advanced_btcoex(struct iwn_softc *);
int iwn5000_runtime_calib(struct iwn_softc *);
-/* $OpenBSD: if_iwx.c,v 1.184 2024/05/08 14:03:54 stsp Exp $ */
+/* $OpenBSD: if_iwx.c,v 1.185 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
int iwx_rs_init_v3(struct iwx_softc *, struct iwx_node *);
int iwx_rs_init_v4(struct iwx_softc *, struct iwx_node *);
int iwx_rs_init(struct iwx_softc *, struct iwx_node *);
-int iwx_enable_data_tx_queues(struct iwx_softc *);
int iwx_phy_send_rlc(struct iwx_softc *, struct iwx_phy_ctxt *,
uint8_t, uint8_t);
int iwx_phy_ctxt_update(struct iwx_softc *, struct iwx_phy_ctxt *,
-/* $OpenBSD: if_ix.c,v 1.213 2024/05/07 18:35:23 jan Exp $ */
+/* $OpenBSD: if_ix.c,v 1.214 2024/05/13 01:15:51 jsg Exp $ */
/******************************************************************************
void ixgbe_setup_msix(struct ix_softc *);
int ixgbe_allocate_queues(struct ix_softc *);
void ixgbe_free_pci_resources(struct ix_softc *);
-void ixgbe_local_timer(void *);
void ixgbe_setup_interface(struct ix_softc *);
void ixgbe_config_gpie(struct ix_softc *);
void ixgbe_config_delay_values(struct ix_softc *);
void ixgbe_enable_queue(struct ix_softc *, uint32_t);
void ixgbe_enable_queues(struct ix_softc *);
void ixgbe_disable_queue(struct ix_softc *, uint32_t);
-void ixgbe_rearm_queue(struct ix_softc *, uint32_t);
/* MSI-X (multiple vectors interrupt handlers) */
int ixgbe_link_intr(void *);
-/* $OpenBSD: if_vmx.c,v 1.84 2024/05/07 18:35:23 jan Exp $ */
+/* $OpenBSD: if_vmx.c,v 1.85 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 2013 Tsubai Masanari
int vmxnet3_init(struct vmxnet3_softc *);
int vmxnet3_ioctl(struct ifnet *, u_long, caddr_t);
void vmxnet3_start(struct ifqueue *);
-int vmxnet3_load_mbuf(struct vmxnet3_softc *, struct vmxnet3_txring *,
- struct mbuf **);
void vmxnet3_watchdog(struct ifnet *);
void vmxnet3_media_status(struct ifnet *, struct ifmediareq *);
int vmxnet3_media_change(struct ifnet *);
-/* $OpenBSD: if_wb.c,v 1.75 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_wb.c,v 1.76 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 1997, 1998
int wb_probe(struct device *, void *, void *);
void wb_attach(struct device *, struct device *, void *);
-void wb_bfree(caddr_t, u_int, void *);
void wb_newbuf(struct wb_softc *, struct wb_chain_onefrag *);
int wb_encap(struct wb_softc *, struct wb_chain *, struct mbuf *);
-/* $OpenBSD: igc_base.h,v 1.3 2024/05/04 13:35:26 mbuhl Exp $ */
+/* $OpenBSD: igc_base.h,v 1.4 2024/05/13 01:15:51 jsg Exp $ */
/*-
* Copyright 2021 Intel Corp
* Copyright 2021 Rubicon Communications, LLC (Netgate)
int igc_init_hw_base(struct igc_hw *hw);
void igc_power_down_phy_copper_base(struct igc_hw *hw);
-extern void igc_rx_fifo_flush_base(struct igc_hw *hw);
int igc_acquire_phy_base(struct igc_hw *hw);
void igc_release_phy_base(struct igc_hw *hw);
*******************************************************************************/
-/* $OpenBSD: ixgb_hw.h,v 1.3 2010/09/20 07:50:19 deraadt Exp $ */
+/* $OpenBSD: ixgb_hw.h,v 1.4 2024/05/13 01:15:51 jsg Exp $ */
#ifndef _IXGB_HW_H_
#define _IXGB_HW_H_
/* Function Prototypes */
extern boolean_t ixgb_adapter_stop(struct ixgb_hw *hw);
extern boolean_t ixgb_init_hw(struct ixgb_hw *hw);
-extern boolean_t ixgb_adapter_start(struct ixgb_hw *hw);
extern void ixgb_check_for_link(struct ixgb_hw *hw);
extern boolean_t ixgb_check_for_bad_link(struct ixgb_hw *hw);
extern void ixgb_rar_set(struct ixgb_hw *hw, uint8_t *addr, uint32_t index);
-/* $OpenBSD: ixgbe_82598.c,v 1.20 2022/01/27 18:28:45 bluhm Exp $ */
+/* $OpenBSD: ixgbe_82598.c,v 1.21 2024/05/13 01:15:51 jsg Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
#define IXGBE_82598_VFT_TBL_SIZE 128
#define IXGBE_82598_RX_PB_SIZE 512
-uint32_t ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw);
int32_t ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw,
ixgbe_link_speed *speed,
bool *autoneg);
-/* $OpenBSD: ixgbe_x550.c,v 1.8 2022/01/09 05:42:56 jsg Exp $ */
+/* $OpenBSD: ixgbe_x550.c,v 1.9 2024/05/13 01:15:51 jsg Exp $ */
/******************************************************************************
uint32_t device_type, uint16_t *phy_data);
int32_t ixgbe_write_phy_reg_x550a(struct ixgbe_hw *hw, uint32_t reg_addr,
uint32_t device_type, uint16_t phy_data);
-int32_t ixgbe_setup_fc_fiber_x550em_a(struct ixgbe_hw *hw);
int32_t ixgbe_setup_fc_backplane_x550em_a(struct ixgbe_hw *hw);
-int32_t ixgbe_setup_fc_sgmii_x550em_a(struct ixgbe_hw *hw);
void ixgbe_fc_autoneg_fiber_x550em_a(struct ixgbe_hw *hw);
void ixgbe_fc_autoneg_backplane_x550em_a(struct ixgbe_hw *hw);
void ixgbe_fc_autoneg_sgmii_x550em_a(struct ixgbe_hw *hw);
-/* $OpenBSD: neo.c,v 1.40 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: neo.c,v 1.41 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk>
void *neo_malloc(void *, int, size_t, int, int);
void neo_free(void *, void *, int);
size_t neo_round_buffersize(void *, int, size_t);
-void neo_set_mixer(struct neo_softc *sc, int a, int d);
struct cfdriver neo_cd = {
NULL, "neo", DV_DULL
-/* $OpenBSD: pccbb.c,v 1.103 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: pccbb.c,v 1.104 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */
/*
#if 0
void pccbb_pcmcia_attach_card(struct pcic_handle *);
void pccbb_pcmcia_detach_card(struct pcic_handle *, int);
-void pccbb_pcmcia_deactivate_card(struct pcic_handle *);
#endif
int pccbb_ctrl(cardbus_chipset_tag_t, int);
bus_space_handle_t, bus_size_t);
void pccbb_winset(bus_addr_t align, struct pccbb_softc *,
bus_space_tag_t);
-void pccbb_winlist_show(struct pccbb_win_chain *);
/* for config_defer */
void pccbb_pci_callback(struct device *);
-/* $OpenBSD: pciide.c,v 1.364 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: pciide.c,v 1.365 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
void pdc205xx_do_reset(struct channel_softc *);
void pdc205xx_drv_probe(struct channel_softc *);
-void opti_chip_map(struct pciide_softc *, struct pci_attach_args *);
-void opti_setup_channel(struct channel_softc *);
-
void hpt_chip_map(struct pciide_softc *, struct pci_attach_args *);
void hpt_setup_channel(struct channel_softc *);
int hpt_pci_intr(void *);
-/* $OpenBSD: pciidevar.h,v 1.21 2015/09/10 18:10:34 deraadt Exp $ */
+/* $OpenBSD: pciidevar.h,v 1.22 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: pciidevar.h,v 1.6 2001/01/12 16:04:00 bouyer Exp $ */
/*
struct pciide_channel *);
int pciide_unmapregs_native(struct pciide_softc *,
struct pciide_channel *);
-int pciide_dma_table_free(struct pciide_softc *, int, int);
-void pciide_channel_dma_free(struct pciide_channel *);
/*
* Functions defined by machine-dependent code.
-/* $OpenBSD: pcivar.h,v 1.79 2024/02/03 10:37:26 kettenis Exp $ */
+/* $OpenBSD: pcivar.h,v 1.80 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */
/*
void pci_devinfo(pcireg_t, pcireg_t, int, char *, size_t);
const struct pci_quirkdata *
pci_lookup_quirkdata(pci_vendor_id_t, pci_product_id_t);
-void pciagp_set_pchb(struct pci_attach_args *);
#endif /* _KERNEL */
#endif /* _DEV_PCI_PCIVAR_H_ */
-/* $OpenBSD: ufshci_pci.c,v 1.2 2024/04/10 10:40:27 mglocker Exp $ */
+/* $OpenBSD: ufshci_pci.c,v 1.3 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 2024 Marcus Glocker <mglocker@openbsd.org>
int ufshci_pci_match(struct device *, void *, void *);
void ufshci_pci_attach(struct device *, struct device *, void *);
int ufshci_pci_detach(struct device *, int);
-int ufshci_pci_activate(struct device *, int);
const struct cfattach ufshci_pci_ca = {
sizeof(struct ufshci_pci_softc),
-/* $OpenBSD: com_pcmcia.c,v 1.60 2023/09/11 08:41:27 mvs Exp $ */
+/* $OpenBSD: com_pcmcia.c,v 1.61 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: com_pcmcia.c,v 1.15 1998/08/22 17:47:58 msaitoh Exp $ */
/*
int com_pcmcia_match(struct device *, void *, void *);
void com_pcmcia_attach(struct device *, struct device *, void *);
int com_pcmcia_detach(struct device *, int);
-void com_pcmcia_cleanup(void *);
int com_pcmcia_activate(struct device *, int);
int com_pcmcia_enable(struct com_softc *);
-/* $OpenBSD: pcmcia.c,v 1.50 2022/04/06 18:59:30 naddy Exp $ */
+/* $OpenBSD: pcmcia.c,v 1.51 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: pcmcia.c,v 1.9 1998/08/13 02:10:55 eeh Exp $ */
/*
void pcmcia_attach(struct device *, struct device *, void *);
int pcmcia_activate(struct device *, int);
int pcmcia_print(void *, const char *);
-void pcmcia_card_detach_notify(struct device *, void *);
int pcmcia_card_intr(void *);
struct cfdriver pcmcia_cd = {
-/* $OpenBSD: viogpu.c,v 1.3 2023/05/29 08:13:35 sf Exp $ */
+/* $OpenBSD: viogpu.c,v 1.4 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 2021-2023 joshua stein <jcs@openbsd.org>
int *, int *, uint32_t *);
int viogpu_show_screen(void *, void *, int, void (*)(void *, int, int),
void *);
-void viogpu_enter_ddb(void *, void *);
-void viogpu_doswitch(void *);
#define VIOGPU_HEIGHT 160
#define VIOGPU_WIDTH 160
-/* $OpenBSD: virtiovar.h,v 1.16 2023/12/02 10:01:35 sf Exp $ */
+/* $OpenBSD: virtiovar.h,v 1.17 2024/05/13 01:15:51 jsg Exp $ */
/* $NetBSD: virtiovar.h,v 1.1 2011/10/30 12:12:21 hannken Exp $ */
/*
int virtio_dequeue(struct virtio_softc*, struct virtqueue*, int *, int *);
int virtio_dequeue_commit(struct virtqueue*, int);
-int virtio_intr(void *arg);
int virtio_check_vqs(struct virtio_softc *);
int virtio_check_vq(struct virtio_softc *, struct virtqueue *);
void virtio_stop_vq_intr(struct virtio_softc *, struct virtqueue *);
-/* $OpenBSD: agten.c,v 1.13 2022/07/15 17:57:26 kettenis Exp $ */
+/* $OpenBSD: agten.c,v 1.14 2024/05/13 01:15:51 jsg Exp $ */
/*
* Copyright (c) 2002, 2003, Miodrag Vallat.
* All rights reserved.
int agten_ioctl(void *, u_long, caddr_t, int, struct proc *);
paddr_t agten_mmap(void *, off_t, int);
-void agten_reset(struct agten_softc *);
void agten_setcolor(void *, u_int, u_int8_t, u_int8_t, u_int8_t);
static __inline__ void ibm561_write(struct agten_softc *, u_int32_t, u_int32_t);
-/* $OpenBSD: be.c,v 1.44 2022/03/13 13:34:54 mpi Exp $ */
+/* $OpenBSD: be.c,v 1.45 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: be.c,v 1.26 2001/03/20 15:39:20 pk Exp $ */
/*-
static void be_tcvr_write_bit(struct be_softc *, int, int);
void be_tick(void *);
-void be_intphy_auto(struct be_softc *);
void be_intphy_status(struct be_softc *);
int be_intphy_service(struct be_softc *, struct mii_data *, int);
-/* $OpenBSD: zx.c,v 1.24 2022/07/15 17:57:27 kettenis Exp $ */
+/* $OpenBSD: zx.c,v 1.25 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: zx.c,v 1.5 2002/10/02 16:52:46 thorpej Exp $ */
/*
int zx_cross_loadwid(struct zx_softc *, u_int, u_int, u_int);
int zx_cross_wait(struct zx_softc *);
void zx_fillrect(struct rasops_info *, int, int, int, int, uint32_t, int);
-int zx_intr(void *);
-void zx_prom(void *);
int zx_putchar(void *, int, int, u_int, uint32_t);
int zx_copycols(void *, int, int, int, int);
-/* $OpenBSD: softraid_raid6.c,v 1.72 2021/05/16 15:12:37 deraadt Exp $ */
+/* $OpenBSD: softraid_raid6.c,v 1.73 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2009 Jordan Hargrave <jordan@openbsd.org>
void sr_raid6_xorq(void *, void *, int, int);
int sr_raid6_addio(struct sr_workunit *wu, int, daddr_t, long,
void *, int, int, void *, void *, int);
-void sr_raid6_scrub(struct sr_discipline *);
int sr_failio(struct sr_workunit *);
void gf_init(void);
-/* $OpenBSD: ulpt.c,v 1.58 2021/01/29 17:12:19 sthen Exp $ */
+/* $OpenBSD: ulpt.c,v 1.59 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: ulpt.c,v 1.57 2003/01/05 10:19:42 scw Exp $ */
/* $FreeBSD: src/sys/dev/usb/ulpt.c,v 1.24 1999/11/17 22:33:44 n_hibma Exp $ */
struct ulpt_fwdev *sc_fwdev;
};
-void ulpt_disco(void *);
-
int ulpt_do_write(struct ulpt_softc *, struct uio *uio, int);
int ulpt_status(struct ulpt_softc *);
void ulpt_reset(struct ulpt_softc *);
-/* $OpenBSD: umt.c,v 1.5 2021/11/15 15:36:24 anton Exp $ */
+/* $OpenBSD: umt.c,v 1.6 2024/05/13 01:15:53 jsg Exp $ */
/*
* USB multitouch touchpad driver for devices conforming to
* Windows Precision Touchpad standard
};
int umt_enable(void *);
-int umt_open(struct uhidev *);
void umt_intr(struct uhidev *, void *, u_int);
void umt_disable(void *);
int umt_ioctl(void *, u_long, caddr_t, int, struct proc *);
-/* $OpenBSD: vscsi.c,v 1.62 2023/10/25 09:36:47 mvs Exp $ */
+/* $OpenBSD: vscsi.c,v 1.63 2024/05/13 01:15:50 jsg Exp $ */
/*
* Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
int vscsi_match(struct device *, void *, void *);
void vscsi_attach(struct device *, struct device *, void *);
-void vscsi_shutdown(void *);
struct vscsi_ccb {
TAILQ_ENTRY(vscsi_ccb) ccb_entry;
-/* $OpenBSD: cd9660_node.h,v 1.22 2022/06/26 05:20:42 visa Exp $ */
+/* $OpenBSD: cd9660_node.h,v 1.23 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: cd9660_node.h,v 1.15 1997/04/11 21:52:01 kleink Exp $ */
/*-
int cd9660_seek(void *);
int cd9660_readdir(void *);
int cd9660_readlink(void *);
-int cd9660_abortop(void *);
int cd9660_inactive(void *);
int cd9660_reclaim(void *);
int cd9660_link(void *);
-/* $OpenBSD: msdosfsmount.h,v 1.22 2018/02/10 05:24:23 deraadt Exp $ */
+/* $OpenBSD: msdosfsmount.h,v 1.23 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: msdosfsmount.h,v 1.16 1997/10/17 11:24:24 ws Exp $ */
/*-
int msdosfs_start(struct mount *, int, struct proc *);
int msdosfs_unmount(struct mount *, int, struct proc *);
int msdosfs_root(struct mount *, struct vnode **);
-int msdosfs_quotactl(struct mount *, int, uid_t, caddr_t, struct proc *);
int msdosfs_statfs(struct mount *, struct statfs *, struct proc *);
int msdosfs_sync(struct mount *, int, int, struct ucred *, struct proc *);
int msdosfs_fhtovp(struct mount *, struct fid *, struct vnode **);
-/* $OpenBSD: if_gif.c,v 1.137 2024/01/01 18:47:02 mvs Exp $ */
+/* $OpenBSD: if_gif.c,v 1.138 2024/05/13 01:15:53 jsg Exp $ */
/* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */
/*
int gif_set_tunnel(struct gif_softc *, struct if_laddrreq *);
int gif_get_tunnel(struct gif_softc *, struct if_laddrreq *);
int gif_del_tunnel(struct gif_softc *);
-int in_gif_output(struct ifnet *, int, struct mbuf **);
-int in6_gif_output(struct ifnet *, int, struct mbuf **);
int gif_input(struct gif_tunnel *, struct mbuf **, int *, int, int,
uint8_t);
-/* $OpenBSD: if_mpw.c,v 1.65 2023/12/23 10:52:54 bluhm Exp $ */
+/* $OpenBSD: if_mpw.c,v 1.66 2024/05/13 01:15:53 jsg Exp $ */
/*
* Copyright (c) 2015 Rafael Zalamena <rzalamena@openbsd.org>
*/
#include "bpfilter.h"
-#include "vlan.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <net/bpf.h>
#endif /* NBPFILTER */
-#if NVLAN > 0
-#include <net/if_vlan_var.h>
-#endif
-
struct mpw_neighbor {
struct shim_hdr n_rshim;
struct sockaddr_storage n_nexthop;
int mpw_output(struct ifnet *, struct mbuf *, struct sockaddr *,
struct rtentry *);
void mpw_start(struct ifnet *);
-#if NVLAN > 0
-struct mbuf *mpw_vlan_handle(struct mbuf *, struct mpw_softc *);
-#endif /* NVLAN */
struct if_clone mpw_cloner =
IF_CLONE_INITIALIZER("mpw", mpw_clone_create, mpw_clone_destroy);
-/* $OpenBSD: if_pfsync.h,v 1.61 2023/07/31 11:13:10 dlg Exp $ */
+/* $OpenBSD: if_pfsync.h,v 1.62 2024/05/13 01:15:53 jsg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
#define PFSYNC_SI_CKSUM 0x02
#define PFSYNC_SI_ACK 0x04
#define PFSYNC_SI_PFSYNC 0x08
-int pfsync_state_import(struct pfsync_state *, int);
void pfsync_state_export(struct pfsync_state *,
struct pf_state *);
-/* $OpenBSD: if_spppsubr.c,v 1.192 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.193 2024/05/13 01:15:53 jsg Exp $ */
/*
* Synchronous PPP link level subroutines.
*
struct mbuf *m);
void sppp_cp_send(struct sppp *sp, u_short proto, u_char type,
u_char ident, u_short len, void *data);
-#ifdef notyet
-void sppp_cp_timeout(void *arg);
-#endif
void sppp_cp_change_state(const struct cp *cp, struct sppp *sp,
int newstate);
void sppp_auth_send(const struct cp *cp,
-/* $OpenBSD: if_trunk.h,v 1.30 2020/07/22 02:16:02 dlg Exp $ */
+/* $OpenBSD: if_trunk.h,v 1.31 2024/05/13 01:15:53 jsg Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org>
struct trunk_port *lb_ports[TRUNK_MAX_PORTS];
};
-int trunk_enqueue(struct ifnet *, struct mbuf *);
u_int32_t trunk_hashmbuf(struct mbuf *, SIPHASH_KEY *);
#endif /* _KERNEL */
-/* $OpenBSD: if_vlan_var.h,v 1.46 2023/04/26 00:14:21 jan Exp $ */
+/* $OpenBSD: if_vlan_var.h,v 1.47 2024/05/13 01:15:53 jsg Exp $ */
/*
* Copyright 1998 Massachusetts Institute of Technology
#ifdef _KERNEL
struct mbuf *vlan_input(struct ifnet *, struct mbuf *, unsigned int *);
struct mbuf *vlan_inject(struct mbuf *, uint16_t, uint16_t);
-void vlan_flags_from_parent(struct ifnet *, int);
#endif /* _KERNEL */
#endif /* _NET_IF_VLAN_VAR_H_ */
-/* $OpenBSD: pf_ioctl.c,v 1.416 2024/04/22 13:30:22 bluhm Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.417 2024/05/13 01:15:53 jsg Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
struct pool pf_tag_pl;
void pfattach(int);
-void pf_thread_create(void *);
int pfopen(dev_t, int, int, struct proc *);
int pfclose(dev_t, int, int, struct proc *);
int pfioctl(dev_t, u_long, caddr_t, int, struct proc *);
-/* $OpenBSD: pfkeyv2.h,v 1.94 2023/08/07 03:35:06 dlg Exp $ */
+/* $OpenBSD: pfkeyv2.h,v 1.95 2024/05/13 01:15:53 jsg Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) January 1998
*
int pfkeyv2_get_proto_alg(u_int8_t, u_int8_t *, int *);
int pfkeyv2_sysctl(int *, u_int, void *, size_t *, void *, size_t);
int pfkeyv2_sysctl_walker(struct tdb *, void *, int);
-int pfkeyv2_sysctl_dump(void *);
int pfdatatopacket(void *, int, struct mbuf **);
-/* $OpenBSD: pfvar.h,v 1.537 2024/05/12 08:31:05 jsg Exp $ */
+/* $OpenBSD: pfvar.h,v 1.538 2024/05/13 01:15:53 jsg Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
extern void pf_tbladdr_copyout(struct pf_addr_wrap *);
extern void pf_calc_skip_steps(struct pf_rulequeue *);
extern void pf_purge_expired_src_nodes(void);
-extern void pf_purge_expired_rules(void);
extern void pf_remove_state(struct pf_state *);
extern void pf_remove_divert_state(struct inpcb *);
extern void pf_free_state(struct pf_state *);
u_int16_t, u_int8_t);
void pf_rm_rule(struct pf_rulequeue *,
struct pf_rule *);
-void pf_purge_rule(struct pf_rule *);
struct pf_divert *pf_find_divert(struct mbuf *);
int pf_setup_pdesc(struct pf_pdesc *, sa_family_t,
int, struct pfi_kif *, struct mbuf *,
int pf_patch_32_unaligned(struct pf_pdesc *, void *, u_int32_t, bool);
int pflog_packet(struct pf_pdesc *, u_int8_t, struct pf_rule *,
struct pf_rule *, struct pf_ruleset *, struct pf_rule *);
-void pf_send_deferred_syn(struct pf_state *);
int pf_match_addr(u_int8_t, struct pf_addr *, struct pf_addr *,
struct pf_addr *, sa_family_t);
int pf_match_addr_range(struct pf_addr *, struct pf_addr *,
struct pf_ruleset *pf_get_leaf_ruleset(char *, char **);
struct pf_anchor *pf_create_anchor(struct pf_anchor *, const char *);
struct pf_ruleset *pf_find_or_create_ruleset(const char *);
-void pf_rs_initialize(void);
void pf_anchor_rele(struct pf_anchor *);
struct pf_anchor *pf_anchor_take(struct pf_anchor *);
-/* $OpenBSD: rtable.h,v 1.29 2024/04/09 12:53:08 claudio Exp $ */
+/* $OpenBSD: rtable.h,v 1.30 2024/05/13 01:15:53 jsg Exp $ */
/*
* Copyright (c) 2014-2016 Martin Pieuchot
int (*)(struct rtentry *, void *, unsigned int), void *);
int rtable_mpath_capable(unsigned int, sa_family_t);
-struct rtentry *rtable_mpath_match(unsigned int, struct rtentry *,
- struct sockaddr *, uint8_t);
int rtable_mpath_reprio(unsigned int, struct sockaddr *, int,
uint8_t, struct rtentry *);
-/* $OpenBSD: ieee80211_input.c,v 1.252 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: ieee80211_input.c,v 1.253 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: ieee80211_input.c,v 1.24 2004/05/31 11:12:24 dyoung Exp $ */
/*-
struct ieee80211_node *, u_int8_t, u_int16_t, struct mbuf_list *);
void ieee80211_input_ba_seq(struct ieee80211com *,
struct ieee80211_node *, uint8_t, uint16_t, struct mbuf_list *);
-struct mbuf *ieee80211_align_mbuf(struct mbuf *);
void ieee80211_decap(struct ieee80211com *, struct mbuf *,
struct ieee80211_node *, int, struct mbuf_list *);
int ieee80211_amsdu_decap_validate(struct ieee80211com *, struct mbuf *,
-/* $OpenBSD: icmp6.h,v 1.52 2023/04/05 21:51:47 bluhm Exp $ */
+/* $OpenBSD: icmp6.h,v 1.53 2024/05/13 01:15:53 jsg Exp $ */
/* $KAME: icmp6.h,v 1.84 2003/04/23 10:26:51 itojun Exp $ */
/*
struct in6_multi;
void icmp6_init(void);
-void icmp6_paramerror(struct mbuf *, int);
struct mbuf *icmp6_do_error(struct mbuf *, int, int, int);
void icmp6_error(struct mbuf *, int, int, int);
int icmp6_input(struct mbuf **, int *, int, int);
void icmp6_fasttimo(void);
int icmp6_reflect(struct mbuf **, size_t, struct sockaddr *);
-void icmp6_prepare(struct mbuf *);
void icmp6_redirect_input(struct mbuf *, int);
void icmp6_redirect_output(struct mbuf *, struct rtentry *);
int icmp6_sysctl(int *, u_int, void *, size_t *, void *, size_t);
-/* $OpenBSD: ip_gre.h,v 1.18 2022/08/27 20:28:01 mvs Exp $ */
+/* $OpenBSD: ip_gre.h,v 1.19 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: ip_gre.h,v 1.3 1998/10/07 23:33:02 thorpej Exp $ */
/*
extern const struct pr_usrreqs gre_usrreqs;
-int gre_usrreq(struct socket *, int, struct mbuf *, struct mbuf *,
- struct mbuf *, struct proc *);
int gre_send(struct socket *, struct mbuf *, struct mbuf *,
struct mbuf *);
#endif /* _KERNEL */
-/* $OpenBSD: tcp_var.h,v 1.177 2024/04/12 16:07:09 bluhm Exp $ */
+/* $OpenBSD: tcp_var.h,v 1.178 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
/*
void tcp_mtudisc(struct inpcb *, int);
void tcp_mtudisc_increase(struct inpcb *, int);
#ifdef INET6
-void tcp6_mtudisc(struct inpcb *, int);
void tcp6_mtudisc_callback(struct sockaddr_in6 *, u_int);
#endif
struct tcpcb *
int tcp_sendoob(struct socket *, struct mbuf *, struct mbuf *,
struct mbuf *);
void tcp_xmit_timer(struct tcpcb *, int32_t);
-void tcpdropoldhalfopen(struct tcpcb *, u_int16_t);
void tcp_sack_option(struct tcpcb *,struct tcphdr *,u_char *,int);
void tcp_update_sack_list(struct tcpcb *tp, tcp_seq, tcp_seq);
void tcp_del_sackholes(struct tcpcb *, struct tcphdr *);
-/* $OpenBSD: in6.h,v 1.117 2024/04/21 17:32:11 florian Exp $ */
+/* $OpenBSD: in6.h,v 1.118 2024/05/13 01:15:53 jsg Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
int in6_cksum(struct mbuf *, uint8_t, uint32_t, uint32_t);
void in6_proto_cksum_out(struct mbuf *, struct ifnet *);
-int in6_localaddr(struct in6_addr *);
int in6_addrscope(struct in6_addr *);
struct in6_ifaddr *in6_ifawithscope(struct ifnet *, struct in6_addr *, u_int,
struct rtentry *);
-/* $OpenBSD: in6_var.h,v 1.79 2024/04/21 17:32:11 florian Exp $ */
+/* $OpenBSD: in6_var.h,v 1.80 2024/05/13 01:15:53 jsg Exp $ */
/* $KAME: in6_var.h,v 1.55 2001/02/16 12:49:45 itojun Exp $ */
/*
struct in6_ifaddr *);
void in6_purgeaddr(struct ifaddr *);
int in6if_do_dad(struct ifnet *);
-void *in6_domifattach(struct ifnet *);
-void in6_domifdetach(struct ifnet *, void *);
struct in6_ifaddr *in6ifa_ifpforlinklocal(struct ifnet *, int);
struct in6_ifaddr *in6ifa_ifpwithaddr(struct ifnet *, struct in6_addr *);
int in6_addr2scopeid(unsigned int, struct in6_addr *);
int in6_matchlen(struct in6_addr *, struct in6_addr *);
void in6_prefixlen2mask(struct in6_addr *, int);
-void in6_purgeprefix(struct ifnet *);
#endif /* _KERNEL */
#endif /* _NETINET6_IN6_VAR_H_ */
-/* $OpenBSD: ip6_var.h,v 1.116 2024/04/17 20:48:51 bluhm Exp $ */
+/* $OpenBSD: ip6_var.h,v 1.117 2024/05/13 01:15:53 jsg Exp $ */
/* $KAME: ip6_var.h,v 1.33 2000/06/11 14:59:20 jinmei Exp $ */
/*
int rip6_sysctl(int *, u_int, void *, size_t *, void *, size_t);
int dest6_input(struct mbuf **, int *, int, int);
-int none_input(struct mbuf **, int *, int);
int in6_pcbselsrc(const struct in6_addr **, struct sockaddr_in6 *,
struct inpcb *, struct ip6_pktopts *);
-/* $OpenBSD: ntfs_subr.h,v 1.11 2020/02/27 09:10:31 mpi Exp $ */
+/* $OpenBSD: ntfs_subr.h,v 1.12 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: ntfs_subr.h,v 1.1 2002/12/23 17:38:33 jdolecek Exp $ */
/*-
int ntfs_readattr_plain( struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *,size_t *, struct uio *);
int ntfs_readattr( struct ntfsmount *, struct ntnode *, u_int32_t, char *, off_t, size_t, void *, struct uio *);
int ntfs_filesize( struct ntfsmount *, struct fnode *, u_int64_t *, u_int64_t *);
-int ntfs_times( struct ntfsmount *, struct ntnode *, ntfs_times_t *);
struct timespec ntfs_nttimetounix( u_int64_t );
int ntfs_runtovrun( cn_t **, cn_t **, u_long *, u_int8_t *);
int ntfs_attrtontvattr( struct ntfsmount *, struct ntvattr **, struct attr * );
void ntfs_freentvattr( struct ntvattr * );
-int ntfs_loadntvattrs( struct ntfsmount *, struct vnode *, caddr_t, struct ntvattr **);
-struct ntvattr * ntfs_findntvattr( struct ntfsmount *, struct ntnode *, u_int32_t, cn_t );
int ntfs_isnamepermitted(struct ntfsmount *, struct attr_indexentry * );
int ntfs_ntvattrrele(struct ntvattr * );
int ntfs_ntvattrget(struct ntfsmount *, struct ntnode *, u_int32_t, const char *, cn_t , struct ntvattr **);
-/* $OpenBSD: mpath.c,v 1.57 2022/07/02 08:50:42 visa Exp $ */
+/* $OpenBSD: mpath.c,v 1.58 2024/05/13 01:15:53 jsg Exp $ */
/*
* Copyright (c) 2009 David Gwynne <dlg@openbsd.org>
int mpath_match(struct device *, void *, void *);
void mpath_attach(struct device *, struct device *, void *);
-void mpath_shutdown(void *);
TAILQ_HEAD(mpath_paths, mpath_path);
-/* $OpenBSD: ffs_extern.h,v 1.49 2024/04/13 15:08:37 jca Exp $ */
+/* $OpenBSD: ffs_extern.h,v 1.50 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: ffs_extern.h,v 1.4 1996/02/09 22:22:22 christos Exp $ */
/*
int ffs_sysctl(int *, u_int, void *, size_t *, void *, size_t,
struct proc *);
int ffs_sbupdate(struct ufsmount *, int);
-int ffs_cgupdate(struct ufsmount *, int);
/* ffs_vnops.c */
int ffs_read(void *);
-/* $OpenBSD: ufs_extern.h,v 1.39 2024/02/03 18:51:58 beck Exp $ */
+/* $OpenBSD: ufs_extern.h,v 1.40 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: ufs_extern.h,v 1.5 1996/02/09 22:36:03 christos Exp $ */
/*-
int ufs_lookup(void *);
int ufs_mkdir(void *);
int ufs_mknod(void *);
-int ufs_mmap(void *);
int ufs_open(void *);
int ufs_pathconf(void *);
int ufs_print(void *);
-/* $OpenBSD: uvm_addr.c,v 1.33 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: uvm_addr.c,v 1.34 2024/05/13 01:15:53 jsg Exp $ */
/*
* Copyright (c) 2011 Ariane van der Steldt <ariane@stack.nl>
struct vm_map_entry *uvm_addr_entrybyspace(struct uaddr_free_rbtree*,
vsize_t);
#endif /* !SMALL_KERNEL */
-void uaddr_kinsert(struct vm_map *,
- struct uvm_addr_state *, struct vm_map_entry *);
-void uaddr_kremove(struct vm_map *,
- struct uvm_addr_state *, struct vm_map_entry *);
-void uaddr_kbootstrapdestroy(struct uvm_addr_state *);
-
void uaddr_destroy(struct uvm_addr_state *);
void uaddr_kbootstrap_destroy(struct uvm_addr_state *);
void uaddr_rnd_destroy(struct uvm_addr_state *);
-/* $OpenBSD: uvm_page.h,v 1.70 2024/05/12 09:41:09 jsg Exp $ */
+/* $OpenBSD: uvm_page.h,v 1.71 2024/05/13 01:15:53 jsg Exp $ */
/* $NetBSD: uvm_page.h,v 1.19 2000/12/28 08:24:55 chs Exp $ */
/*
struct vm_page *uvm_pagelookup(struct uvm_object *, voff_t);
void uvm_pageunwire(struct vm_page *);
void uvm_pagewait(struct vm_page *, struct rwlock *, const char *);
-void uvm_pagewake(struct vm_page *);
void uvm_pagewire(struct vm_page *);
void uvm_pagezero(struct vm_page *);
void uvm_pagealloc_pg(struct vm_page *, struct uvm_object *,