NetBSD/sys/compat/mach
manu 2cd19ab0b2 - WindowServer wants io_master_port? Give it a port!
- introduce mach_port_destroy (badly emulated for now)
- on fork/exec, don't set l_private, as the process might be not mature
enough to survive a proc_representative_lwp call (-> kernel panic)

Once we give WindowServer the io_master_port, it sends a message to it:

   305 WindowServer MMSG  id 2804 [0x1310009 -> 0x131000e] -12016 bytes, flags 0
x1513
   0x0000  0x00001513 0xffffd110 0x0131000e 0x01310009   .........1...1..
   0x0010  0xffffcfd0 0x00000af4 0x00000000 0x00000000   ................
   0x0020  0xffffcf60 0x00000052 0x3c646963 0x74204944   ...`...R<dict ID
   0x0030  0x3d223022 0x3e3c6b65 0x793e494f 0x50726f76   ="0"><key>IOProv
   0x0040  0x69646572 0x436c6173 0x733c2f6b 0x65793e3c   iderClass</key><
   0x0050  0x73747269 0x6e672049 0x443d2231 0x223e494f   string ID="1">IO
   0x0060  0x48494453 0x79737465 0x6d3c2f73 0x7472696e   HIDSystem</strin
   0x0070  0x673e3c2f 0x64696374 0x3e0047cc              g></dict>.G.

Did you ever dreamt about system call arguments in XML?
2003-02-02 19:06:31 +00:00
..
arch/powerpc - WindowServer wants io_master_port? Give it a port! 2003-02-02 19:06:31 +00:00
Makefile
files.mach Added thread_switch and some bits of Mach semaphores 2002-12-12 23:18:20 +00:00
mach_bootstrap.c Do a preliminary switchover of the mach code to lwp's. It compiles now 2003-01-21 04:06:06 +00:00
mach_bootstrap.h Added support for exchange of Mach messages between processes. 2002-12-17 18:42:54 +00:00
mach_clock.c Do a preliminary switchover of the mach code to lwp's. It compiles now 2003-01-21 04:06:06 +00:00
mach_clock.h - When MACH_MSG_RCV_LARGE is set, we must return a message with just a header 2002-12-27 19:57:47 +00:00
mach_errno.c - When MACH_MSG_RCV_LARGE is set, we must return a message with just a header 2002-12-27 19:57:47 +00:00
mach_errno.h cosmetic 2002-12-24 15:53:46 +00:00
mach_exec.c - WindowServer wants io_master_port? Give it a port! 2003-02-02 19:06:31 +00:00
mach_exec.h - WindowServer wants io_master_port? Give it a port! 2003-02-02 19:06:31 +00:00
mach_host.c - WindowServer wants io_master_port? Give it a port! 2003-02-02 19:06:31 +00:00
mach_host.h - WindowServer wants io_master_port? Give it a port! 2003-02-02 19:06:31 +00:00
mach_message.c Make the beast build again (but it is still probably broken) 2003-01-24 21:37:01 +00:00
mach_message.h Do a preliminary switchover of the mach code to lwp's. It compiles now 2003-01-21 04:06:06 +00:00
mach_misc.c Do a preliminary switchover of the mach code to lwp's. It compiles now 2003-01-21 04:06:06 +00:00
mach_namemap.c - WindowServer wants io_master_port? Give it a port! 2003-02-02 19:06:31 +00:00
mach_port.c - WindowServer wants io_master_port? Give it a port! 2003-02-02 19:06:31 +00:00
mach_port.h - WindowServer wants io_master_port? Give it a port! 2003-02-02 19:06:31 +00:00
mach_semaphore.c Do a preliminary switchover of the mach code to lwp's. It compiles now 2003-01-21 04:06:06 +00:00
mach_semaphore.h Added support for exchange of Mach messages between processes. 2002-12-17 18:42:54 +00:00
mach_syscall.h Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
mach_syscallargs.h Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
mach_syscalls.c Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
mach_sysent.c Regen for correct RCS ID. 2003-01-18 23:36:48 +00:00
mach_task.c Make the beast build again (but it is still probably broken) 2003-01-24 21:37:01 +00:00
mach_task.h Added support for exchange of Mach messages between processes. 2002-12-17 18:42:54 +00:00
mach_thread.c For cproc_t, use a per thread value instead of a per process value. ifdef 2003-01-30 19:14:18 +00:00
mach_thread.h Remove right duplication on thread creation, which became useless now we 2003-01-26 12:39:32 +00:00
mach_types.h Do a preliminary switchover of the mach code to lwp's. It compiles now 2003-01-21 04:06:06 +00:00
mach_vm.c Do a preliminary switchover of the mach code to lwp's. It compiles now 2003-01-21 04:06:06 +00:00
mach_vm.h Here we enter the land of IOKit where the shadows lie. 2003-01-04 15:15:01 +00:00
syscalls.conf
syscalls.master Merge the nathanw_sa branch. 2003-01-18 08:18:50 +00:00