Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/linux/linux.h
Show All 29 Lines | |||||
*/ | */ | ||||
#ifndef _AMD64_LINUX_H_ | #ifndef _AMD64_LINUX_H_ | ||||
#define _AMD64_LINUX_H_ | #define _AMD64_LINUX_H_ | ||||
#include <compat/linux/linux.h> | #include <compat/linux/linux.h> | ||||
#include <amd64/linux/linux_syscall.h> | #include <amd64/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 424 Lines • Show Last 20 Lines |