xref: /freebsd/sys/i386/linux/linux_dummy_machdep.c (revision 3460fab5fced39c7ea597cc7de0ebc3e4c88989a)
1e9b13c66SConrad Meyer /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3e9b13c66SConrad Meyer  *
4e9b13c66SConrad Meyer  * Copyright (c) 1994-1995 Søren Schmidt
5e9b13c66SConrad Meyer  * All rights reserved.
6e9b13c66SConrad Meyer  *
7e9b13c66SConrad Meyer  * Redistribution and use in source and binary forms, with or without
8e9b13c66SConrad Meyer  * modification, are permitted provided that the following conditions
9e9b13c66SConrad Meyer  * are met:
10e9b13c66SConrad Meyer  * 1. Redistributions of source code must retain the above copyright
11e9b13c66SConrad Meyer  *    notice, this list of conditions and the following disclaimer.
12e9b13c66SConrad Meyer  * 2. Redistributions in binary form must reproduce the above copyright
13e9b13c66SConrad Meyer  *    notice, this list of conditions and the following disclaimer in the
14e9b13c66SConrad Meyer  *    documentation and/or other materials provided with the distribution.
15e9b13c66SConrad Meyer  *
16e9b13c66SConrad Meyer  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17e9b13c66SConrad Meyer  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18e9b13c66SConrad Meyer  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19e9b13c66SConrad Meyer  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20e9b13c66SConrad Meyer  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21e9b13c66SConrad Meyer  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22e9b13c66SConrad Meyer  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23e9b13c66SConrad Meyer  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24e9b13c66SConrad Meyer  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25e9b13c66SConrad Meyer  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26e9b13c66SConrad Meyer  * SUCH DAMAGE.
27e9b13c66SConrad Meyer  */
28e9b13c66SConrad Meyer 
29e9b13c66SConrad Meyer #include <sys/param.h>
30e9b13c66SConrad Meyer #include <sys/kernel.h>
31e9b13c66SConrad Meyer #include <sys/proc.h>
32f4a512a5SDmitry Chagin #include <sys/sdt.h>
33e9b13c66SConrad Meyer 
34e9b13c66SConrad Meyer #include <i386/linux/linux.h>
35e9b13c66SConrad Meyer #include <i386/linux/linux_proto.h>
36e9b13c66SConrad Meyer #include <compat/linux/linux_dtrace.h>
37e9b13c66SConrad Meyer #include <compat/linux/linux_util.h>
38e9b13c66SConrad Meyer 
39e9b13c66SConrad Meyer /* DTrace init */
40e9b13c66SConrad Meyer LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
41e9b13c66SConrad Meyer 
42e9b13c66SConrad Meyer /*
43e9b13c66SConrad Meyer  * Before adding new stubs to this file, please check if a stub can be added to
44e9b13c66SConrad Meyer  * the machine-independent code in sys/compat/linux/linux_dummy.c (or
45e9b13c66SConrad Meyer  * sys/x86/linux/linux_dummy_x86.c).
46e9b13c66SConrad Meyer  */
47e9b13c66SConrad Meyer 
48e9b13c66SConrad Meyer UNIMPLEMENTED(break);
49e9b13c66SConrad Meyer UNIMPLEMENTED(ftime);
50391fd1e1SDmitry Chagin UNIMPLEMENTED(fstat);
51e9b13c66SConrad Meyer UNIMPLEMENTED(gtty);
52e9b13c66SConrad Meyer UNIMPLEMENTED(stty);
53e9b13c66SConrad Meyer UNIMPLEMENTED(lock);
54e9b13c66SConrad Meyer UNIMPLEMENTED(mpx);
55e9b13c66SConrad Meyer UNIMPLEMENTED(prof);
56e9b13c66SConrad Meyer UNIMPLEMENTED(profil);
57e9b13c66SConrad Meyer UNIMPLEMENTED(ulimit);
58e9b13c66SConrad Meyer 
59e9b13c66SConrad Meyer DUMMY(bdflush);
60e9b13c66SConrad Meyer DUMMY(olduname);
61e9b13c66SConrad Meyer DUMMY(stime);
62e9b13c66SConrad Meyer DUMMY(uname);
63e9b13c66SConrad Meyer DUMMY(vm86);
64e9b13c66SConrad Meyer DUMMY(vm86old);
65e9b13c66SConrad Meyer /* Linux 4.11: */
66e9b13c66SConrad Meyer DUMMY(arch_prctl);
67e9b13c66SConrad Meyer /* Linux 5.0: */
68e9b13c66SConrad Meyer DUMMY(clock_adjtime64);
69e9b13c66SConrad Meyer DUMMY(io_pgetevents_time64);
70e9b13c66SConrad Meyer DUMMY(mq_timedsend_time64);
71e9b13c66SConrad Meyer DUMMY(mq_timedreceive_time64);
72