Changeset View
Changeset View
Standalone View
Standalone View
head/sys/i386/linux/linux.h
Show All 29 Lines | |||||
#ifndef _I386_LINUX_H_ | #ifndef _I386_LINUX_H_ | ||||
#define _I386_LINUX_H_ | #define _I386_LINUX_H_ | ||||
#include <sys/signal.h> /* for sigval union */ | #include <sys/signal.h> /* for sigval union */ | ||||
#include <compat/linux/linux.h> | #include <compat/linux/linux.h> | ||||
#include <i386/linux/linux_syscall.h> | #include <i386/linux/linux_syscall.h> | ||||
#define LINUX_LEGACY_SYSCALLS | |||||
/* | /* | ||||
* debugging support | * debugging support | ||||
*/ | */ | ||||
extern u_char linux_debug_map[]; | extern u_char linux_debug_map[]; | ||||
#define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name) | #define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name) | ||||
#define ARGS(nm, fmt) "linux(%ld/%ld): "#nm"("fmt")\n", \ | #define ARGS(nm, fmt) "linux(%ld/%ld): "#nm"("fmt")\n", \ | ||||
(long)td->td_proc->p_pid, (long)td->td_tid | (long)td->td_proc->p_pid, (long)td->td_tid | ||||
#define LMSG(fmt) "linux(%ld/%ld): "fmt"\n", \ | #define LMSG(fmt) "linux(%ld/%ld): "fmt"\n", \ | ||||
▲ Show 20 Lines • Show All 567 Lines • Show Last 20 Lines |