linux.h (346825) | linux.h (346832) |
---|---|
1/*- 2 * Copyright (c) 1994-1996 S��ren Schmidt 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 1994-1996 S��ren Schmidt 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $FreeBSD: stable/11/sys/i386/linux/linux.h 346825 2019-04-28 13:37:13Z dchagin $ | 28 * $FreeBSD: stable/11/sys/i386/linux/linux.h 346832 2019-04-28 14:03:32Z dchagin $ |
29 */ 30 31#ifndef _I386_LINUX_H_ 32#define _I386_LINUX_H_ 33 34#include <sys/signal.h> /* for sigval union */ 35 36#include <compat/linux/linux.h> 37#include <i386/linux/linux_syscall.h> 38 | 29 */ 30 31#ifndef _I386_LINUX_H_ 32#define _I386_LINUX_H_ 33 34#include <sys/signal.h> /* for sigval union */ 35 36#include <compat/linux/linux.h> 37#include <i386/linux/linux_syscall.h> 38 |
39#define LINUX_LEGACY_SYSCALLS 40 |
|
39/* 40 * debugging support 41 */ 42extern u_char linux_debug_map[]; 43#define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name) 44#define ARGS(nm, fmt) "linux(%ld/%ld): "#nm"("fmt")\n", \ 45 (long)td->td_proc->p_pid, (long)td->td_tid 46#define LMSG(fmt) "linux(%ld/%ld): "fmt"\n", \ --- 567 unchanged lines hidden --- | 41/* 42 * debugging support 43 */ 44extern u_char linux_debug_map[]; 45#define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name) 46#define ARGS(nm, fmt) "linux(%ld/%ld): "#nm"("fmt")\n", \ 47 (long)td->td_proc->p_pid, (long)td->td_tid 48#define LMSG(fmt) "linux(%ld/%ld): "fmt"\n", \ --- 567 unchanged lines hidden --- |