head 1.14; access; symbols perseant-exfatfs-base-20250801:1.14 perseant-exfatfs-base-20240630:1.14 perseant-exfatfs:1.14.0.36 perseant-exfatfs-base:1.14 bouyer-sunxi-drm:1.14.0.34 bouyer-sunxi-drm-base:1.14 cjep_sun2x:1.14.0.32 cjep_sun2x-base:1.14 cjep_staticlib_x-base1:1.14 cjep_staticlib_x:1.14.0.30 cjep_staticlib_x-base:1.14 thorpej-futex-base:1.14 bouyer-xenpvh-base2:1.14 phil-wifi-20200421:1.14 bouyer-xenpvh-base1:1.14 phil-wifi-20200411:1.14 bouyer-xenpvh:1.14.0.28 bouyer-xenpvh-base:1.14 phil-wifi-20200406:1.14 ad-namecache-base3:1.14 ad-namecache-base2:1.14 ad-namecache-base1:1.14 ad-namecache:1.14.0.26 ad-namecache-base:1.14 isaki-audio2:1.14.0.24 isaki-audio2-base:1.14 pgoyette-compat-merge-20190127:1.14 pgoyette-compat-20190127:1.14 pgoyette-compat-20190118:1.14 pgoyette-compat-1226:1.14 pgoyette-compat-1126:1.14 pgoyette-compat-1020:1.14 pgoyette-compat-0930:1.14 pgoyette-compat-0906:1.14 pgoyette-compat-0728:1.14 pgoyette-compat-0625:1.14 pgoyette-compat-0521:1.14 pgoyette-compat-0502:1.14 pgoyette-compat-0422:1.14 pgoyette-compat-0415:1.14 pgoyette-compat-0407:1.14 pgoyette-compat-0330:1.14 pgoyette-compat-0322:1.14 pgoyette-compat-0315:1.14 pgoyette-compat:1.14.0.22 pgoyette-compat-base:1.14 perseant-stdc-iso10646:1.14.0.20 perseant-stdc-iso10646-base:1.14 prg-localcount2-base3:1.14 prg-localcount2-base2:1.14 prg-localcount2-base1:1.14 prg-localcount2:1.14.0.18 prg-localcount2-base:1.14 pgoyette-localcount-20170426:1.14 bouyer-socketcan-base1:1.14 pgoyette-localcount-20170320:1.14 bouyer-socketcan:1.14.0.16 bouyer-socketcan-base:1.14 pgoyette-localcount-20170107:1.14 pgoyette-localcount-20161104:1.14 localcount-20160914:1.14 pgoyette-localcount-20160806:1.14 pgoyette-localcount-20160726:1.14 pgoyette-localcount:1.14.0.14 pgoyette-localcount-base:1.14 netbsd-5-2-3-RELEASE:1.13 netbsd-5-1-5-RELEASE:1.13 yamt-pagecache-base9:1.14 yamt-pagecache-tag8:1.14 tls-earlyentropy:1.14.0.12 tls-earlyentropy-base:1.14 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.14 riastradh-drm2-base3:1.14 netbsd-5-2-2-RELEASE:1.13 netbsd-5-1-4-RELEASE:1.13 netbsd-5-2-1-RELEASE:1.13 netbsd-5-1-3-RELEASE:1.13 rmind-smpnet-nbase:1.14 rmind-smpnet:1.14.0.8 rmind-smpnet-base:1.14 agc-symver:1.14.0.10 agc-symver-base:1.14 tls-maxphys-base:1.14 yamt-pagecache-base8:1.14 netbsd-5-2:1.13.0.108 yamt-pagecache-base7:1.14 netbsd-5-2-RELEASE:1.13 netbsd-5-2-RC1:1.13 yamt-pagecache-base6:1.14 yamt-pagecache-base5:1.14 yamt-pagecache-base4:1.14 netbsd-5-1-2-RELEASE:1.13 netbsd-5-1-1-RELEASE:1.13 jmcneill-usbmp:1.14.0.6 jmcneill-usbmp-base:1.14 jmcneill-audiomp3:1.14.0.4 jmcneill-audiomp3-base:1.14 yamt-pagecache-base3:1.14 yamt-pagecache-base2:1.14 yamt-pagecache:1.14.0.2 yamt-pagecache-base:1.14 rmind-uvmplock-nbase:1.14 bouyer-quota2-nbase:1.13 bouyer-quota2:1.13.0.106 bouyer-quota2-base:1.13 jruoho-x86intr:1.13.0.104 jruoho-x86intr-base:1.13 matt-mips64-premerge-20101231:1.13 matt-nb5-mips64-premerge-20101231:1.13 matt-nb5-pq3:1.13.0.102 matt-nb5-pq3-base:1.13 netbsd-5-1:1.13.0.100 netbsd-5-1-RELEASE:1.13 uebayasi-xip-base4:1.13 uebayasi-xip-base3:1.13 yamt-nfs-mp-base11:1.13 netbsd-5-1-RC4:1.13 matt-nb5-mips64-k15:1.13 uebayasi-xip-base2:1.13 yamt-nfs-mp-base10:1.13 netbsd-5-1-RC3:1.13 netbsd-5-1-RC2:1.13 uebayasi-xip-base1:1.13 netbsd-5-1-RC1:1.13 rmind-uvmplock:1.13.0.98 rmind-uvmplock-base:1.14 yamt-nfs-mp-base9:1.13 uebayasi-xip:1.13.0.96 uebayasi-xip-base:1.13 netbsd-5-0-2-RELEASE:1.13 matt-nb5-mips64-premerge-20091211:1.13 matt-premerge-20091211:1.13 yamt-nfs-mp-base8:1.13 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.13 matt-nb4-mips64-k7-u2a-k9b:1.13 matt-nb5-mips64-u1-k1-k5:1.13 yamt-nfs-mp-base7:1.13 matt-nb5-mips64:1.13.0.94 netbsd-5-0-1-RELEASE:1.13 jymxensuspend-base:1.13 yamt-nfs-mp-base6:1.13 yamt-nfs-mp-base5:1.13 yamt-nfs-mp-base4:1.13 jym-xensuspend-nbase:1.13 yamt-nfs-mp-base3:1.13 nick-hppapmap-base4:1.13 nick-hppapmap-base3:1.13 netbsd-5-0:1.13.0.92 netbsd-5-0-RELEASE:1.13 netbsd-5-0-RC4:1.13 netbsd-5-0-RC3:1.13 nick-hppapmap-base2:1.13 netbsd-5-0-RC2:1.13 jym-xensuspend:1.13.0.90 jym-xensuspend-base:1.13 netbsd-5-0-RC1:1.13 haad-dm-base2:1.13 haad-nbase2:1.13 ad-audiomp2:1.13.0.88 ad-audiomp2-base:1.13 netbsd-5:1.13.0.86 netbsd-5-base:1.13 nick-hppapmap:1.13.0.84 nick-hppapmap-base:1.13 matt-mips64-base2:1.13 matt-mips64:1.13.0.82 haad-dm-base1:1.13 wrstuden-revivesa-base-4:1.13 netbsd-4-0-1-RELEASE:1.13 wrstuden-revivesa-base-3:1.13 wrstuden-revivesa-base-2:1.13 wrstuden-fixsa-newbase:1.13 nick-csl-alignment-base5:1.13 haad-dm:1.13.0.80 haad-dm-base:1.13 wrstuden-revivesa-base-1:1.13 simonb-wapbl-nbase:1.13 yamt-pf42-base4:1.13 simonb-wapbl:1.13.0.78 simonb-wapbl-base:1.13 yamt-pf42-base3:1.13 hpcarm-cleanup-nbase:1.13 yamt-pf42-baseX:1.13 yamt-pf42-base2:1.13 yamt-nfs-mp-base2:1.13 wrstuden-revivesa:1.13.0.76 wrstuden-revivesa-base:1.13 yamt-nfs-mp:1.13.0.74 yamt-nfs-mp-base:1.13 yamt-pf42:1.13.0.72 yamt-pf42-base:1.13 ad-socklock-base1:1.13 yamt-lazymbuf-base15:1.13 yamt-lazymbuf-base14:1.13 keiichi-mipv6-nbase:1.13 mjf-devfs2:1.13.0.70 mjf-devfs2-base:1.13 nick-net80211-sync:1.13.0.68 nick-net80211-sync-base:1.13 keiichi-mipv6:1.13.0.66 keiichi-mipv6-base:1.13 bouyer-xeni386-merge1:1.13 matt-armv6-prevmlocking:1.13 wrstuden-fixsa-base-1:1.13 vmlocking2-base3:1.13 netbsd-4-0:1.13.0.64 netbsd-4-0-RELEASE:1.13 bouyer-xeni386-nbase:1.13 yamt-kmem-base3:1.13 cube-autoconf:1.13.0.62 cube-autoconf-base:1.13 yamt-kmem-base2:1.13 bouyer-xeni386:1.13.0.60 bouyer-xeni386-base:1.13 yamt-kmem:1.13.0.58 yamt-kmem-base:1.13 vmlocking2-base2:1.13 reinoud-bufcleanup-nbase:1.13 vmlocking2:1.13.0.56 vmlocking2-base1:1.13 netbsd-4-0-RC5:1.13 matt-nb4-arm:1.13.0.54 matt-nb4-arm-base:1.13 matt-armv6-nbase:1.13 jmcneill-base:1.13 netbsd-4-0-RC4:1.13 mjf-devfs:1.13.0.52 mjf-devfs-base:1.13 bouyer-xenamd64-base2:1.13 vmlocking-nbase:1.13 yamt-x86pmap-base4:1.13 bouyer-xenamd64:1.13.0.50 bouyer-xenamd64-base:1.13 netbsd-4-0-RC3:1.13 yamt-x86pmap-base3:1.13 yamt-x86pmap-base2:1.13 netbsd-4-0-RC2:1.13 yamt-x86pmap:1.13.0.48 yamt-x86pmap-base:1.13 netbsd-4-0-RC1:1.13 matt-armv6:1.13.0.46 matt-armv6-base:1.13 matt-mips64-base:1.13 jmcneill-pm:1.13.0.44 jmcneill-pm-base:1.13 hpcarm-cleanup:1.13.0.42 hpcarm-cleanup-base:1.13 nick-csl-alignment:1.13.0.40 nick-csl-alignment-base:1.13 netbsd-3-1-1-RELEASE:1.12 netbsd-3-0-3-RELEASE:1.12 yamt-idlelwp-base8:1.13 wrstuden-fixsa:1.13.0.38 wrstuden-fixsa-base:1.13 thorpej-atomic:1.13.0.36 thorpej-atomic-base:1.13 reinoud-bufcleanup:1.13.0.34 reinoud-bufcleanup-base:1.13 mjf-ufs-trans:1.13.0.32 mjf-ufs-trans-base:1.13 vmlocking:1.13.0.30 vmlocking-base:1.13 ad-audiomp:1.13.0.28 ad-audiomp-base:1.13 yamt-idlelwp:1.13.0.26 post-newlock2-merge:1.13 newlock2-nbase:1.13 yamt-splraiseipl-base5:1.13 yamt-splraiseipl-base4:1.13 yamt-splraiseipl-base3:1.13 abandoned-netbsd-4-base:1.13 abandoned-netbsd-4:1.13.0.18 netbsd-3-1:1.12.0.14 netbsd-3-1-RELEASE:1.12 netbsd-3-0-2-RELEASE:1.12 yamt-splraiseipl-base2:1.13 netbsd-3-1-RC4:1.12 yamt-splraiseipl:1.13.0.22 yamt-splraiseipl-base:1.13 netbsd-3-1-RC3:1.12 yamt-pdpolicy-base9:1.13 newlock2:1.13.0.20 newlock2-base:1.13 yamt-pdpolicy-base8:1.13 netbsd-3-1-RC2:1.12 netbsd-3-1-RC1:1.12 yamt-pdpolicy-base7:1.13 netbsd-4:1.13.0.24 netbsd-4-base:1.13 yamt-pdpolicy-base6:1.13 chap-midi-nbase:1.13 netbsd-3-0-1-RELEASE:1.12 gdamore-uart:1.13.0.16 gdamore-uart-base:1.13 simonb-timcounters-final:1.13 yamt-pdpolicy-base5:1.13 chap-midi:1.13.0.14 chap-midi-base:1.13 yamt-pdpolicy-base4:1.13 yamt-pdpolicy-base3:1.13 peter-altq-base:1.13 peter-altq:1.13.0.12 yamt-pdpolicy-base2:1.13 elad-kernelauth-base:1.13 elad-kernelauth:1.13.0.10 yamt-pdpolicy:1.13.0.8 yamt-pdpolicy-base:1.13 yamt-uio_vmspace-base5:1.13 simonb-timecounters:1.13.0.6 simonb-timecounters-base:1.13 rpaulo-netinet-merge-pcb:1.13.0.4 rpaulo-netinet-merge-pcb-base:1.13 yamt-uio_vmspace:1.13.0.2 netbsd-3-0:1.12.0.12 netbsd-3-0-RELEASE:1.12 netbsd-3-0-RC6:1.12 yamt-readahead-base3:1.12 netbsd-3-0-RC5:1.12 netbsd-3-0-RC4:1.12 netbsd-3-0-RC3:1.12 yamt-readahead-base2:1.12 netbsd-3-0-RC2:1.12 yamt-readahead-pervnode:1.12 yamt-readahead-perfile:1.12 yamt-readahead:1.12.0.10 yamt-readahead-base:1.12 netbsd-3-0-RC1:1.12 yamt-vop-base3:1.12 netbsd-2-0-3-RELEASE:1.10 netbsd-2-1:1.10.0.6 yamt-vop-base2:1.12 thorpej-vnode-attr:1.12.0.8 thorpej-vnode-attr-base:1.12 netbsd-2-1-RELEASE:1.10 yamt-vop:1.12.0.6 yamt-vop-base:1.12 netbsd-2-1-RC6:1.10 netbsd-2-1-RC5:1.10 netbsd-2-1-RC4:1.10 netbsd-2-1-RC3:1.10 netbsd-2-1-RC2:1.10 netbsd-2-1-RC1:1.10 yamt-lazymbuf:1.12.0.4 yamt-km-base4:1.12 netbsd-2-0-2-RELEASE:1.10 yamt-km-base3:1.12 netbsd-3:1.12.0.2 netbsd-3-base:1.12 yamt-km-base2:1.11 yamt-km:1.11.0.8 yamt-km-base:1.11 kent-audio2:1.11.0.6 kent-audio2-base:1.12 netbsd-2-0-1-RELEASE:1.10 kent-audio1-beforemerge:1.11 netbsd-2:1.10.0.4 netbsd-2-base:1.10 kent-audio1:1.11.0.4 kent-audio1-base:1.11 netbsd-2-0-RELEASE:1.10 netbsd-2-0-RC5:1.10 netbsd-2-0-RC4:1.10 netbsd-2-0-RC3:1.10 netbsd-2-0-RC2:1.10 netbsd-2-0-RC1:1.10 ktrace-lwp-base:1.12 ktrace-lwp:1.11.0.2 netbsd-2-0:1.10.0.2 netbsd-2-0-base:1.10; locks; strict; comment @# @; 1.14 date 2011.04.26.15.51.30; author joerg; state dead; branches; next 1.13; 1.13 date 2005.12.11.12.20.20; author christos; state Exp; branches 1.13.98.1 1.13.104.1; next 1.12; 1.12 date 2005.02.26.23.10.20; author perry; state Exp; branches; next 1.11; 1.11 date 2004.07.24.15.46.02; author manu; state Exp; branches 1.11.2.1 1.11.6.1 1.11.8.1; next 1.10; 1.10 date 2003.12.29.01.30.27; author manu; state Exp; branches; next 1.9; 1.9 date 2003.12.24.23.22.22; author manu; state Exp; branches; next 1.8; 1.8 date 2003.12.09.12.13.44; author manu; state Exp; branches; next 1.7; 1.7 date 2003.11.30.20.42.03; author manu; state Exp; branches; next 1.6; 1.6 date 2003.11.29.23.56.08; author manu; state Exp; branches; next 1.5; 1.5 date 2003.11.18.01.40.18; author manu; state Exp; branches; next 1.4; 1.4 date 2003.11.17.01.52.14; author manu; state Exp; branches; next 1.3; 1.3 date 2003.11.15.22.55.35; author manu; state Exp; branches; next 1.2; 1.2 date 2003.11.15.17.44.39; author manu; state Exp; branches; next 1.1; 1.1 date 2003.11.13.13.40.39; author manu; state Exp; branches; next ; 1.13.98.1 date 2011.05.31.03.04.31; author rmind; state dead; branches; next ; 1.13.104.1 date 2011.06.06.09.07.30; author jruoho; state dead; branches; next ; 1.11.2.1 date 2004.07.24.15.46.02; author skrll; state dead; branches; next 1.11.2.2; 1.11.2.2 date 2004.08.03.10.44.07; author skrll; state Exp; branches; next 1.11.2.3; 1.11.2.3 date 2004.09.18.14.43.46; author skrll; state Exp; branches; next 1.11.2.4; 1.11.2.4 date 2004.09.21.13.25.42; author skrll; state Exp; branches; next 1.11.2.5; 1.11.2.5 date 2005.03.04.16.40.12; author skrll; state Exp; branches; next ; 1.11.6.1 date 2005.04.29.11.28.41; author kent; state Exp; branches; next ; 1.11.8.1 date 2005.03.19.08.33.42; author yamt; state Exp; branches; next ; desc @@ 1.14 log @Remove Darwin, MACH and Mach-O support. @ text @ $NetBSD: mach_services.master,v 1.13 2005/12/11 12:20:20 christos Exp $ ; ; Mach services list. ; #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include %% ; ; Port Notification messages ; 64 OBSOL notify_first 65 NODEF notify_port_deleted 66 OBSOL notify_msg_accepted 67 OBSOL notify_ownership_rights 68 OBSOL notify_receive_rights 69 NODEF notify_port_destroyed 70 NODEF notify_port_no_senders 71 NODEF notify_port_send_once 72 NODEF notify_port_dead_name ; ; Host subsystem ; 200 STD host_info 201 UNIMPL host_kernel_version 202 STD host_page_size 203 UNIMPL memory_object_memory_entry 204 UNIMPL host_processor_info 205 STD host_get_io_master 206 STD host_get_clock_service 207 UNIMPL kmod_get_info 208 UNIMPL host_zone_info 209 UNIMPL host_virtual_physical_table_info 210 UNIMPL host_ipc_hash_info ; Probably Darwin specific... 211 UNIMPL enable_bluebox 212 UNIMPL disable_bluebox 213 STD processor_set_default 214 UNIMPL processor_set_create 215 UNIMPL memory_object_memory_entry_64 216 UNIMPL host_statistics ; ; Host subsystem (private) ; 400 UNIMPL host_get_boot_info 401 UNIMPL host_reboot 402 UNIMPL host_priv_statistics ; Implemented by mach_init, clashes with host_default_memory_manager 403 UNIMPL boostrap_register ; Implemented by mach_init, clashes with vm_wire 404 STD bootstrap_look_up 405 UNIMPL thread_wire 406 UNIMPL vm_allocate_cpm 407 UNIMPL host_processors 408 UNIMPL host_get_clock_control 409 UNIMPL kmod_create 410 UNIMPL kmod_destroy 411 UNIMPL kmod_control 412 UNIMPL host_get_special_port 413 UNIMPL host_set_special_port 414 UNIMPL host_set_exception_ports 415 UNIMPL host_get_exception_ports 416 UNIMPL host_swap_exception_ports 417 UNIMPL host_load_symbol_table 418 UNIMPL task_swappable 419 UNIMPL host_processor_sets 420 STD host_processor_set_priv 421 UNIMPL set_dp_control_port 422 UNIMPL get_dp_control_port 423 UNIMPL host_set_UNDServer 424 UNIMPL host_get_UNDServer ; ; Host security ; 600 UNIMPL host_security_create_task_token 601 UNIMPL host_security_set_task_token ; ; Clock subsystem ; 1000 STD clock_get_time 1001 UNIMPL clock_get_attributes 1002 UNIMPL clock_alarm ; ; Clock subsystem (private) ; 1200 UNIMPL clock_set_time 1201 UNIMPL clock_set_attributes ; ; Memoey management ; 2000 UNIMPL memory_object_get_attributes 2001 UNIMPL memory_object_change_attributes 2002 UNIMPL memory_object_synchronize_completed 2003 UNIMPL memory_object_lock_request 2004 UNIMPL memory_object_destroy 2005 UNIMPL memory_object_upl_request 2006 UNIMPL memory_object_super_upl_request 2007 UNIMPL memory_object_page_op 2008 UNIMPL memory_object_recover_named 2009 UNIMPL memory_object_release_name ; ; UPL (External memory management) ; 2050 UNIMPL upl_abort 2051 UNIMPL upl_abort_range 2052 UNIMPL upl_commit 2053 UNIMPL upl_commit_range ; ; Memory management (control) ; 2200 UNIMPL memory_object_init 2201 UNIMPL memory_object_terminate 2202 UNIMPL memory_object_data_request 2203 UNIMPL memory_object_data_return 2204 UNIMPL memory_object_data_initialize 2205 UNIMPL memory_object_data_unlock 2206 UNIMPL memory_object_synchronize 2207 UNIMPL memory_object_unmap ; ; Memory management (default) ; 2250 UNIMPL memory_object_create ; ; Default pager (object) ; 2275 UNIMPL default_pager_object_create 2276 UNIMPL default_pager_info 2277 UNIMPL default_pager_objects 2278 UNIMPL default_pager_object_pages 2279 UNIMPL default_pager_backing_store_create 2280 UNIMPL default_pager_backing_store_delete 2281 UNIMPL default_pager_add_segment 2282 UNIMPL default_pager_backing_store_info 2283 UNIMPL default_pager_add_file 2284 UNIMPL default_pager_triggers ; ; Default pager (alerts) ; 2295 UNIMPL default_pager_space_alert ; ; Mach exception interface ; 2401 NODEF exception_raise 2402 NODEF exception_raise_state 2403 NODEF exception_raise_state_identity ; ; Profiling ; 2450 UNIMPL samples 2451 UNIMPL notices ; ; Mach exception Replies. ; Defined because the kernel is the client here: ; it has to handle replies instead of reequest. ; 2501 STD exception_raise 2502 STD exception_raise_state 2503 STD exception_raise_state_identity ; ; Mach IOKit ; 2800 STD io_object_get_class 2801 STD io_object_conforms_to 2802 STD io_iterator_next 2803 STD io_iterator_reset 2804 STD io_service_get_matching_services 2805 STD io_registry_entry_get_property 2806 UNIMPL io_registry_create_iterator 2807 UNIMPL io_registry_iterator_enter_entry 2808 UNIMPL io_registry_iterator_exit_entry 2809 STD io_registry_entry_from_path 2810 UNIMPL io_registry_entry_get_name 2811 STD io_registry_entry_get_properties 2812 UNIMPL io_registry_entry_get_property_bytes 2813 STD io_registry_entry_get_child_iterator 2814 STD io_registry_entry_get_parent_iterator 2815 STD io_service_open 2816 STD io_service_close 2817 STD io_connect_get_service 2818 STD io_connect_set_notification_port 2819 STD io_connect_map_memory 2820 STD io_connect_add_client 2821 STD io_connect_set_properties 2822 STD io_connect_method_scalari_scalaro 2823 STD io_connect_method_scalari_structo 2824 STD io_connect_method_scalari_structi 2825 STD io_connect_method_structi_structo 2826 STD io_registry_entry_get_path 2827 STD io_registry_get_root_entry 2828 UNIMPL io_registry_entry_set_properties 2829 UNIMPL io_registry_entry_in_plane 2830 UNIMPL io_object_get_retain_count 2831 UNIMPL io_service_get_busy_state 2832 UNIMPL io_service_wait_quiet 2833 STD io_registry_entry_create_iterator 2834 UNIMPL io_iterator_is_valid 2835 UNIMPL io_make_matching 2836 UNIMPL io_catalog_send_data 2837 UNIMPL io_catalog_terminate 2838 UNIMPL io_catalog_get_data 2839 UNIMPL io_catalog_get_gen_count 2840 UNIMPL io_catalog_module_loaded 2841 UNIMPL io_catalog_reset 2842 UNIMPL io_service_request_probe 2843 STD io_registry_entry_get_name_in_plane 2844 UNIMPL io_service_match_property_table 2845 UNIMPL io_async_method_scalari_scalaro 2846 UNIMPL io_async_method_scalari_structo 2847 UNIMPL io_async_method_scalari_structi 2848 UNIMPL io_async_method_structi_structo 2849 UNIMPL io_service_add_notification 2850 STD io_service_add_interest_notification 2851 UNIMPL io_service_acknowledge_notification 2852 UNIMPL io_connect_get_notification_semaphore 2853 UNIMPL io_connect_unmap_memory 2854 STD io_registry_entry_get_location_in_plane 2855 UNIMPL io_registry_entry_get_property_recursively ; ; Processor subsystem ; 3000 UNIMPL processor_start 3001 UNIMPL processor_exit 3002 UNIMPL processor_info 3003 UNIMPL processor_control 3004 UNIMPL processor_assign 3005 UNIMPL processor_get_assignment ; ; Mach ports ; 3200 UNIMPL port_names 3201 STD port_type 3202 UNIMPL port_rename 3203 UNIMPL port_allocate_name 3204 STD port_allocate 3205 STD port_destroy 3206 STD port_deallocate 3207 STD port_get_refs 3208 STD port_mod_refs 3210 UNIMPL port_set_mscount 3211 UNIMPL port_get_set_status 3212 STD port_move_member 3213 STD port_request_notification 3214 STD port_insert_right 3215 UNIMPL port_extract_right 3216 UNIMPL port_set_seqno 3217 STD port_get_attributes 3218 STD port_set_attributes 3219 UNIMPL port_allocate_qos 3220 UNIMPL port_allocate_full 3221 UNIMPL task_set_port_space 3222 UNIMPL port_get_srights 3223 UNIMPL port_space_info 3224 UNIMPL port_dnrequest_info 3225 UNIMPL port_kernel_object 3226 STD port_insert_member 3227 UNIMPL port_extract_member ; ; Mach tasks ; 3400 UNIMPL task_create 3401 STD task_terminate 3402 STD task_threads 3403 UNIMPL ports_register 3404 STD ports_lookup 3405 STD task_info 3406 UNIMPL task_set_info 3407 STD task_suspend 3408 STD task_resume 3409 STD task_get_special_port 3410 STD task_set_special_port 3411 UNIMPL thread_create 3412 STD thread_create_running 3413 STD task_set_exception_ports 3414 STD task_get_exception_ports 3415 UNIMPL task_swap_exception_ports 3416 UNIMPL lock_set_create 3417 UNIMPL lock_set_destroy 3418 STD semaphore_create 3419 STD semaphore_destroy 3420 UNIMPL task_policy_set 3421 UNIMPL task_policy_get 3422 UNIMPL task_sample 3423 UNIMPL task_policy 3424 UNIMPL task_set_emulation 3425 UNIMPL task_get_emulation_vector 3426 UNIMPL task_set_emulation_vector 3427 UNIMPL task_set_ras_pc 3428 UNIMPL kernel_task_create 3429 UNIMPL task_assign 3430 UNIMPL task_assign_default 3431 UNIMPL task_get_assignment 3432 UNIMPL task_set_policy ; ; Mach threads ; 3600 UNIMPL thread_terminate 3601 UNIMPL act_get_state 3602 UNIMPL act_set_state 3603 STD thread_get_state 3604 STD thread_set_state 3605 STD thread_suspend 3606 STD thread_resume 3607 STD thread_abort 3608 UNIMPL thread_abort_safely 3609 UNIMPL thread_depress_abort 3610 UNIMPL thread_get_special_port 3611 UNIMPL thread_set_special_port 3612 STD thread_info 3613 UNIMPL thread_set_exception_ports 3614 UNIMPL thread_get_exception_ports 3615 UNIMPL thread_swap_exception_ports 3616 STD thread_policy 3617 UNIMPL thread_policy_set 3618 UNIMPL thread_policy_get 3619 UNIMPL thread_sample 3620 UNIMPL etap_trace_thread 3621 UNIMPL thread_assign 3622 UNIMPL thread_assign_default 3623 UNIMPL thread_get_assignment 3624 STD thread_set_policy ; ; VM mappings ; 3800 STD vm_region 3801 STD vm_allocate 3802 STD vm_deallocate 3803 STD vm_protect 3804 STD vm_inherit 3805 STD vm_read 3806 UNIMPL vm_read_list 3807 STD vm_write 3808 STD vm_copy 3809 UNIMPL vm_read_overwrite 3810 STD vm_msync 3811 UNIMPL vm_behavior_set 3812 STD vm_map 3813 STD vm_machine_attribute 3814 UNIMPL vm_remap 3815 UNIMPL task_wire 3816 UNIMPL make_memory_entry 3817 UNIMPL vm_map_page_query 3818 UNIMPL vm_region_info 3819 UNIMPL vm_mapped_pages_info 3820 UNIMPL vm_region_object_create 3821 UNIMPL vm_region_recurse 3822 UNIMPL vm_region_recurse_64 3823 UNIMPL vm_region_info_64 3824 STD vm_region_64 3825 STD make_memory_entry_64 3826 UNIMPL vm_map_64 3827 UNIMPL vm_map_get_upl 3828 UNIMPL vm_upl_map 3829 UNIMPL vm_upl_unmap ; ; Processor set ; 4000 UNIMPL processor_set_statistics 4001 UNIMPL processor_set_destroy 4002 UNIMPL processor_set_max_priority 4003 UNIMPL processor_set_policy_enable 4004 UNIMPL processor_set_policy_disable 4005 UNIMPL processor_set_tasks 4006 UNIMPL processor_set_threads 4007 UNIMPL processor_set_policy_control 4008 UNIMPL processor_set_stack_usage 4009 UNIMPL processor_set_info ; ; Ledger ; 5000 UNIMPL ledger_create 5001 UNIMPL ledger_terminate 5002 UNIMPL ledger_transfer 5003 UNIMPL ledger_read ; ; User Notification subsystem (UNDRequest) ; 6000 UNIMPL und_execute_rpc 6001 UNIMPL und_display_notice_from_bundle_rpc 6002 UNIMPL und_display_alert_from_bundle_rpc 6003 UNIMPL und_display_custom_from_bundle_rpc 6004 UNIMPL und_display_custom_from_dictionary_rpc 6005 UNIMPL und_cancel_notification_rpc 6006 UNIMPL und_display_notice_simple_rpc 6007 UNIMPL und_display_alert_simple_rpc ; ; User Notification subsystem (UNDReply) ; 6200 UNIMPL und_alert_completed_with_result_rpc 6201 UNIMPL und_notification_created_rpc( ; ; Mach Norma ; 555001 UNIMPL task_set_child_node 555002 UNIMPL norma_node_self 555005 UNIMPL norma_task_clone 555006 UNIMPL norma_task_create 555007 UNIMPL norma_get_special_port 555008 UNIMPL norma_set_special_port 555009 UNIMPL norma_task_teleport 555012 UNIMPL norma_port_location_hint ; ; Sync, overlapping with Lock set ; ;617000 UNIMPL semaphore_create ;617001 UNIMPL semaphore_destroy ;617002 UNIMPL semaphore_signal ;617003 UNIMPL semaphore_signal_all ;617004 UNIMPL semaphore_wait ;617013 UNIMPL semaphore_signal_thread ;617014 UNIMPL semaphore_timedwait ; ; Lock set ; 617000 UNIMPL lock_acquire 617001 UNIMPL lock_release 617002 UNIMPL lock_try 617003 UNIMPL lock_make_stable 617004 UNIMPL lock_handoff 617005 UNIMPL lock_handoff_accept 617005 UNIMPL lock_set_create 617006 UNIMPL lock_set_destroy 617007 UNIMPL lock_acquire 617008 UNIMPL lock_release 617009 UNIMPL lock_try 617010 UNIMPL lock_make_stable 617011 UNIMPL lock_handoff 617012 UNIMPL lock_handoff_accept ; ; Semaphores ; 617200 UNIMPL semaphore_signal 617201 UNIMPL semaphore_signal_all 617202 UNIMPL semaphore_wait 617203 UNIMPL semaphore_signal_thread 617204 UNIMPL semaphore_timedwait 617205 UNIMPL semaphore_wait_signal 617206 UNIMPL semaphore_timedwait_signal @ 1.13 log @merge ktrace-lwp. @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.11.2.4 2005/03/04 16:40:12 skrll Exp $ @ 1.13.104.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.13 2005/12/11 12:20:20 christos Exp $ @ 1.13.98.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.13 2005/12/11 12:20:20 christos Exp $ @ 1.12 log @nuke trailing whitespace @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.11 2004/07/24 15:46:02 manu Exp $ @ 1.11 log @Added port_get_refs and port_mod_refs @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.10 2003/12/29 01:30:27 manu Exp $ d3 1 a3 1 ; Mach services list. d7 1 a7 1 d69 1 a69 1 404 STD bootstrap_look_up d182 2 a183 2 ; Mach exception Replies. ; Defined because the kernel is the client here: d197 1 a197 1 2804 STD io_service_get_matching_services d202 1 a202 1 2809 STD io_registry_entry_from_path d217 1 a217 1 2824 STD io_connect_method_scalari_structi @ 1.11.2.1 log @file mach_services.master was added on branch ktrace-lwp on 2004-08-03 10:44:07 +0000 @ text @d1 481 @ 1.11.2.2 log @Sync with HEAD @ text @a0 481 $NetBSD: mach_services.master,v 1.11.2.1 2004/08/03 10:44:07 skrll Exp $ ; ; Mach services list. ; #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include %% ; ; Port Notification messages ; 64 OBSOL notify_first 65 NODEF notify_port_deleted 66 OBSOL notify_msg_accepted 67 OBSOL notify_ownership_rights 68 OBSOL notify_receive_rights 69 NODEF notify_port_destroyed 70 NODEF notify_port_no_senders 71 NODEF notify_port_send_once 72 NODEF notify_port_dead_name ; ; Host subsystem ; 200 STD host_info 201 UNIMPL host_kernel_version 202 STD host_page_size 203 UNIMPL memory_object_memory_entry 204 UNIMPL host_processor_info 205 STD host_get_io_master 206 STD host_get_clock_service 207 UNIMPL kmod_get_info 208 UNIMPL host_zone_info 209 UNIMPL host_virtual_physical_table_info 210 UNIMPL host_ipc_hash_info ; Probably Darwin specific... 211 UNIMPL enable_bluebox 212 UNIMPL disable_bluebox 213 STD processor_set_default 214 UNIMPL processor_set_create 215 UNIMPL memory_object_memory_entry_64 216 UNIMPL host_statistics ; ; Host subsystem (private) ; 400 UNIMPL host_get_boot_info 401 UNIMPL host_reboot 402 UNIMPL host_priv_statistics ; Implemented by mach_init, clashes with host_default_memory_manager 403 UNIMPL boostrap_register ; Implemented by mach_init, clashes with vm_wire 404 STD bootstrap_look_up 405 UNIMPL thread_wire 406 UNIMPL vm_allocate_cpm 407 UNIMPL host_processors 408 UNIMPL host_get_clock_control 409 UNIMPL kmod_create 410 UNIMPL kmod_destroy 411 UNIMPL kmod_control 412 UNIMPL host_get_special_port 413 UNIMPL host_set_special_port 414 UNIMPL host_set_exception_ports 415 UNIMPL host_get_exception_ports 416 UNIMPL host_swap_exception_ports 417 UNIMPL host_load_symbol_table 418 UNIMPL task_swappable 419 UNIMPL host_processor_sets 420 STD host_processor_set_priv 421 UNIMPL set_dp_control_port 422 UNIMPL get_dp_control_port 423 UNIMPL host_set_UNDServer 424 UNIMPL host_get_UNDServer ; ; Host security ; 600 UNIMPL host_security_create_task_token 601 UNIMPL host_security_set_task_token ; ; Clock subsystem ; 1000 STD clock_get_time 1001 UNIMPL clock_get_attributes 1002 UNIMPL clock_alarm ; ; Clock subsystem (private) ; 1200 UNIMPL clock_set_time 1201 UNIMPL clock_set_attributes ; ; Memoey management ; 2000 UNIMPL memory_object_get_attributes 2001 UNIMPL memory_object_change_attributes 2002 UNIMPL memory_object_synchronize_completed 2003 UNIMPL memory_object_lock_request 2004 UNIMPL memory_object_destroy 2005 UNIMPL memory_object_upl_request 2006 UNIMPL memory_object_super_upl_request 2007 UNIMPL memory_object_page_op 2008 UNIMPL memory_object_recover_named 2009 UNIMPL memory_object_release_name ; ; UPL (External memory management) ; 2050 UNIMPL upl_abort 2051 UNIMPL upl_abort_range 2052 UNIMPL upl_commit 2053 UNIMPL upl_commit_range ; ; Memory management (control) ; 2200 UNIMPL memory_object_init 2201 UNIMPL memory_object_terminate 2202 UNIMPL memory_object_data_request 2203 UNIMPL memory_object_data_return 2204 UNIMPL memory_object_data_initialize 2205 UNIMPL memory_object_data_unlock 2206 UNIMPL memory_object_synchronize 2207 UNIMPL memory_object_unmap ; ; Memory management (default) ; 2250 UNIMPL memory_object_create ; ; Default pager (object) ; 2275 UNIMPL default_pager_object_create 2276 UNIMPL default_pager_info 2277 UNIMPL default_pager_objects 2278 UNIMPL default_pager_object_pages 2279 UNIMPL default_pager_backing_store_create 2280 UNIMPL default_pager_backing_store_delete 2281 UNIMPL default_pager_add_segment 2282 UNIMPL default_pager_backing_store_info 2283 UNIMPL default_pager_add_file 2284 UNIMPL default_pager_triggers ; ; Default pager (alerts) ; 2295 UNIMPL default_pager_space_alert ; ; Mach exception interface ; 2401 NODEF exception_raise 2402 NODEF exception_raise_state 2403 NODEF exception_raise_state_identity ; ; Profiling ; 2450 UNIMPL samples 2451 UNIMPL notices ; ; Mach exception Replies. ; Defined because the kernel is the client here: ; it has to handle replies instead of reequest. ; 2501 STD exception_raise 2502 STD exception_raise_state 2503 STD exception_raise_state_identity ; ; Mach IOKit ; 2800 STD io_object_get_class 2801 STD io_object_conforms_to 2802 STD io_iterator_next 2803 STD io_iterator_reset 2804 STD io_service_get_matching_services 2805 STD io_registry_entry_get_property 2806 UNIMPL io_registry_create_iterator 2807 UNIMPL io_registry_iterator_enter_entry 2808 UNIMPL io_registry_iterator_exit_entry 2809 STD io_registry_entry_from_path 2810 UNIMPL io_registry_entry_get_name 2811 STD io_registry_entry_get_properties 2812 UNIMPL io_registry_entry_get_property_bytes 2813 STD io_registry_entry_get_child_iterator 2814 STD io_registry_entry_get_parent_iterator 2815 STD io_service_open 2816 STD io_service_close 2817 STD io_connect_get_service 2818 STD io_connect_set_notification_port 2819 STD io_connect_map_memory 2820 STD io_connect_add_client 2821 STD io_connect_set_properties 2822 STD io_connect_method_scalari_scalaro 2823 STD io_connect_method_scalari_structo 2824 STD io_connect_method_scalari_structi 2825 STD io_connect_method_structi_structo 2826 STD io_registry_entry_get_path 2827 STD io_registry_get_root_entry 2828 UNIMPL io_registry_entry_set_properties 2829 UNIMPL io_registry_entry_in_plane 2830 UNIMPL io_object_get_retain_count 2831 UNIMPL io_service_get_busy_state 2832 UNIMPL io_service_wait_quiet 2833 STD io_registry_entry_create_iterator 2834 UNIMPL io_iterator_is_valid 2835 UNIMPL io_make_matching 2836 UNIMPL io_catalog_send_data 2837 UNIMPL io_catalog_terminate 2838 UNIMPL io_catalog_get_data 2839 UNIMPL io_catalog_get_gen_count 2840 UNIMPL io_catalog_module_loaded 2841 UNIMPL io_catalog_reset 2842 UNIMPL io_service_request_probe 2843 STD io_registry_entry_get_name_in_plane 2844 UNIMPL io_service_match_property_table 2845 UNIMPL io_async_method_scalari_scalaro 2846 UNIMPL io_async_method_scalari_structo 2847 UNIMPL io_async_method_scalari_structi 2848 UNIMPL io_async_method_structi_structo 2849 UNIMPL io_service_add_notification 2850 STD io_service_add_interest_notification 2851 UNIMPL io_service_acknowledge_notification 2852 UNIMPL io_connect_get_notification_semaphore 2853 UNIMPL io_connect_unmap_memory 2854 STD io_registry_entry_get_location_in_plane 2855 UNIMPL io_registry_entry_get_property_recursively ; ; Processor subsystem ; 3000 UNIMPL processor_start 3001 UNIMPL processor_exit 3002 UNIMPL processor_info 3003 UNIMPL processor_control 3004 UNIMPL processor_assign 3005 UNIMPL processor_get_assignment ; ; Mach ports ; 3200 UNIMPL port_names 3201 STD port_type 3202 UNIMPL port_rename 3203 UNIMPL port_allocate_name 3204 STD port_allocate 3205 STD port_destroy 3206 STD port_deallocate 3207 STD port_get_refs 3208 STD port_mod_refs 3210 UNIMPL port_set_mscount 3211 UNIMPL port_get_set_status 3212 STD port_move_member 3213 STD port_request_notification 3214 STD port_insert_right 3215 UNIMPL port_extract_right 3216 UNIMPL port_set_seqno 3217 STD port_get_attributes 3218 STD port_set_attributes 3219 UNIMPL port_allocate_qos 3220 UNIMPL port_allocate_full 3221 UNIMPL task_set_port_space 3222 UNIMPL port_get_srights 3223 UNIMPL port_space_info 3224 UNIMPL port_dnrequest_info 3225 UNIMPL port_kernel_object 3226 STD port_insert_member 3227 UNIMPL port_extract_member ; ; Mach tasks ; 3400 UNIMPL task_create 3401 STD task_terminate 3402 STD task_threads 3403 UNIMPL ports_register 3404 STD ports_lookup 3405 STD task_info 3406 UNIMPL task_set_info 3407 STD task_suspend 3408 STD task_resume 3409 STD task_get_special_port 3410 STD task_set_special_port 3411 UNIMPL thread_create 3412 STD thread_create_running 3413 STD task_set_exception_ports 3414 STD task_get_exception_ports 3415 UNIMPL task_swap_exception_ports 3416 UNIMPL lock_set_create 3417 UNIMPL lock_set_destroy 3418 STD semaphore_create 3419 STD semaphore_destroy 3420 UNIMPL task_policy_set 3421 UNIMPL task_policy_get 3422 UNIMPL task_sample 3423 UNIMPL task_policy 3424 UNIMPL task_set_emulation 3425 UNIMPL task_get_emulation_vector 3426 UNIMPL task_set_emulation_vector 3427 UNIMPL task_set_ras_pc 3428 UNIMPL kernel_task_create 3429 UNIMPL task_assign 3430 UNIMPL task_assign_default 3431 UNIMPL task_get_assignment 3432 UNIMPL task_set_policy ; ; Mach threads ; 3600 UNIMPL thread_terminate 3601 UNIMPL act_get_state 3602 UNIMPL act_set_state 3603 STD thread_get_state 3604 STD thread_set_state 3605 STD thread_suspend 3606 STD thread_resume 3607 STD thread_abort 3608 UNIMPL thread_abort_safely 3609 UNIMPL thread_depress_abort 3610 UNIMPL thread_get_special_port 3611 UNIMPL thread_set_special_port 3612 STD thread_info 3613 UNIMPL thread_set_exception_ports 3614 UNIMPL thread_get_exception_ports 3615 UNIMPL thread_swap_exception_ports 3616 STD thread_policy 3617 UNIMPL thread_policy_set 3618 UNIMPL thread_policy_get 3619 UNIMPL thread_sample 3620 UNIMPL etap_trace_thread 3621 UNIMPL thread_assign 3622 UNIMPL thread_assign_default 3623 UNIMPL thread_get_assignment 3624 STD thread_set_policy ; ; VM mappings ; 3800 STD vm_region 3801 STD vm_allocate 3802 STD vm_deallocate 3803 STD vm_protect 3804 STD vm_inherit 3805 STD vm_read 3806 UNIMPL vm_read_list 3807 STD vm_write 3808 STD vm_copy 3809 UNIMPL vm_read_overwrite 3810 STD vm_msync 3811 UNIMPL vm_behavior_set 3812 STD vm_map 3813 STD vm_machine_attribute 3814 UNIMPL vm_remap 3815 UNIMPL task_wire 3816 UNIMPL make_memory_entry 3817 UNIMPL vm_map_page_query 3818 UNIMPL vm_region_info 3819 UNIMPL vm_mapped_pages_info 3820 UNIMPL vm_region_object_create 3821 UNIMPL vm_region_recurse 3822 UNIMPL vm_region_recurse_64 3823 UNIMPL vm_region_info_64 3824 STD vm_region_64 3825 STD make_memory_entry_64 3826 UNIMPL vm_map_64 3827 UNIMPL vm_map_get_upl 3828 UNIMPL vm_upl_map 3829 UNIMPL vm_upl_unmap ; ; Processor set ; 4000 UNIMPL processor_set_statistics 4001 UNIMPL processor_set_destroy 4002 UNIMPL processor_set_max_priority 4003 UNIMPL processor_set_policy_enable 4004 UNIMPL processor_set_policy_disable 4005 UNIMPL processor_set_tasks 4006 UNIMPL processor_set_threads 4007 UNIMPL processor_set_policy_control 4008 UNIMPL processor_set_stack_usage 4009 UNIMPL processor_set_info ; ; Ledger ; 5000 UNIMPL ledger_create 5001 UNIMPL ledger_terminate 5002 UNIMPL ledger_transfer 5003 UNIMPL ledger_read ; ; User Notification subsystem (UNDRequest) ; 6000 UNIMPL und_execute_rpc 6001 UNIMPL und_display_notice_from_bundle_rpc 6002 UNIMPL und_display_alert_from_bundle_rpc 6003 UNIMPL und_display_custom_from_bundle_rpc 6004 UNIMPL und_display_custom_from_dictionary_rpc 6005 UNIMPL und_cancel_notification_rpc 6006 UNIMPL und_display_notice_simple_rpc 6007 UNIMPL und_display_alert_simple_rpc ; ; User Notification subsystem (UNDReply) ; 6200 UNIMPL und_alert_completed_with_result_rpc 6201 UNIMPL und_notification_created_rpc( ; ; Mach Norma ; 555001 UNIMPL task_set_child_node 555002 UNIMPL norma_node_self 555005 UNIMPL norma_task_clone 555006 UNIMPL norma_task_create 555007 UNIMPL norma_get_special_port 555008 UNIMPL norma_set_special_port 555009 UNIMPL norma_task_teleport 555012 UNIMPL norma_port_location_hint ; ; Sync, overlapping with Lock set ; ;617000 UNIMPL semaphore_create ;617001 UNIMPL semaphore_destroy ;617002 UNIMPL semaphore_signal ;617003 UNIMPL semaphore_signal_all ;617004 UNIMPL semaphore_wait ;617013 UNIMPL semaphore_signal_thread ;617014 UNIMPL semaphore_timedwait ; ; Lock set ; 617000 UNIMPL lock_acquire 617001 UNIMPL lock_release 617002 UNIMPL lock_try 617003 UNIMPL lock_make_stable 617004 UNIMPL lock_handoff 617005 UNIMPL lock_handoff_accept 617005 UNIMPL lock_set_create 617006 UNIMPL lock_set_destroy 617007 UNIMPL lock_acquire 617008 UNIMPL lock_release 617009 UNIMPL lock_try 617010 UNIMPL lock_make_stable 617011 UNIMPL lock_handoff 617012 UNIMPL lock_handoff_accept ; ; Semaphores ; 617200 UNIMPL semaphore_signal 617201 UNIMPL semaphore_signal_all 617202 UNIMPL semaphore_wait 617203 UNIMPL semaphore_signal_thread 617204 UNIMPL semaphore_timedwait 617205 UNIMPL semaphore_wait_signal 617206 UNIMPL semaphore_timedwait_signal @ 1.11.2.3 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.11.2.2 2004/09/18 14:43:46 skrll Exp $ @ 1.11.2.4 log @Fix the sync with head I botched. @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.11.2.3 2004/09/21 13:25:42 skrll Exp $ @ 1.11.2.5 log @Sync with HEAD. Hi Perry! @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.11.2.4 2005/03/04 16:40:12 skrll Exp $ d3 1 a3 1 ; Mach services list. d7 1 a7 1 d69 1 a69 1 404 STD bootstrap_look_up d182 2 a183 2 ; Mach exception Replies. ; Defined because the kernel is the client here: d197 1 a197 1 2804 STD io_service_get_matching_services d202 1 a202 1 2809 STD io_registry_entry_from_path d217 1 a217 1 2824 STD io_connect_method_scalari_structi @ 1.11.6.1 log @sync with -current @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.12 2005/02/26 23:10:20 perry Exp $ d3 1 a3 1 ; Mach services list. d7 1 a7 1 d69 1 a69 1 404 STD bootstrap_look_up d182 2 a183 2 ; Mach exception Replies. ; Defined because the kernel is the client here: d197 1 a197 1 2804 STD io_service_get_matching_services d202 1 a202 1 2809 STD io_registry_entry_from_path d217 1 a217 1 2824 STD io_connect_method_scalari_structi @ 1.11.8.1 log @sync with head. xen and whitespace. xen part is not finished. @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.11 2004/07/24 15:46:02 manu Exp $ d3 1 a3 1 ; Mach services list. d7 1 a7 1 d69 1 a69 1 404 STD bootstrap_look_up d182 2 a183 2 ; Mach exception Replies. ; Defined because the kernel is the client here: d197 1 a197 1 2804 STD io_service_get_matching_services d202 1 a202 1 2809 STD io_registry_entry_from_path d217 1 a217 1 2824 STD io_connect_method_scalari_structi @ 1.10 log @Added Mach services (no real implementation, just empty shells to make userland happy) processor_set_default, host_processor_set_priv, and thread_set_policy @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.9 2003/12/24 23:22:22 manu Exp $ d66 3 a68 3 ; Would be boostrap_register instead? 403 UNIMPL host_default_memory_manager ; Would be vm_wire instead? d270 2 a271 2 3207 UNIMPL port_get_refs 3208 UNIMPL port_mod_refs @ 1.9 log @Rework Mach exception and Darwin's ptrace. gdb is now able to attach a remote process. This new implementation also passes all the test programs I've written so far. - When exceptions come from traps, no UNIX signal should evet be sent. - Add a lock to ensure a debugger handles only one exception at a time - Use a structure to hold flavor and behavior in exception ports, instead of stuffing the two argument into an int. - Implement new Mach services: thread_suspend, thread_resume and thread_abort - Implement Darwin's ptrace PT_ATTACHEXC and PT_THUPDATE commands - Handle NULL second argument correctly in sigprocmask. - One mistake in the last commit (darwin_tracesig prototype) @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.8 2003/12/09 12:13:44 manu Exp $ d55 1 a55 1 213 UNIMPL processor_set_default d85 1 a85 1 420 UNIMPL host_processor_set_priv d355 1 a355 1 3624 UNIMPL thread_set_policy @ 1.8 log @Move exception related code to a dedicated file @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.7 2003/11/30 20:42:03 manu Exp $ d336 3 a338 3 3605 UNIMPL thread_suspend 3606 UNIMPL thread_resume 3607 UNIMPL thread_abort @ 1.7 log @Add task_terminate @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.6 2003/11/29 23:56:08 manu Exp $ d19 1 @ 1.6 log @Implement vm_read, vm_write, and a framework for vm_machine_attribute. THe machine dependent bit nees to be written. @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.5 2003/11/18 01:40:18 manu Exp $ d294 1 a294 1 3401 UNIMPL task_terminate @ 1.5 log @More work on exceptions. Once a task has raised an exception, it remains blocked in the kernel. The task that catched the exception may unblock it by sending a reply to the exception message (Of course it will have to change something so that the exception is not immediatly raised again). Handling of this reply is a bit complicated, as the kernel acts as the client instead of the server. In this situation, we receive a message but we will not send any reply (the message we receive is already a reply). I have not found anything better than a special case in mach_msg_overwrite_trap() to handle this. A surprise: exceptions ports are preserved accross forks. While we are there, use appropriate 64 bit types for make_memory_entry_64. @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.4 2003/11/17 01:52:14 manu Exp $ d364 1 a364 1 3805 UNIMPL vm_read d366 1 a366 1 3807 UNIMPL vm_write d372 1 a372 1 3813 UNIMPL vm_machine_attribute @ 1.4 log @First work on Mach exceptions. Things that can turn into signals on UNIX may turn into exceptions on Mach: a small message sent by the kernel to the task that requested the exception. On Darwin, when an exception is sent, no signal can be delivered. TODO: more exceptions: arithmetic, bad instructions, emulation, s software, and syscalls (plain and Mach). There is also RPC alert, but I have no idea about what it is. While we are there, remove some user ktrace in notification code, and add a NODEF qualifier in mach_services.master: it will be used for notifications and exceptions, where the kernel is always client and never server: we don't want the message to be displayed as "unimplemented xxx" in kdump (thus UNIMPL is not good), but we don't want to generate the server prototype (therefore, STD is not good either). NODEF will declare it normally in the name tables without creating the prototype. @ text @d1 1 a1 1 $NetBSD: mach_services.master,v 1.3 2003/11/15 22:55:35 manu Exp $ d18 1 d179 9 @ 1.3 log @iTry to gather as much Mach services names as possible, this way we will have unimplemented services showing their names in ktrace Add a new generated file with only service id and name, which will be included by kdump to display services names. This removes the need for using the user ktrace facility for services names. @ text @d1 1 a1 1 $NetBSD$ d27 1 a27 1 65 UNIMPL notify_port_deleted d31 4 a34 4 69 UNIMPL notify_port_destroyed 70 UNIMPL notify_port_no_senders 71 UNIMPL notify_port_send_once 72 UNIMPL notify_port_dead_name d169 3 a171 3 2401 UNIMPL exception_raise 2402 UNIMPL exception_raise_state 2403 UNIMPL exception_raise_state_identity @ 1.2 log @Try to add all mach servers defined in Darwin in the server list. Most of them will never be implemented, of course. @ text @d1 1 @ 1.1 log @Enforce good santity checks with Mach messages sizes: 1) make sure Mach servers will not work on data beyond the end of the request message buffer. 2) make sure that on copying out the reply message buffer, we will not leak kernel data located after the buffer. 3) make sure that the server will not overwrite memory beyond the end of the reply message buffer. That check is the responsability of the server, there is just a DIAGNOSTIC test to check everything is in good shape. All currently implemented servers in NetBSD have been modified to check for this condition While we are here, build the mach services table (formerly in mach_namemap.c) and the services prototypes automatically from mach_services.master, just as this is done for system calls. The next step would be to fold the message formats in the mach_services.master file, but this tends to be difficult, as some messages are quite long and complex. @ text @a0 1 $NetBSD$ a3 1 d6 1 a6 1 d22 4 d27 3 d31 7 a37 3 70 UNIMPL notify_no_senders 71 UNIMPL notify_send_once 72 UNIMPL notify_dead_name d39 1 d41 2 d45 52 a96 2 403 UNIMPL boostrap_register 404 STD bootstrap_look_up d98 83 d187 3 d191 1 d193 1 d209 5 d215 9 d225 6 d232 3 d236 16 d253 2 d258 4 d265 2 d269 7 d277 7 d285 1 d288 1 d293 1 d297 3 d302 20 d324 7 d332 3 d336 12 d353 3 d357 1 d359 1 d361 11 d373 97 a469 1 3825 STD vm_make_memory_entry @