/*
* Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
*
- * @APPLE_LICENSE_OSREFERENCE_HEADER_START@
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
- * This file contains Original Code and/or Modifications of Original Code
- * as defined in and that are subject to the Apple Public Source License
- * Version 2.0 (the 'License'). You may not use this file except in
- * compliance with the License. The rights granted to you under the
- * License may not be used to create, or enable the creation or
- * redistribution of, unlawful or unlicensed copies of an Apple operating
- * system, or to circumvent, violate, or enable the circumvention or
- * violation of, any terms of an Apple operating system software license
- * agreement.
- *
- * Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this
- * file.
- *
- * The Original Code and all software distributed under the License are
- * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
- * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
- * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
- * Please see the License for the specific language governing rights and
+ * This file contains Original Code and/or Modifications of Original Code
+ * as defined in and that are subject to the Apple Public Source License
+ * Version 2.0 (the 'License'). You may not use this file except in
+ * compliance with the License. The rights granted to you under the License
+ * may not be used to create, or enable the creation or redistribution of,
+ * unlawful or unlicensed copies of an Apple operating system, or to
+ * circumvent, violate, or enable the circumvention or violation of, any
+ * terms of an Apple operating system software license agreement.
+ *
+ * Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
+ *
+ * The Original Code and all software distributed under the License are
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ * Please see the License for the specific language governing rights and
* limitations under the License.
- *
- * @APPLE_LICENSE_OSREFERENCE_HEADER_END@
+ *
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
*
*
* System call switch table.
#define SYS_getpriority 100
/* 101 old send */
/* 102 old recv */
+#ifdef __ppc__
/* 103 old sigreturn */
+#else
+#define SYS_sigreturn 103
+#endif
#define SYS_bind 104
#define SYS_setsockopt 105
#define SYS_listen 106
/* 113 old recvmsg */
/* 114 old sendmsg */
/* 115 old vtrace */
+#ifdef __ppc__
+#define SYS_ppc_gettimeofday 116
+#define SYS_gettimeofday 116
+#else
#define SYS_gettimeofday 116
+#endif
#define SYS_getrusage 117
#define SYS_getsockopt 118
/* 119 old resuba */
#define SYS_setgid 181
#define SYS_setegid 182
#define SYS_seteuid 183
+#ifdef __ppc__
#define SYS_sigreturn 184
-#define SYS_chud 185
+#else
+ /* 184 */
+#endif
+ /* 185 */
/* 186 */
/* 187 */
#define SYS_stat 188
#define SYS_mlock 203
#define SYS_munlock 204
#define SYS_undelete 205
+#ifdef __ppc__
+#define SYS_ATsocket 206
+#define SYS_ATgetmsg 207
+#define SYS_ATputmsg 208
+#define SYS_ATPsndreq 209
+#define SYS_ATPsndrsp 210
+#define SYS_ATPgetreq 211
+#define SYS_ATPgetrsp 212
+ /* 213 Reserved for AppleTalk */
+#else
#define SYS_ATsocket 206
#define SYS_ATgetmsg 207
#define SYS_ATputmsg 208
#define SYS_ATPgetreq 211
#define SYS_ATPgetrsp 212
/* 213 Reserved for AppleTalk */
+#endif /* __ppc__ */
#define SYS_kqueue_from_portset_np 214
#define SYS_kqueue_portset_np 215
#define SYS_mkcomplex 216
#define SYS___pthread_canceled 333
#define SYS___semwait_signal 334
#define SYS_utrace 335
-#define SYS_proc_info 336
+ /* 336 */
/* 337 */
/* 338 */
/* 339 */
#define SYS_kqueue 362
#define SYS_kevent 363
#define SYS_lchown 364
-#define SYS_stack_snapshot 365
+ /* 365 */
/* 366 */
/* 367 */
/* 368 */