diff options
author | comex | 2015-02-22 22:43:43 -0500 |
---|---|---|
committer | comex | 2015-02-23 00:54:13 -0500 |
commit | d555fb6089da308956e49db7f60dfbb4d182c3df (patch) | |
tree | fad1fa0d64e7fb591d0a2030633c2a3ed76e41c7 /script/gen-manual-mach.sh | |
parent | remove old comment (diff) | |
download | substitute-d555fb6089da308956e49db7f60dfbb4d182c3df.tar.gz |
Fix vm_remap, of trouble with which the previous diagnosis was completely incorrect.
It's actually the fact that no vm_map_server actually exists on the
kernel side - even though the otherwise useless function vm_remap exists
in the kernel source, and mig generates server code for it, apparently
that server code isn't built or linked into the kobject table. Bizarre.
Anyway, switch to mach_vm_remap, which is what vm_remap in userspace
calls into.
Diffstat (limited to '')
-rwxr-xr-x | script/gen-manual-mach.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/gen-manual-mach.sh b/script/gen-manual-mach.sh index 02f7eda..b740af9 100755 --- a/script/gen-manual-mach.sh +++ b/script/gen-manual-mach.sh @@ -1,6 +1,6 @@ #!/bin/bash out=generated/manual-mach.inc.h -(mig -user /dev/stdout -server /dev/null -header /dev/null /usr/include/mach/{thread_act,vm_map}.defs | +(mig -user /dev/stdout -server /dev/null -header /dev/null /usr/include/mach/{thread_act,mach_vm}.defs | unifdef -U__MigTypeCheck | grep -v '#define USING_VOUCHERS' | sed -E 's/(mach_msg|memcpy)\(/manual_\1(/g; |