1e9b13c66SConrad Meyer /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3e9b13c66SConrad Meyer * 41ca6b15bSDmitry Chagin * Copyright (c) 2013 Dmitry Chagin <dchagin@FreeBSD.org> 5e9b13c66SConrad Meyer * 6e9b13c66SConrad Meyer * Redistribution and use in source and binary forms, with or without 7e9b13c66SConrad Meyer * modification, are permitted provided that the following conditions 8e9b13c66SConrad Meyer * are met: 9e9b13c66SConrad Meyer * 1. Redistributions of source code must retain the above copyright 10e9b13c66SConrad Meyer * notice, this list of conditions and the following disclaimer. 11e9b13c66SConrad Meyer * 2. Redistributions in binary form must reproduce the above copyright 12e9b13c66SConrad Meyer * notice, this list of conditions and the following disclaimer in the 13e9b13c66SConrad Meyer * documentation and/or other materials provided with the distribution. 14e9b13c66SConrad Meyer * 15e9b13c66SConrad Meyer * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16e9b13c66SConrad Meyer * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17e9b13c66SConrad Meyer * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18e9b13c66SConrad Meyer * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19e9b13c66SConrad Meyer * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20e9b13c66SConrad Meyer * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21e9b13c66SConrad Meyer * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22e9b13c66SConrad Meyer * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23e9b13c66SConrad Meyer * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24e9b13c66SConrad Meyer * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25e9b13c66SConrad Meyer * SUCH DAMAGE. 26e9b13c66SConrad Meyer */ 27e9b13c66SConrad Meyer 28e9b13c66SConrad Meyer #include <sys/param.h> 29e9b13c66SConrad Meyer #include <sys/kernel.h> 30e9b13c66SConrad Meyer #include <sys/proc.h> 3155d3e181SDmitry Chagin #include <sys/sdt.h> 32e9b13c66SConrad Meyer 33e9b13c66SConrad Meyer #include <arm64/linux/linux.h> 34e9b13c66SConrad Meyer #include <arm64/linux/linux_proto.h> 35e9b13c66SConrad Meyer #include <compat/linux/linux_dtrace.h> 36e9b13c66SConrad Meyer #include <compat/linux/linux_util.h> 37e9b13c66SConrad Meyer 38e9b13c66SConrad Meyer /* DTrace init */ 39e9b13c66SConrad Meyer LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); 40e9b13c66SConrad Meyer 41e9b13c66SConrad Meyer /* 42e9b13c66SConrad Meyer * Before adding new stubs to this file, please check if a stub can be added to 43e9b13c66SConrad Meyer * the machine-independent code in sys/compat/linux/linux_dummy.c. 44e9b13c66SConrad Meyer */ 45023ee539SEdward Tomasz Napierala DUMMY(kexec_file_load); 46