head	1.11;
access;
symbols
	perseant-exfatfs-base-20261102:1.11
	perseant-exfatfs-base-20250801:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.36
	perseant-exfatfs-base:1.11
	bouyer-sunxi-drm:1.11.0.34
	bouyer-sunxi-drm-base:1.11
	cjep_sun2x:1.11.0.32
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	cjep_staticlib_x:1.11.0.30
	cjep_staticlib_x-base:1.11
	thorpej-futex-base:1.11
	bouyer-xenpvh-base2:1.11
	phil-wifi-20200421:1.11
	bouyer-xenpvh-base1:1.11
	phil-wifi-20200411:1.11
	bouyer-xenpvh:1.11.0.28
	bouyer-xenpvh-base:1.11
	phil-wifi-20200406:1.11
	ad-namecache-base3:1.11
	ad-namecache-base2:1.11
	ad-namecache-base1:1.11
	ad-namecache:1.11.0.26
	ad-namecache-base:1.11
	isaki-audio2:1.11.0.24
	isaki-audio2-base:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	pgoyette-compat-0728:1.11
	pgoyette-compat-0625:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	pgoyette-compat:1.11.0.22
	pgoyette-compat-base:1.11
	perseant-stdc-iso10646:1.11.0.20
	perseant-stdc-iso10646-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.18
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	bouyer-socketcan:1.11.0.16
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	pgoyette-localcount-20161104:1.11
	localcount-20160914:1.11
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.14
	pgoyette-localcount-base:1.11
	netbsd-5-2-3-RELEASE:1.9
	netbsd-5-1-5-RELEASE:1.9
	yamt-pagecache-base9:1.11
	yamt-pagecache-tag8:1.11
	tls-earlyentropy:1.11.0.12
	tls-earlyentropy-base:1.11
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.11
	riastradh-drm2-base3:1.11
	netbsd-5-2-2-RELEASE:1.9
	netbsd-5-1-4-RELEASE:1.9
	netbsd-5-2-1-RELEASE:1.9
	netbsd-5-1-3-RELEASE:1.9
	rmind-smpnet-nbase:1.11
	rmind-smpnet:1.11.0.8
	rmind-smpnet-base:1.11
	agc-symver:1.11.0.10
	agc-symver-base:1.11
	tls-maxphys-base:1.11
	yamt-pagecache-base8:1.11
	netbsd-5-2:1.9.0.68
	yamt-pagecache-base7:1.11
	netbsd-5-2-RELEASE:1.9
	netbsd-5-2-RC1:1.9
	yamt-pagecache-base6:1.11
	yamt-pagecache-base5:1.11
	yamt-pagecache-base4:1.11
	netbsd-5-1-2-RELEASE:1.9
	netbsd-5-1-1-RELEASE:1.9
	jmcneill-usbmp:1.11.0.6
	jmcneill-usbmp-base:1.11
	jmcneill-audiomp3:1.11.0.4
	jmcneill-audiomp3-base:1.11
	yamt-pagecache-base3:1.11
	yamt-pagecache-base2:1.11
	yamt-pagecache:1.11.0.2
	yamt-pagecache-base:1.11
	rmind-uvmplock-nbase:1.11
	bouyer-quota2-nbase:1.10
	bouyer-quota2:1.10.0.10
	bouyer-quota2-base:1.10
	jruoho-x86intr:1.10.0.8
	jruoho-x86intr-base:1.10
	matt-mips64-premerge-20101231:1.10
	matt-nb5-mips64-premerge-20101231:1.9
	matt-nb5-pq3:1.9.0.66
	matt-nb5-pq3-base:1.9
	netbsd-5-1:1.9.0.64
	netbsd-5-1-RELEASE:1.9
	uebayasi-xip-base4:1.10
	uebayasi-xip-base3:1.10
	yamt-nfs-mp-base11:1.10
	netbsd-5-1-RC4:1.9
	matt-nb5-mips64-k15:1.9
	uebayasi-xip-base2:1.10
	yamt-nfs-mp-base10:1.10
	netbsd-5-1-RC3:1.9
	netbsd-5-1-RC2:1.9
	uebayasi-xip-base1:1.10
	netbsd-5-1-RC1:1.9
	rmind-uvmplock:1.10.0.6
	rmind-uvmplock-base:1.11
	yamt-nfs-mp-base9:1.10
	uebayasi-xip:1.10.0.4
	uebayasi-xip-base:1.10
	netbsd-5-0-2-RELEASE:1.9
	matt-nb5-mips64-premerge-20091211:1.9
	matt-premerge-20091211:1.10
	yamt-nfs-mp-base8:1.10
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.9
	matt-nb4-mips64-k7-u2a-k9b:1.9
	matt-nb5-mips64-u1-k1-k5:1.9
	yamt-nfs-mp-base7:1.10
	matt-nb5-mips64:1.9.0.62
	netbsd-5-0-1-RELEASE:1.9
	jymxensuspend-base:1.10
	yamt-nfs-mp-base6:1.10
	yamt-nfs-mp-base5:1.10
	yamt-nfs-mp-base4:1.10
	jym-xensuspend-nbase:1.10
	yamt-nfs-mp-base3:1.10
	nick-hppapmap-base4:1.10
	nick-hppapmap-base3:1.10
	netbsd-5-0:1.9.0.60
	netbsd-5-0-RELEASE:1.9
	netbsd-5-0-RC4:1.9
	netbsd-5-0-RC3:1.9
	nick-hppapmap-base2:1.10
	netbsd-5-0-RC2:1.9
	jym-xensuspend:1.10.0.2
	jym-xensuspend-base:1.10
	netbsd-5-0-RC1:1.9
	haad-dm-base2:1.9
	haad-nbase2:1.9
	ad-audiomp2:1.9.0.58
	ad-audiomp2-base:1.9
	netbsd-5:1.9.0.56
	netbsd-5-base:1.9
	nick-hppapmap:1.9.0.54
	nick-hppapmap-base:1.10
	matt-mips64-base2:1.9
	matt-mips64:1.9.0.52
	haad-dm-base1:1.9
	wrstuden-revivesa-base-4:1.9
	netbsd-4-0-1-RELEASE:1.8
	wrstuden-revivesa-base-3:1.9
	wrstuden-revivesa-base-2:1.9
	wrstuden-fixsa-newbase:1.8
	nick-csl-alignment-base5:1.9
	haad-dm:1.9.0.50
	haad-dm-base:1.9
	wrstuden-revivesa-base-1:1.9
	simonb-wapbl-nbase:1.9
	yamt-pf42-base4:1.9
	simonb-wapbl:1.9.0.48
	simonb-wapbl-base:1.9
	yamt-pf42-base3:1.9
	hpcarm-cleanup-nbase:1.9
	yamt-pf42-baseX:1.9
	yamt-pf42-base2:1.9
	yamt-nfs-mp-base2:1.9
	wrstuden-revivesa:1.9.0.46
	wrstuden-revivesa-base:1.9
	yamt-nfs-mp:1.9.0.44
	yamt-nfs-mp-base:1.9
	yamt-pf42:1.9.0.42
	yamt-pf42-base:1.9
	ad-socklock-base1:1.9
	yamt-lazymbuf-base15:1.9
	yamt-lazymbuf-base14:1.9
	keiichi-mipv6-nbase:1.9
	mjf-devfs2:1.9.0.40
	mjf-devfs2-base:1.10
	nick-net80211-sync:1.9.0.38
	nick-net80211-sync-base:1.9
	keiichi-mipv6:1.9.0.36
	keiichi-mipv6-base:1.9
	bouyer-xeni386-merge1:1.9
	matt-armv6-prevmlocking:1.9
	wrstuden-fixsa-base-1:1.8
	vmlocking2-base3:1.9
	netbsd-4-0:1.8.0.30
	netbsd-4-0-RELEASE:1.8
	bouyer-xeni386-nbase:1.9
	yamt-kmem-base3:1.9
	cube-autoconf:1.9.0.34
	cube-autoconf-base:1.9
	yamt-kmem-base2:1.9
	bouyer-xeni386:1.9.0.32
	bouyer-xeni386-base:1.9
	yamt-kmem:1.9.0.30
	yamt-kmem-base:1.9
	vmlocking2-base2:1.9
	reinoud-bufcleanup-nbase:1.9
	vmlocking2:1.9.0.28
	vmlocking2-base1:1.9
	netbsd-4-0-RC5:1.8
	matt-nb4-arm:1.8.0.28
	matt-nb4-arm-base:1.8
	matt-armv6-nbase:1.9
	jmcneill-base:1.9
	netbsd-4-0-RC4:1.8
	mjf-devfs:1.9.0.26
	mjf-devfs-base:1.9
	bouyer-xenamd64-base2:1.9
	vmlocking-nbase:1.9
	yamt-x86pmap-base4:1.9
	bouyer-xenamd64:1.9.0.24
	bouyer-xenamd64-base:1.9
	netbsd-4-0-RC3:1.8
	yamt-x86pmap-base3:1.9
	yamt-x86pmap-base2:1.9
	netbsd-4-0-RC2:1.8
	yamt-x86pmap:1.9.0.22
	yamt-x86pmap-base:1.9
	netbsd-4-0-RC1:1.8
	matt-armv6:1.9.0.20
	matt-armv6-base:1.9
	matt-mips64-base:1.9
	jmcneill-pm:1.9.0.18
	jmcneill-pm-base:1.9
	hpcarm-cleanup:1.9.0.16
	hpcarm-cleanup-base:1.9
	nick-csl-alignment:1.9.0.14
	nick-csl-alignment-base:1.9
	netbsd-3-1-1-RELEASE:1.7
	netbsd-3-0-3-RELEASE:1.7
	yamt-idlelwp-base8:1.9
	wrstuden-fixsa:1.8.0.26
	wrstuden-fixsa-base:1.8
	thorpej-atomic:1.9.0.12
	thorpej-atomic-base:1.9
	reinoud-bufcleanup:1.9.0.10
	reinoud-bufcleanup-base:1.9
	mjf-ufs-trans:1.9.0.8
	mjf-ufs-trans-base:1.9
	vmlocking:1.9.0.6
	vmlocking-base:1.9
	ad-audiomp:1.9.0.4
	ad-audiomp-base:1.9
	yamt-idlelwp:1.9.0.2
	post-newlock2-merge:1.9
	newlock2-nbase:1.8
	yamt-splraiseipl-base5:1.8
	yamt-splraiseipl-base4:1.8
	yamt-splraiseipl-base3:1.8
	abandoned-netbsd-4-base:1.8
	abandoned-netbsd-4:1.8.0.18
	netbsd-3-1:1.7.0.14
	netbsd-3-1-RELEASE:1.7
	netbsd-3-0-2-RELEASE:1.7
	yamt-splraiseipl-base2:1.8
	netbsd-3-1-RC4:1.7
	yamt-splraiseipl:1.8.0.22
	yamt-splraiseipl-base:1.8
	netbsd-3-1-RC3:1.7
	yamt-pdpolicy-base9:1.8
	newlock2:1.8.0.20
	newlock2-base:1.8
	yamt-pdpolicy-base8:1.8
	netbsd-3-1-RC2:1.7
	netbsd-3-1-RC1:1.7
	yamt-pdpolicy-base7:1.8
	netbsd-4:1.8.0.24
	netbsd-4-base:1.8
	yamt-pdpolicy-base6:1.8
	chap-midi-nbase:1.8
	netbsd-3-0-1-RELEASE:1.7
	gdamore-uart:1.8.0.16
	gdamore-uart-base:1.8
	simonb-timcounters-final:1.8
	yamt-pdpolicy-base5:1.8
	chap-midi:1.8.0.14
	chap-midi-base:1.8
	yamt-pdpolicy-base4:1.8
	yamt-pdpolicy-base3:1.8
	peter-altq-base:1.8
	peter-altq:1.8.0.12
	yamt-pdpolicy-base2:1.8
	elad-kernelauth-base:1.8
	elad-kernelauth:1.8.0.10
	yamt-pdpolicy:1.8.0.8
	yamt-pdpolicy-base:1.8
	yamt-uio_vmspace-base5:1.8
	simonb-timecounters:1.8.0.6
	simonb-timecounters-base:1.8
	rpaulo-netinet-merge-pcb:1.8.0.4
	rpaulo-netinet-merge-pcb-base:1.8
	yamt-uio_vmspace:1.8.0.2
	netbsd-3-0:1.7.0.12
	netbsd-3-0-RELEASE:1.7
	netbsd-3-0-RC6:1.7
	yamt-readahead-base3:1.7
	netbsd-3-0-RC5:1.7
	netbsd-3-0-RC4:1.7
	netbsd-3-0-RC3:1.7
	yamt-readahead-base2:1.7
	netbsd-3-0-RC2:1.7
	yamt-readahead-pervnode:1.7
	yamt-readahead-perfile:1.7
	yamt-readahead:1.7.0.10
	yamt-readahead-base:1.7
	netbsd-3-0-RC1:1.7
	yamt-vop-base3:1.7
	netbsd-2-0-3-RELEASE:1.6
	netbsd-2-1:1.6.0.14
	yamt-vop-base2:1.7
	thorpej-vnode-attr:1.7.0.8
	thorpej-vnode-attr-base:1.7
	netbsd-2-1-RELEASE:1.6
	yamt-vop:1.7.0.6
	yamt-vop-base:1.7
	netbsd-2-1-RC6:1.6
	netbsd-2-1-RC5:1.6
	netbsd-2-1-RC4:1.6
	netbsd-2-1-RC3:1.6
	netbsd-2-1-RC2:1.6
	netbsd-2-1-RC1:1.6
	yamt-lazymbuf:1.7.0.4
	yamt-km-base4:1.7
	netbsd-2-0-2-RELEASE:1.6
	yamt-km-base3:1.7
	netbsd-3:1.7.0.2
	netbsd-3-base:1.7
	yamt-km-base2:1.6
	yamt-km:1.6.0.10
	yamt-km-base:1.6
	kent-audio2:1.6.0.8
	kent-audio2-base:1.7
	netbsd-2-0-1-RELEASE:1.6
	kent-audio1-beforemerge:1.6
	netbsd-2:1.6.0.6
	netbsd-2-base:1.6
	kent-audio1:1.6.0.4
	kent-audio1-base:1.6
	netbsd-2-0-RELEASE:1.6
	netbsd-2-0-RC5:1.6
	netbsd-2-0-RC4:1.6
	netbsd-2-0-RC3:1.6
	netbsd-2-0-RC2:1.6
	netbsd-2-0-RC1:1.6
	netbsd-2-0:1.6.0.2
	netbsd-2-0-base:1.6
	netbsd-1-6-PATCH002-RELEASE:1.2
	netbsd-1-6-PATCH002:1.2
	netbsd-1-6-PATCH002-RC4:1.2
	netbsd-1-6-PATCH002-RC3:1.2
	netbsd-1-6-PATCH002-RC2:1.2
	netbsd-1-6-PATCH002-RC1:1.2
	ktrace-lwp:1.5.0.2
	ktrace-lwp-base:1.7
	netbsd-1-6-PATCH001:1.2
	netbsd-1-6-PATCH001-RELEASE:1.2
	netbsd-1-6-PATCH001-RC3:1.2
	netbsd-1-6-PATCH001-RC2:1.2
	netbsd-1-6-PATCH001-RC1:1.2
	nathanw_sa_end:1.2.4.5
	nathanw_sa_before_merge:1.4
	fvdl_fs64_base:1.4
	gmcgarry_ctxsw:1.4.0.4
	gmcgarry_ctxsw_base:1.4
	gmcgarry_ucred:1.4.0.2
	gmcgarry_ucred_base:1.4
	nathanw_sa_base:1.4
	kqueue-aftermerge:1.2
	kqueue-beforemerge:1.2
	netbsd-1-6-RELEASE:1.2
	netbsd-1-6-RC3:1.2
	netbsd-1-6-RC2:1.2
	netbsd-1-6-RC1:1.2
	netbsd-1-6:1.2.0.18
	netbsd-1-6-base:1.2
	gehenna-devsw:1.2.0.16
	gehenna-devsw-base:1.2
	eeh-devprop:1.2.0.14
	eeh-devprop-base:1.2
	newlock:1.2.0.12
	newlock-base:1.2
	ifpoll-base:1.2
	thorpej-mips-cache:1.2.0.8
	thorpej-mips-cache-base:1.2
	thorpej-devvp-base3:1.2
	thorpej-devvp-base2:1.2
	post-chs-ubcperf:1.2
	pre-chs-ubcperf:1.2
	thorpej-devvp:1.2.0.6
	thorpej-devvp-base:1.2
	nathanw_sa:1.2.0.4
	kqueue-base:1.2
	kqueue:1.2.0.2;
locks; strict;
comment	@# @;


1.11
date	2011.04.26.15.51.31;	author joerg;	state dead;
branches;
next	1.10;

1.10
date	2009.01.13.22.27.43;	author pooka;	state Exp;
branches
	1.10.6.1
	1.10.8.1;
next	1.9;

1.9
date	2007.02.09.21.55.22;	author ad;	state Exp;
branches
	1.9.40.1
	1.9.44.1
	1.9.46.1
	1.9.54.1;
next	1.8;

1.8
date	2005.12.11.12.20.20;	author christos;	state Exp;
branches
	1.8.20.1;
next	1.7;

1.7
date	2005.02.26.23.10.20;	author perry;	state Exp;
branches
	1.7.4.1;
next	1.6;

1.6
date	2003.12.30.00.15.46;	author manu;	state Exp;
branches
	1.6.8.1
	1.6.10.1;
next	1.5;

1.5
date	2003.01.18.08.18.50;	author thorpej;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2002.11.26.08.10.19;	author manu;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.10.09.41.45;	author manu;	state Exp;
branches;
next	1.2;

1.2
date	2001.07.29.19.30.57;	author christos;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2001.07.14.02.11.02;	author christos;	state Exp;
branches;
next	;

1.10.6.1
date	2011.05.31.03.04.31;	author rmind;	state dead;
branches;
next	;

1.10.8.1
date	2011.06.06.09.07.31;	author jruoho;	state dead;
branches;
next	;

1.9.40.1
date	2009.01.17.13.28.46;	author mjf;	state Exp;
branches;
next	;

1.9.44.1
date	2009.05.04.08.12.24;	author yamt;	state Exp;
branches;
next	;

1.9.46.1
date	2008.05.10.23.48.57;	author wrstuden;	state Exp;
branches;
next	1.9.46.2;

1.9.46.2
date	2008.05.14.01.35.09;	author wrstuden;	state Exp;
branches;
next	;

1.9.54.1
date	2009.01.19.13.17.32;	author skrll;	state Exp;
branches;
next	;

1.8.20.1
date	2007.01.30.13.51.35;	author ad;	state Exp;
branches;
next	;

1.7.4.1
date	2007.02.26.09.09.28;	author yamt;	state Exp;
branches;
next	;

1.6.8.1
date	2005.04.29.11.28.41;	author kent;	state Exp;
branches;
next	;

1.6.10.1
date	2005.03.19.08.33.42;	author yamt;	state Exp;
branches;
next	;

1.5.2.1
date	2004.08.03.10.44.07;	author skrll;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	2004.09.18.14.43.47;	author skrll;	state Exp;
branches;
next	1.5.2.3;

1.5.2.3
date	2004.09.21.13.25.43;	author skrll;	state Exp;
branches;
next	1.5.2.4;

1.5.2.4
date	2005.03.04.16.40.13;	author skrll;	state Exp;
branches;
next	;

1.2.2.1
date	2001.07.29.19.30.57;	author lukem;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2001.08.03.04.12.46;	author lukem;	state Exp;
branches;
next	;

1.2.4.1
date	2001.07.29.19.30.57;	author nathanw;	state dead;
branches;
next	1.2.4.2;

1.2.4.2
date	2001.08.24.00.08.52;	author nathanw;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	2002.05.29.21.32.47;	author nathanw;	state Exp;
branches;
next	1.2.4.4;

1.2.4.4
date	2002.11.11.22.07.31;	author nathanw;	state Exp;
branches;
next	1.2.4.5;

1.2.4.5
date	2002.12.11.06.37.33;	author thorpej;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Remove Darwin, MACH and Mach-O support.
@
text
@	$NetBSD: syscalls.master,v 1.10 2009/01/13 22:27:43 pooka Exp $

;	@@(#)syscalls.master	8.1 (Berkeley) 7/19/93

; NetBSD COMPAT_MACH system call name/number "master" file.
; This is used for the negative mach syscalls.
; (See syscalls.conf to see what it is processed into.)
;
; Fields: number type [type-dependent ...]
;	number	system call number, must be in order
;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
;		the compatibility options defined in syscalls.conf.
;
; types:
;	STD	always included
;	OBSOL	obsolete, not included in system
;	UNIMPL	unimplemented, not included in system
;	NODEF	included, but don't define the syscall number
;	NOARGS	included, but don't define the syscall args structure
;
; The compat options are defined in the syscalls.conf file, and the
; compat option name is prefixed to the syscall name.  Other than
; that, they're like NODEF (for 'compat' options), or STD (for
; 'libcompat' options).
;
; The type-dependent arguments are as follows:
; For STD, NODEF, NOARGS, and compat syscalls:
;	{ pseudo-proto } [alias]
; For other syscalls:
;	[comment]
;
; #ifdef's, etc. may be included, and are copied to the output files.
; #include's are copied to the syscall names and switch definition files only.

#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
#include "opt_sysv.h"
#endif

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/syscallargs.h>

#include <compat/mach/mach_types.h>
#include <compat/mach/mach_message.h>
#include <compat/mach/mach_clock.h>
#include <compat/mach/mach_syscallargs.h>
%%

0	UNIMPL
1	UNIMPL
2	UNIMPL
3	UNIMPL
4	UNIMPL
5	UNIMPL
6	UNIMPL
7	UNIMPL
8	UNIMPL
9	UNIMPL
10	UNIMPL
11	UNIMPL
12	UNIMPL
13	UNIMPL
14	UNIMPL
15	UNIMPL
16	UNIMPL
17	UNIMPL
18	UNIMPL
19	UNIMPL
20	UNIMPL
21	UNIMPL
22	UNIMPL
23	UNIMPL
24	UNIMPL
25	UNIMPL
26	STD		{ mach_port_name_t|mach_sys||reply_port(void); }
27	STD		{ mach_port_name_t|mach_sys||thread_self_trap(void); }
28	STD		{ mach_port_name_t|mach_sys||task_self_trap(void); }
29	STD		{ mach_port_name_t|mach_sys||host_self_trap(void); }
30	UNIMPL
31	STD		{ mach_msg_return_t|mach_sys||msg_trap( \
			    mach_msg_header_t	*msg, \
			    mach_msg_option_t	option, \
			    mach_msg_size_t	send_size, \
			    mach_msg_size_t	rcv_size, \
			    mach_port_name_t	rcv_name, \
			    mach_msg_timeout_t	timeout, \
			    mach_port_name_t	notify); }
32	STD		{ mach_kern_return_t|mach_sys||msg_overwrite_trap( \
			    mach_msg_header_t	*msg, \
			    mach_msg_option_t	option, \
			    mach_msg_size_t	send_size, \
			    mach_msg_size_t	rcv_size, \
			    mach_port_name_t	rcv_name, \
			    mach_msg_timeout_t	timeout, \
			    mach_port_name_t	notify, \
			    mach_msg_header_t	*rcv_msg, \
			    mach_msg_size_t	scatter_list_size); }
33	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_trap( \
			    mach_port_name_t signal_name); }
34	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_all_trap( \
			    mach_port_name_t signal_name); }
35	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_thread_trap( \
			    mach_port_name_t signal_name, \
			    mach_port_name_t thread); }
36	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_wait_trap( \
			    mach_port_name_t wait_name); }
37	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_wait_signal_trap( \
			    mach_port_name_t wait_name, \
			    mach_port_name_t signal_name); }
38	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_timedwait_trap( \
			    mach_port_name_t wait_name, \
			    unsigned int sec, \
			    mach_clock_res_t nsec); }
39	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_timedwait_signal_trap( \
			    mach_port_name_t wait_name, \
			    mach_port_name_t signal_name, \
			    unsigned int sec, \
			    mach_clock_res_t nsec); }
40	UNIMPL
41	STD		{ mach_kern_return_t|mach_sys||init_process(void); }
42	UNIMPL
43	STD		{ mach_kern_return_t|mach_sys||map_fd(int fd, \
			    mach_vm_offset_t offset, mach_vm_offset_t *va, \
			    mach_boolean_t findspace, mach_vm_size_t size); }
44	UNIMPL
45	STD		{ mach_kern_return_t|mach_sys||task_for_pid( \
			    mach_port_t target_tport, int pid, \
			    mach_port_t *t); }
46	STD		{ mach_kern_return_t|mach_sys||pid_for_task( \
			    mach_port_t t, int *x); }
47	UNIMPL
48	STD		{ mach_kern_return_t|mach_sys||macx_swapon( \
			    char *name, int flags, int size, int priority); }
49	STD		{ mach_kern_return_t|mach_sys||macx_swapoff( \
			    char *name, int flags); }
50	UNIMPL
51	STD		{ mach_kern_return_t|mach_sys||macx_triggers( \
			    int hi_water, int low_water, int flags, \
			    mach_port_t alert_port); }
52	UNIMPL
53	UNIMPL
54	UNIMPL
55	UNIMPL
56	UNIMPL
57	UNIMPL
58	UNIMPL
59	STD		{ mach_kern_return_t|mach_sys||swtch_pri( \
			    int pri); }
60	STD		{ mach_kern_return_t|mach_sys||swtch(void); }
61	STD		{ mach_kern_return_t|mach_sys||syscall_thread_switch( \
			    mach_port_name_t thread_name, \
			    int option, \
			    mach_msg_timeout_t option_time); }
62	STD		{ mach_kern_return_t|mach_sys||clock_sleep_trap( \
			    mach_port_name_t clock_name, \
			    mach_sleep_type_t sleep_type, \
			    int sleep_sec, int sleep_nsec, \
			    mach_timespec_t *wakeup_time); }
63	UNIMPL
64	UNIMPL
65	UNIMPL
66	UNIMPL
67	UNIMPL
68	UNIMPL
69	UNIMPL
70	UNIMPL
71	UNIMPL
72	UNIMPL
73	UNIMPL
74	UNIMPL
75	UNIMPL
76	UNIMPL
77	UNIMPL
78	UNIMPL
79	UNIMPL
80	UNIMPL
81	UNIMPL
82	UNIMPL
83	UNIMPL
84	UNIMPL
85	UNIMPL
86	UNIMPL
87	UNIMPL
88	UNIMPL
89	STD		{ mach_kern_return_t|mach_sys||timebase_info( \
			    mach_timebase_info_t info); }
90	STD		{ mach_kern_return_t|mach_sys||wait_until( \
			    u_int64_t deadline); }
91	STD		{ mach_port_name_t|mach_sys||timer_create(void); }
92	STD		{ mach_kern_return_t|mach_sys||timer_destroy( \
			    mach_port_name_t name); }
93	STD		{ mach_kern_return_t|mach_sys||timer_arm( \
			    mach_port_name_t name, \
			    mach_absolute_time_t expire_time); }
94	STD		{ mach_kern_return_t|mach_sys||timer_cancel( \
			    mach_port_name_t name, \
			    mach_absolute_time_t *result_time); }
95	STD		{ mach_kern_return_t|mach_sys||get_time_base_info(void); }
96	UNIMPL
97	UNIMPL
98	UNIMPL
99	UNIMPL
100	UNIMPL
101	UNIMPL
102	UNIMPL
103	UNIMPL
104	UNIMPL
105	UNIMPL
106	UNIMPL
107	UNIMPL
108	UNIMPL
109	UNIMPL
110	UNIMPL
111	UNIMPL
112	UNIMPL
113	UNIMPL
114	UNIMPL
115	UNIMPL
116	UNIMPL
117	UNIMPL
118	UNIMPL
119	UNIMPL
120	UNIMPL
121	UNIMPL
122	UNIMPL
123	UNIMPL
124	UNIMPL
125	UNIMPL
126	UNIMPL
127	UNIMPL
@


1.10
log
@Convert the syscalls.master to a format from which it is easier
to parse and generate the compat name and basename (e.g. __stat50
and stat).  Use this to autogenerate __RENAME()'s to the rump_syscalls
header so that they can be called e.g. rump_sys_socket() instead
of rump_sys___socket30().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9 2007/02/09 21:55:22 ad Exp $
@


1.10.8.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.10 2009/01/13 22:27:43 pooka Exp $
@


1.10.6.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.10 2009/01/13 22:27:43 pooka Exp $
@


1.9
log
@Merge newlock2 to head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.8 2005/12/11 12:20:20 christos Exp $
d79 4
a82 5
26	STD		{ mach_port_name_t	mach_sys_reply_port(void); }
27	STD		{ mach_port_name_t \
			    mach_sys_thread_self_trap(void); }
28	STD		{ mach_port_name_t	mach_sys_task_self_trap(void); }
29	STD		{ mach_port_name_t	mach_sys_host_self_trap(void); }
d84 1
a84 1
31	STD		{ mach_msg_return_t	mach_sys_msg_trap( \
d92 1
a92 1
32	STD		{ mach_kern_return_t	mach_sys_msg_overwrite_trap( \
d102 2
a103 2
33	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_signal_trap( \
d105 2
a106 2
34	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_signal_all_trap( \
d108 2
a109 2
35	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_signal_thread_trap( \
d112 2
a113 2
36	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_wait_trap( \
d115 2
a116 2
37	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_wait_signal_trap( \
d119 2
a120 2
38	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_timedwait_trap( \
d124 2
a125 2
39	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_timedwait_signal_trap( \
d131 1
a131 1
41	STD		{ mach_kern_return_t mach_sys_init_process(void); }
d133 1
a133 1
43	STD		{ mach_kern_return_t mach_sys_map_fd(int fd, \
d137 1
a137 1
45	STD		{ mach_kern_return_t mach_sys_task_for_pid( \
d140 1
a140 1
46	STD		{ mach_kern_return_t mach_sys_pid_for_task( \
d143 1
a143 1
48	STD		{ mach_kern_return_t mach_sys_macx_swapon( \
d145 1
a145 1
49	STD		{ mach_kern_return_t mach_sys_macx_swapoff( \
d148 1
a148 1
51	STD		{ mach_kern_return_t mach_sys_macx_triggers( \
d158 1
a158 1
59	STD		{ mach_kern_return_t mach_sys_swtch_pri( \
d160 2
a161 2
60	STD		{ mach_kern_return_t mach_sys_swtch(void); }
61	STD		{ mach_kern_return_t mach_sys_syscall_thread_switch( \
d165 1
a165 1
62	STD		{ mach_kern_return_t mach_sys_clock_sleep_trap( \
d196 1
a196 1
89	STD		{ mach_kern_return_t mach_sys_timebase_info( \
d198 1
a198 1
90	STD		{ mach_kern_return_t mach_sys_wait_until( \
d200 2
a201 2
91	STD		{ mach_port_name_t mach_sys_timer_create(void); }
92	STD		{ mach_kern_return_t mach_sys_timer_destroy( \
d203 1
a203 1
93	STD		{ mach_kern_return_t mach_sys_timer_arm( \
d206 1
a206 1
94	STD		{ mach_kern_return_t mach_sys_timer_cancel( \
d209 1
a209 1
95	STD		{ mach_kern_return_t mach_sys_get_time_base_info(void); }
@


1.9.44.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9 2007/02/09 21:55:22 ad Exp $
d79 5
a83 4
26	STD		{ mach_port_name_t|mach_sys||reply_port(void); }
27	STD		{ mach_port_name_t|mach_sys||thread_self_trap(void); }
28	STD		{ mach_port_name_t|mach_sys||task_self_trap(void); }
29	STD		{ mach_port_name_t|mach_sys||host_self_trap(void); }
d85 1
a85 1
31	STD		{ mach_msg_return_t|mach_sys||msg_trap( \
d93 1
a93 1
32	STD		{ mach_kern_return_t|mach_sys||msg_overwrite_trap( \
d103 2
a104 2
33	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_trap( \
d106 2
a107 2
34	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_all_trap( \
d109 2
a110 2
35	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_thread_trap( \
d113 2
a114 2
36	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_wait_trap( \
d116 2
a117 2
37	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_wait_signal_trap( \
d120 2
a121 2
38	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_timedwait_trap( \
d125 2
a126 2
39	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_timedwait_signal_trap( \
d132 1
a132 1
41	STD		{ mach_kern_return_t|mach_sys||init_process(void); }
d134 1
a134 1
43	STD		{ mach_kern_return_t|mach_sys||map_fd(int fd, \
d138 1
a138 1
45	STD		{ mach_kern_return_t|mach_sys||task_for_pid( \
d141 1
a141 1
46	STD		{ mach_kern_return_t|mach_sys||pid_for_task( \
d144 1
a144 1
48	STD		{ mach_kern_return_t|mach_sys||macx_swapon( \
d146 1
a146 1
49	STD		{ mach_kern_return_t|mach_sys||macx_swapoff( \
d149 1
a149 1
51	STD		{ mach_kern_return_t|mach_sys||macx_triggers( \
d159 1
a159 1
59	STD		{ mach_kern_return_t|mach_sys||swtch_pri( \
d161 2
a162 2
60	STD		{ mach_kern_return_t|mach_sys||swtch(void); }
61	STD		{ mach_kern_return_t|mach_sys||syscall_thread_switch( \
d166 1
a166 1
62	STD		{ mach_kern_return_t|mach_sys||clock_sleep_trap( \
d197 1
a197 1
89	STD		{ mach_kern_return_t|mach_sys||timebase_info( \
d199 1
a199 1
90	STD		{ mach_kern_return_t|mach_sys||wait_until( \
d201 2
a202 2
91	STD		{ mach_port_name_t|mach_sys||timer_create(void); }
92	STD		{ mach_kern_return_t|mach_sys||timer_destroy( \
d204 1
a204 1
93	STD		{ mach_kern_return_t|mach_sys||timer_arm( \
d207 1
a207 1
94	STD		{ mach_kern_return_t|mach_sys||timer_cancel( \
d210 1
a210 1
95	STD		{ mach_kern_return_t|mach_sys||get_time_base_info(void); }
@


1.9.54.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.10 2009/01/13 22:27:43 pooka Exp $
d79 5
a83 4
26	STD		{ mach_port_name_t|mach_sys||reply_port(void); }
27	STD		{ mach_port_name_t|mach_sys||thread_self_trap(void); }
28	STD		{ mach_port_name_t|mach_sys||task_self_trap(void); }
29	STD		{ mach_port_name_t|mach_sys||host_self_trap(void); }
d85 1
a85 1
31	STD		{ mach_msg_return_t|mach_sys||msg_trap( \
d93 1
a93 1
32	STD		{ mach_kern_return_t|mach_sys||msg_overwrite_trap( \
d103 2
a104 2
33	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_trap( \
d106 2
a107 2
34	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_all_trap( \
d109 2
a110 2
35	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_thread_trap( \
d113 2
a114 2
36	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_wait_trap( \
d116 2
a117 2
37	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_wait_signal_trap( \
d120 2
a121 2
38	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_timedwait_trap( \
d125 2
a126 2
39	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_timedwait_signal_trap( \
d132 1
a132 1
41	STD		{ mach_kern_return_t|mach_sys||init_process(void); }
d134 1
a134 1
43	STD		{ mach_kern_return_t|mach_sys||map_fd(int fd, \
d138 1
a138 1
45	STD		{ mach_kern_return_t|mach_sys||task_for_pid( \
d141 1
a141 1
46	STD		{ mach_kern_return_t|mach_sys||pid_for_task( \
d144 1
a144 1
48	STD		{ mach_kern_return_t|mach_sys||macx_swapon( \
d146 1
a146 1
49	STD		{ mach_kern_return_t|mach_sys||macx_swapoff( \
d149 1
a149 1
51	STD		{ mach_kern_return_t|mach_sys||macx_triggers( \
d159 1
a159 1
59	STD		{ mach_kern_return_t|mach_sys||swtch_pri( \
d161 2
a162 2
60	STD		{ mach_kern_return_t|mach_sys||swtch(void); }
61	STD		{ mach_kern_return_t|mach_sys||syscall_thread_switch( \
d166 1
a166 1
62	STD		{ mach_kern_return_t|mach_sys||clock_sleep_trap( \
d197 1
a197 1
89	STD		{ mach_kern_return_t|mach_sys||timebase_info( \
d199 1
a199 1
90	STD		{ mach_kern_return_t|mach_sys||wait_until( \
d201 2
a202 2
91	STD		{ mach_port_name_t|mach_sys||timer_create(void); }
92	STD		{ mach_kern_return_t|mach_sys||timer_destroy( \
d204 1
a204 1
93	STD		{ mach_kern_return_t|mach_sys||timer_arm( \
d207 1
a207 1
94	STD		{ mach_kern_return_t|mach_sys||timer_cancel( \
d210 1
a210 1
95	STD		{ mach_kern_return_t|mach_sys||get_time_base_info(void); }
@


1.9.40.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
d79 5
a83 4
26	STD		{ mach_port_name_t|mach_sys||reply_port(void); }
27	STD		{ mach_port_name_t|mach_sys||thread_self_trap(void); }
28	STD		{ mach_port_name_t|mach_sys||task_self_trap(void); }
29	STD		{ mach_port_name_t|mach_sys||host_self_trap(void); }
d85 1
a85 1
31	STD		{ mach_msg_return_t|mach_sys||msg_trap( \
d93 1
a93 1
32	STD		{ mach_kern_return_t|mach_sys||msg_overwrite_trap( \
d103 2
a104 2
33	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_trap( \
d106 2
a107 2
34	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_all_trap( \
d109 2
a110 2
35	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_signal_thread_trap( \
d113 2
a114 2
36	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_wait_trap( \
d116 2
a117 2
37	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_wait_signal_trap( \
d120 2
a121 2
38	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_timedwait_trap( \
d125 2
a126 2
39	STD		{ mach_kern_return_t|\
			    mach_sys||semaphore_timedwait_signal_trap( \
d132 1
a132 1
41	STD		{ mach_kern_return_t|mach_sys||init_process(void); }
d134 1
a134 1
43	STD		{ mach_kern_return_t|mach_sys||map_fd(int fd, \
d138 1
a138 1
45	STD		{ mach_kern_return_t|mach_sys||task_for_pid( \
d141 1
a141 1
46	STD		{ mach_kern_return_t|mach_sys||pid_for_task( \
d144 1
a144 1
48	STD		{ mach_kern_return_t|mach_sys||macx_swapon( \
d146 1
a146 1
49	STD		{ mach_kern_return_t|mach_sys||macx_swapoff( \
d149 1
a149 1
51	STD		{ mach_kern_return_t|mach_sys||macx_triggers( \
d159 1
a159 1
59	STD		{ mach_kern_return_t|mach_sys||swtch_pri( \
d161 2
a162 2
60	STD		{ mach_kern_return_t|mach_sys||swtch(void); }
61	STD		{ mach_kern_return_t|mach_sys||syscall_thread_switch( \
d166 1
a166 1
62	STD		{ mach_kern_return_t|mach_sys||clock_sleep_trap( \
d197 1
a197 1
89	STD		{ mach_kern_return_t|mach_sys||timebase_info( \
d199 1
a199 1
90	STD		{ mach_kern_return_t|mach_sys||wait_until( \
d201 2
a202 2
91	STD		{ mach_port_name_t|mach_sys||timer_create(void); }
92	STD		{ mach_kern_return_t|mach_sys||timer_destroy( \
d204 1
a204 1
93	STD		{ mach_kern_return_t|mach_sys||timer_arm( \
d207 1
a207 1
94	STD		{ mach_kern_return_t|mach_sys||timer_cancel( \
d210 1
a210 1
95	STD		{ mach_kern_return_t|mach_sys||get_time_base_info(void); }
@


1.9.46.1
log
@Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9 2007/02/09 21:55:22 ad Exp $
a44 1
#include <sys/sa.h>
@


1.9.46.2
log
@Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9.46.1 2008/05/10 23:48:57 wrstuden Exp $
d45 1
@


1.8
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.5.2.4 2005/03/04 16:40:13 skrll Exp $
a44 1
#include <sys/sa.h>
@


1.8.20.1
log
@Remove support for SA. Ok core@@.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.8 2005/12/11 12:20:20 christos Exp $
d45 1
@


1.7
log
@nuke trailing whitespace
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.6 2003/12/30 00:15:46 manu Exp $
@


1.7.4.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.7 2005/02/26 23:10:20 perry Exp $
d45 1
@


1.6
log
@- Rework the Mach semaphore code to handle threads instead of processes
- Add 2 system calls: semaphore_signal_thread and sempaphore_signal_all (the
latter being untested)
- semaphore_signal_thread arguments list was wrong
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.5 2003/01/18 08:18:50 thorpej Exp $
d54 26
a79 26
0	UNIMPL	
1	UNIMPL	
2	UNIMPL	
3	UNIMPL	
4	UNIMPL	
5	UNIMPL	
6	UNIMPL	
7	UNIMPL	
8	UNIMPL	
9	UNIMPL	
10	UNIMPL	
11	UNIMPL	
12	UNIMPL	
13	UNIMPL	
14	UNIMPL	
15	UNIMPL	
16	UNIMPL	
17	UNIMPL	
18	UNIMPL	
19	UNIMPL	
20	UNIMPL	
21	UNIMPL	
22	UNIMPL	
23	UNIMPL	
24	UNIMPL	
25	UNIMPL	
d85 1
a85 1
30	UNIMPL	
d143 1
a143 1
			    mach_port_t t, int *x); } 
@


1.6.8.1
log
@sync with -current
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.7 2005/02/26 23:10:20 perry Exp $
d54 26
a79 26
0	UNIMPL
1	UNIMPL
2	UNIMPL
3	UNIMPL
4	UNIMPL
5	UNIMPL
6	UNIMPL
7	UNIMPL
8	UNIMPL
9	UNIMPL
10	UNIMPL
11	UNIMPL
12	UNIMPL
13	UNIMPL
14	UNIMPL
15	UNIMPL
16	UNIMPL
17	UNIMPL
18	UNIMPL
19	UNIMPL
20	UNIMPL
21	UNIMPL
22	UNIMPL
23	UNIMPL
24	UNIMPL
25	UNIMPL
d85 1
a85 1
30	UNIMPL
d143 1
a143 1
			    mach_port_t t, int *x); }
@


1.6.10.1
log
@sync with head.  xen and whitespace.  xen part is not finished.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.6 2003/12/30 00:15:46 manu Exp $
d54 26
a79 26
0	UNIMPL
1	UNIMPL
2	UNIMPL
3	UNIMPL
4	UNIMPL
5	UNIMPL
6	UNIMPL
7	UNIMPL
8	UNIMPL
9	UNIMPL
10	UNIMPL
11	UNIMPL
12	UNIMPL
13	UNIMPL
14	UNIMPL
15	UNIMPL
16	UNIMPL
17	UNIMPL
18	UNIMPL
19	UNIMPL
20	UNIMPL
21	UNIMPL
22	UNIMPL
23	UNIMPL
24	UNIMPL
25	UNIMPL
d85 1
a85 1
30	UNIMPL
d143 1
a143 1
			    mach_port_t t, int *x); }
@


1.5
log
@Merge the nathanw_sa branch.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.4 2002/11/26 08:10:19 manu Exp $
d112 2
a113 1
			    mach_port_name_t signal_name); }
@


1.5.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.6 2003/12/30 00:15:46 manu Exp $
d112 1
a112 2
			    mach_port_name_t signal_name, \
			    mach_port_name_t thread); }
@


1.5.2.2
log
@Sync with HEAD.
@
text
@@


1.5.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.5.2.1 2004/08/03 10:44:07 skrll Exp $
@


1.5.2.4
log
@Sync with HEAD.

Hi Perry!
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.5.2.3 2004/09/21 13:25:43 skrll Exp $
d54 26
a79 26
0	UNIMPL
1	UNIMPL
2	UNIMPL
3	UNIMPL
4	UNIMPL
5	UNIMPL
6	UNIMPL
7	UNIMPL
8	UNIMPL
9	UNIMPL
10	UNIMPL
11	UNIMPL
12	UNIMPL
13	UNIMPL
14	UNIMPL
15	UNIMPL
16	UNIMPL
17	UNIMPL
18	UNIMPL
19	UNIMPL
20	UNIMPL
21	UNIMPL
22	UNIMPL
23	UNIMPL
24	UNIMPL
25	UNIMPL
d85 1
a85 1
30	UNIMPL
d143 1
a143 1
			    mach_port_t t, int *x); }
@


1.4
log
@Add thread_policy and clock_get_time mach traps. Implement
mach_sys_clock_sleep_trap. This makes sleep(3) emulation working.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.3 2002/11/10 09:41:45 manu Exp $
d45 1
@


1.3
log
@Added mach_sys_msg_trap system call, and the host_page_size trap.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.2 2001/07/29 19:30:57 christos Exp $
d49 1
@


1.2
log
@a bit more mach glue.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.1 2001/07/14 02:11:02 christos Exp $
d84 8
a91 1
31	UNIMPL	
@


1.2.4.1
log
@file syscalls.master was added on branch nathanw_sa on 2001-08-24 00:08:52 +0000
@
text
@d1 233
@


1.2.4.2
log
@Catch up with -current.
@
text
@a0 233
	$NetBSD: syscalls.master,v 1.2.4.1 2001/08/24 00:08:52 nathanw Exp $

;	@@(#)syscalls.master	8.1 (Berkeley) 7/19/93

; NetBSD COMPAT_MACH system call name/number "master" file.
; This is used for the negative mach syscalls.
; (See syscalls.conf to see what it is processed into.)
;
; Fields: number type [type-dependent ...]
;	number	system call number, must be in order
;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
;		the compatibility options defined in syscalls.conf.
;
; types:
;	STD	always included
;	OBSOL	obsolete, not included in system
;	UNIMPL	unimplemented, not included in system
;	NODEF	included, but don't define the syscall number
;	NOARGS	included, but don't define the syscall args structure
;
; The compat options are defined in the syscalls.conf file, and the
; compat option name is prefixed to the syscall name.  Other than
; that, they're like NODEF (for 'compat' options), or STD (for
; 'libcompat' options).
;
; The type-dependent arguments are as follows:
; For STD, NODEF, NOARGS, and compat syscalls:
;	{ pseudo-proto } [alias]
; For other syscalls:
;	[comment]
;
; #ifdef's, etc. may be included, and are copied to the output files.
; #include's are copied to the syscall names and switch definition files only.

#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
#include "opt_sysv.h"
#endif

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/syscallargs.h>

#include <compat/mach/mach_types.h>
#include <compat/mach/mach_message.h>
#include <compat/mach/mach_syscallargs.h>
%%

0	UNIMPL	
1	UNIMPL	
2	UNIMPL	
3	UNIMPL	
4	UNIMPL	
5	UNIMPL	
6	UNIMPL	
7	UNIMPL	
8	UNIMPL	
9	UNIMPL	
10	UNIMPL	
11	UNIMPL	
12	UNIMPL	
13	UNIMPL	
14	UNIMPL	
15	UNIMPL	
16	UNIMPL	
17	UNIMPL	
18	UNIMPL	
19	UNIMPL	
20	UNIMPL	
21	UNIMPL	
22	UNIMPL	
23	UNIMPL	
24	UNIMPL	
25	UNIMPL	
26	STD		{ mach_port_name_t	mach_sys_reply_port(void); }
27	STD		{ mach_port_name_t \
			    mach_sys_thread_self_trap(void); }
28	STD		{ mach_port_name_t	mach_sys_task_self_trap(void); }
29	STD		{ mach_port_name_t	mach_sys_host_self_trap(void); }
30	UNIMPL	
31	UNIMPL	
32	STD		{ mach_kern_return_t	mach_sys_msg_overwrite_trap( \
			    mach_msg_header_t	*msg, \
			    mach_msg_option_t	option, \
			    mach_msg_size_t	send_size, \
			    mach_msg_size_t	rcv_size, \
			    mach_port_name_t	rcv_name, \
			    mach_msg_timeout_t	timeout, \
			    mach_port_name_t	notify, \
			    mach_msg_header_t	*rcv_msg, \
			    mach_msg_size_t	scatter_list_size); }
33	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_signal_trap( \
			    mach_port_name_t signal_name); }
34	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_signal_all_trap( \
			    mach_port_name_t signal_name); }
35	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_signal_thread_trap( \
			    mach_port_name_t signal_name); }
36	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_wait_trap( \
			    mach_port_name_t wait_name); }
37	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_wait_signal_trap( \
			    mach_port_name_t wait_name, \
			    mach_port_name_t signal_name); }
38	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_timedwait_trap( \
			    mach_port_name_t wait_name, \
			    unsigned int sec, \
			    mach_clock_res_t nsec); }
39	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_timedwait_signal_trap( \
			    mach_port_name_t wait_name, \
			    mach_port_name_t signal_name, \
			    unsigned int sec, \
			    mach_clock_res_t nsec); }
40	UNIMPL
41	STD		{ mach_kern_return_t mach_sys_init_process(void); }
42	UNIMPL
43	STD		{ mach_kern_return_t mach_sys_map_fd(int fd, \
			    mach_vm_offset_t offset, mach_vm_offset_t *va, \
			    mach_boolean_t findspace, mach_vm_size_t size); }
44	UNIMPL
45	STD		{ mach_kern_return_t mach_sys_task_for_pid( \
			    mach_port_t target_tport, int pid, \
			    mach_port_t *t); }
46	STD		{ mach_kern_return_t mach_sys_pid_for_task( \
			    mach_port_t t, int *x); } 
47	UNIMPL
48	STD		{ mach_kern_return_t mach_sys_macx_swapon( \
			    char *name, int flags, int size, int priority); }
49	STD		{ mach_kern_return_t mach_sys_macx_swapoff( \
			    char *name, int flags); }
50	UNIMPL
51	STD		{ mach_kern_return_t mach_sys_macx_triggers( \
			    int hi_water, int low_water, int flags, \
			    mach_port_t alert_port); }
52	UNIMPL
53	UNIMPL
54	UNIMPL
55	UNIMPL
56	UNIMPL
57	UNIMPL
58	UNIMPL
59	STD		{ mach_kern_return_t mach_sys_swtch_pri( \
			    int pri); }
60	STD		{ mach_kern_return_t mach_sys_swtch(void); }
61	STD		{ mach_kern_return_t mach_sys_syscall_thread_switch( \
			    mach_port_name_t thread_name, \
			    int option, \
			    mach_msg_timeout_t option_time); }
62	STD		{ mach_kern_return_t mach_sys_clock_sleep_trap( \
			    mach_port_name_t clock_name, \
			    mach_sleep_type_t sleep_type, \
			    int sleep_sec, int sleep_nsec, \
			    mach_timespec_t *wakeup_time); }
63	UNIMPL
64	UNIMPL
65	UNIMPL
66	UNIMPL
67	UNIMPL
68	UNIMPL
69	UNIMPL
70	UNIMPL
71	UNIMPL
72	UNIMPL
73	UNIMPL
74	UNIMPL
75	UNIMPL
76	UNIMPL
77	UNIMPL
78	UNIMPL
79	UNIMPL
80	UNIMPL
81	UNIMPL
82	UNIMPL
83	UNIMPL
84	UNIMPL
85	UNIMPL
86	UNIMPL
87	UNIMPL
88	UNIMPL
89	STD		{ mach_kern_return_t mach_sys_timebase_info( \
			    mach_timebase_info_t info); }
90	STD		{ mach_kern_return_t mach_sys_wait_until( \
			    u_int64_t deadline); }
91	STD		{ mach_port_name_t mach_sys_timer_create(void); }
92	STD		{ mach_kern_return_t mach_sys_timer_destroy( \
			    mach_port_name_t name); }
93	STD		{ mach_kern_return_t mach_sys_timer_arm( \
			    mach_port_name_t name, \
			    mach_absolute_time_t expire_time); }
94	STD		{ mach_kern_return_t mach_sys_timer_cancel( \
			    mach_port_name_t name, \
			    mach_absolute_time_t *result_time); }
95	STD		{ mach_kern_return_t mach_sys_get_time_base_info(void); }
96	UNIMPL
97	UNIMPL
98	UNIMPL
99	UNIMPL
100	UNIMPL
101	UNIMPL
102	UNIMPL
103	UNIMPL
104	UNIMPL
105	UNIMPL
106	UNIMPL
107	UNIMPL
108	UNIMPL
109	UNIMPL
110	UNIMPL
111	UNIMPL
112	UNIMPL
113	UNIMPL
114	UNIMPL
115	UNIMPL
116	UNIMPL
117	UNIMPL
118	UNIMPL
119	UNIMPL
120	UNIMPL
121	UNIMPL
122	UNIMPL
123	UNIMPL
124	UNIMPL
125	UNIMPL
126	UNIMPL
127	UNIMPL
@


1.2.4.3
log
@#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.2.4.2 2002/05/29 21:32:47 nathanw Exp $
a44 1
#include <sys/sa.h>
@


1.2.4.4
log
@Catch up to -current
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.2.4.3 2002/11/11 22:07:31 nathanw Exp $
d85 1
a85 8
31	STD		{ mach_msg_return_t	mach_sys_msg_trap( \
			    mach_msg_header_t	*msg, \
			    mach_msg_option_t	option, \
			    mach_msg_size_t	send_size, \
			    mach_msg_size_t	rcv_size, \
			    mach_port_name_t	rcv_name, \
			    mach_msg_timeout_t	timeout, \
			    mach_port_name_t	notify); }
@


1.2.4.5
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.2.4.4 2002/12/11 06:37:33 thorpej Exp $
a49 1
#include <compat/mach/mach_clock.h>
@


1.2.2.1
log
@file syscalls.master was added on branch kqueue on 2001-08-03 04:12:46 +0000
@
text
@d1 233
@


1.2.2.2
log
@update to -current
@
text
@a0 233
	$NetBSD: syscalls.master,v 1.2.2.1 2001/08/03 04:12:46 lukem Exp $

;	@@(#)syscalls.master	8.1 (Berkeley) 7/19/93

; NetBSD COMPAT_MACH system call name/number "master" file.
; This is used for the negative mach syscalls.
; (See syscalls.conf to see what it is processed into.)
;
; Fields: number type [type-dependent ...]
;	number	system call number, must be in order
;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
;		the compatibility options defined in syscalls.conf.
;
; types:
;	STD	always included
;	OBSOL	obsolete, not included in system
;	UNIMPL	unimplemented, not included in system
;	NODEF	included, but don't define the syscall number
;	NOARGS	included, but don't define the syscall args structure
;
; The compat options are defined in the syscalls.conf file, and the
; compat option name is prefixed to the syscall name.  Other than
; that, they're like NODEF (for 'compat' options), or STD (for
; 'libcompat' options).
;
; The type-dependent arguments are as follows:
; For STD, NODEF, NOARGS, and compat syscalls:
;	{ pseudo-proto } [alias]
; For other syscalls:
;	[comment]
;
; #ifdef's, etc. may be included, and are copied to the output files.
; #include's are copied to the syscall names and switch definition files only.

#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
#include "opt_sysv.h"
#endif

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/syscallargs.h>

#include <compat/mach/mach_types.h>
#include <compat/mach/mach_message.h>
#include <compat/mach/mach_syscallargs.h>
%%

0	UNIMPL	
1	UNIMPL	
2	UNIMPL	
3	UNIMPL	
4	UNIMPL	
5	UNIMPL	
6	UNIMPL	
7	UNIMPL	
8	UNIMPL	
9	UNIMPL	
10	UNIMPL	
11	UNIMPL	
12	UNIMPL	
13	UNIMPL	
14	UNIMPL	
15	UNIMPL	
16	UNIMPL	
17	UNIMPL	
18	UNIMPL	
19	UNIMPL	
20	UNIMPL	
21	UNIMPL	
22	UNIMPL	
23	UNIMPL	
24	UNIMPL	
25	UNIMPL	
26	STD		{ mach_port_name_t	mach_sys_reply_port(void); }
27	STD		{ mach_port_name_t \
			    mach_sys_thread_self_trap(void); }
28	STD		{ mach_port_name_t	mach_sys_task_self_trap(void); }
29	STD		{ mach_port_name_t	mach_sys_host_self_trap(void); }
30	UNIMPL	
31	UNIMPL	
32	STD		{ mach_kern_return_t	mach_sys_msg_overwrite_trap( \
			    mach_msg_header_t	*msg, \
			    mach_msg_option_t	option, \
			    mach_msg_size_t	send_size, \
			    mach_msg_size_t	rcv_size, \
			    mach_port_name_t	rcv_name, \
			    mach_msg_timeout_t	timeout, \
			    mach_port_name_t	notify, \
			    mach_msg_header_t	*rcv_msg, \
			    mach_msg_size_t	scatter_list_size); }
33	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_signal_trap( \
			    mach_port_name_t signal_name); }
34	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_signal_all_trap( \
			    mach_port_name_t signal_name); }
35	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_signal_thread_trap( \
			    mach_port_name_t signal_name); }
36	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_wait_trap( \
			    mach_port_name_t wait_name); }
37	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_wait_signal_trap( \
			    mach_port_name_t wait_name, \
			    mach_port_name_t signal_name); }
38	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_timedwait_trap( \
			    mach_port_name_t wait_name, \
			    unsigned int sec, \
			    mach_clock_res_t nsec); }
39	STD		{ mach_kern_return_t \
			    mach_sys_semaphore_timedwait_signal_trap( \
			    mach_port_name_t wait_name, \
			    mach_port_name_t signal_name, \
			    unsigned int sec, \
			    mach_clock_res_t nsec); }
40	UNIMPL
41	STD		{ mach_kern_return_t mach_sys_init_process(void); }
42	UNIMPL
43	STD		{ mach_kern_return_t mach_sys_map_fd(int fd, \
			    mach_vm_offset_t offset, mach_vm_offset_t *va, \
			    mach_boolean_t findspace, mach_vm_size_t size); }
44	UNIMPL
45	STD		{ mach_kern_return_t mach_sys_task_for_pid( \
			    mach_port_t target_tport, int pid, \
			    mach_port_t *t); }
46	STD		{ mach_kern_return_t mach_sys_pid_for_task( \
			    mach_port_t t, int *x); } 
47	UNIMPL
48	STD		{ mach_kern_return_t mach_sys_macx_swapon( \
			    char *name, int flags, int size, int priority); }
49	STD		{ mach_kern_return_t mach_sys_macx_swapoff( \
			    char *name, int flags); }
50	UNIMPL
51	STD		{ mach_kern_return_t mach_sys_macx_triggers( \
			    int hi_water, int low_water, int flags, \
			    mach_port_t alert_port); }
52	UNIMPL
53	UNIMPL
54	UNIMPL
55	UNIMPL
56	UNIMPL
57	UNIMPL
58	UNIMPL
59	STD		{ mach_kern_return_t mach_sys_swtch_pri( \
			    int pri); }
60	STD		{ mach_kern_return_t mach_sys_swtch(void); }
61	STD		{ mach_kern_return_t mach_sys_syscall_thread_switch( \
			    mach_port_name_t thread_name, \
			    int option, \
			    mach_msg_timeout_t option_time); }
62	STD		{ mach_kern_return_t mach_sys_clock_sleep_trap( \
			    mach_port_name_t clock_name, \
			    mach_sleep_type_t sleep_type, \
			    int sleep_sec, int sleep_nsec, \
			    mach_timespec_t *wakeup_time); }
63	UNIMPL
64	UNIMPL
65	UNIMPL
66	UNIMPL
67	UNIMPL
68	UNIMPL
69	UNIMPL
70	UNIMPL
71	UNIMPL
72	UNIMPL
73	UNIMPL
74	UNIMPL
75	UNIMPL
76	UNIMPL
77	UNIMPL
78	UNIMPL
79	UNIMPL
80	UNIMPL
81	UNIMPL
82	UNIMPL
83	UNIMPL
84	UNIMPL
85	UNIMPL
86	UNIMPL
87	UNIMPL
88	UNIMPL
89	STD		{ mach_kern_return_t mach_sys_timebase_info( \
			    mach_timebase_info_t info); }
90	STD		{ mach_kern_return_t mach_sys_wait_until( \
			    u_int64_t deadline); }
91	STD		{ mach_port_name_t mach_sys_timer_create(void); }
92	STD		{ mach_kern_return_t mach_sys_timer_destroy( \
			    mach_port_name_t name); }
93	STD		{ mach_kern_return_t mach_sys_timer_arm( \
			    mach_port_name_t name, \
			    mach_absolute_time_t expire_time); }
94	STD		{ mach_kern_return_t mach_sys_timer_cancel( \
			    mach_port_name_t name, \
			    mach_absolute_time_t *result_time); }
95	STD		{ mach_kern_return_t mach_sys_get_time_base_info(void); }
96	UNIMPL
97	UNIMPL
98	UNIMPL
99	UNIMPL
100	UNIMPL
101	UNIMPL
102	UNIMPL
103	UNIMPL
104	UNIMPL
105	UNIMPL
106	UNIMPL
107	UNIMPL
108	UNIMPL
109	UNIMPL
110	UNIMPL
111	UNIMPL
112	UNIMPL
113	UNIMPL
114	UNIMPL
115	UNIMPL
116	UNIMPL
117	UNIMPL
118	UNIMPL
119	UNIMPL
120	UNIMPL
121	UNIMPL
122	UNIMPL
123	UNIMPL
124	UNIMPL
125	UNIMPL
126	UNIMPL
127	UNIMPL
@


1.1
log
@add a shell that does nothing for now for the mach syscalls.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.51 2001/05/30 11:37:32 mrg Exp $
d48 1
d86 9
a94 1
			    void); }
@
