[BACK]Return to README.mach-traps CVS log [TXT][DIR] Up to [local] / sys / compat / osf1

Annotation of sys/compat/osf1/README.mach-traps, Revision 1.1.1.1

1.1       nbrk        1: $OpenBSD: README.mach-traps,v 1.4 2001/07/09 05:15:23 fgsch Exp $
                      2: $NetBSD: README.mach-traps,v 1.1 1995/02/13 21:39:02 cgd Exp $
                      3:
                      4: Some Alpha AXP OSF/1 binaries directly use the facilities provided by
                      5: the Mach kernel that is the basis for OSF/1.  These include (but are
                      6: surely not limited to) 'dd', 'ps', and 'w'.
                      7:
                      8: Invariably, the symptom that these binaries display is that they crash
                      9: with an "unimplemented system call" trap (SIGSYS signal) for a syscall
                     10: that has a negative number.  In general, binaries that use the Mach
                     11: syscalls appear to invoke task_self() as their first syscall.
                     12:
                     13: The name, number, and number of arguments for each Mach syscall is
                     14: given below; this information was gleaned by looking through the OSF/1
                     15: libmach.a's object files with dbx, then double-checked against the
                     16: contents of OSF/1's <mach/syscall_sw.h>.
                     17:
                     18: These calls would be very difficult to implement properly in the
                     19: OSF/1 emulation code; by its very nature, NetBSD is not Mach, and we
                     20: don't and can't provide the underlying facilities that it does.
                     21:
                     22: -- cgd
                     23:
                     24: trap name                      number  nargs   notes
                     25: ---- ----                      ------  -----   -----
                     26: task_self                      -10     0
                     27: thread_reply                   -11     0
                     28: task_notify                    -12     0
                     29: thread_self                    -13     0
                     30: msg_send_old                   -14     3
                     31: msg_receive_old                        -15     3
                     32: msg_rpc_old                    -16     5
                     33: msg_send_trap                  -20     4
                     34: msg_receive_trap               -21     5
                     35: msg_rpc_trap                   -22     6
                     36: lw_wire                                -30     3
                     37: lw_unwire                      -31     1
                     38: nxm_task_init                  -33     2
                     39: nxm_sched_thread               -34     1
                     40: nxm_idle                       -35     1
                     41: nxm_wakeup_idle                        -36     1
                     42: nxm_set_pthid                  -37     2
                     43: nxm_thread_kill                        -38     2
                     44: nxm_thread_block               -39     1
                     45: nxm_thread_wakeup              -40     1
                     46: inode_swap_preference          -40     3       old call?
                     47: init_process                   -41     0
                     48: map_fd                         -43     5
                     49: nxm_resched                    -44     2
                     50: htg_unix_syscall               -52     3
                     51: host_self                      -55     1
                     52: host_priv_self                 -56     1
                     53: swtch_pri                      -59     1
                     54: swtch                          -60     0
                     55: thread_switch                  -61     3
                     56: semop_fast                     -62     4
                     57: mach_sctimes_0                 -70     0       only if MACH_SCTIMES defined
                     58: mach_sctimes_1                 -71     1       only if MACH_SCTIMES defined
                     59: mach_sctimes_2                 -72     2       only if MACH_SCTIMES defined
                     60: mach_sctimes_3                 -73     3       only if MACH_SCTIMES defined
                     61: mach_sctimes_4                 -74     4       only if MACH_SCTIMES defined
                     62: mach_sctimes_5                 -75     5       only if MACH_SCTIMES defined
                     63: mach_sctimes_6                 -76     6       only if MACH_SCTIMES defined
                     64: mach_sctimes_7                 -77     0       only if MACH_SCTIMES defined
                     65: mach_sctimes_8                 -78     6       only if MACH_SCTIMES defined
                     66: mach_sctimes_9                 -79     1       only if MACH_SCTIMES defined
                     67: mach_sctimes_10                        -80     2       only if MACH_SCTIMES defined
                     68: mach_sctimes_11                        -81     2       only if MACH_SCTIMES defined
                     69: mach_sctimes_port_alloc_dealloc        -82     1       only if MACH_SCTIMES defined

CVSweb