[Midnightbsd-cvs] src [7410] trunk/sys/kern/syscalls.master: fix os name

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jan 10 14:35:29 EST 2016


Revision: 7410
          http://svnweb.midnightbsd.org/src/?rev=7410
Author:   laffer1
Date:     2016-01-10 14:35:28 -0500 (Sun, 10 Jan 2016)
Log Message:
-----------
fix os name

Modified Paths:
--------------
    trunk/sys/kern/syscalls.master

Modified: trunk/sys/kern/syscalls.master
===================================================================
--- trunk/sys/kern/syscalls.master	2016-01-09 14:24:41 UTC (rev 7409)
+++ trunk/sys/kern/syscalls.master	2016-01-10 19:35:28 UTC (rev 7410)
@@ -51,6 +51,15 @@
 #include <sys/sysent.h>
 #include <sys/sysproto.h>
 
+#include <vm/vm.h>
+#include <sys/mach/mach_types.h>
+#include <sys/mach/message.h>
+#include <sys/mach/mach_time.h>
+#include <sys/mach/port.h>
+#include <sys/mach/clock_server.h>
+
+
+;;
 ; Reserved/unimplemented system calls in the range 0-150 inclusive
 ; are reserved for use in future Berkeley releases.
 ; Additional system calls implemented in vendor and other
@@ -829,8 +838,8 @@
 465	AUE_NULL	NOSTD	{ int aio_fsync(int op, struct aiocb *aiocbp); }
 466	AUE_RTPRIO	STD	{ int rtprio_thread(int function, \
 				    lwpid_t lwpid, struct rtprio *rtp); }
-467	AUE_NULL	UNIMPL	nosys
-468	AUE_NULL	UNIMPL	nosys
+467	AUE_NULL	UNIMPL nosys
+468	AUE_NULL	UNIMPL nosys
 469	AUE_NULL	UNIMPL	__getpath_fromfd
 470	AUE_NULL	UNIMPL	__getpath_fromaddr
 471	AUE_NULL	STD	{ int sctp_peeloff(int sd, uint32_t name); }
@@ -952,5 +961,275 @@
 				    int *status, int options, \
 				    struct __wrusage *wrusage, \
 				    siginfo_t *info); }
+533	AUE_NULL	UNIMPL nosys
+534	AUE_NULL	UNIMPL nosys
+535	AUE_NULL	UNIMPL nosys
+536	AUE_NULL	UNIMPL nosys
+537	AUE_NULL	UNIMPL nosys
+538	AUE_NULL	UNIMPL nosys
+539	AUE_NULL	UNIMPL nosys
+540	AUE_NULL	UNIMPL nosys
+541	AUE_NULL	UNIMPL nosys
+542	AUE_NULL	UNIMPL nosys
+543	AUE_NULL	UNIMPL nosys
+544	AUE_NULL	UNIMPL nosys
+545	AUE_NULL	UNIMPL nosys
+
+; padding so that the mach system calls are on a straightforward boundary
+546	AUE_NULL	UNIMPL	nosys
+547	AUE_NULL	UNIMPL	nosys
+548	AUE_NULL	UNIMPL	nosys
+549	AUE_NULL	UNIMPL	nosys
+550	AUE_NULL	UNIMPL	nosys
+551	AUE_NULL	UNIMPL	nosys
+552	AUE_NULL	UNIMPL	nosys
+553	AUE_NULL	UNIMPL	nosys
+554	AUE_NULL	UNIMPL	nosys
+555	AUE_NULL	UNIMPL	nosys
+556	AUE_NULL	UNIMPL	nosys
+557	AUE_NULL	UNIMPL	nosys
+558	AUE_NULL	UNIMPL	nosys
+559	AUE_NULL	UNIMPL	nosys
+560	AUE_NULL	UNIMPL	nosys
+561	AUE_NULL	UNIMPL	nosys
+562	AUE_NULL	UNIMPL	nosys
+563	AUE_NULL	UNIMPL	nosys
+564	AUE_NULL	UNIMPL	nosys
+565	AUE_NULL	UNIMPL	nosys
+566	AUE_NULL	UNIMPL	nosys
+567	AUE_NULL	UNIMPL	nosys
+568	AUE_NULL	UNIMPL	nosys
+569	AUE_NULL	UNIMPL	nosys
+570	AUE_NULL	UNIMPL	nosys
+571	AUE_NULL	UNIMPL	nosys
+572	AUE_NULL	UNIMPL	nosys
+573	AUE_NULL	UNIMPL	nosys
+574	AUE_NULL	UNIMPL	nosys
+575	AUE_NULL	UNIMPL	nosys
+576	AUE_NULL	UNIMPL	nosys
+577	AUE_NULL	UNIMPL	nosys
+578	AUE_NULL	UNIMPL	nosys
+579	AUE_NULL	UNIMPL	nosys
+580	AUE_NULL	UNIMPL	nosys
+581	AUE_NULL	UNIMPL	nosys
+582	AUE_NULL	UNIMPL	nosys
+583	AUE_NULL	UNIMPL	nosys
+584	AUE_NULL	UNIMPL	nosys
+585	AUE_NULL	UNIMPL	nosys
+586	AUE_NULL	UNIMPL	nosys
+587	AUE_NULL	UNIMPL	nosys
+588	AUE_NULL	UNIMPL	nosys
+589	AUE_NULL	UNIMPL	nosys
+590	AUE_NULL	UNIMPL	nosys
+591	AUE_NULL	UNIMPL	nosys
+592	AUE_NULL	UNIMPL	nosys
+593	AUE_NULL	UNIMPL	nosys
+594	AUE_NULL	UNIMPL	nosys
+595	AUE_NULL	UNIMPL	nosys
+596	AUE_NULL	UNIMPL	nosys
+597	AUE_NULL	UNIMPL	nosys
+598	AUE_NULL	UNIMPL	nosys
+599	AUE_NULL	UNIMPL	nosys
+; The mach syscall number space is negative on OS X 
+; here we have reserved this for OS X mach calls where the offset is: 600 + -(OSX mach index) 
+600 AUE_NULL	UNIMPL	nosys
+601 AUE_NULL	UNIMPL	nosys
+602 AUE_NULL	UNIMPL	nosys
+603 AUE_NULL	UNIMPL	nosys
+604 AUE_NULL	UNIMPL	nosys
+605 AUE_NULL	UNIMPL	nosys
+606 AUE_NULL	UNIMPL	nosys
+607 AUE_NULL	UNIMPL	nosys
+608 AUE_NULL	UNIMPL	nosys
+609 AUE_NULL	UNIMPL	nosys
+610 AUE_NULL	NOSTD		{ int _kernelrpc_mach_vm_allocate_trap( mach_port_name_t target, \
+								mach_vm_offset_t *address, \
+								mach_vm_size_t size, \
+								int flags); }
+611 AUE_NULL	UNIMPL	nosys
+612 AUE_NULL	NOSTD		{ int _kernelrpc_mach_vm_deallocate_trap(mach_port_name_t target, \
+							mach_vm_offset_t address, mach_vm_size_t size); }
+613 AUE_NULL	UNIMPL	nosys
+614 AUE_NULL	NOSTD		{ int _kernelrpc_mach_vm_protect_trap(mach_port_name_t target, \
+								mach_vm_offset_t address, mach_vm_size_t size, \
+								int set_maximum, vm_prot_t new_protection); }
+615  AUE_MMAP	NOSTD		{ int _kernelrpc_mach_vm_map_trap(mach_port_name_t target, \
+						  		mach_vm_offset_t *address, mach_vm_size_t size, \
+								mach_vm_offset_t mask, int flags, \
+								vm_prot_t cur_protection); }
+616 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_allocate_trap( \
+						  		mach_port_name_t target, mach_port_right_t right, \
+						  		mach_port_name_t *name); }
+617 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_destroy_trap( \
+						  		mach_port_name_t target, mach_port_name_t name);}
+618 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_deallocate_trap( \
+						  		mach_port_name_t target, mach_port_name_t name);}
+619 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_mod_refs_trap(		  \
+								mach_port_name_t target, mach_port_name_t name, \
+						  		mach_port_right_t right, mach_port_delta_t delta); }
+620 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_move_member_trap( \
+						  		mach_port_name_t target, mach_port_name_t member, \
+								mach_port_name_t after);}
+621 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_insert_right_trap( \
+						  		mach_port_name_t target, mach_port_name_t name, \
+						  		mach_port_name_t poly, \
+								mach_msg_type_name_t polyPoly); }
+622 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_insert_member_trap( \
+						  		mach_port_name_t target, mach_port_name_t name, \
+								mach_port_name_t pset); }
+623 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_extract_member_trap( \
+						  		mach_port_name_t target, mach_port_name_t name, \
+								mach_port_name_t pset); }
+624 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_construct_trap( \
+						  		mach_port_name_t target, \
+								struct mach_port_options *options, uint64_t context, \
+								mach_port_name_t *name);}
+625 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_destruct_trap( \
+						  		mach_port_name_t target, mach_port_name_t name, \
+								mach_port_delta_t srdelta, uint64_t guard);}
+626	AUE_NULL	NOSTD		{ int mach_reply_port(void); }
+627	AUE_NULL	NOSTD		{ int thread_self_trap(void); }
+628	AUE_NULL	NOSTD		{ int task_self_trap(void); }
+629	AUE_NULL	NOSTD	  	{ int host_self_trap(void); }
+630 AUE_NULL	UNIMPL	nosys
+631	AUE_NULL	NOSTD		{ int mach_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); }
+632	AUE_NULL	NOSTD		{ int mach_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); }
+633	AUE_NULL	NOSTD		{ int semaphore_signal_trap( \
+			  mach_port_name_t signal_name); }
+634	AUE_NULL	NOSTD		{ int semaphore_signal_all_trap( \
+			      mach_port_name_t signal_name); }
+635	AUE_NULL	NOSTD		{ int semaphore_signal_thread_trap( \
+			      	mach_port_name_t signal_name, \
+			    	mach_port_name_t thread); }
+636	AUE_NULL	NOSTD		{ int semaphore_wait_trap( \
+			      mach_port_name_t wait_name); }
+637	AUE_NULL	NOSTD		{ int semaphore_wait_signal_trap( \
+			      		  	  mach_port_name_t wait_name, \
+			      			  mach_port_name_t signal_name); }
+638	AUE_NULL	NOSTD		{ int semaphore_timedwait_trap( \
+							    mach_port_name_t wait_name, \
+			    				unsigned int sec, \
+			    				mach_clock_res_t nsec); }
+639	AUE_NULL	NOSTD		{ int semaphore_timedwait_signal_trap( \
+						  	  	mach_port_name_t wait_name, \
+							    mach_port_name_t signal_name, \
+			    				unsigned int sec, mach_clock_res_t nsec); }
+640 AUE_NULL	UNIMPL	nosys
+641	AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_guard_trap(mach_port_name_t target, \
+						  	  mach_port_name_t name, uint64_t guard, int strict); }
+642 AUE_NULL	NOSTD		{ int _kernelrpc_mach_port_unguard_trap(mach_port_name_t target, \
+						  	  mach_port_name_t name, uint64_t guard); }
+643	AUE_NULL	OBSOL	{ int mach_map_fd(int fd, \
+			    mach_vm_offset_t offset, mach_vm_offset_t *va, \
+			    mach_boolean_t findspace, mach_vm_size_t size); }
+644 AUE_NULL	NOSTD     { int task_name_for_pid(mach_port_name_t target_tport, \
+						  int pid, mach_port_name_t *tn); }
+645	AUE_NULL	NOSTD		{ int task_for_pid(mach_port_name_t target_tport, \
+						  int pid, mach_port_name_t *t); }
+646	AUE_NULL	NOSTD		{ int pid_for_task(mach_port_name_t t, int *pid); }
+647 AUE_NULL	UNIMPL	nosys
+648	AUE_NULL	NOSTD		{ int macx_swapon( \
+			    char *name, int flags, int size, int priority); }
+649	AUE_NULL	NOSTD		{ int macx_swapoff( \
+			    char *name, int flags); }
+650 AUE_NULL	UNIMPL	nosys
+651	AUE_NULL	NOSTD		{ int macx_triggers(int hi_water, int low_water, \
+			  	  int flags, mach_port_name_t alert_port); }
+652 AUE_NULL	NOSTD		{ int macx_backing_store_suspend(int suspend); }
+653 AUE_NULL	NOSTD		{ int macx_backing_store_recovery(int pid); }
+654 AUE_NULL	UNIMPL	nosys
+655 AUE_NULL	UNIMPL	nosys
+656 AUE_NULL	UNIMPL	nosys
+657 AUE_NULL	UNIMPL	nosys
+658 AUE_NULL	UNIMPL	nosys
+659	AUE_NULL	NOSTD		{ int swtch_pri(int pri); }
+660	AUE_NULL	NOSTD		{ int swtch(void); }
+661	AUE_NULL	NOSTD		{ int thread_switch( \
+			    mach_port_name_t thread_name, \
+			    int option, \
+			    mach_msg_timeout_t option_time); }
+662	AUE_NULL	NOSTD		{ int 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); }
+663 AUE_NULL	UNIMPL	nosys
+664 AUE_NULL	UNIMPL	nosys
+665 AUE_NULL	UNIMPL	nosys
+666 AUE_NULL	UNIMPL	nosys
+667 AUE_NULL	UNIMPL	nosys
+668 AUE_NULL	UNIMPL	nosys
+669 AUE_NULL	UNIMPL	nosys
+670 AUE_NULL	UNIMPL	nosys
+671 AUE_NULL	UNIMPL	nosys
+672 AUE_NULL	UNIMPL	nosys
+673 AUE_NULL	UNIMPL	nosys
+674 AUE_NULL	UNIMPL	nosys
+675 AUE_NULL	UNIMPL	nosys
+676 AUE_NULL	UNIMPL	nosys
+677 AUE_NULL	UNIMPL	nosys
+678 AUE_NULL	UNIMPL	nosys
+679 AUE_NULL	UNIMPL	nosys
+680 AUE_NULL	UNIMPL	nosys
+681 AUE_NULL	UNIMPL	nosys
+682 AUE_NULL	UNIMPL	nosys
+683 AUE_NULL	UNIMPL	nosys
+684 AUE_NULL	UNIMPL	nosys
+685 AUE_NULL	UNIMPL	nosys
+686 AUE_NULL	UNIMPL	nosys
+687 AUE_NULL	UNIMPL	nosys
+688 AUE_NULL	UNIMPL	nosys
+689	AUE_NULL	NOSTD		{ int mach_timebase_info(struct mach_timebase_info *info); }
+690	AUE_NULL	NOSTD		{ int mach_wait_until(uint64_t deadline); }
+691	AUE_NULL	NOSTD		{ int mk_timer_create(void); }
+692	AUE_NULL	NOSTD		{ int mk_timer_destroy(mach_port_name_t name); }
+693	AUE_NULL	NOSTD		{ int mk_timer_arm(mach_port_name_t name, \
+			      			mach_absolute_time_t expire_time); }
+694	AUE_NULL	NOSTD		{ int mk_timer_cancel(mach_port_name_t name, \
+			    		mach_absolute_time_t *result_time); }
+695	AUE_NULL	UNIMPL	nosys
+696 AUE_NULL	UNIMPL	nosys
+697 AUE_NULL	UNIMPL	nosys
+698 AUE_NULL	UNIMPL	nosys
+699 AUE_NULL	UNIMPL	nosys
+700 AUE_NULL	UNIMPL	nosys
+701 AUE_NULL	UNIMPL	nosys
+702 AUE_NULL	UNIMPL	nosys
+703 AUE_NULL	UNIMPL	nosys
+704 AUE_NULL	UNIMPL	nosys
+705 AUE_NULL	UNIMPL	nosys
+706 AUE_NULL	UNIMPL	nosys
+707 AUE_NULL	UNIMPL	nosys
+708 AUE_NULL	UNIMPL	nosys
+709 AUE_NULL	UNIMPL	nosys
+710 AUE_NULL	UNIMPL	nosys
+711 AUE_NULL	UNIMPL	nosys
+712 AUE_NULL	UNIMPL	nosys
+713 AUE_NULL	UNIMPL	nosys
+714 AUE_NULL	UNIMPL	nosys
+715 AUE_NULL	UNIMPL	nosys
+716 AUE_NULL	UNIMPL	nosys
+717 AUE_NULL	UNIMPL	nosys
+718 AUE_NULL	UNIMPL	nosys
+719 AUE_NULL	UNIMPL	nosys
+720 AUE_NULL	UNIMPL	nosys
+; end of Mach reserved
+
+
 ; Please copy any additions and changes to the following compatability tables:
 ; sys/compat/freebsd32/syscalls.master



More information about the Midnightbsd-cvs mailing list