diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
commit | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch) | |
tree | ece253b876159b39c620e62b6c9b1174642e070e /sys/compat/osf1/README.mach-traps |
initial import of NetBSD tree
Diffstat (limited to 'sys/compat/osf1/README.mach-traps')
-rw-r--r-- | sys/compat/osf1/README.mach-traps | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/sys/compat/osf1/README.mach-traps b/sys/compat/osf1/README.mach-traps new file mode 100644 index 00000000000..1748ac28bd3 --- /dev/null +++ b/sys/compat/osf1/README.mach-traps @@ -0,0 +1,58 @@ +$NetBSD: README.mach-traps,v 1.1 1995/02/13 21:39:02 cgd Exp $ + +Some Alpha AXP OSF/1 binaries directly use the facilities provided by +the Mach kernel that is the basis for OSF/1. These include (but are +surely not limited to) 'dd', 'ps', and 'w'. + +Invariably, the symptom that these binaries display is that they crash +with an "unimplemented system call" trap (SIGSYS signal) for a syscall +that has a negative number. In general, binaries that use the Mach +syscalls appear to invoke task_self() as their first syscall. + +The name, number, and number of arguments for each Mach syscall is +given below; this information was gleaned by looking through the OSF/1 +libmach.a's object files with dbx, then double-checked against the +contents of OSF/1's <mach/syscall_sw.h>. + +These calls would be very difficult to implement properly in the +OSF/1 emulation code; by its very nature, NetBSD is not Mach, and we +don't and can't provide the underlying facilities that it does. + +-- cgd + +trap name number nargs notes +---- ---- ------ ----- ----- +task_self -10 0 +thread_reply -11 0 +task_notify -12 0 +thread_self -13 0 +msg_send_old -14 3 +msg_receive_old -15 3 +msg_rpc_old -16 5 +msg_send_trap -20 4 +msg_receive_trap -21 5 +msg_rpc_trap -22 6 +lw_wire -30 3 +lw_unwire -31 1 +inode_swap_preference -40 3 +init_process -41 0 +map_fd -43 5 +htg_unix_syscall -52 3 +host_self -55 1 +host_priv_self -56 1 +swtch_pri -59 1 +swtch -60 0 +thread_switch -61 3 +mach_sctimes_0 -70 0 only if MACH_SCTIMES defined +mach_sctimes_1 -71 1 only if MACH_SCTIMES defined +mach_sctimes_2 -72 2 only if MACH_SCTIMES defined +mach_sctimes_3 -73 3 only if MACH_SCTIMES defined +mach_sctimes_4 -74 4 only if MACH_SCTIMES defined +mach_sctimes_5 -75 5 only if MACH_SCTIMES defined +mach_sctimes_6 -76 6 only if MACH_SCTIMES defined +mach_sctimes_7 -77 0 only if MACH_SCTIMES defined +mach_sctimes_8 -78 6 only if MACH_SCTIMES defined +mach_sctimes_9 -79 1 only if MACH_SCTIMES defined +mach_sctimes_10 -80 2 only if MACH_SCTIMES defined +mach_sctimes_11 -81 2 only if MACH_SCTIMES defined +mach_sctimes_port_alloc_dealloc -82 1 only if MACH_SCTIMES defined |