/* $NetBSD: compat_mod.h,v 1.6.26.1 2023/12/10 13:06:16 martin Exp $ */ /*- * Copyright (c) 2013, 2019 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Christos Zoulas. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #ifndef _COMPAT_MOD_H #define _COMPAT_MOD_H #ifdef COMPAT_90 int compat_90_init(void); int compat_90_fini(void); int vfs_syscalls_90_init(void); int vfs_syscalls_90_fini(void); int net_inet6_nd_90_init(void); int net_inet6_nd_90_fini(void); #endif #ifdef COMPAT_80 int compat_80_init(void); int compat_80_fini(void); void kern_mod_80_init(void); void kern_mod_80_fini(void); void ifmedia_80_init(void); void ifmedia_80_fini(void); #endif #ifdef COMPAT_70 int compat_70_init(void); int compat_70_fini(void); #endif #ifdef COMPAT_60 int compat_60_init(void); int compat_60_fini(void); int kern_time_60_init(void); int kern_time_60_fini(void); int kern_sa_60_init(void); int kern_sa_60_fini(void); void kern_tty_60_init(void); void kern_tty_60_fini(void); #endif #ifdef COMPAT_50 int compat_50_init(void); int compat_50_fini(void); int kern_50_init(void); int kern_50_fini(void); int kern_time_50_init(void); int kern_time_50_fini(void); int kern_select_50_init(void); int kern_select_50_fini(void); void uvm_50_init(void); void uvm_50_fini(void); int vfs_syscalls_50_init(void); int vfs_syscalls_50_fini(void); void uipc_syscalls_50_init(void); void uipc_syscalls_50_fini(void); void vnd_50_init(void); void vnd_50_fini(void); void rndpseudo_50_init(void); void rndpseudo_50_fini(void); void rtsock_50_init(void); void rtsock_50_fini(void); void kern_uipc_socket_50_init(void); void kern_uipc_socket_50_fini(void); #endif #ifdef COMPAT_40 int compat_40_init(void); int compat_40_fini(void); void uipc_syscalls_40_init(void); void uipc_syscalls_40_fini(void); int vfs_syscalls_40_init(void); int vfs_syscalls_40_fini(void); void sysmon_power_40_init(void); void sysmon_power_40_fini(void); #endif #ifdef COMPAT_30 int compat_30_init(void); int compat_30_fini(void); int kern_time_30_init(void); int kern_time_30_fini(void); int vfs_syscalls_30_init(void); int vfs_syscalls_30_fini(void); int uipc_syscalls_30_init(void); int uipc_syscalls_30_fini(void); void bio_30_init(void); void bio_30_fini(void); void vnd_30_init(void); void vnd_30_fini(void); void usb_30_init(void); void usb_30_fini(void); #endif #ifdef COMPAT_20 int compat_20_init(void); int compat_20_fini(void); int vfs_syscalls_20_init(void); int vfs_syscalls_20_fini(void); void ieee80211_20_init(void); void ieee80211_20_fini(void); void if43_20_init(void); void if43_20_fini(void); #endif #ifdef COMPAT_16 int compat_16_init(void); int compat_16_fini(void); int kern_sig_16_init(void); int kern_sig_16_fini(void); #endif #ifdef COMPAT_14 int compat_14_init(void); int compat_14_fini(void); void rtsock_14_init(void); void rtsock_14_fini(void); #endif #ifdef COMPAT_13 int compat_13_init(void); int compat_13_fini(void); int kern_sig_13_init(void); int kern_sig_13_fini(void); void uvm_13_init(void); void uvm_13_fini(void); #endif #ifdef COMPAT_12 int compat_12_init(void); int compat_12_fini(void); int kern_xxx_12_init(void); int kern_xxx_12_fini(void); int vm_12_init(void); int vm_12_fini(void); int vfs_syscalls_12_init(void); int vfs_syscalls_12_fini(void); #endif #ifdef COMPAT_10 int compat_10_init(void); int compat_10_fini(void); void vfs_syscalls_10_init(void); void vfs_syscalls_10_fini(void); #endif #ifdef COMPAT_09 int compat_09_init(void); int compat_09_fini(void); int kern_info_09_init(void); int kern_info_09_fini(void); #endif #ifdef COMPAT_43 int compat_43_init(void); int compat_43_fini(void); int kern_exit_43_init(void); int kern_exit_43_fini(void); int kern_info_43_init(void); int kern_info_43_fini(void); int kern_resource_43_init(void); int kern_resource_43_fini(void); int kern_sig_43_init(void); int kern_sig_43_fini(void); int kern_tty_43_init(void); int kern_tty_43_fini(void); int uipc_syscalls_43_init(void); int uipc_syscalls_43_fini(void); int vfs_syscalls_43_init(void); int vfs_syscalls_43_fini(void); int vm_43_init(void); int vm_43_fini(void); int if_43_init(void); int if_43_fini(void); #endif #if defined(COMPAT_09) || defined(COMPAT_43) int compat_sysctl_09_43_init(void); int compat_sysctl_09_43_fini(void); #endif #endif /* !_COMPAT_MOD_H_ */