aboutsummaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorcomex2015-02-22 22:43:43 -0500
committercomex2015-02-23 00:54:13 -0500
commitd555fb6089da308956e49db7f60dfbb4d182c3df (patch)
treefad1fa0d64e7fb591d0a2030633c2a3ed76e41c7 /script
parentremove old comment (diff)
downloadsubstitute-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 'script')
-rwxr-xr-xscript/gen-manual-mach.sh2
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;