manu
d0139ca922
More iokit shell: it does nothing, but WindowServer get a bit more far
...
away and ends with a SIGSEGV.
2003-02-07 16:56:19 +00:00
manu
2e73bb80fe
More IOKit basics. Also introduced a mach_port flag to get a precise idea
...
of what port is sending a message to the kernel.
2003-02-05 23:58:09 +00:00
manu
357afc4e2f
Some bits of the first iokit call
2003-02-04 22:47:41 +00:00
manu
a643d6a63e
Fixed typo
2003-02-03 20:46:55 +00:00
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
manu
34a458238c
For cproc_t, use a per thread value instead of a per process value. ifdef
...
out l_emuldata in struct lwp until we actually use it.
2003-01-30 19:14:18 +00:00
atatat
bede65472d
Cull unused variables. Sigh.
...
PS - Cross compilers are cool.
2003-01-29 07:00:35 +00:00
manu
26723dc292
lwpified sproc emulation so that it builds and works again. COMPAT_IRIX
...
now has the level of functionnality it had before SA merge
2003-01-28 23:47:42 +00:00
atatat
59b8237f5e
No need to pick a "default address" for mmap in compat code, since we
...
merely call sys_mmap() at the end anyway, and that will pick the
address for us, if it's needed.
Likewise for checking if /dev/zero is being mapped.
2003-01-28 21:57:42 +00:00
manu
7e15e89c0a
Fixed dumb bug
2003-01-26 19:32:04 +00:00
manu
ce8bd172b2
For thread creation, make the newly created thread runnable. Mach threads
...
are now functionnal again.
2003-01-26 19:02:14 +00:00
manu
55215e5266
Remove right duplication on thread creation, which became useless now we
...
are using lwp.
Enable kill -9 to kill parent thread waiting for its child.
Use upcallret instead of child_return for the newly created lwp.
Add debug messages for thread creation.
Thread creation are still broken...
2003-01-26 12:39:32 +00:00
manu
82a9c6faf0
Use per process emuldata for the thread id for now, but this will change
...
shortly. This makes hello world working again.
2003-01-24 22:35:43 +00:00
fvdl
a3ff3a3038
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
...
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
manu
cb771e3c64
Make the beast build again (but it is still probably broken)
2003-01-24 21:37:01 +00:00
rafal
4490fd7293
Last bit of LWP'ification of compat_irix; this is probably wrong, but at
...
least it compiles and manu said he'd fix it up and test the whole kit when
he had a chance.
2003-01-22 21:04:50 +00:00
christos
2bb5209b1b
lwp'ify
2003-01-22 17:48:02 +00:00
christos
ed339f5241
regen.
2003-01-22 17:47:47 +00:00
christos
bcc3424bc3
regen
2003-01-22 17:47:35 +00:00
christos
498aa03f2a
lwp conversion
2003-01-22 17:47:03 +00:00
rafal
5234d1eb92
Mechanical LWP'ification of IRIX compat code; untested as of right now.
2003-01-22 12:58:22 +00:00
matt
b03d17694a
Do a preliminary switchover of the mach code to lwp's. It compiles now
...
but probably doesn't work. That's for someone who understand this code
better.
2003-01-21 04:06:06 +00:00
matt
de92ce633f
Regen.
2003-01-21 04:02:37 +00:00
matt
d8ad92c6b6
Add <sys/sa.h>
2003-01-21 04:02:10 +00:00
matt
312dfd8487
Adapt to the LWP world.
2003-01-21 04:01:09 +00:00
matt
e093b867e9
Regen.
2003-01-21 04:00:02 +00:00
matt
6d793da904
Add <sys/sa.h>
2003-01-21 03:59:27 +00:00
jdolecek
d4ad86a080
finish LWPify
2003-01-21 03:16:06 +00:00
martin
5adc155ebd
Fix lwp_wait syscallargs. This closes PR 19941.
2003-01-20 08:27:40 +00:00
simonb
b4cf696706
Don't need a semi-colon after the closing brace of a function.
2003-01-20 07:18:59 +00:00
simonb
276fd1665c
The Double-Semi-Colon Police.
2003-01-20 05:29:53 +00:00
simonb
2eaedc2774
Remove variables that are only assigned too but not referenced.
2003-01-20 01:35:11 +00:00
thorpej
20ba6d6368
Regen to get correct RCS ID.
2003-01-19 16:49:12 +00:00
thorpej
39279e53b5
Merge the nathanw_sa branch.
2003-01-19 16:41:46 +00:00
thorpej
f17177355f
Regen for correct RCS ID.
2003-01-18 23:43:25 +00:00
thorpej
d88bc9c3a2
Regen for correct RCS ID.
2003-01-18 23:36:48 +00:00
thorpej
9509ca1682
Regen for correct RCS IDs.
2003-01-18 23:36:09 +00:00
thorpej
6f62ffcd13
Regen to get correct RCS IDs.
2003-01-18 23:34:34 +00:00
thorpej
a03cb2b851
Regen to get correct RCS ID.
2003-01-18 23:28:15 +00:00
christos
c0b8b6d8c6
add compat_ossaudio
2003-01-18 22:34:23 +00:00
jdolecek
79509d7602
LWPify
2003-01-18 21:26:36 +00:00
thorpej
41978f782e
Merge the nathanw_sa branch.
2003-01-18 21:21:28 +00:00
thorpej
8c0ee6a16b
Merge the nathanw_sa branch.
2003-01-18 17:31:06 +00:00
thorpej
6576211dc0
Regen: Merge the nathanw_sa branch.
2003-01-18 08:49:59 +00:00
thorpej
71f181a907
Merge the nathanw_sa branch.
2003-01-18 08:49:22 +00:00
thorpej
6881e93b29
Regen: Merge the nathanw_sa branch.
2003-01-18 08:45:04 +00:00
thorpej
9b46ebe0bd
Merge the nathanw_sa branch.
2003-01-18 08:44:26 +00:00
thorpej
84797271c2
Regen: Merge the nathanw_sa branch.
2003-01-18 08:38:50 +00:00
thorpej
540ba7bda5
Merge the nathanw_sa branch.
2003-01-18 08:38:14 +00:00
thorpej
afdb47f3fb
Regen: Merge the nathanw_sa branch.
2003-01-18 08:36:45 +00:00