this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i386 build work (in progress)

+7420 -516
+10
cmake/mig.cmake
··· 31 31 string(REPLACE ".defs" "" relativeName "${defFileName}") 32 32 get_filename_component(bareName "${relativeName}" NAME) 33 33 get_filename_component(dirName "${relativeName}" DIRECTORY) 34 + 35 + if ((NOT BITS) OR (BITS EQUAL 64)) 36 + set(MIG_ARCH "x86-64") 37 + else () 38 + set (MIG_ARCH "i386") 39 + endif() 34 40 35 41 # I hate myself for the following copy&paste, 36 42 # but I could not figure out a better way. ··· 45 51 ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_SERVER_HEADER_SUFFIX} 46 52 COMMAND 47 53 ${MIG_EXECUTABLE} 54 + -arch ${MIG_ARCH} 48 55 -user ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_USER_SOURCE_SUFFIX} 49 56 -header ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_USER_HEADER_SUFFIX} 50 57 -server ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_SERVER_SOURCE_SUFFIX} 51 58 -sheader ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_SERVER_HEADER_SUFFIX} 59 + -m${BITS} 52 60 ${MIG_FLAGS} 53 61 ${CMAKE_CURRENT_SOURCE_DIR}/${defFileName} 54 62 DEPENDS ··· 63 71 ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_SERVER_HEADER_SUFFIX} 64 72 COMMAND 65 73 ${MIG_EXECUTABLE} 74 + -arch ${MIG_ARCH} 66 75 -user ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_USER_SOURCE_SUFFIX} 67 76 -header ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_USER_HEADER_SUFFIX} 68 77 -server ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_SERVER_SOURCE_SUFFIX} 69 78 -sheader ${CMAKE_CURRENT_BINARY_DIR}/${relativeName}${MIG_SERVER_HEADER_SUFFIX} 79 + -m${BITS} 70 80 ${MIG_FLAGS} 71 81 ${CMAKE_CURRENT_SOURCE_DIR}/${defFileName} 72 82 DEPENDS
+15
platform-include/architecture/i386/asm_help.h
··· 304 304 305 305 #if defined(__DYNAMIC__) 306 306 #if defined(__i386__) 307 + #ifndef DARLING 307 308 #define PICIFY(var) \ 308 309 call 1f ; \ 309 310 1: ; \ 310 311 popl %edx ; \ 311 312 movl L ## var ## __non_lazy_ptr-1b(%edx),%edx 313 + #else // DARLING 314 + 315 + #define PICIFY(var) \ 316 + call 1f ; \ 317 + 1: ; \ 318 + popl %edx ; \ 319 + 2: ; \ 320 + addl $_GLOBAL_OFFSET_TABLE_+(2b-1b),%edx 321 + 322 + #endif // DARLING 312 323 #elif defined(__x86_64__) 313 324 #define PICIFY(var) \ 314 325 movq var@GOTPCREL(%rip),%r11 ··· 324 335 #endif 325 336 326 337 #if defined(__i386__) 338 + #ifndef DARLING 327 339 #define NON_LAZY_STUB(var) \ 328 340 .section __IMPORT,__pointers,non_lazy_symbol_pointers ; \ 329 341 L ## var ## __non_lazy_ptr: ; \ 330 342 .indirect_symbol var ; \ 331 343 .long 0 ; \ 332 344 .text 345 + #else 346 + #define NON_LAZY_STUB(var) 347 + #endif // DARLING 333 348 #elif defined(__x86_64__) 334 349 #define NON_LAZY_STUB(var) 335 350 #endif
+17
platform-include/mach/i386/syscall_sw.h
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved. 3 4 * ··· 74 75 /* 75 76 * Syscall entry macros for use in libc: 76 77 */ 78 + #ifndef DARLING 79 + 77 80 #define UNIX_SYSCALL_TRAP \ 78 81 int $(UNIX_INT) 79 82 #define MACHDEP_SYSCALL_TRAP \ 80 83 int $(MACHDEP_INT) 84 + 85 + #else // DARLING 86 + 87 + #define UNIX_SYSCALL_TRAP \ 88 + calll 1f ;\ 89 + 1: ;\ 90 + popl %ebx ;\ 91 + 2: ;\ 92 + addl $_GLOBAL_OFFSET_TABLE_+(2b-1b), %ebx ;\ 93 + call __darling_bsd_syscall@PLT 94 + #define MACHDEP_SYSCALL_TRAP \ 95 + ud2 96 + 97 + #endif 81 98 82 99 /* 83 100 * Macro to generate Mach call stubs in libc:
+4 -3
src/CMakeLists.txt
··· 11 11 set(CMAKE_SYSTEM_PROCESSOR "i686") 12 12 endif() 13 13 14 - message(STATUS "Building for ${CMAKE_SYSTEM_PROCESSOR}, ${CMAKE_C_FLAGS}") 15 - 16 14 if(CMAKE_SIZEOF_VOID_P EQUAL 4 OR CMAKE_INSTALL_LIBDIR STREQUAL "lib32") 17 15 set(BITS 32) 18 16 add_definitions(-DTARGET_CPU_X86=1 -D__LITTLE_ENDIAN__) 17 + set(CMAKE_SYSTEM_PROCESSOR "i686") 19 18 else(CMAKE_SIZEOF_VOID_P EQUAL 4 OR CMAKE_INSTALL_LIBDIR STREQUAL "lib32") 20 19 set(BITS 64) 21 20 add_definitions(-DTARGET_CPU_X86_64=1 -D__LITTLE_ENDIAN__) 22 21 endif(CMAKE_SIZEOF_VOID_P EQUAL 4 OR CMAKE_INSTALL_LIBDIR STREQUAL "lib32") 23 22 23 + message(STATUS "Building for ${CMAKE_SYSTEM_PROCESSOR}, ${CMAKE_C_FLAGS}") 24 + 24 25 if (CMAKE_INSTALL_LIBDIR STREQUAL "lib32") 25 26 set(CMAKE_CPP_FLAGS "${CMAKE_CPP_FLAGS} -m32") 26 27 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32") 27 28 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32") 28 - set(CMAKE_ASM_NASM_OBJECT_FORMAT "elf") 29 + set(CMAKE_ASM_FLAGS "-m32") 29 30 SET(CMAKE_C_SIZEOF_DATA_PTR 4) 30 31 SET(SUFFIX "32") 31 32 endif(CMAKE_INSTALL_LIBDIR STREQUAL "lib32")
+1 -1
src/kernel/emulation/linux/CMakeLists.txt
··· 155 155 bsdthread/workq_open.c 156 156 psynch/psynch_mutexwait.c 157 157 psynch/psynch_mutexdrop.c 158 - syscalls-amd64.asm 158 + syscalls-table.S 159 159 ) 160 160 161 161 set_source_files_properties(mman/mman.c PROPERTIES COMPILE_FLAGS
+8
src/kernel/emulation/linux/base.c
··· 14 14 "syscall\n" 15 15 "ret"); 16 16 } 17 + #elif defined(__i386__) 18 + long linux_syscall(long a1, long a2, long a3, long a4, long a5, long a6, int nr) 19 + { 20 + __asm__("sysenter\n" 21 + "ret\n" 22 + :: "a"(nr), "b" (a1), "c"(a2), "d"(a3), 23 + "S"(a4), "D"(a5), "ebp"(a6)); 24 + } 17 25 #else 18 26 # error Unsupported platform! 19 27 #endif
+2
src/kernel/emulation/linux/bsdthread/workq_kernreturn.c
··· 115 115 :: "D" (stack), "S" (thread_self), "a" (wqueue_entry_point), 116 116 "b" (me.prio | WQ_FLAG_THREAD_REUSE | WQ_FLAG_THREAD_NEWSPI) 117 117 ); 118 + #elif defined(__i386__) 119 + # warning Missing assembly for i386! 118 120 #else 119 121 # error Missing assembly! 120 122 #endif
+7
src/kernel/emulation/linux/stat/common.h
··· 2 2 #define LINUX_STAT_COMMON_H 3 3 4 4 #ifdef __i386__ 5 + 6 + #ifdef st_atime 7 + # undef st_atime 8 + # undef st_mtime 9 + # undef st_ctime 10 + #endif 11 + 5 12 struct linux_stat { 6 13 unsigned long long st_dev; 7 14 unsigned char __pad0[4];
+1 -1
src/kernel/emulation/linux/stat/getfsstat.c
··· 65 65 strlcpy(buf[count].f_fstypename, p, sizeof(buf[count].f_fstypename)); 66 66 67 67 #ifdef __NR_statfs64 68 - if (LINUX_SYSCALL2(__NR_statfs64, (char*buf[count].f_mntonname, &lbuf) < 0) 68 + if (LINUX_SYSCALL2(__NR_statfs64, (char*)buf[count].f_mntonname, &lbuf) < 0) 69 69 #else 70 70 if (LINUX_SYSCALL2(__NR_statfs, (char*)buf[count].f_mntonname, &lbuf) < 0) 71 71 #endif
-14
src/kernel/emulation/linux/syscalls-amd64.asm
··· 1 - .globl __darling_bsd_syscall 2 - 3 - __darling_bsd_syscall: 4 - movq __bsd_syscall_table@GOTPCREL(%rip), %r10 5 - movq (%r10,%rax,8), %r10 6 - test %r10, %r10 7 - jz .no_sys 8 - call *%r10 9 - ret 10 - .no_sys: 11 - movq %rax, %rdi 12 - call __unknown_syscall@PLT 13 - ret 14 -
+42
src/kernel/emulation/linux/syscalls-table.S
··· 1 + .globl __darling_bsd_syscall 2 + 3 + #if defined(__x86_64__) 4 + 5 + __darling_bsd_syscall: 6 + movq __bsd_syscall_table@GOTPCREL(%rip), %r10 7 + movq (%r10,%rax,8), %r10 8 + test %r10, %r10 9 + jz .no_sys 10 + call *%r10 11 + ret 12 + .no_sys: 13 + movq %rax, %rdi 14 + call __unknown_syscall@PLT 15 + ret 16 + 17 + #elif defined(__i386__) 18 + 19 + __darling_bsd_syscall: 20 + calll .L0$pb 21 + .L0$pb: 22 + popl %ecx 23 + .Ltmp0: 24 + addl $_GLOBAL_OFFSET_TABLE_+(.Ltmp0-.L0$pb), %ecx 25 + movl __bsd_syscall_table@GOT(%eax), %eax 26 + movl (%eax), %eax 27 + movl 8(%esp), %ecx 28 + movl (%eax,%ecx,4), %eax 29 + test %eax, %eax 30 + jz .no_sys 31 + call *%eax 32 + ret 33 + .no_sys: 34 + pushl %ecx 35 + call __unknown_syscall@PLT 36 + addl $4, %esp 37 + ret 38 + 39 + #else 40 + # error Missing assembly 41 + #endif 42 +
+784 -390
src/kernel/libsyscall/CMakeLists.txt
··· 73 73 74 74 wrappers/cancelable/fcntl.c 75 75 wrappers/cancelable/fcntl-cancel.c 76 - wrappers/cancelable/select.c # defined in sys/ 76 + wrappers/cancelable/select.c # defined in sys_x86-64/ 77 77 #wrappers/cancelable/select-cancel.c 78 78 wrappers/cancelable/sigsuspend.c 79 79 wrappers/cancelable/sigsuspend-cancel.c ··· 157 157 mach/slot_name.c 158 158 mach/string.c 159 159 mach/thread_act.c 160 - 161 - sys/__accept_nocancel.S 162 - sys/__accept.S 163 - sys/__access_extended.S 164 - sys/access.S 165 - sys/acct.S 166 - sys/adjtime.S 167 - sys/aio_cancel.S 168 - sys/aio_error.S 169 - sys/aio_fsync.S 170 - sys/aio_read.S 171 - sys/aio_return.S 172 - sys/__aio_suspend_nocancel.S 173 - sys/aio_suspend.S 174 - sys/aio_write.S 175 - sys/auditctl.S 176 - sys/auditon.S 177 - sys/audit.S 178 - sys/audit_session_join.S 179 - sys/audit_session_port.S 180 - sys/audit_session_self.S 181 - sys/__bind.S 182 - sys/__bsdthread_create.S 183 - sys/__bsdthread_ctl.S 184 - sys/__bsdthread_register.S 185 - sys/__bsdthread_terminate.S 186 - sys/change_fdguard_np.S 187 - sys/chdir.S 188 - sys/chflags.S 189 - sys/__chmod_extended.S 190 - sys/__chmod.S 191 - sys/chown.S 192 - sys/chroot.S 193 - sys/__chud.S 194 - sys/__close_nocancel.S 195 - sys/close.S 196 - sys/__coalition_info.S 197 - sys/__coalition.S 198 - sys/__connect_nocancel.S 199 - sys/__connect.S 200 - sys/connectx.S 201 - sys/__copyfile.S 202 - sys/csops_audittoken.S 203 - sys/csops.S 204 - sys/__csrctl.S 205 - sys/custom.S 206 - sys/__delete.S 207 - sys/__disable_threadsignal.S 208 - sys/disconnectx.S 209 - sys/dup2.S 210 - sys/dup.S 211 - sys/exchangedata.S 212 - sys/execve.S 213 - sys/__exit.S 214 - sys/faccessat.S 215 - sys/fchdir.S 216 - sys/fchflags.S 217 - sys/fchmodat.S 218 - sys/__fchmod_extended.S 219 - sys/__fchmod.S 220 - sys/fchownat.S 221 - sys/fchown.S 222 - sys/__fcntl_nocancel.S 223 - sys/__fcntl.S 224 - sys/fdatasync.S 225 - sys/ffsctl.S 226 - sys/fgetattrlist.S 227 - sys/fgetxattr.S 228 - sys/fhopen.S 229 - sys/fileport_makefd.S 230 - sys/fileport_makeport.S 231 - sys/flistxattr.S 232 - sys/flock.S 233 - sys/__fork.S 234 - sys/fpathconf.S 235 - sys/fremovexattr.S 236 - sys/fsctl.S 237 - sys/fsetattrlist.S 238 - sys/fsetxattr.S 239 - sys/__fsgetpath.S 240 - sys/__fstat64_extended.S 241 - sys/fstat64.S 242 - sys/fstatat64.S 243 - sys/fstatat.S 244 - sys/__fstat_extended.S 245 - sys/fstatfs64.S 246 - sys/fstatfs.S 247 - sys/fstat.S 248 - sys/__fsync_nocancel.S 249 - sys/fsync.S 250 - sys/ftruncate.S 251 - sys/futimes.S 252 - sys/getattrlistat.S 253 - sys/getattrlistbulk.S 254 - sys/__getattrlist.S 255 - sys/getaudit_addr.S 256 - sys/getauid.S 257 - sys/__getdirentries64.S 258 - sys/getdirentriesattr.S 259 - sys/getdirentries.S 260 - sys/getdtablesize.S 261 - sys/getegid.S 262 - sys/geteuid.S 263 - sys/getfh.S 264 - sys/getfsstat64.S 265 - sys/getfsstat.S 266 - sys/getgid.S 267 - sys/getgroups.S 268 - sys/__gethostuuid.S 269 - sys/getitimer.S 270 - sys/__getlcid.S 271 - sys/__getlogin.S 272 - sys/__getpeername.S 273 - sys/getpgid.S 274 - sys/getpgrp.S 275 - sys/__getpid.S 276 - sys/getppid.S 277 - sys/getpriority.S 278 - sys/__getrlimit.S 279 - sys/getrusage.S 280 - sys/__getsgroups.S 281 - sys/getsid.S 282 - sys/__getsockname.S 283 - sys/getsockopt.S 284 - sys/__gettid.S 285 - sys/__gettimeofday.S 286 - sys/getuid.S 287 - sys/__getwgroups.S 288 - sys/getxattr.S 289 - sys/guarded_close_np.S 290 - sys/guarded_kqueue_np.S 291 - sys/__guarded_open_dprotected_np.S 292 - sys/__guarded_open_np.S 293 - sys/guarded_pwrite_np.S 294 - sys/guarded_write_np.S 295 - sys/guarded_writev_np.S 296 - sys/__identitysvc.S 297 - sys/__initgroups.S 298 - sys/__ioctl.S 299 - sys/__iopolicysys.S 300 - sys/issetugid.S 301 - sys/kas_info.S 302 - sys/__kdebug_trace.S 303 - #sys/kevent64.S 304 - #sys/kevent.S 305 - sys/__kill.S 306 - #sys/kqueue.S 307 - sys/__lchown.S 308 - sys/ledger.S 309 - sys/linkat.S 310 - sys/link.S 311 - sys/lio_listio.S 312 - sys/__listen.S 313 - sys/listxattr.S 314 - sys/__lseek.S 315 - sys/__lstat64_extended.S 316 - sys/lstat64.S 317 - sys/__lstat_extended.S 318 - sys/lstat.S 319 - sys/__mac_execve.S 320 - sys/__mac_get_fd.S 321 - sys/__mac_get_file.S 322 - sys/__mac_getfsstat.S 323 - sys/__mac_get_lcid.S 324 - sys/__mac_get_lctx.S 325 - sys/__mac_get_link.S 326 - sys/__mac_get_mount.S 327 - sys/__mac_get_pid.S 328 - sys/__mac_get_proc.S 329 - sys/__mac_mount.S 330 - sys/__mac_set_fd.S 331 - sys/__mac_set_file.S 332 - sys/__mac_set_lctx.S 333 - sys/__mac_set_link.S 334 - sys/__mac_set_proc.S 335 - sys/__mac_syscall.S 336 - sys/madvise.S 337 - sys/memorystatus_control.S 338 - sys/memorystatus_get_level.S 339 - sys/mincore.S 340 - sys/minherit.S 341 - sys/mkdirat.S 342 - sys/__mkdir_extended.S 343 - sys/mkdir.S 344 - sys/__mkfifo_extended.S 345 - sys/mkfifo.S 346 - sys/mknod.S 347 - sys/mlockall.S 348 - sys/mlock.S 349 - sys/__mmap.S 350 - sys/modwatch.S 351 - sys/mount.S 352 - sys/__mprotect.S 353 - sys/mremap_encrypted.S 354 - sys/__msgctl.S 355 - sys/msgget.S 356 - sys/__msgrcv_nocancel.S 357 - sys/msgrcv.S 358 - sys/__msgsnd_nocancel.S 359 - sys/msgsnd.S 360 - sys/__msgsys.S 361 - sys/__msync_nocancel.S 362 - sys/__msync.S 363 - sys/munlockall.S 364 - sys/munlock.S 365 - sys/__munmap.S 366 - sys/necp_match_policy.S 367 - sys/nfsclnt.S 368 - sys/nfssvc.S 369 - sys/____old_semwait_signal_nocancel.S 370 - sys/__old_semwait_signal.S 371 - sys/__openat_nocancel.S 372 - sys/__openat.S 373 - sys/openbyid_np.S 374 - sys/__open_dprotected_np.S 375 - sys/__open_extended.S 376 - sys/__open_nocancel.S 377 - sys/__open.S 378 - sys/pathconf.S 379 - sys/peeloff.S 380 - sys/pid_resume.S 381 - sys/pid_suspend.S 382 - sys/__pipe.S 383 - sys/__poll_nocancel.S 384 - sys/poll.S 385 - sys/__posix_spawn.S 386 - sys/__pread_nocancel.S 387 - sys/pread.S 388 - sys/__process_policy.S 389 - sys/__proc_info.S 390 - sys/proc_rlimit_control.S 391 - sys/proc_trace_log.S 392 - sys/proc_uuid_policy.S 393 - sys/__psynch_cvbroad.S 394 - sys/__psynch_cvclrprepost.S 395 - sys/__psynch_cvsignal.S 396 - sys/__psynch_cvwait.S 397 - sys/__psynch_mutexdrop.S 398 - sys/__psynch_mutexwait.S 399 - sys/__psynch_rw_downgrade.S 400 - sys/__psynch_rw_longrdlock.S 401 - sys/__psynch_rw_rdlock.S 402 - sys/__psynch_rw_unlock2.S 403 - sys/__psynch_rw_unlock.S 404 - sys/__psynch_rw_upgrade.S 405 - sys/__psynch_rw_wrlock.S 406 - sys/__psynch_rw_yieldwrlock.S 407 - sys/__pthread_canceled.S 408 - sys/__pthread_chdir.S 409 - sys/__pthread_fchdir.S 410 - sys/__pthread_kill.S 411 - sys/__pthread_markcancel.S 412 - sys/__pthread_sigmask.S 413 - sys/__ptrace.S 414 - sys/__pwrite_nocancel.S 415 - sys/pwrite.S 416 - sys/quotactl.S 417 - sys/quota.S 418 - sys/readlinkat.S 419 - sys/readlink.S 420 - sys/__read_nocancel.S 421 - sys/read.S 422 - sys/__readv_nocancel.S 423 - sys/readv.S 424 - sys/reboot.S 425 - sys/__recvfrom_nocancel.S 426 - sys/__recvfrom.S 427 - sys/__recvmsg_nocancel.S 428 - sys/__recvmsg.S 429 - sys/recvmsg_x.S 430 - sys/removexattr.S 431 - sys/__renameat.S 432 - sys/__rename_ext.S 433 - sys/__rename.S 434 - sys/revoke.S 435 - sys/__rmdir.S 436 - sys/searchfs.S 437 - sys/__select_nocancel.S 438 - sys/__select.S 439 - sys/sem_close.S 440 - sys/__semctl.S 441 - sys/semget.S 442 - sys/__sem_open.S 443 - sys/semop.S 444 - sys/sem_post.S 445 - sys/__semsys.S 446 - sys/sem_trywait.S 447 - sys/sem_unlink.S 448 - sys/__sem_wait_nocancel.S 449 - sys/sem_wait.S 450 - sys/__semwait_signal_nocancel.S 451 - sys/__semwait_signal.S 452 - sys/sendfile.S 453 - sys/__sendmsg_nocancel.S 454 - sys/__sendmsg.S 455 - sys/sendmsg_x.S 456 - sys/__sendto_nocancel.S 457 - sys/__sendto.S 458 - sys/__setattrlist.S 459 - sys/setaudit_addr.S 460 - sys/setauid.S 461 - sys/setegid.S 462 - sys/seteuid.S 463 - sys/setgid.S 464 - sys/setgroups.S 465 - sys/setitimer.S 466 - sys/__setlcid.S 467 - sys/__setlogin.S 468 - sys/setpgid.S 469 - sys/__setpriority.S 470 - sys/setprivexec.S 471 - sys/setquota.S 472 - sys/__setregid.S 473 - sys/__setreuid.S 474 - sys/__setrlimit.S 475 - sys/__setsgroups.S 476 - sys/setsid.S 477 - sys/setsockopt.S 478 - sys/__settid.S 479 - sys/__settid_with_pid.S 480 - sys/__settimeofday.S 481 - sys/setuid.S 482 - sys/__setwgroups.S 483 - sys/setxattr.S 484 - sys/__sfi_ctl.S 485 - sys/__sfi_pidctl.S 486 - sys/__shared_region_check_np.S 487 - sys/__shared_region_map_and_slide_np.S 488 - sys/shmat.S 489 - sys/__shmctl.S 490 - sys/shmdt.S 491 - sys/shmget.S 492 - sys/__shm_open.S 493 - sys/__shmsys.S 494 - sys/shm_unlink.S 495 - sys/shutdown.S 496 - sys/__sigaction.S 497 - sys/__sigaltstack.S 498 - sys/sigpending.S 499 - sys/sigprocmask.S 500 - sys/__sigreturn.S 501 - sys/__sigsuspend_nocancel.S 502 - sys/__sigsuspend.S 503 - sys/____sigwait_nocancel.S 504 - sys/__sigwait.S 505 - sys/socket_delegate.S 506 - sys/__socketpair.S 507 - sys/socket.S 508 - sys/__stack_snapshot.S 509 - sys/__stat64_extended.S 510 - sys/stat64.S 511 - sys/__stat_extended.S 512 - sys/statfs64.S 513 - sys/statfs.S 514 - sys/stat.S 515 - sys/swapon.S 516 - sys/symlinkat.S 517 - sys/symlink.S 518 - sys/sync.S 519 - sys/__syscall.S 520 - sys/__sysctlbyname.S 521 - sys/__sysctl.S 522 - sys/system_override.S 523 - sys/__telemetry.S 524 - sys/__thread_selfid.S 525 - sys/__thread_selfusage.S 526 - sys/truncate.S 527 - sys/__umask_extended.S 528 - sys/umask.S 529 - sys/undelete.S 530 - sys/__unlinkat.S 531 - sys/__unlink.S 532 - sys/unmount.S 533 - sys/utimes.S 534 - sys/__vfork.S 535 - sys/vfs_purge.S 536 - sys/vm_pressure_monitor.S 537 - sys/__wait4_nocancel.S 538 - sys/__wait4.S 539 - sys/waitevent.S 540 - sys/__waitid_nocancel.S 541 - sys/waitid.S 542 - sys/watchevent.S 543 - sys/__workq_kernreturn.S 544 - sys/__workq_open.S 545 - sys/__write_nocancel.S 546 - sys/write.S 547 - sys/__writev_nocancel.S 548 - sys/writev.S 549 160 ) 161 + if (BITS EQUAL 64) 162 + set (syscall_sources ${syscall_sources} 163 + sys_x86-64/__accept_nocancel.S 164 + sys_x86-64/__accept.S 165 + sys_x86-64/__access_extended.S 166 + sys_x86-64/access.S 167 + sys_x86-64/acct.S 168 + sys_x86-64/adjtime.S 169 + sys_x86-64/aio_cancel.S 170 + sys_x86-64/aio_error.S 171 + sys_x86-64/aio_fsync.S 172 + sys_x86-64/aio_read.S 173 + sys_x86-64/aio_return.S 174 + sys_x86-64/__aio_suspend_nocancel.S 175 + sys_x86-64/aio_suspend.S 176 + sys_x86-64/aio_write.S 177 + sys_x86-64/auditctl.S 178 + sys_x86-64/auditon.S 179 + sys_x86-64/audit.S 180 + sys_x86-64/audit_session_join.S 181 + sys_x86-64/audit_session_port.S 182 + sys_x86-64/audit_session_self.S 183 + sys_x86-64/__bind.S 184 + sys_x86-64/__bsdthread_create.S 185 + sys_x86-64/__bsdthread_ctl.S 186 + sys_x86-64/__bsdthread_register.S 187 + sys_x86-64/__bsdthread_terminate.S 188 + sys_x86-64/change_fdguard_np.S 189 + sys_x86-64/chdir.S 190 + sys_x86-64/chflags.S 191 + sys_x86-64/__chmod_extended.S 192 + sys_x86-64/__chmod.S 193 + sys_x86-64/chown.S 194 + sys_x86-64/chroot.S 195 + sys_x86-64/__chud.S 196 + sys_x86-64/__close_nocancel.S 197 + sys_x86-64/close.S 198 + sys_x86-64/__coalition_info.S 199 + sys_x86-64/__coalition.S 200 + sys_x86-64/__connect_nocancel.S 201 + sys_x86-64/__connect.S 202 + sys_x86-64/connectx.S 203 + sys_x86-64/__copyfile.S 204 + sys_x86-64/csops_audittoken.S 205 + sys_x86-64/csops.S 206 + sys_x86-64/__csrctl.S 207 + sys_x86-64/custom.S 208 + sys_x86-64/__delete.S 209 + sys_x86-64/__disable_threadsignal.S 210 + sys_x86-64/disconnectx.S 211 + sys_x86-64/dup2.S 212 + sys_x86-64/dup.S 213 + sys_x86-64/exchangedata.S 214 + sys_x86-64/execve.S 215 + sys_x86-64/__exit.S 216 + sys_x86-64/faccessat.S 217 + sys_x86-64/fchdir.S 218 + sys_x86-64/fchflags.S 219 + sys_x86-64/fchmodat.S 220 + sys_x86-64/__fchmod_extended.S 221 + sys_x86-64/__fchmod.S 222 + sys_x86-64/fchownat.S 223 + sys_x86-64/fchown.S 224 + sys_x86-64/__fcntl_nocancel.S 225 + sys_x86-64/__fcntl.S 226 + sys_x86-64/fdatasync.S 227 + sys_x86-64/ffsctl.S 228 + sys_x86-64/fgetattrlist.S 229 + sys_x86-64/fgetxattr.S 230 + sys_x86-64/fhopen.S 231 + sys_x86-64/fileport_makefd.S 232 + sys_x86-64/fileport_makeport.S 233 + sys_x86-64/flistxattr.S 234 + sys_x86-64/flock.S 235 + sys_x86-64/__fork.S 236 + sys_x86-64/fpathconf.S 237 + sys_x86-64/fremovexattr.S 238 + sys_x86-64/fsctl.S 239 + sys_x86-64/fsetattrlist.S 240 + sys_x86-64/fsetxattr.S 241 + sys_x86-64/__fsgetpath.S 242 + sys_x86-64/__fstat64_extended.S 243 + sys_x86-64/fstat64.S 244 + sys_x86-64/fstatat64.S 245 + sys_x86-64/fstatat.S 246 + sys_x86-64/__fstat_extended.S 247 + sys_x86-64/fstatfs64.S 248 + sys_x86-64/fstatfs.S 249 + sys_x86-64/fstat.S 250 + sys_x86-64/__fsync_nocancel.S 251 + sys_x86-64/fsync.S 252 + sys_x86-64/ftruncate.S 253 + sys_x86-64/futimes.S 254 + sys_x86-64/getattrlistat.S 255 + sys_x86-64/getattrlistbulk.S 256 + sys_x86-64/__getattrlist.S 257 + sys_x86-64/getaudit_addr.S 258 + sys_x86-64/getauid.S 259 + sys_x86-64/__getdirentries64.S 260 + sys_x86-64/getdirentriesattr.S 261 + sys_x86-64/getdirentries.S 262 + sys_x86-64/getdtablesize.S 263 + sys_x86-64/getegid.S 264 + sys_x86-64/geteuid.S 265 + sys_x86-64/getfh.S 266 + sys_x86-64/getfsstat64.S 267 + sys_x86-64/getfsstat.S 268 + sys_x86-64/getgid.S 269 + sys_x86-64/getgroups.S 270 + sys_x86-64/__gethostuuid.S 271 + sys_x86-64/getitimer.S 272 + sys_x86-64/__getlcid.S 273 + sys_x86-64/__getlogin.S 274 + sys_x86-64/__getpeername.S 275 + sys_x86-64/getpgid.S 276 + sys_x86-64/getpgrp.S 277 + sys_x86-64/__getpid.S 278 + sys_x86-64/getppid.S 279 + sys_x86-64/getpriority.S 280 + sys_x86-64/__getrlimit.S 281 + sys_x86-64/getrusage.S 282 + sys_x86-64/__getsgroups.S 283 + sys_x86-64/getsid.S 284 + sys_x86-64/__getsockname.S 285 + sys_x86-64/getsockopt.S 286 + sys_x86-64/__gettid.S 287 + sys_x86-64/__gettimeofday.S 288 + sys_x86-64/getuid.S 289 + sys_x86-64/__getwgroups.S 290 + sys_x86-64/getxattr.S 291 + sys_x86-64/guarded_close_np.S 292 + sys_x86-64/guarded_kqueue_np.S 293 + sys_x86-64/__guarded_open_dprotected_np.S 294 + sys_x86-64/__guarded_open_np.S 295 + sys_x86-64/guarded_pwrite_np.S 296 + sys_x86-64/guarded_write_np.S 297 + sys_x86-64/guarded_writev_np.S 298 + sys_x86-64/__identitysvc.S 299 + sys_x86-64/__initgroups.S 300 + sys_x86-64/__ioctl.S 301 + sys_x86-64/__iopolicysys.S 302 + sys_x86-64/issetugid.S 303 + sys_x86-64/kas_info.S 304 + sys_x86-64/__kdebug_trace.S 305 + #sys_x86-64/kevent64.S 306 + #sys_x86-64/kevent.S 307 + sys_x86-64/__kill.S 308 + #sys_x86-64/kqueue.S 309 + sys_x86-64/__lchown.S 310 + sys_x86-64/ledger.S 311 + sys_x86-64/linkat.S 312 + sys_x86-64/link.S 313 + sys_x86-64/lio_listio.S 314 + sys_x86-64/__listen.S 315 + sys_x86-64/listxattr.S 316 + sys_x86-64/__lseek.S 317 + sys_x86-64/__lstat64_extended.S 318 + sys_x86-64/lstat64.S 319 + sys_x86-64/__lstat_extended.S 320 + sys_x86-64/lstat.S 321 + sys_x86-64/__mac_execve.S 322 + sys_x86-64/__mac_get_fd.S 323 + sys_x86-64/__mac_get_file.S 324 + sys_x86-64/__mac_getfsstat.S 325 + sys_x86-64/__mac_get_lcid.S 326 + sys_x86-64/__mac_get_lctx.S 327 + sys_x86-64/__mac_get_link.S 328 + sys_x86-64/__mac_get_mount.S 329 + sys_x86-64/__mac_get_pid.S 330 + sys_x86-64/__mac_get_proc.S 331 + sys_x86-64/__mac_mount.S 332 + sys_x86-64/__mac_set_fd.S 333 + sys_x86-64/__mac_set_file.S 334 + sys_x86-64/__mac_set_lctx.S 335 + sys_x86-64/__mac_set_link.S 336 + sys_x86-64/__mac_set_proc.S 337 + sys_x86-64/__mac_syscall.S 338 + sys_x86-64/madvise.S 339 + sys_x86-64/memorystatus_control.S 340 + sys_x86-64/memorystatus_get_level.S 341 + sys_x86-64/mincore.S 342 + sys_x86-64/minherit.S 343 + sys_x86-64/mkdirat.S 344 + sys_x86-64/__mkdir_extended.S 345 + sys_x86-64/mkdir.S 346 + sys_x86-64/__mkfifo_extended.S 347 + sys_x86-64/mkfifo.S 348 + sys_x86-64/mknod.S 349 + sys_x86-64/mlockall.S 350 + sys_x86-64/mlock.S 351 + sys_x86-64/__mmap.S 352 + sys_x86-64/modwatch.S 353 + sys_x86-64/mount.S 354 + sys_x86-64/__mprotect.S 355 + sys_x86-64/mremap_encrypted.S 356 + sys_x86-64/__msgctl.S 357 + sys_x86-64/msgget.S 358 + sys_x86-64/__msgrcv_nocancel.S 359 + sys_x86-64/msgrcv.S 360 + sys_x86-64/__msgsnd_nocancel.S 361 + sys_x86-64/msgsnd.S 362 + sys_x86-64/__msgsys.S 363 + sys_x86-64/__msync_nocancel.S 364 + sys_x86-64/__msync.S 365 + sys_x86-64/munlockall.S 366 + sys_x86-64/munlock.S 367 + sys_x86-64/__munmap.S 368 + sys_x86-64/necp_match_policy.S 369 + sys_x86-64/nfsclnt.S 370 + sys_x86-64/nfssvc.S 371 + sys_x86-64/____old_semwait_signal_nocancel.S 372 + sys_x86-64/__old_semwait_signal.S 373 + sys_x86-64/__openat_nocancel.S 374 + sys_x86-64/__openat.S 375 + sys_x86-64/openbyid_np.S 376 + sys_x86-64/__open_dprotected_np.S 377 + sys_x86-64/__open_extended.S 378 + sys_x86-64/__open_nocancel.S 379 + sys_x86-64/__open.S 380 + sys_x86-64/pathconf.S 381 + sys_x86-64/peeloff.S 382 + sys_x86-64/pid_resume.S 383 + sys_x86-64/pid_suspend.S 384 + sys_x86-64/__pipe.S 385 + sys_x86-64/__poll_nocancel.S 386 + sys_x86-64/poll.S 387 + sys_x86-64/__posix_spawn.S 388 + sys_x86-64/__pread_nocancel.S 389 + sys_x86-64/pread.S 390 + sys_x86-64/__process_policy.S 391 + sys_x86-64/__proc_info.S 392 + sys_x86-64/proc_rlimit_control.S 393 + sys_x86-64/proc_trace_log.S 394 + sys_x86-64/proc_uuid_policy.S 395 + sys_x86-64/__psynch_cvbroad.S 396 + sys_x86-64/__psynch_cvclrprepost.S 397 + sys_x86-64/__psynch_cvsignal.S 398 + sys_x86-64/__psynch_cvwait.S 399 + sys_x86-64/__psynch_mutexdrop.S 400 + sys_x86-64/__psynch_mutexwait.S 401 + sys_x86-64/__psynch_rw_downgrade.S 402 + sys_x86-64/__psynch_rw_longrdlock.S 403 + sys_x86-64/__psynch_rw_rdlock.S 404 + sys_x86-64/__psynch_rw_unlock2.S 405 + sys_x86-64/__psynch_rw_unlock.S 406 + sys_x86-64/__psynch_rw_upgrade.S 407 + sys_x86-64/__psynch_rw_wrlock.S 408 + sys_x86-64/__psynch_rw_yieldwrlock.S 409 + sys_x86-64/__pthread_canceled.S 410 + sys_x86-64/__pthread_chdir.S 411 + sys_x86-64/__pthread_fchdir.S 412 + sys_x86-64/__pthread_kill.S 413 + sys_x86-64/__pthread_markcancel.S 414 + sys_x86-64/__pthread_sigmask.S 415 + sys_x86-64/__ptrace.S 416 + sys_x86-64/__pwrite_nocancel.S 417 + sys_x86-64/pwrite.S 418 + sys_x86-64/quotactl.S 419 + sys_x86-64/quota.S 420 + sys_x86-64/readlinkat.S 421 + sys_x86-64/readlink.S 422 + sys_x86-64/__read_nocancel.S 423 + sys_x86-64/read.S 424 + sys_x86-64/__readv_nocancel.S 425 + sys_x86-64/readv.S 426 + sys_x86-64/reboot.S 427 + sys_x86-64/__recvfrom_nocancel.S 428 + sys_x86-64/__recvfrom.S 429 + sys_x86-64/__recvmsg_nocancel.S 430 + sys_x86-64/__recvmsg.S 431 + sys_x86-64/recvmsg_x.S 432 + sys_x86-64/removexattr.S 433 + sys_x86-64/__renameat.S 434 + sys_x86-64/__rename_ext.S 435 + sys_x86-64/__rename.S 436 + sys_x86-64/revoke.S 437 + sys_x86-64/__rmdir.S 438 + sys_x86-64/searchfs.S 439 + sys_x86-64/__select_nocancel.S 440 + sys_x86-64/__select.S 441 + sys_x86-64/sem_close.S 442 + sys_x86-64/__semctl.S 443 + sys_x86-64/semget.S 444 + sys_x86-64/__sem_open.S 445 + sys_x86-64/semop.S 446 + sys_x86-64/sem_post.S 447 + sys_x86-64/__semsys.S 448 + sys_x86-64/sem_trywait.S 449 + sys_x86-64/sem_unlink.S 450 + sys_x86-64/__sem_wait_nocancel.S 451 + sys_x86-64/sem_wait.S 452 + sys_x86-64/__semwait_signal_nocancel.S 453 + sys_x86-64/__semwait_signal.S 454 + sys_x86-64/sendfile.S 455 + sys_x86-64/__sendmsg_nocancel.S 456 + sys_x86-64/__sendmsg.S 457 + sys_x86-64/sendmsg_x.S 458 + sys_x86-64/__sendto_nocancel.S 459 + sys_x86-64/__sendto.S 460 + sys_x86-64/__setattrlist.S 461 + sys_x86-64/setaudit_addr.S 462 + sys_x86-64/setauid.S 463 + sys_x86-64/setegid.S 464 + sys_x86-64/seteuid.S 465 + sys_x86-64/setgid.S 466 + sys_x86-64/setgroups.S 467 + sys_x86-64/setitimer.S 468 + sys_x86-64/__setlcid.S 469 + sys_x86-64/__setlogin.S 470 + sys_x86-64/setpgid.S 471 + sys_x86-64/__setpriority.S 472 + sys_x86-64/setprivexec.S 473 + sys_x86-64/setquota.S 474 + sys_x86-64/__setregid.S 475 + sys_x86-64/__setreuid.S 476 + sys_x86-64/__setrlimit.S 477 + sys_x86-64/__setsgroups.S 478 + sys_x86-64/setsid.S 479 + sys_x86-64/setsockopt.S 480 + sys_x86-64/__settid.S 481 + sys_x86-64/__settid_with_pid.S 482 + sys_x86-64/__settimeofday.S 483 + sys_x86-64/setuid.S 484 + sys_x86-64/__setwgroups.S 485 + sys_x86-64/setxattr.S 486 + sys_x86-64/__sfi_ctl.S 487 + sys_x86-64/__sfi_pidctl.S 488 + sys_x86-64/__shared_region_check_np.S 489 + sys_x86-64/__shared_region_map_and_slide_np.S 490 + sys_x86-64/shmat.S 491 + sys_x86-64/__shmctl.S 492 + sys_x86-64/shmdt.S 493 + sys_x86-64/shmget.S 494 + sys_x86-64/__shm_open.S 495 + sys_x86-64/__shmsys.S 496 + sys_x86-64/shm_unlink.S 497 + sys_x86-64/shutdown.S 498 + sys_x86-64/__sigaction.S 499 + sys_x86-64/__sigaltstack.S 500 + sys_x86-64/sigpending.S 501 + sys_x86-64/sigprocmask.S 502 + sys_x86-64/__sigreturn.S 503 + sys_x86-64/__sigsuspend_nocancel.S 504 + sys_x86-64/__sigsuspend.S 505 + sys_x86-64/____sigwait_nocancel.S 506 + sys_x86-64/__sigwait.S 507 + sys_x86-64/socket_delegate.S 508 + sys_x86-64/__socketpair.S 509 + sys_x86-64/socket.S 510 + sys_x86-64/__stack_snapshot.S 511 + sys_x86-64/__stat64_extended.S 512 + sys_x86-64/stat64.S 513 + sys_x86-64/__stat_extended.S 514 + sys_x86-64/statfs64.S 515 + sys_x86-64/statfs.S 516 + sys_x86-64/stat.S 517 + sys_x86-64/swapon.S 518 + sys_x86-64/symlinkat.S 519 + sys_x86-64/symlink.S 520 + sys_x86-64/sync.S 521 + sys_x86-64/__syscall.S 522 + sys_x86-64/__sysctlbyname.S 523 + sys_x86-64/__sysctl.S 524 + sys_x86-64/system_override.S 525 + sys_x86-64/__telemetry.S 526 + sys_x86-64/__thread_selfid.S 527 + sys_x86-64/__thread_selfusage.S 528 + sys_x86-64/truncate.S 529 + sys_x86-64/__umask_extended.S 530 + sys_x86-64/umask.S 531 + sys_x86-64/undelete.S 532 + sys_x86-64/__unlinkat.S 533 + sys_x86-64/__unlink.S 534 + sys_x86-64/unmount.S 535 + sys_x86-64/utimes.S 536 + sys_x86-64/__vfork.S 537 + sys_x86-64/vfs_purge.S 538 + sys_x86-64/vm_pressure_monitor.S 539 + sys_x86-64/__wait4_nocancel.S 540 + sys_x86-64/__wait4.S 541 + sys_x86-64/waitevent.S 542 + sys_x86-64/__waitid_nocancel.S 543 + sys_x86-64/waitid.S 544 + sys_x86-64/watchevent.S 545 + sys_x86-64/__workq_kernreturn.S 546 + sys_x86-64/__workq_open.S 547 + sys_x86-64/__write_nocancel.S 548 + sys_x86-64/write.S 549 + sys_x86-64/__writev_nocancel.S 550 + sys_x86-64/writev.S 551 + ) 552 + elseif(BITS EQUAL 32) 553 + set (syscall_sources ${syscall_sources} 554 + sys_i386/__accept_nocancel.S 555 + sys_i386/__accept.S 556 + sys_i386/__access_extended.S 557 + sys_i386/access.S 558 + sys_i386/acct.S 559 + sys_i386/adjtime.S 560 + sys_i386/aio_cancel.S 561 + sys_i386/aio_error.S 562 + sys_i386/aio_fsync.S 563 + sys_i386/aio_read.S 564 + sys_i386/aio_return.S 565 + sys_i386/__aio_suspend_nocancel.S 566 + sys_i386/aio_suspend.S 567 + sys_i386/aio_write.S 568 + sys_i386/auditctl.S 569 + sys_i386/auditon.S 570 + sys_i386/audit.S 571 + sys_i386/audit_session_join.S 572 + sys_i386/audit_session_port.S 573 + sys_i386/audit_session_self.S 574 + sys_i386/__bind.S 575 + sys_i386/__bsdthread_create.S 576 + sys_i386/__bsdthread_ctl.S 577 + sys_i386/__bsdthread_register.S 578 + sys_i386/__bsdthread_terminate.S 579 + sys_i386/change_fdguard_np.S 580 + sys_i386/chdir.S 581 + sys_i386/chflags.S 582 + sys_i386/__chmod_extended.S 583 + sys_i386/__chmod.S 584 + sys_i386/chown.S 585 + sys_i386/chroot.S 586 + sys_i386/__chud.S 587 + sys_i386/__close_nocancel.S 588 + sys_i386/close.S 589 + sys_i386/__coalition_info.S 590 + sys_i386/__coalition.S 591 + sys_i386/__connect_nocancel.S 592 + sys_i386/__connect.S 593 + sys_i386/connectx.S 594 + sys_i386/__copyfile.S 595 + sys_i386/csops_audittoken.S 596 + sys_i386/csops.S 597 + sys_i386/__csrctl.S 598 + sys_i386/custom.S 599 + sys_i386/__delete.S 600 + sys_i386/__disable_threadsignal.S 601 + sys_i386/disconnectx.S 602 + sys_i386/dup2.S 603 + sys_i386/dup.S 604 + sys_i386/exchangedata.S 605 + sys_i386/execve.S 606 + sys_i386/__exit.S 607 + sys_i386/faccessat.S 608 + sys_i386/fchdir.S 609 + sys_i386/fchflags.S 610 + sys_i386/fchmodat.S 611 + sys_i386/__fchmod_extended.S 612 + sys_i386/__fchmod.S 613 + sys_i386/fchownat.S 614 + sys_i386/fchown.S 615 + sys_i386/__fcntl_nocancel.S 616 + sys_i386/__fcntl.S 617 + sys_i386/fdatasync.S 618 + sys_i386/ffsctl.S 619 + sys_i386/fgetattrlist.S 620 + sys_i386/fgetxattr.S 621 + sys_i386/fhopen.S 622 + sys_i386/fileport_makefd.S 623 + sys_i386/fileport_makeport.S 624 + sys_i386/flistxattr.S 625 + sys_i386/flock.S 626 + sys_i386/__fork.S 627 + sys_i386/fpathconf.S 628 + sys_i386/fremovexattr.S 629 + sys_i386/fsctl.S 630 + sys_i386/fsetattrlist.S 631 + sys_i386/fsetxattr.S 632 + sys_i386/__fsgetpath.S 633 + sys_i386/__fstat64_extended.S 634 + sys_i386/fstat64.S 635 + sys_i386/fstatat64.S 636 + sys_i386/fstatat.S 637 + sys_i386/__fstat_extended.S 638 + sys_i386/fstatfs64.S 639 + sys_i386/fstatfs.S 640 + sys_i386/fstat.S 641 + sys_i386/__fsync_nocancel.S 642 + sys_i386/fsync.S 643 + sys_i386/ftruncate.S 644 + sys_i386/futimes.S 645 + sys_i386/getattrlistat.S 646 + sys_i386/getattrlistbulk.S 647 + sys_i386/__getattrlist.S 648 + sys_i386/getaudit_addr.S 649 + sys_i386/getauid.S 650 + sys_i386/__getdirentries64.S 651 + sys_i386/getdirentriesattr.S 652 + sys_i386/getdirentries.S 653 + sys_i386/getdtablesize.S 654 + sys_i386/getegid.S 655 + sys_i386/geteuid.S 656 + sys_i386/getfh.S 657 + sys_i386/getfsstat64.S 658 + sys_i386/getfsstat.S 659 + sys_i386/getgid.S 660 + sys_i386/getgroups.S 661 + sys_i386/__gethostuuid.S 662 + sys_i386/getitimer.S 663 + sys_i386/__getlcid.S 664 + sys_i386/__getlogin.S 665 + sys_i386/__getpeername.S 666 + sys_i386/getpgid.S 667 + sys_i386/getpgrp.S 668 + sys_i386/__getpid.S 669 + sys_i386/getppid.S 670 + sys_i386/getpriority.S 671 + sys_i386/__getrlimit.S 672 + sys_i386/getrusage.S 673 + sys_i386/__getsgroups.S 674 + sys_i386/getsid.S 675 + sys_i386/__getsockname.S 676 + sys_i386/getsockopt.S 677 + sys_i386/__gettid.S 678 + sys_i386/__gettimeofday.S 679 + sys_i386/getuid.S 680 + sys_i386/__getwgroups.S 681 + sys_i386/getxattr.S 682 + sys_i386/guarded_close_np.S 683 + sys_i386/guarded_kqueue_np.S 684 + sys_i386/__guarded_open_dprotected_np.S 685 + sys_i386/__guarded_open_np.S 686 + sys_i386/guarded_pwrite_np.S 687 + sys_i386/guarded_write_np.S 688 + sys_i386/guarded_writev_np.S 689 + sys_i386/__identitysvc.S 690 + sys_i386/__initgroups.S 691 + sys_i386/__ioctl.S 692 + sys_i386/__iopolicysys.S 693 + sys_i386/issetugid.S 694 + sys_i386/kas_info.S 695 + sys_i386/__kdebug_trace.S 696 + #sys_i386/kevent64.S 697 + #sys_i386/kevent.S 698 + sys_i386/__kill.S 699 + #sys_i386/kqueue.S 700 + sys_i386/__lchown.S 701 + sys_i386/ledger.S 702 + sys_i386/linkat.S 703 + sys_i386/link.S 704 + sys_i386/lio_listio.S 705 + sys_i386/__listen.S 706 + sys_i386/listxattr.S 707 + sys_i386/__lseek.S 708 + sys_i386/__lstat64_extended.S 709 + sys_i386/lstat64.S 710 + sys_i386/__lstat_extended.S 711 + sys_i386/lstat.S 712 + sys_i386/__mac_execve.S 713 + sys_i386/__mac_get_fd.S 714 + sys_i386/__mac_get_file.S 715 + sys_i386/__mac_getfsstat.S 716 + sys_i386/__mac_get_lcid.S 717 + sys_i386/__mac_get_lctx.S 718 + sys_i386/__mac_get_link.S 719 + sys_i386/__mac_get_mount.S 720 + sys_i386/__mac_get_pid.S 721 + sys_i386/__mac_get_proc.S 722 + sys_i386/__mac_mount.S 723 + sys_i386/__mac_set_fd.S 724 + sys_i386/__mac_set_file.S 725 + sys_i386/__mac_set_lctx.S 726 + sys_i386/__mac_set_link.S 727 + sys_i386/__mac_set_proc.S 728 + sys_i386/__mac_syscall.S 729 + sys_i386/madvise.S 730 + sys_i386/memorystatus_control.S 731 + sys_i386/memorystatus_get_level.S 732 + sys_i386/mincore.S 733 + sys_i386/minherit.S 734 + sys_i386/mkdirat.S 735 + sys_i386/__mkdir_extended.S 736 + sys_i386/mkdir.S 737 + sys_i386/__mkfifo_extended.S 738 + sys_i386/mkfifo.S 739 + sys_i386/mknod.S 740 + sys_i386/mlockall.S 741 + sys_i386/mlock.S 742 + sys_i386/__mmap.S 743 + sys_i386/modwatch.S 744 + sys_i386/mount.S 745 + sys_i386/__mprotect.S 746 + sys_i386/mremap_encrypted.S 747 + sys_i386/__msgctl.S 748 + sys_i386/msgget.S 749 + sys_i386/__msgrcv_nocancel.S 750 + sys_i386/msgrcv.S 751 + sys_i386/__msgsnd_nocancel.S 752 + sys_i386/msgsnd.S 753 + sys_i386/__msgsys.S 754 + sys_i386/__msync_nocancel.S 755 + sys_i386/__msync.S 756 + sys_i386/munlockall.S 757 + sys_i386/munlock.S 758 + sys_i386/__munmap.S 759 + sys_i386/necp_match_policy.S 760 + sys_i386/nfsclnt.S 761 + sys_i386/nfssvc.S 762 + sys_i386/____old_semwait_signal_nocancel.S 763 + sys_i386/__old_semwait_signal.S 764 + sys_i386/__openat_nocancel.S 765 + sys_i386/__openat.S 766 + sys_i386/openbyid_np.S 767 + sys_i386/__open_dprotected_np.S 768 + sys_i386/__open_extended.S 769 + sys_i386/__open_nocancel.S 770 + sys_i386/__open.S 771 + sys_i386/pathconf.S 772 + sys_i386/peeloff.S 773 + sys_i386/pid_resume.S 774 + sys_i386/pid_suspend.S 775 + sys_i386/__pipe.S 776 + sys_i386/__poll_nocancel.S 777 + sys_i386/poll.S 778 + sys_i386/__posix_spawn.S 779 + sys_i386/__pread_nocancel.S 780 + sys_i386/pread.S 781 + sys_i386/__process_policy.S 782 + sys_i386/__proc_info.S 783 + sys_i386/proc_rlimit_control.S 784 + sys_i386/proc_trace_log.S 785 + sys_i386/proc_uuid_policy.S 786 + sys_i386/__psynch_cvbroad.S 787 + sys_i386/__psynch_cvclrprepost.S 788 + sys_i386/__psynch_cvsignal.S 789 + sys_i386/__psynch_cvwait.S 790 + sys_i386/__psynch_mutexdrop.S 791 + sys_i386/__psynch_mutexwait.S 792 + sys_i386/__psynch_rw_downgrade.S 793 + sys_i386/__psynch_rw_longrdlock.S 794 + sys_i386/__psynch_rw_rdlock.S 795 + sys_i386/__psynch_rw_unlock2.S 796 + sys_i386/__psynch_rw_unlock.S 797 + sys_i386/__psynch_rw_upgrade.S 798 + sys_i386/__psynch_rw_wrlock.S 799 + sys_i386/__psynch_rw_yieldwrlock.S 800 + sys_i386/__pthread_canceled.S 801 + sys_i386/__pthread_chdir.S 802 + sys_i386/__pthread_fchdir.S 803 + sys_i386/__pthread_kill.S 804 + sys_i386/__pthread_markcancel.S 805 + sys_i386/__pthread_sigmask.S 806 + sys_i386/__ptrace.S 807 + sys_i386/__pwrite_nocancel.S 808 + sys_i386/pwrite.S 809 + sys_i386/quotactl.S 810 + sys_i386/quota.S 811 + sys_i386/readlinkat.S 812 + sys_i386/readlink.S 813 + sys_i386/__read_nocancel.S 814 + sys_i386/read.S 815 + sys_i386/__readv_nocancel.S 816 + sys_i386/readv.S 817 + sys_i386/reboot.S 818 + sys_i386/__recvfrom_nocancel.S 819 + sys_i386/__recvfrom.S 820 + sys_i386/__recvmsg_nocancel.S 821 + sys_i386/__recvmsg.S 822 + sys_i386/recvmsg_x.S 823 + sys_i386/removexattr.S 824 + sys_i386/__renameat.S 825 + sys_i386/__rename_ext.S 826 + sys_i386/__rename.S 827 + sys_i386/revoke.S 828 + sys_i386/__rmdir.S 829 + sys_i386/searchfs.S 830 + sys_i386/__select_nocancel.S 831 + sys_i386/__select.S 832 + sys_i386/sem_close.S 833 + sys_i386/__semctl.S 834 + sys_i386/semget.S 835 + sys_i386/__sem_open.S 836 + sys_i386/semop.S 837 + sys_i386/sem_post.S 838 + sys_i386/__semsys.S 839 + sys_i386/sem_trywait.S 840 + sys_i386/sem_unlink.S 841 + sys_i386/__sem_wait_nocancel.S 842 + sys_i386/sem_wait.S 843 + sys_i386/__semwait_signal_nocancel.S 844 + sys_i386/__semwait_signal.S 845 + sys_i386/sendfile.S 846 + sys_i386/__sendmsg_nocancel.S 847 + sys_i386/__sendmsg.S 848 + sys_i386/sendmsg_x.S 849 + sys_i386/__sendto_nocancel.S 850 + sys_i386/__sendto.S 851 + sys_i386/__setattrlist.S 852 + sys_i386/setaudit_addr.S 853 + sys_i386/setauid.S 854 + sys_i386/setegid.S 855 + sys_i386/seteuid.S 856 + sys_i386/setgid.S 857 + sys_i386/setgroups.S 858 + sys_i386/setitimer.S 859 + sys_i386/__setlcid.S 860 + sys_i386/__setlogin.S 861 + sys_i386/setpgid.S 862 + sys_i386/__setpriority.S 863 + sys_i386/setprivexec.S 864 + sys_i386/setquota.S 865 + sys_i386/__setregid.S 866 + sys_i386/__setreuid.S 867 + sys_i386/__setrlimit.S 868 + sys_i386/__setsgroups.S 869 + sys_i386/setsid.S 870 + sys_i386/setsockopt.S 871 + sys_i386/__settid.S 872 + sys_i386/__settid_with_pid.S 873 + sys_i386/__settimeofday.S 874 + sys_i386/setuid.S 875 + sys_i386/__setwgroups.S 876 + sys_i386/setxattr.S 877 + sys_i386/__sfi_ctl.S 878 + sys_i386/__sfi_pidctl.S 879 + sys_i386/__shared_region_check_np.S 880 + sys_i386/__shared_region_map_and_slide_np.S 881 + sys_i386/shmat.S 882 + sys_i386/__shmctl.S 883 + sys_i386/shmdt.S 884 + sys_i386/shmget.S 885 + sys_i386/__shm_open.S 886 + sys_i386/__shmsys.S 887 + sys_i386/shm_unlink.S 888 + sys_i386/shutdown.S 889 + sys_i386/__sigaction.S 890 + sys_i386/__sigaltstack.S 891 + sys_i386/sigpending.S 892 + sys_i386/sigprocmask.S 893 + sys_i386/__sigreturn.S 894 + sys_i386/__sigsuspend_nocancel.S 895 + sys_i386/__sigsuspend.S 896 + sys_i386/____sigwait_nocancel.S 897 + sys_i386/__sigwait.S 898 + sys_i386/socket_delegate.S 899 + sys_i386/__socketpair.S 900 + sys_i386/socket.S 901 + sys_i386/__stack_snapshot.S 902 + sys_i386/__stat64_extended.S 903 + sys_i386/stat64.S 904 + sys_i386/__stat_extended.S 905 + sys_i386/statfs64.S 906 + sys_i386/statfs.S 907 + sys_i386/stat.S 908 + sys_i386/swapon.S 909 + sys_i386/symlinkat.S 910 + sys_i386/symlink.S 911 + sys_i386/sync.S 912 + sys_i386/__syscall.S 913 + sys_i386/__sysctlbyname.S 914 + sys_i386/__sysctl.S 915 + sys_i386/system_override.S 916 + sys_i386/__telemetry.S 917 + sys_i386/__thread_selfid.S 918 + sys_i386/__thread_selfusage.S 919 + sys_i386/truncate.S 920 + sys_i386/__umask_extended.S 921 + sys_i386/umask.S 922 + sys_i386/undelete.S 923 + sys_i386/__unlinkat.S 924 + sys_i386/__unlink.S 925 + sys_i386/unmount.S 926 + sys_i386/utimes.S 927 + sys_i386/__vfork.S 928 + sys_i386/vfs_purge.S 929 + sys_i386/vm_pressure_monitor.S 930 + sys_i386/__wait4_nocancel.S 931 + sys_i386/__wait4.S 932 + sys_i386/waitevent.S 933 + sys_i386/__waitid_nocancel.S 934 + sys_i386/waitid.S 935 + sys_i386/watchevent.S 936 + sys_i386/__workq_kernreturn.S 937 + sys_i386/__workq_open.S 938 + sys_i386/__write_nocancel.S 939 + sys_i386/write.S 940 + sys_i386/__writev_nocancel.S 941 + sys_i386/writev.S 942 + ) 943 + endif(BITS EQUAL 64) 550 944 551 945 mig(mach/clock.defs) 552 946 mig(mach/host_priv.defs)
+5
src/kernel/libsyscall/custom/SYS.h
··· 69 69 * for the majority of syscalls which just return a value in %eax. 70 70 */ 71 71 72 + #ifndef DARLING 72 73 #define UNIX_SYSCALL_SYSENTER call __sysenter_trap 74 + #else 75 + #define UNIX_SYSCALL_SYSENTER call __darling_bsd_syscall@PLT 76 + #endif 77 + 73 78 #define UNIX_SYSCALL(name, nargs) \ 74 79 .globl tramp_cerror ;\ 75 80 LEAF(_##name, 0) ;\
+5
src/kernel/libsyscall/sys/SYS.h src/kernel/libsyscall/sys_x86-64/SYS.h
··· 69 69 * for the majority of syscalls which just return a value in %eax. 70 70 */ 71 71 72 + #ifndef DARLING 72 73 #define UNIX_SYSCALL_SYSENTER call __sysenter_trap 74 + #else 75 + #define UNIX_SYSCALL_SYSENTER call __darling_bsd_syscall@PLT 76 + #endif 77 + 73 78 #define UNIX_SYSCALL(name, nargs) \ 74 79 .globl tramp_cerror ;\ 75 80 LEAF(_##name, 0) ;\
src/kernel/libsyscall/sys/____old_semwait_signal_nocancel.S src/kernel/libsyscall/sys_x86-64/____old_semwait_signal_nocancel.S
src/kernel/libsyscall/sys/____sigwait_nocancel.S src/kernel/libsyscall/sys_x86-64/____sigwait_nocancel.S
src/kernel/libsyscall/sys/__accept.S src/kernel/libsyscall/sys_x86-64/__accept.S
src/kernel/libsyscall/sys/__accept_nocancel.S src/kernel/libsyscall/sys_x86-64/__accept_nocancel.S
src/kernel/libsyscall/sys/__access_extended.S src/kernel/libsyscall/sys_x86-64/__access_extended.S
src/kernel/libsyscall/sys/__aio_suspend_nocancel.S src/kernel/libsyscall/sys_x86-64/__aio_suspend_nocancel.S
src/kernel/libsyscall/sys/__bind.S src/kernel/libsyscall/sys_x86-64/__bind.S
src/kernel/libsyscall/sys/__bsdthread_create.S src/kernel/libsyscall/sys_x86-64/__bsdthread_create.S
src/kernel/libsyscall/sys/__bsdthread_ctl.S src/kernel/libsyscall/sys_x86-64/__bsdthread_ctl.S
src/kernel/libsyscall/sys/__bsdthread_register.S src/kernel/libsyscall/sys_x86-64/__bsdthread_register.S
src/kernel/libsyscall/sys/__bsdthread_terminate.S src/kernel/libsyscall/sys_x86-64/__bsdthread_terminate.S
src/kernel/libsyscall/sys/__chmod.S src/kernel/libsyscall/sys_x86-64/__chmod.S
src/kernel/libsyscall/sys/__chmod_extended.S src/kernel/libsyscall/sys_x86-64/__chmod_extended.S
src/kernel/libsyscall/sys/__chud.S src/kernel/libsyscall/sys_x86-64/__chud.S
src/kernel/libsyscall/sys/__close_nocancel.S src/kernel/libsyscall/sys_x86-64/__close_nocancel.S
src/kernel/libsyscall/sys/__coalition.S src/kernel/libsyscall/sys_x86-64/__coalition.S
src/kernel/libsyscall/sys/__coalition_info.S src/kernel/libsyscall/sys_x86-64/__coalition_info.S
src/kernel/libsyscall/sys/__connect.S src/kernel/libsyscall/sys_x86-64/__connect.S
src/kernel/libsyscall/sys/__connect_nocancel.S src/kernel/libsyscall/sys_x86-64/__connect_nocancel.S
src/kernel/libsyscall/sys/__copyfile.S src/kernel/libsyscall/sys_x86-64/__copyfile.S
src/kernel/libsyscall/sys/__csrctl.S src/kernel/libsyscall/sys_x86-64/__csrctl.S
src/kernel/libsyscall/sys/__delete.S src/kernel/libsyscall/sys_x86-64/__delete.S
src/kernel/libsyscall/sys/__disable_threadsignal.S src/kernel/libsyscall/sys_x86-64/__disable_threadsignal.S
src/kernel/libsyscall/sys/__exit.S src/kernel/libsyscall/sys_x86-64/__exit.S
src/kernel/libsyscall/sys/__fchmod.S src/kernel/libsyscall/sys_x86-64/__fchmod.S
src/kernel/libsyscall/sys/__fchmod_extended.S src/kernel/libsyscall/sys_x86-64/__fchmod_extended.S
src/kernel/libsyscall/sys/__fcntl.S src/kernel/libsyscall/sys_x86-64/__fcntl.S
src/kernel/libsyscall/sys/__fcntl_nocancel.S src/kernel/libsyscall/sys_x86-64/__fcntl_nocancel.S
src/kernel/libsyscall/sys/__fork.S src/kernel/libsyscall/sys_x86-64/__fork.S
src/kernel/libsyscall/sys/__fsgetpath.S src/kernel/libsyscall/sys_x86-64/__fsgetpath.S
src/kernel/libsyscall/sys/__fstat64_extended.S src/kernel/libsyscall/sys_x86-64/__fstat64_extended.S
src/kernel/libsyscall/sys/__fstat_extended.S src/kernel/libsyscall/sys_x86-64/__fstat_extended.S
src/kernel/libsyscall/sys/__fsync_nocancel.S src/kernel/libsyscall/sys_x86-64/__fsync_nocancel.S
src/kernel/libsyscall/sys/__getattrlist.S src/kernel/libsyscall/sys_x86-64/__getattrlist.S
src/kernel/libsyscall/sys/__getdirentries64.S src/kernel/libsyscall/sys_x86-64/__getdirentries64.S
src/kernel/libsyscall/sys/__gethostuuid.S src/kernel/libsyscall/sys_x86-64/__gethostuuid.S
src/kernel/libsyscall/sys/__getlcid.S src/kernel/libsyscall/sys_x86-64/__getlcid.S
src/kernel/libsyscall/sys/__getlogin.S src/kernel/libsyscall/sys_x86-64/__getlogin.S
src/kernel/libsyscall/sys/__getpeername.S src/kernel/libsyscall/sys_x86-64/__getpeername.S
src/kernel/libsyscall/sys/__getpid.S src/kernel/libsyscall/sys_x86-64/__getpid.S
src/kernel/libsyscall/sys/__getrlimit.S src/kernel/libsyscall/sys_x86-64/__getrlimit.S
src/kernel/libsyscall/sys/__getsgroups.S src/kernel/libsyscall/sys_x86-64/__getsgroups.S
src/kernel/libsyscall/sys/__getsockname.S src/kernel/libsyscall/sys_x86-64/__getsockname.S
src/kernel/libsyscall/sys/__gettid.S src/kernel/libsyscall/sys_x86-64/__gettid.S
src/kernel/libsyscall/sys/__gettimeofday.S src/kernel/libsyscall/sys_i386/__gettimeofday.S
src/kernel/libsyscall/sys/__getwgroups.S src/kernel/libsyscall/sys_x86-64/__getwgroups.S
src/kernel/libsyscall/sys/__guarded_open_dprotected_np.S src/kernel/libsyscall/sys_x86-64/__guarded_open_dprotected_np.S
src/kernel/libsyscall/sys/__guarded_open_np.S src/kernel/libsyscall/sys_x86-64/__guarded_open_np.S
src/kernel/libsyscall/sys/__identitysvc.S src/kernel/libsyscall/sys_x86-64/__identitysvc.S
src/kernel/libsyscall/sys/__initgroups.S src/kernel/libsyscall/sys_x86-64/__initgroups.S
src/kernel/libsyscall/sys/__ioctl.S src/kernel/libsyscall/sys_x86-64/__ioctl.S
src/kernel/libsyscall/sys/__iopolicysys.S src/kernel/libsyscall/sys_x86-64/__iopolicysys.S
src/kernel/libsyscall/sys/__kdebug_trace.S src/kernel/libsyscall/sys_x86-64/__kdebug_trace.S
src/kernel/libsyscall/sys/__kill.S src/kernel/libsyscall/sys_x86-64/__kill.S
src/kernel/libsyscall/sys/__lchown.S src/kernel/libsyscall/sys_x86-64/__lchown.S
src/kernel/libsyscall/sys/__listen.S src/kernel/libsyscall/sys_x86-64/__listen.S
src/kernel/libsyscall/sys/__lseek.S src/kernel/libsyscall/sys_x86-64/__lseek.S
src/kernel/libsyscall/sys/__lstat64_extended.S src/kernel/libsyscall/sys_x86-64/__lstat64_extended.S
src/kernel/libsyscall/sys/__lstat_extended.S src/kernel/libsyscall/sys_x86-64/__lstat_extended.S
src/kernel/libsyscall/sys/__mac_execve.S src/kernel/libsyscall/sys_x86-64/__mac_execve.S
src/kernel/libsyscall/sys/__mac_get_fd.S src/kernel/libsyscall/sys_x86-64/__mac_get_fd.S
src/kernel/libsyscall/sys/__mac_get_file.S src/kernel/libsyscall/sys_x86-64/__mac_get_file.S
src/kernel/libsyscall/sys/__mac_get_lcid.S src/kernel/libsyscall/sys_x86-64/__mac_get_lcid.S
src/kernel/libsyscall/sys/__mac_get_lctx.S src/kernel/libsyscall/sys_x86-64/__mac_get_lctx.S
src/kernel/libsyscall/sys/__mac_get_link.S src/kernel/libsyscall/sys_x86-64/__mac_get_link.S
src/kernel/libsyscall/sys/__mac_get_mount.S src/kernel/libsyscall/sys_x86-64/__mac_get_mount.S
src/kernel/libsyscall/sys/__mac_get_pid.S src/kernel/libsyscall/sys_x86-64/__mac_get_pid.S
src/kernel/libsyscall/sys/__mac_get_proc.S src/kernel/libsyscall/sys_x86-64/__mac_get_proc.S
src/kernel/libsyscall/sys/__mac_getfsstat.S src/kernel/libsyscall/sys_x86-64/__mac_getfsstat.S
src/kernel/libsyscall/sys/__mac_mount.S src/kernel/libsyscall/sys_x86-64/__mac_mount.S
src/kernel/libsyscall/sys/__mac_set_fd.S src/kernel/libsyscall/sys_x86-64/__mac_set_fd.S
src/kernel/libsyscall/sys/__mac_set_file.S src/kernel/libsyscall/sys_x86-64/__mac_set_file.S
src/kernel/libsyscall/sys/__mac_set_lctx.S src/kernel/libsyscall/sys_x86-64/__mac_set_lctx.S
src/kernel/libsyscall/sys/__mac_set_link.S src/kernel/libsyscall/sys_x86-64/__mac_set_link.S
src/kernel/libsyscall/sys/__mac_set_proc.S src/kernel/libsyscall/sys_x86-64/__mac_set_proc.S
src/kernel/libsyscall/sys/__mac_syscall.S src/kernel/libsyscall/sys_x86-64/__mac_syscall.S
src/kernel/libsyscall/sys/__mkdir_extended.S src/kernel/libsyscall/sys_x86-64/__mkdir_extended.S
src/kernel/libsyscall/sys/__mkfifo_extended.S src/kernel/libsyscall/sys_x86-64/__mkfifo_extended.S
src/kernel/libsyscall/sys/__mmap.S src/kernel/libsyscall/sys_x86-64/__mmap.S
src/kernel/libsyscall/sys/__mprotect.S src/kernel/libsyscall/sys_x86-64/__mprotect.S
src/kernel/libsyscall/sys/__msgctl.S src/kernel/libsyscall/sys_x86-64/__msgctl.S
src/kernel/libsyscall/sys/__msgrcv_nocancel.S src/kernel/libsyscall/sys_x86-64/__msgrcv_nocancel.S
src/kernel/libsyscall/sys/__msgsnd_nocancel.S src/kernel/libsyscall/sys_x86-64/__msgsnd_nocancel.S
src/kernel/libsyscall/sys/__msgsys.S src/kernel/libsyscall/sys_x86-64/__msgsys.S
src/kernel/libsyscall/sys/__msync.S src/kernel/libsyscall/sys_x86-64/__msync.S
src/kernel/libsyscall/sys/__msync_nocancel.S src/kernel/libsyscall/sys_x86-64/__msync_nocancel.S
src/kernel/libsyscall/sys/__munmap.S src/kernel/libsyscall/sys_x86-64/__munmap.S
src/kernel/libsyscall/sys/__old_semwait_signal.S src/kernel/libsyscall/sys_x86-64/__old_semwait_signal.S
src/kernel/libsyscall/sys/__open.S src/kernel/libsyscall/sys_x86-64/__open.S
src/kernel/libsyscall/sys/__open_dprotected_np.S src/kernel/libsyscall/sys_x86-64/__open_dprotected_np.S
src/kernel/libsyscall/sys/__open_extended.S src/kernel/libsyscall/sys_x86-64/__open_extended.S
src/kernel/libsyscall/sys/__open_nocancel.S src/kernel/libsyscall/sys_x86-64/__open_nocancel.S
src/kernel/libsyscall/sys/__openat.S src/kernel/libsyscall/sys_x86-64/__openat.S
src/kernel/libsyscall/sys/__openat_nocancel.S src/kernel/libsyscall/sys_x86-64/__openat_nocancel.S
src/kernel/libsyscall/sys/__pipe.S src/kernel/libsyscall/sys_x86-64/__pipe.S
src/kernel/libsyscall/sys/__poll_nocancel.S src/kernel/libsyscall/sys_x86-64/__poll_nocancel.S
src/kernel/libsyscall/sys/__posix_spawn.S src/kernel/libsyscall/sys_x86-64/__posix_spawn.S
src/kernel/libsyscall/sys/__pread_nocancel.S src/kernel/libsyscall/sys_x86-64/__pread_nocancel.S
src/kernel/libsyscall/sys/__proc_info.S src/kernel/libsyscall/sys_x86-64/__proc_info.S
src/kernel/libsyscall/sys/__process_policy.S src/kernel/libsyscall/sys_x86-64/__process_policy.S
src/kernel/libsyscall/sys/__psynch_cvbroad.S src/kernel/libsyscall/sys_x86-64/__psynch_cvbroad.S
src/kernel/libsyscall/sys/__psynch_cvclrprepost.S src/kernel/libsyscall/sys_x86-64/__psynch_cvclrprepost.S
src/kernel/libsyscall/sys/__psynch_cvsignal.S src/kernel/libsyscall/sys_x86-64/__psynch_cvsignal.S
src/kernel/libsyscall/sys/__psynch_cvwait.S src/kernel/libsyscall/sys_x86-64/__psynch_cvwait.S
src/kernel/libsyscall/sys/__psynch_mutexdrop.S src/kernel/libsyscall/sys_x86-64/__psynch_mutexdrop.S
src/kernel/libsyscall/sys/__psynch_mutexwait.S src/kernel/libsyscall/sys_x86-64/__psynch_mutexwait.S
src/kernel/libsyscall/sys/__psynch_rw_downgrade.S src/kernel/libsyscall/sys_x86-64/__psynch_rw_downgrade.S
src/kernel/libsyscall/sys/__psynch_rw_longrdlock.S src/kernel/libsyscall/sys_x86-64/__psynch_rw_longrdlock.S
src/kernel/libsyscall/sys/__psynch_rw_rdlock.S src/kernel/libsyscall/sys_x86-64/__psynch_rw_rdlock.S
src/kernel/libsyscall/sys/__psynch_rw_unlock.S src/kernel/libsyscall/sys_x86-64/__psynch_rw_unlock.S
src/kernel/libsyscall/sys/__psynch_rw_unlock2.S src/kernel/libsyscall/sys_x86-64/__psynch_rw_unlock2.S
src/kernel/libsyscall/sys/__psynch_rw_upgrade.S src/kernel/libsyscall/sys_x86-64/__psynch_rw_upgrade.S
src/kernel/libsyscall/sys/__psynch_rw_wrlock.S src/kernel/libsyscall/sys_x86-64/__psynch_rw_wrlock.S
src/kernel/libsyscall/sys/__psynch_rw_yieldwrlock.S src/kernel/libsyscall/sys_x86-64/__psynch_rw_yieldwrlock.S
src/kernel/libsyscall/sys/__pthread_canceled.S src/kernel/libsyscall/sys_x86-64/__pthread_canceled.S
src/kernel/libsyscall/sys/__pthread_chdir.S src/kernel/libsyscall/sys_x86-64/__pthread_chdir.S
src/kernel/libsyscall/sys/__pthread_fchdir.S src/kernel/libsyscall/sys_x86-64/__pthread_fchdir.S
src/kernel/libsyscall/sys/__pthread_kill.S src/kernel/libsyscall/sys_x86-64/__pthread_kill.S
src/kernel/libsyscall/sys/__pthread_markcancel.S src/kernel/libsyscall/sys_x86-64/__pthread_markcancel.S
src/kernel/libsyscall/sys/__pthread_sigmask.S src/kernel/libsyscall/sys_x86-64/__pthread_sigmask.S
src/kernel/libsyscall/sys/__ptrace.S src/kernel/libsyscall/sys_x86-64/__ptrace.S
src/kernel/libsyscall/sys/__pwrite_nocancel.S src/kernel/libsyscall/sys_x86-64/__pwrite_nocancel.S
src/kernel/libsyscall/sys/__read_nocancel.S src/kernel/libsyscall/sys_x86-64/__read_nocancel.S
src/kernel/libsyscall/sys/__readv_nocancel.S src/kernel/libsyscall/sys_x86-64/__readv_nocancel.S
src/kernel/libsyscall/sys/__recvfrom.S src/kernel/libsyscall/sys_x86-64/__recvfrom.S
src/kernel/libsyscall/sys/__recvfrom_nocancel.S src/kernel/libsyscall/sys_x86-64/__recvfrom_nocancel.S
src/kernel/libsyscall/sys/__recvmsg.S src/kernel/libsyscall/sys_x86-64/__recvmsg.S
src/kernel/libsyscall/sys/__recvmsg_nocancel.S src/kernel/libsyscall/sys_x86-64/__recvmsg_nocancel.S
src/kernel/libsyscall/sys/__rename.S src/kernel/libsyscall/sys_x86-64/__rename.S
src/kernel/libsyscall/sys/__rename_ext.S src/kernel/libsyscall/sys_x86-64/__rename_ext.S
src/kernel/libsyscall/sys/__renameat.S src/kernel/libsyscall/sys_x86-64/__renameat.S
src/kernel/libsyscall/sys/__rmdir.S src/kernel/libsyscall/sys_x86-64/__rmdir.S
src/kernel/libsyscall/sys/__select.S src/kernel/libsyscall/sys_x86-64/__select.S
src/kernel/libsyscall/sys/__select_nocancel.S src/kernel/libsyscall/sys_x86-64/__select_nocancel.S
src/kernel/libsyscall/sys/__sem_open.S src/kernel/libsyscall/sys_x86-64/__sem_open.S
src/kernel/libsyscall/sys/__sem_wait_nocancel.S src/kernel/libsyscall/sys_x86-64/__sem_wait_nocancel.S
src/kernel/libsyscall/sys/__semctl.S src/kernel/libsyscall/sys_x86-64/__semctl.S
src/kernel/libsyscall/sys/__semsys.S src/kernel/libsyscall/sys_x86-64/__semsys.S
src/kernel/libsyscall/sys/__semwait_signal.S src/kernel/libsyscall/sys_x86-64/__semwait_signal.S
src/kernel/libsyscall/sys/__semwait_signal_nocancel.S src/kernel/libsyscall/sys_x86-64/__semwait_signal_nocancel.S
src/kernel/libsyscall/sys/__sendmsg.S src/kernel/libsyscall/sys_x86-64/__sendmsg.S
src/kernel/libsyscall/sys/__sendmsg_nocancel.S src/kernel/libsyscall/sys_x86-64/__sendmsg_nocancel.S
src/kernel/libsyscall/sys/__sendto.S src/kernel/libsyscall/sys_x86-64/__sendto.S
src/kernel/libsyscall/sys/__sendto_nocancel.S src/kernel/libsyscall/sys_x86-64/__sendto_nocancel.S
src/kernel/libsyscall/sys/__setattrlist.S src/kernel/libsyscall/sys_x86-64/__setattrlist.S
src/kernel/libsyscall/sys/__setlcid.S src/kernel/libsyscall/sys_x86-64/__setlcid.S
src/kernel/libsyscall/sys/__setlogin.S src/kernel/libsyscall/sys_x86-64/__setlogin.S
src/kernel/libsyscall/sys/__setpriority.S src/kernel/libsyscall/sys_x86-64/__setpriority.S
src/kernel/libsyscall/sys/__setregid.S src/kernel/libsyscall/sys_x86-64/__setregid.S
src/kernel/libsyscall/sys/__setreuid.S src/kernel/libsyscall/sys_x86-64/__setreuid.S
src/kernel/libsyscall/sys/__setrlimit.S src/kernel/libsyscall/sys_x86-64/__setrlimit.S
src/kernel/libsyscall/sys/__setsgroups.S src/kernel/libsyscall/sys_x86-64/__setsgroups.S
src/kernel/libsyscall/sys/__settid.S src/kernel/libsyscall/sys_x86-64/__settid.S
src/kernel/libsyscall/sys/__settid_with_pid.S src/kernel/libsyscall/sys_x86-64/__settid_with_pid.S
src/kernel/libsyscall/sys/__settimeofday.S src/kernel/libsyscall/sys_x86-64/__settimeofday.S
src/kernel/libsyscall/sys/__setwgroups.S src/kernel/libsyscall/sys_x86-64/__setwgroups.S
src/kernel/libsyscall/sys/__sfi_ctl.S src/kernel/libsyscall/sys_x86-64/__sfi_ctl.S
src/kernel/libsyscall/sys/__sfi_pidctl.S src/kernel/libsyscall/sys_x86-64/__sfi_pidctl.S
src/kernel/libsyscall/sys/__shared_region_check_np.S src/kernel/libsyscall/sys_x86-64/__shared_region_check_np.S
src/kernel/libsyscall/sys/__shared_region_map_and_slide_np.S src/kernel/libsyscall/sys_x86-64/__shared_region_map_and_slide_np.S
src/kernel/libsyscall/sys/__shm_open.S src/kernel/libsyscall/sys_x86-64/__shm_open.S
src/kernel/libsyscall/sys/__shmctl.S src/kernel/libsyscall/sys_x86-64/__shmctl.S
src/kernel/libsyscall/sys/__shmsys.S src/kernel/libsyscall/sys_x86-64/__shmsys.S
src/kernel/libsyscall/sys/__sigaction.S src/kernel/libsyscall/sys_x86-64/__sigaction.S
src/kernel/libsyscall/sys/__sigaltstack.S src/kernel/libsyscall/sys_x86-64/__sigaltstack.S
src/kernel/libsyscall/sys/__sigreturn.S src/kernel/libsyscall/sys_i386/__sigreturn.S
src/kernel/libsyscall/sys/__sigsuspend.S src/kernel/libsyscall/sys_x86-64/__sigsuspend.S
src/kernel/libsyscall/sys/__sigsuspend_nocancel.S src/kernel/libsyscall/sys_x86-64/__sigsuspend_nocancel.S
src/kernel/libsyscall/sys/__sigwait.S src/kernel/libsyscall/sys_x86-64/__sigwait.S
src/kernel/libsyscall/sys/__socketpair.S src/kernel/libsyscall/sys_x86-64/__socketpair.S
src/kernel/libsyscall/sys/__stack_snapshot.S src/kernel/libsyscall/sys_x86-64/__stack_snapshot.S
src/kernel/libsyscall/sys/__stat64_extended.S src/kernel/libsyscall/sys_x86-64/__stat64_extended.S
src/kernel/libsyscall/sys/__stat_extended.S src/kernel/libsyscall/sys_x86-64/__stat_extended.S
src/kernel/libsyscall/sys/__syscall.S src/kernel/libsyscall/sys_x86-64/__syscall.S
src/kernel/libsyscall/sys/__sysctl.S src/kernel/libsyscall/sys_x86-64/__sysctl.S
src/kernel/libsyscall/sys/__sysctlbyname.S src/kernel/libsyscall/sys_x86-64/__sysctlbyname.S
src/kernel/libsyscall/sys/__telemetry.S src/kernel/libsyscall/sys_x86-64/__telemetry.S
src/kernel/libsyscall/sys/__thread_selfid.S src/kernel/libsyscall/sys_i386/__thread_selfid.S
src/kernel/libsyscall/sys/__thread_selfusage.S src/kernel/libsyscall/sys_i386/__thread_selfusage.S
src/kernel/libsyscall/sys/__umask_extended.S src/kernel/libsyscall/sys_x86-64/__umask_extended.S
src/kernel/libsyscall/sys/__unlink.S src/kernel/libsyscall/sys_x86-64/__unlink.S
src/kernel/libsyscall/sys/__unlinkat.S src/kernel/libsyscall/sys_x86-64/__unlinkat.S
src/kernel/libsyscall/sys/__vfork.S src/kernel/libsyscall/sys_x86-64/__vfork.S
src/kernel/libsyscall/sys/__wait4.S src/kernel/libsyscall/sys_x86-64/__wait4.S
src/kernel/libsyscall/sys/__wait4_nocancel.S src/kernel/libsyscall/sys_x86-64/__wait4_nocancel.S
src/kernel/libsyscall/sys/__waitid_nocancel.S src/kernel/libsyscall/sys_x86-64/__waitid_nocancel.S
src/kernel/libsyscall/sys/__workq_kernreturn.S src/kernel/libsyscall/sys_x86-64/__workq_kernreturn.S
src/kernel/libsyscall/sys/__workq_open.S src/kernel/libsyscall/sys_x86-64/__workq_open.S
src/kernel/libsyscall/sys/__write_nocancel.S src/kernel/libsyscall/sys_x86-64/__write_nocancel.S
src/kernel/libsyscall/sys/__writev_nocancel.S src/kernel/libsyscall/sys_x86-64/__writev_nocancel.S
src/kernel/libsyscall/sys/access.S src/kernel/libsyscall/sys_x86-64/access.S
src/kernel/libsyscall/sys/acct.S src/kernel/libsyscall/sys_x86-64/acct.S
src/kernel/libsyscall/sys/adjtime.S src/kernel/libsyscall/sys_x86-64/adjtime.S
src/kernel/libsyscall/sys/aio_cancel.S src/kernel/libsyscall/sys_x86-64/aio_cancel.S
src/kernel/libsyscall/sys/aio_error.S src/kernel/libsyscall/sys_x86-64/aio_error.S
src/kernel/libsyscall/sys/aio_fsync.S src/kernel/libsyscall/sys_x86-64/aio_fsync.S
src/kernel/libsyscall/sys/aio_read.S src/kernel/libsyscall/sys_x86-64/aio_read.S
src/kernel/libsyscall/sys/aio_return.S src/kernel/libsyscall/sys_x86-64/aio_return.S
src/kernel/libsyscall/sys/aio_suspend.S src/kernel/libsyscall/sys_x86-64/aio_suspend.S
src/kernel/libsyscall/sys/aio_write.S src/kernel/libsyscall/sys_x86-64/aio_write.S
src/kernel/libsyscall/sys/audit.S src/kernel/libsyscall/sys_x86-64/audit.S
src/kernel/libsyscall/sys/audit_session_join.S src/kernel/libsyscall/sys_x86-64/audit_session_join.S
src/kernel/libsyscall/sys/audit_session_port.S src/kernel/libsyscall/sys_x86-64/audit_session_port.S
src/kernel/libsyscall/sys/audit_session_self.S src/kernel/libsyscall/sys_x86-64/audit_session_self.S
src/kernel/libsyscall/sys/auditctl.S src/kernel/libsyscall/sys_x86-64/auditctl.S
src/kernel/libsyscall/sys/auditon.S src/kernel/libsyscall/sys_x86-64/auditon.S
src/kernel/libsyscall/sys/change_fdguard_np.S src/kernel/libsyscall/sys_x86-64/change_fdguard_np.S
src/kernel/libsyscall/sys/chdir.S src/kernel/libsyscall/sys_x86-64/chdir.S
src/kernel/libsyscall/sys/chflags.S src/kernel/libsyscall/sys_x86-64/chflags.S
src/kernel/libsyscall/sys/chown.S src/kernel/libsyscall/sys_x86-64/chown.S
src/kernel/libsyscall/sys/chroot.S src/kernel/libsyscall/sys_x86-64/chroot.S
src/kernel/libsyscall/sys/close.S src/kernel/libsyscall/sys_x86-64/close.S
src/kernel/libsyscall/sys/connectx.S src/kernel/libsyscall/sys_x86-64/connectx.S
src/kernel/libsyscall/sys/csops.S src/kernel/libsyscall/sys_x86-64/csops.S
src/kernel/libsyscall/sys/csops_audittoken.S src/kernel/libsyscall/sys_x86-64/csops_audittoken.S
src/kernel/libsyscall/sys/custom.S src/kernel/libsyscall/sys_i386/custom.S
src/kernel/libsyscall/sys/disconnectx.S src/kernel/libsyscall/sys_x86-64/disconnectx.S
src/kernel/libsyscall/sys/dup.S src/kernel/libsyscall/sys_x86-64/dup.S
src/kernel/libsyscall/sys/dup2.S src/kernel/libsyscall/sys_x86-64/dup2.S
src/kernel/libsyscall/sys/exchangedata.S src/kernel/libsyscall/sys_x86-64/exchangedata.S
src/kernel/libsyscall/sys/execve.S src/kernel/libsyscall/sys_x86-64/execve.S
src/kernel/libsyscall/sys/faccessat.S src/kernel/libsyscall/sys_x86-64/faccessat.S
src/kernel/libsyscall/sys/fchdir.S src/kernel/libsyscall/sys_x86-64/fchdir.S
src/kernel/libsyscall/sys/fchflags.S src/kernel/libsyscall/sys_x86-64/fchflags.S
src/kernel/libsyscall/sys/fchmodat.S src/kernel/libsyscall/sys_x86-64/fchmodat.S
src/kernel/libsyscall/sys/fchown.S src/kernel/libsyscall/sys_x86-64/fchown.S
src/kernel/libsyscall/sys/fchownat.S src/kernel/libsyscall/sys_x86-64/fchownat.S
src/kernel/libsyscall/sys/fdatasync.S src/kernel/libsyscall/sys_x86-64/fdatasync.S
src/kernel/libsyscall/sys/ffsctl.S src/kernel/libsyscall/sys_x86-64/ffsctl.S
src/kernel/libsyscall/sys/fgetattrlist.S src/kernel/libsyscall/sys_x86-64/fgetattrlist.S
src/kernel/libsyscall/sys/fgetxattr.S src/kernel/libsyscall/sys_x86-64/fgetxattr.S
src/kernel/libsyscall/sys/fhopen.S src/kernel/libsyscall/sys_x86-64/fhopen.S
src/kernel/libsyscall/sys/fileport_makefd.S src/kernel/libsyscall/sys_x86-64/fileport_makefd.S
src/kernel/libsyscall/sys/fileport_makeport.S src/kernel/libsyscall/sys_x86-64/fileport_makeport.S
src/kernel/libsyscall/sys/flistxattr.S src/kernel/libsyscall/sys_x86-64/flistxattr.S
src/kernel/libsyscall/sys/flock.S src/kernel/libsyscall/sys_x86-64/flock.S
src/kernel/libsyscall/sys/fpathconf.S src/kernel/libsyscall/sys_x86-64/fpathconf.S
src/kernel/libsyscall/sys/fremovexattr.S src/kernel/libsyscall/sys_x86-64/fremovexattr.S
src/kernel/libsyscall/sys/fsctl.S src/kernel/libsyscall/sys_x86-64/fsctl.S
src/kernel/libsyscall/sys/fsetattrlist.S src/kernel/libsyscall/sys_x86-64/fsetattrlist.S
src/kernel/libsyscall/sys/fsetxattr.S src/kernel/libsyscall/sys_x86-64/fsetxattr.S
src/kernel/libsyscall/sys/fstat.S src/kernel/libsyscall/sys_x86-64/fstat.S
src/kernel/libsyscall/sys/fstat64.S src/kernel/libsyscall/sys_x86-64/fstat64.S
src/kernel/libsyscall/sys/fstatat.S src/kernel/libsyscall/sys_x86-64/fstatat.S
src/kernel/libsyscall/sys/fstatat64.S src/kernel/libsyscall/sys_x86-64/fstatat64.S
src/kernel/libsyscall/sys/fstatfs.S src/kernel/libsyscall/sys_x86-64/fstatfs.S
src/kernel/libsyscall/sys/fstatfs64.S src/kernel/libsyscall/sys_x86-64/fstatfs64.S
src/kernel/libsyscall/sys/fsync.S src/kernel/libsyscall/sys_x86-64/fsync.S
src/kernel/libsyscall/sys/ftruncate.S src/kernel/libsyscall/sys_x86-64/ftruncate.S
src/kernel/libsyscall/sys/futimes.S src/kernel/libsyscall/sys_x86-64/futimes.S
src/kernel/libsyscall/sys/getattrlistat.S src/kernel/libsyscall/sys_x86-64/getattrlistat.S
src/kernel/libsyscall/sys/getattrlistbulk.S src/kernel/libsyscall/sys_x86-64/getattrlistbulk.S
src/kernel/libsyscall/sys/getaudit_addr.S src/kernel/libsyscall/sys_x86-64/getaudit_addr.S
src/kernel/libsyscall/sys/getauid.S src/kernel/libsyscall/sys_x86-64/getauid.S
src/kernel/libsyscall/sys/getdirentries.S src/kernel/libsyscall/sys_x86-64/getdirentries.S
src/kernel/libsyscall/sys/getdirentriesattr.S src/kernel/libsyscall/sys_x86-64/getdirentriesattr.S
src/kernel/libsyscall/sys/getdtablesize.S src/kernel/libsyscall/sys_x86-64/getdtablesize.S
src/kernel/libsyscall/sys/getegid.S src/kernel/libsyscall/sys_x86-64/getegid.S
src/kernel/libsyscall/sys/geteuid.S src/kernel/libsyscall/sys_x86-64/geteuid.S
src/kernel/libsyscall/sys/getfh.S src/kernel/libsyscall/sys_x86-64/getfh.S
src/kernel/libsyscall/sys/getfsstat.S src/kernel/libsyscall/sys_x86-64/getfsstat.S
src/kernel/libsyscall/sys/getfsstat64.S src/kernel/libsyscall/sys_x86-64/getfsstat64.S
src/kernel/libsyscall/sys/getgid.S src/kernel/libsyscall/sys_x86-64/getgid.S
src/kernel/libsyscall/sys/getgroups.S src/kernel/libsyscall/sys_x86-64/getgroups.S
src/kernel/libsyscall/sys/getitimer.S src/kernel/libsyscall/sys_x86-64/getitimer.S
src/kernel/libsyscall/sys/getpgid.S src/kernel/libsyscall/sys_x86-64/getpgid.S
src/kernel/libsyscall/sys/getpgrp.S src/kernel/libsyscall/sys_x86-64/getpgrp.S
src/kernel/libsyscall/sys/getppid.S src/kernel/libsyscall/sys_x86-64/getppid.S
src/kernel/libsyscall/sys/getpriority.S src/kernel/libsyscall/sys_x86-64/getpriority.S
src/kernel/libsyscall/sys/getrusage.S src/kernel/libsyscall/sys_x86-64/getrusage.S
src/kernel/libsyscall/sys/getsid.S src/kernel/libsyscall/sys_x86-64/getsid.S
src/kernel/libsyscall/sys/getsockopt.S src/kernel/libsyscall/sys_x86-64/getsockopt.S
src/kernel/libsyscall/sys/getuid.S src/kernel/libsyscall/sys_x86-64/getuid.S
src/kernel/libsyscall/sys/getxattr.S src/kernel/libsyscall/sys_x86-64/getxattr.S
src/kernel/libsyscall/sys/guarded_close_np.S src/kernel/libsyscall/sys_x86-64/guarded_close_np.S
src/kernel/libsyscall/sys/guarded_kqueue_np.S src/kernel/libsyscall/sys_x86-64/guarded_kqueue_np.S
src/kernel/libsyscall/sys/guarded_pwrite_np.S src/kernel/libsyscall/sys_x86-64/guarded_pwrite_np.S
src/kernel/libsyscall/sys/guarded_write_np.S src/kernel/libsyscall/sys_x86-64/guarded_write_np.S
src/kernel/libsyscall/sys/guarded_writev_np.S src/kernel/libsyscall/sys_x86-64/guarded_writev_np.S
src/kernel/libsyscall/sys/issetugid.S src/kernel/libsyscall/sys_x86-64/issetugid.S
src/kernel/libsyscall/sys/kas_info.S src/kernel/libsyscall/sys_x86-64/kas_info.S
src/kernel/libsyscall/sys/kevent.S src/kernel/libsyscall/sys_x86-64/kevent.S
src/kernel/libsyscall/sys/kevent64.S src/kernel/libsyscall/sys_x86-64/kevent64.S
src/kernel/libsyscall/sys/kqueue.S src/kernel/libsyscall/sys_x86-64/kqueue.S
src/kernel/libsyscall/sys/ledger.S src/kernel/libsyscall/sys_x86-64/ledger.S
src/kernel/libsyscall/sys/link.S src/kernel/libsyscall/sys_x86-64/link.S
src/kernel/libsyscall/sys/linkat.S src/kernel/libsyscall/sys_x86-64/linkat.S
src/kernel/libsyscall/sys/lio_listio.S src/kernel/libsyscall/sys_x86-64/lio_listio.S
src/kernel/libsyscall/sys/listxattr.S src/kernel/libsyscall/sys_x86-64/listxattr.S
src/kernel/libsyscall/sys/lstat.S src/kernel/libsyscall/sys_x86-64/lstat.S
src/kernel/libsyscall/sys/lstat64.S src/kernel/libsyscall/sys_x86-64/lstat64.S
src/kernel/libsyscall/sys/madvise.S src/kernel/libsyscall/sys_x86-64/madvise.S
src/kernel/libsyscall/sys/memorystatus_control.S src/kernel/libsyscall/sys_x86-64/memorystatus_control.S
src/kernel/libsyscall/sys/memorystatus_get_level.S src/kernel/libsyscall/sys_x86-64/memorystatus_get_level.S
src/kernel/libsyscall/sys/mincore.S src/kernel/libsyscall/sys_x86-64/mincore.S
src/kernel/libsyscall/sys/minherit.S src/kernel/libsyscall/sys_x86-64/minherit.S
src/kernel/libsyscall/sys/mkdir.S src/kernel/libsyscall/sys_x86-64/mkdir.S
src/kernel/libsyscall/sys/mkdirat.S src/kernel/libsyscall/sys_x86-64/mkdirat.S
src/kernel/libsyscall/sys/mkfifo.S src/kernel/libsyscall/sys_x86-64/mkfifo.S
src/kernel/libsyscall/sys/mknod.S src/kernel/libsyscall/sys_x86-64/mknod.S
src/kernel/libsyscall/sys/mlock.S src/kernel/libsyscall/sys_x86-64/mlock.S
src/kernel/libsyscall/sys/mlockall.S src/kernel/libsyscall/sys_x86-64/mlockall.S
src/kernel/libsyscall/sys/modwatch.S src/kernel/libsyscall/sys_x86-64/modwatch.S
src/kernel/libsyscall/sys/mount.S src/kernel/libsyscall/sys_x86-64/mount.S
src/kernel/libsyscall/sys/mremap_encrypted.S src/kernel/libsyscall/sys_x86-64/mremap_encrypted.S
src/kernel/libsyscall/sys/msgget.S src/kernel/libsyscall/sys_x86-64/msgget.S
src/kernel/libsyscall/sys/msgrcv.S src/kernel/libsyscall/sys_x86-64/msgrcv.S
src/kernel/libsyscall/sys/msgsnd.S src/kernel/libsyscall/sys_x86-64/msgsnd.S
src/kernel/libsyscall/sys/munlock.S src/kernel/libsyscall/sys_x86-64/munlock.S
src/kernel/libsyscall/sys/munlockall.S src/kernel/libsyscall/sys_x86-64/munlockall.S
src/kernel/libsyscall/sys/necp_match_policy.S src/kernel/libsyscall/sys_x86-64/necp_match_policy.S
src/kernel/libsyscall/sys/nfsclnt.S src/kernel/libsyscall/sys_x86-64/nfsclnt.S
src/kernel/libsyscall/sys/nfssvc.S src/kernel/libsyscall/sys_x86-64/nfssvc.S
src/kernel/libsyscall/sys/openbyid_np.S src/kernel/libsyscall/sys_x86-64/openbyid_np.S
src/kernel/libsyscall/sys/pathconf.S src/kernel/libsyscall/sys_x86-64/pathconf.S
src/kernel/libsyscall/sys/peeloff.S src/kernel/libsyscall/sys_x86-64/peeloff.S
src/kernel/libsyscall/sys/pid_resume.S src/kernel/libsyscall/sys_x86-64/pid_resume.S
src/kernel/libsyscall/sys/pid_suspend.S src/kernel/libsyscall/sys_x86-64/pid_suspend.S
src/kernel/libsyscall/sys/poll.S src/kernel/libsyscall/sys_x86-64/poll.S
src/kernel/libsyscall/sys/pread.S src/kernel/libsyscall/sys_x86-64/pread.S
src/kernel/libsyscall/sys/proc_rlimit_control.S src/kernel/libsyscall/sys_x86-64/proc_rlimit_control.S
src/kernel/libsyscall/sys/proc_trace_log.S src/kernel/libsyscall/sys_x86-64/proc_trace_log.S
src/kernel/libsyscall/sys/proc_uuid_policy.S src/kernel/libsyscall/sys_x86-64/proc_uuid_policy.S
src/kernel/libsyscall/sys/pwrite.S src/kernel/libsyscall/sys_x86-64/pwrite.S
src/kernel/libsyscall/sys/quota.S src/kernel/libsyscall/sys_x86-64/quota.S
src/kernel/libsyscall/sys/quotactl.S src/kernel/libsyscall/sys_x86-64/quotactl.S
src/kernel/libsyscall/sys/read.S src/kernel/libsyscall/sys_x86-64/read.S
src/kernel/libsyscall/sys/readlink.S src/kernel/libsyscall/sys_x86-64/readlink.S
src/kernel/libsyscall/sys/readlinkat.S src/kernel/libsyscall/sys_x86-64/readlinkat.S
src/kernel/libsyscall/sys/readv.S src/kernel/libsyscall/sys_x86-64/readv.S
src/kernel/libsyscall/sys/reboot.S src/kernel/libsyscall/sys_x86-64/reboot.S
src/kernel/libsyscall/sys/recvmsg_x.S src/kernel/libsyscall/sys_x86-64/recvmsg_x.S
src/kernel/libsyscall/sys/removexattr.S src/kernel/libsyscall/sys_x86-64/removexattr.S
src/kernel/libsyscall/sys/revoke.S src/kernel/libsyscall/sys_x86-64/revoke.S
src/kernel/libsyscall/sys/searchfs.S src/kernel/libsyscall/sys_x86-64/searchfs.S
src/kernel/libsyscall/sys/sem_close.S src/kernel/libsyscall/sys_x86-64/sem_close.S
src/kernel/libsyscall/sys/sem_post.S src/kernel/libsyscall/sys_x86-64/sem_post.S
src/kernel/libsyscall/sys/sem_trywait.S src/kernel/libsyscall/sys_x86-64/sem_trywait.S
src/kernel/libsyscall/sys/sem_unlink.S src/kernel/libsyscall/sys_x86-64/sem_unlink.S
src/kernel/libsyscall/sys/sem_wait.S src/kernel/libsyscall/sys_x86-64/sem_wait.S
src/kernel/libsyscall/sys/semget.S src/kernel/libsyscall/sys_x86-64/semget.S
src/kernel/libsyscall/sys/semop.S src/kernel/libsyscall/sys_x86-64/semop.S
src/kernel/libsyscall/sys/sendfile.S src/kernel/libsyscall/sys_x86-64/sendfile.S
src/kernel/libsyscall/sys/sendmsg_x.S src/kernel/libsyscall/sys_x86-64/sendmsg_x.S
src/kernel/libsyscall/sys/setaudit_addr.S src/kernel/libsyscall/sys_x86-64/setaudit_addr.S
src/kernel/libsyscall/sys/setauid.S src/kernel/libsyscall/sys_x86-64/setauid.S
src/kernel/libsyscall/sys/setegid.S src/kernel/libsyscall/sys_x86-64/setegid.S
src/kernel/libsyscall/sys/seteuid.S src/kernel/libsyscall/sys_x86-64/seteuid.S
src/kernel/libsyscall/sys/setgid.S src/kernel/libsyscall/sys_x86-64/setgid.S
src/kernel/libsyscall/sys/setgroups.S src/kernel/libsyscall/sys_x86-64/setgroups.S
src/kernel/libsyscall/sys/setitimer.S src/kernel/libsyscall/sys_x86-64/setitimer.S
src/kernel/libsyscall/sys/setpgid.S src/kernel/libsyscall/sys_x86-64/setpgid.S
src/kernel/libsyscall/sys/setprivexec.S src/kernel/libsyscall/sys_x86-64/setprivexec.S
src/kernel/libsyscall/sys/setquota.S src/kernel/libsyscall/sys_x86-64/setquota.S
src/kernel/libsyscall/sys/setsid.S src/kernel/libsyscall/sys_x86-64/setsid.S
src/kernel/libsyscall/sys/setsockopt.S src/kernel/libsyscall/sys_x86-64/setsockopt.S
src/kernel/libsyscall/sys/setuid.S src/kernel/libsyscall/sys_x86-64/setuid.S
src/kernel/libsyscall/sys/setxattr.S src/kernel/libsyscall/sys_x86-64/setxattr.S
src/kernel/libsyscall/sys/shm_unlink.S src/kernel/libsyscall/sys_x86-64/shm_unlink.S
src/kernel/libsyscall/sys/shmat.S src/kernel/libsyscall/sys_x86-64/shmat.S
src/kernel/libsyscall/sys/shmdt.S src/kernel/libsyscall/sys_x86-64/shmdt.S
src/kernel/libsyscall/sys/shmget.S src/kernel/libsyscall/sys_x86-64/shmget.S
src/kernel/libsyscall/sys/shutdown.S src/kernel/libsyscall/sys_x86-64/shutdown.S
src/kernel/libsyscall/sys/sigpending.S src/kernel/libsyscall/sys_x86-64/sigpending.S
src/kernel/libsyscall/sys/sigprocmask.S src/kernel/libsyscall/sys_x86-64/sigprocmask.S
src/kernel/libsyscall/sys/socket.S src/kernel/libsyscall/sys_x86-64/socket.S
src/kernel/libsyscall/sys/socket_delegate.S src/kernel/libsyscall/sys_x86-64/socket_delegate.S
src/kernel/libsyscall/sys/stat.S src/kernel/libsyscall/sys_x86-64/stat.S
src/kernel/libsyscall/sys/stat64.S src/kernel/libsyscall/sys_x86-64/stat64.S
src/kernel/libsyscall/sys/statfs.S src/kernel/libsyscall/sys_x86-64/statfs.S
src/kernel/libsyscall/sys/statfs64.S src/kernel/libsyscall/sys_x86-64/statfs64.S
src/kernel/libsyscall/sys/stubs.list src/kernel/libsyscall/sys_x86-64/stubs.list
src/kernel/libsyscall/sys/swapon.S src/kernel/libsyscall/sys_x86-64/swapon.S
src/kernel/libsyscall/sys/symlink.S src/kernel/libsyscall/sys_x86-64/symlink.S
src/kernel/libsyscall/sys/symlinkat.S src/kernel/libsyscall/sys_x86-64/symlinkat.S
src/kernel/libsyscall/sys/sync.S src/kernel/libsyscall/sys_x86-64/sync.S
src/kernel/libsyscall/sys/system_override.S src/kernel/libsyscall/sys_x86-64/system_override.S
src/kernel/libsyscall/sys/truncate.S src/kernel/libsyscall/sys_x86-64/truncate.S
src/kernel/libsyscall/sys/truncate.o src/kernel/libsyscall/sys_x86-64/truncate.o
src/kernel/libsyscall/sys/umask.S src/kernel/libsyscall/sys_x86-64/umask.S
src/kernel/libsyscall/sys/undelete.S src/kernel/libsyscall/sys_x86-64/undelete.S
src/kernel/libsyscall/sys/unmount.S src/kernel/libsyscall/sys_x86-64/unmount.S
src/kernel/libsyscall/sys/utimes.S src/kernel/libsyscall/sys_x86-64/utimes.S
src/kernel/libsyscall/sys/vfs_purge.S src/kernel/libsyscall/sys_x86-64/vfs_purge.S
src/kernel/libsyscall/sys/vm_pressure_monitor.S src/kernel/libsyscall/sys_x86-64/vm_pressure_monitor.S
src/kernel/libsyscall/sys/waitevent.S src/kernel/libsyscall/sys_x86-64/waitevent.S
src/kernel/libsyscall/sys/waitid.S src/kernel/libsyscall/sys_x86-64/waitid.S
src/kernel/libsyscall/sys/watchevent.S src/kernel/libsyscall/sys_x86-64/watchevent.S
src/kernel/libsyscall/sys/write.S src/kernel/libsyscall/sys_x86-64/write.S
src/kernel/libsyscall/sys/writev.S src/kernel/libsyscall/sys_x86-64/writev.S
+209
src/kernel/libsyscall/sys_i386/SYS.h
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2011 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. 30 + * 31 + * File: SYS.h 32 + * 33 + * Definition of the user side of the UNIX system call interface 34 + * for M98K. 35 + * 36 + * Errors are flagged by the location of the trap return (ie., which 37 + * instruction is executed upon rfi): 38 + * 39 + * SC PC + 4: Error (typically branch to cerror()) 40 + * SC PC + 8: Success 41 + * 42 + * HISTORY 43 + * 18-Nov-92 Ben Fathi (benf@next.com) 44 + * Ported to m98k. 45 + * 46 + * 9-Jan-92 Peter King (king@next.com) 47 + * Created. 48 + */ 49 + 50 + #include <sys/syscall.h> 51 + 52 + /* Binary compatibility stubs for syscalls that no longer exist */ 53 + 54 + #ifndef SYS_setquota 55 + #define SYS_setquota 148 56 + #endif 57 + #ifndef SYS_quota 58 + #define SYS_quota 149 59 + #endif 60 + 61 + #if defined(__i386__) 62 + 63 + #include <architecture/i386/asm_help.h> 64 + #include <mach/i386/syscall_sw.h> 65 + 66 + /* 67 + * We have two entry points. int's is used for syscalls which need to preserve 68 + * %ecx across the call, or return a 64-bit value in %eax:%edx. sysenter is used 69 + * for the majority of syscalls which just return a value in %eax. 70 + */ 71 + 72 + #ifndef DARLING 73 + #define UNIX_SYSCALL_SYSENTER call __sysenter_trap 74 + #else 75 + #define UNIX_SYSCALL_SYSENTER call __darling_bsd_syscall@PLT 76 + #endif 77 + 78 + #define UNIX_SYSCALL(name, nargs) \ 79 + .globl tramp_cerror ;\ 80 + LEAF(_##name, 0) ;\ 81 + movl $ SYS_##name, %eax ;\ 82 + UNIX_SYSCALL_SYSENTER ;\ 83 + jnb 2f ;\ 84 + BRANCH_EXTERN(tramp_cerror) ;\ 85 + 2: 86 + 87 + #define UNIX_SYSCALL_INT(name, nargs) \ 88 + .globl tramp_cerror ;\ 89 + LEAF(_##name, 0) ;\ 90 + movl $ SYS_##name, %eax ;\ 91 + UNIX_SYSCALL_TRAP ;\ 92 + jnb 2f ;\ 93 + BRANCH_EXTERN(tramp_cerror) ;\ 94 + 2: 95 + 96 + #if defined(__SYSCALL_32BIT_ARG_BYTES) && ((__SYSCALL_32BIT_ARG_BYTES >= 4) && (__SYSCALL_32BIT_ARG_BYTES <= 20)) 97 + #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 98 + movl $(SYS_##name | (__SYSCALL_32BIT_ARG_BYTES << I386_SYSCALL_ARG_BYTES_SHIFT)), %eax ;\ 99 + UNIX_SYSCALL_SYSENTER ;\ 100 + jnb 2f ;\ 101 + BRANCH_EXTERN(tramp_##cerror) ;\ 102 + 2: 103 + #else /* __SYSCALL_32BIT_ARG_BYTES < 4 || > 20 */ 104 + #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 105 + movl $ SYS_##name, %eax ;\ 106 + UNIX_SYSCALL_SYSENTER ;\ 107 + jnb 2f ;\ 108 + BRANCH_EXTERN(tramp_##cerror) ;\ 109 + 2: 110 + #endif 111 + 112 + #define UNIX_SYSCALL_INT_NONAME(name, nargs) \ 113 + .globl tramp_cerror_nocancel ;\ 114 + movl $ SYS_##name, %eax ;\ 115 + UNIX_SYSCALL_TRAP ;\ 116 + jnb 2f ;\ 117 + BRANCH_EXTERN(tramp_cerror_nocancel) ;\ 118 + 2: 119 + 120 + #define PSEUDO(pseudo, name, nargs, cerror) \ 121 + LEAF(pseudo, 0) ;\ 122 + UNIX_SYSCALL_NONAME(name, nargs, cerror) 123 + 124 + #define PSEUDO_INT(pseudo, name, nargs) \ 125 + LEAF(pseudo, 0) ;\ 126 + UNIX_SYSCALL_INT_NONAME(name, nargs) 127 + 128 + #define __SYSCALL2(pseudo, name, nargs, cerror) \ 129 + PSEUDO(pseudo, name, nargs, cerror) ;\ 130 + ret 131 + 132 + #define __SYSCALL(pseudo, name, nargs) \ 133 + PSEUDO(pseudo, name, nargs, cerror) ;\ 134 + ret 135 + 136 + #define __SYSCALL_INT(pseudo, name, nargs) \ 137 + PSEUDO_INT(pseudo, name, nargs) ;\ 138 + ret 139 + 140 + #elif defined(__x86_64__) 141 + 142 + #include <architecture/i386/asm_help.h> 143 + #include <mach/i386/syscall_sw.h> 144 + 145 + #ifdef DARLING 146 + 147 + #define UNIX_SYSCALL(name, nargs) \ 148 + .globl cerror ;\ 149 + LEAF(name, 0) ;\ 150 + movl $ SYS_##name, %eax ;\ 151 + call __darling_bsd_syscall@PLT ;\ 152 + jnb 2f ;\ 153 + movq %rax, %rdi ;\ 154 + BRANCH_EXTERN(cerror) ;\ 155 + 2: 156 + 157 + #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 158 + .globl cerror ;\ 159 + movl $ SYS_##name, %eax ;\ 160 + call __darling_bsd_syscall@PLT ;\ 161 + jnb 2f ;\ 162 + movq %rax, %rdi ;\ 163 + BRANCH_EXTERN(cerror) ;\ 164 + 2: 165 + 166 + 167 + #else 168 + 169 + #define UNIX_SYSCALL_SYSCALL \ 170 + movq %rcx, %r10 ;\ 171 + syscall 172 + 173 + #define UNIX_SYSCALL(name, nargs) \ 174 + .globl cerror ;\ 175 + LEAF(_##name, 0) ;\ 176 + movl $ SYSCALL_CONSTRUCT_UNIX(SYS_##name), %eax ;\ 177 + UNIX_SYSCALL_SYSCALL ;\ 178 + jnb 2f ;\ 179 + movq %rax, %rdi ;\ 180 + BRANCH_EXTERN(_cerror) ;\ 181 + 2: 182 + 183 + #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 184 + .globl cerror ;\ 185 + movl $ SYSCALL_CONSTRUCT_UNIX(SYS_##name), %eax ;\ 186 + UNIX_SYSCALL_SYSCALL ;\ 187 + jnb 2f ;\ 188 + movq %rax, %rdi ;\ 189 + BRANCH_EXTERN(_##cerror) ;\ 190 + 2: 191 + 192 + #endif // DARLING 193 + 194 + #define PSEUDO(pseudo, name, nargs, cerror) \ 195 + LEAF(pseudo, 0) ;\ 196 + UNIX_SYSCALL_NONAME(name, nargs, cerror) 197 + 198 + #define __SYSCALL2(pseudo, name, nargs, cerror) \ 199 + PSEUDO(pseudo, name, nargs, cerror) ;\ 200 + ret 201 + 202 + #define __SYSCALL(pseudo, name, nargs) \ 203 + PSEUDO(pseudo, name, nargs, cerror) ;\ 204 + ret 205 + 206 + #else 207 + #error Unsupported architecture 208 + #endif 209 +
+11
src/kernel/libsyscall/sys_i386/____old_semwait_signal_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___old_semwait_signal_nocancel 5 + #error "SYS___old_semwait_signal_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(____old_semwait_signal_nocancel, __old_semwait_signal_nocancel, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/____sigwait_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___sigwait_nocancel 5 + #error "SYS___sigwait_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(____sigwait_nocancel, __sigwait_nocancel, 2, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__accept.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_accept 5 + #error "SYS_accept not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__accept, accept, 3, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl accept$UNIX2003 14 + accept$UNIX2003 = __accept 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__accept_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_accept_nocancel 5 + #error "SYS_accept_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__accept_nocancel, accept_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl accept$NOCANCEL$UNIX2003 14 + accept$NOCANCEL$UNIX2003 = __accept_nocancel 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__access_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_access_extended 5 + #error "SYS_access_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__access_extended, access_extended, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl accessx_np 14 + accessx_np = __access_extended 15 + #endif 16 +
+18
src/kernel/libsyscall/sys_i386/__aio_suspend_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_suspend_nocancel 5 + #error "SYS_aio_suspend_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__aio_suspend_nocancel, aio_suspend_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl aio_suspend 14 + aio_suspend = __aio_suspend_nocancel 15 + .globl aio_suspend$NOCANCEL$UNIX2003 16 + aio_suspend$NOCANCEL$UNIX2003 = __aio_suspend_nocancel 17 + #endif 18 +
+16
src/kernel/libsyscall/sys_i386/__bind.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bind 5 + #error "SYS_bind not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__bind, bind, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl bind$UNIX2003 14 + bind$UNIX2003 = __bind 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__bsdthread_create.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bsdthread_create 5 + #error "SYS_bsdthread_create not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__bsdthread_create, bsdthread_create, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__bsdthread_ctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bsdthread_ctl 5 + #error "SYS_bsdthread_ctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__bsdthread_ctl, bsdthread_ctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__bsdthread_register.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bsdthread_register 5 + #error "SYS_bsdthread_register not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__bsdthread_register, bsdthread_register, 7, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__bsdthread_terminate.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bsdthread_terminate 5 + #error "SYS_bsdthread_terminate not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__bsdthread_terminate, bsdthread_terminate, 4, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__chmod.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chmod 5 + #error "SYS_chmod not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__chmod, chmod, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl chmod 14 + chmod = __chmod 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__chmod_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chmod_extended 5 + #error "SYS_chmod_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__chmod_extended, chmod_extended, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__chud.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 48 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chud 5 + #error "SYS_chud not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__chud, chud, 6, cerror_nocancel) 10 + #endif 11 +
+18
src/kernel/libsyscall/sys_i386/__close_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_close_nocancel 5 + #error "SYS_close_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__close_nocancel, close_nocancel, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl close 14 + close = __close_nocancel 15 + .globl close$NOCANCEL$UNIX2003 16 + close$NOCANCEL$UNIX2003 = __close_nocancel 17 + #endif 18 +
+11
src/kernel/libsyscall/sys_i386/__coalition.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_coalition 5 + #error "SYS_coalition not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__coalition, coalition, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__coalition_info.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_coalition_info 5 + #error "SYS_coalition_info not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__coalition_info, coalition_info, 4, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__connect.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_connect 5 + #error "SYS_connect not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__connect, connect, 3, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl connect$UNIX2003 14 + connect$UNIX2003 = __connect 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__connect_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_connect_nocancel 5 + #error "SYS_connect_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__connect_nocancel, connect_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl connect$NOCANCEL$UNIX2003 14 + connect$NOCANCEL$UNIX2003 = __connect_nocancel 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__copyfile.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_copyfile 5 + #error "SYS_copyfile not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__copyfile, copyfile, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__csrctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_csrctl 5 + #error "SYS_csrctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__csrctl, csrctl, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__delete.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_delete 5 + #error "SYS_delete not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__delete, delete, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__disable_threadsignal.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___disable_threadsignal 5 + #error "SYS___disable_threadsignal not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__disable_threadsignal, __disable_threadsignal, 1, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__exit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_exit 5 + #error "SYS_exit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__exit, exit, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl _exit 14 + _exit = __exit 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__fchmod.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchmod 5 + #error "SYS_fchmod not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__fchmod, fchmod, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl fchmod 14 + fchmod = __fchmod 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__fchmod_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchmod_extended 5 + #error "SYS_fchmod_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__fchmod_extended, fchmod_extended, 5, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__fcntl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fcntl 5 + #error "SYS_fcntl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__fcntl, fcntl, 3, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl fcntl$UNIX2003 14 + fcntl$UNIX2003 = __fcntl 15 + #endif 16 +
+18
src/kernel/libsyscall/sys_i386/__fcntl_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fcntl_nocancel 5 + #error "SYS_fcntl_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__fcntl_nocancel, fcntl_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl fcntl 14 + fcntl = __fcntl_nocancel 15 + .globl fcntl$NOCANCEL$UNIX2003 16 + fcntl$NOCANCEL$UNIX2003 = __fcntl_nocancel 17 + #endif 18 +
+111
src/kernel/libsyscall/sys_i386/__fork.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2010 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. 30 + * 31 + * File: libc/ppc/sys/fork.s 32 + * 33 + * HISTORY 34 + * 18-Nov-92 Ben Fathi (benf@next.com) 35 + * Created from M88K sources 36 + * 37 + * 11-Jan-92 Peter King (king@next.com) 38 + * Created from M68K sources 39 + */ 40 + 41 + /* 42 + * All of the asm stubs in this file have been adjusted so the pre/post 43 + * fork handlers and dyld fixup are done in C inside Libc. As such, Libc 44 + * expects the __fork asm to fix up the return code to be -1, 0 or pid 45 + * and errno if needed. 46 + */ 47 + 48 + #include "SYS.h" 49 + 50 + #ifdef DARLING 51 + # define ___fork __fork 52 + # define _cerror cerror 53 + #endif 54 + 55 + #if defined(__i386__) 56 + 57 + LEAF(___fork, 0) 58 + subl $28, %esp // Align the stack, with 16 bytes of extra padding that we'll need 59 + 60 + movl $ SYS_fork,%eax; // code for fork -> eax 61 + UNIX_SYSCALL_TRAP // do the system call 62 + jnc L1 // jump if CF==0 63 + 64 + CALL_EXTERN(tramp_cerror) 65 + movl $-1,%eax 66 + addl $28, %esp // restore the stack 67 + ret 68 + 69 + L1: 70 + orl %edx,%edx // CF=OF=0, ZF set if zero result 71 + jz L2 // parent, since r1 == 0 in parent, 1 in child 72 + 73 + //child here... 74 + xorl %eax,%eax // zero eax 75 + REG_TO_EXTERN(%eax, __current_pid); 76 + L2: 77 + addl $28, %esp // restore the stack 78 + // parent ends up here skipping child portion 79 + ret 80 + 81 + #elif defined(__x86_64__) 82 + 83 + LEAF(___fork, 0) 84 + subq $24, %rsp // Align the stack, plus room for local storage 85 + 86 + movl $ SYSCALL_CONSTRUCT_UNIX(SYS_fork),%eax; // code for fork -> rax 87 + UNIX_SYSCALL_TRAP // do the system call 88 + jnc L1 // jump if CF==0 89 + 90 + movq %rax, %rdi 91 + CALL_EXTERN(_cerror) 92 + movq $-1, %rax 93 + addq $24, %rsp // restore the stack 94 + ret 95 + 96 + L1: 97 + orl %edx,%edx // CF=OF=0, ZF set if zero result 98 + jz L2 // parent, since r1 == 0 in parent, 1 in child 99 + 100 + //child here... 101 + xorq %rax, %rax 102 + PICIFY(__current_pid) 103 + movl %eax,(%r11) 104 + L2: 105 + // parent ends up here skipping child portion 106 + addq $24, %rsp // restore the stack 107 + ret 108 + 109 + #else 110 + #error Unsupported architecture 111 + #endif
+11
src/kernel/libsyscall/sys_i386/__fsgetpath.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsgetpath 5 + #error "SYS_fsgetpath not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__fsgetpath, fsgetpath, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__fstat64_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstat64_extended 5 + #error "SYS_fstat64_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__fstat64_extended, fstat64_extended, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__fstat_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstat_extended 5 + #error "SYS_fstat_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__fstat_extended, fstat_extended, 4, cerror_nocancel) 10 + #endif 11 +
+18
src/kernel/libsyscall/sys_i386/__fsync_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsync_nocancel 5 + #error "SYS_fsync_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__fsync_nocancel, fsync_nocancel, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl fsync 14 + fsync = __fsync_nocancel 15 + .globl fsync$NOCANCEL$UNIX2003 16 + fsync$NOCANCEL$UNIX2003 = __fsync_nocancel 17 + #endif 18 +
+16
src/kernel/libsyscall/sys_i386/__getattrlist.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getattrlist 5 + #error "SYS_getattrlist not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__getattrlist, getattrlist, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl getattrlist$UNIX2003 14 + getattrlist$UNIX2003 = __getattrlist 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__getdirentries64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getdirentries64 5 + #error "SYS_getdirentries64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__getdirentries64, getdirentries64, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__gethostuuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_gethostuuid 5 + #error "SYS_gethostuuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__gethostuuid, gethostuuid, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__getlcid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getlcid 5 + #error "SYS_getlcid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__getlcid, getlcid, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__getlogin.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getlogin 5 + #error "SYS_getlogin not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__getlogin, getlogin, 2, cerror) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__getpeername.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getpeername 5 + #error "SYS_getpeername not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__getpeername, getpeername, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl getpeername$UNIX2003 14 + getpeername$UNIX2003 = __getpeername 15 + #endif 16 +
+114
src/kernel/libsyscall/sys_i386/__getpid.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + 30 + #include "SYS.h" 31 + 32 + #ifdef DARLING 33 + # define ___getpid __getpid 34 + #endif 35 + 36 + #if defined(__i386__) 37 + 38 + .data 39 + .globl __current_pid 40 + .hidden __current_pid 41 + L__current_pid_addr: 42 + __current_pid: 43 + .long 0 44 + 45 + #if defined(__DYNAMIC__) 46 + #define GET_CURRENT_PID \ 47 + call 0f ; \ 48 + 0: ; \ 49 + popl %ecx ; \ 50 + leal L__current_pid_addr-0b(%ecx), %ecx 51 + 52 + #define __current_pid (%ecx) 53 + 54 + #else 55 + #define GET_CURRENT_PID 56 + #endif 57 + 58 + /* 59 + * If __current_pid is > 0, return it, else make syscall. 60 + * If __current_pid is 0, cache result of syscall. 61 + */ 62 + TEXT 63 + LEAF(___getpid, 0) 64 + GET_CURRENT_PID 65 + movl __current_pid, %eax 66 + testl %eax, %eax 67 + jle 1f 68 + ret 69 + 1: 70 + UNIX_SYSCALL_NONAME(getpid, 0, cerror_nocancel) 71 + movl %eax, %edx 72 + xorl %eax, %eax 73 + GET_CURRENT_PID 74 + lock 75 + cmpxchgl %edx, __current_pid 76 + movl %edx, %eax 77 + ret 78 + 79 + #elif defined(__x86_64__) 80 + 81 + .data 82 + .globl __current_pid 83 + .hidden __current_pid 84 + __current_pid: 85 + .long 0 86 + 87 + /* 88 + * If __current_pid is > 0, return it, else make syscall. 89 + * If __current_pid is 0, cache result of syscall. 90 + */ 91 + TEXT 92 + LEAF(___getpid, 0) 93 + movl __current_pid(%rip), %eax 94 + testl %eax, %eax 95 + jle 1f 96 + ret 97 + 1: 98 + UNIX_SYSCALL_NONAME(getpid, 0, cerror_nocancel) 99 + movl %eax, %edx 100 + xorl %eax, %eax 101 + leaq __current_pid(%rip), %rcx 102 + lock 103 + cmpxchgl %edx, (%rcx) 104 + movl %edx, %eax 105 + ret 106 + 107 + #else 108 + #error Unsupported architecture 109 + #endif 110 + #if defined(__i386__) 111 + .globl getpid 112 + getpid = __getpid 113 + #endif 114 +
+16
src/kernel/libsyscall/sys_i386/__getrlimit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getrlimit 5 + #error "SYS_getrlimit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__getrlimit, getrlimit, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl getrlimit 14 + getrlimit = __getrlimit 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__getsgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getsgroups 5 + #error "SYS_getsgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__getsgroups, getsgroups, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl getsgroups_np 14 + getsgroups_np = __getsgroups 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__getsockname.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getsockname 5 + #error "SYS_getsockname not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__getsockname, getsockname, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl getsockname$UNIX2003 14 + getsockname$UNIX2003 = __getsockname 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__gettid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_gettid 5 + #error "SYS_gettid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__gettid, gettid, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl pthread_getugid_np 14 + pthread_getugid_np = __gettid 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__getwgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getwgroups 5 + #error "SYS_getwgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__getwgroups, getwgroups, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl getwgroups_np 14 + getwgroups_np = __getwgroups 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__guarded_open_dprotected_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_open_dprotected_np 5 + #error "SYS_guarded_open_dprotected_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__guarded_open_dprotected_np, guarded_open_dprotected_np, 7, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__guarded_open_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_open_np 5 + #error "SYS_guarded_open_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__guarded_open_np, guarded_open_np, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__identitysvc.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_identitysvc 5 + #error "SYS_identitysvc not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__identitysvc, identitysvc, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__initgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_initgroups 5 + #error "SYS_initgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__initgroups, initgroups, 3, cerror_nocancel) 10 + #endif 11 +
+18
src/kernel/libsyscall/sys_i386/__ioctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_ioctl 5 + #error "SYS_ioctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__ioctl, ioctl, 3, cerror) 10 + #endif 11 + 12 + #define ioctl __real_ioctl 13 + 14 + #if defined(__i386__) 15 + .globl ioctl 16 + ioctl = __ioctl 17 + #endif 18 +
+11
src/kernel/libsyscall/sys_i386/__iopolicysys.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_iopolicysys 5 + #error "SYS_iopolicysys not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__iopolicysys, iopolicysys, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__kdebug_trace.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kdebug_trace 5 + #error "SYS_kdebug_trace not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__kdebug_trace, kdebug_trace, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__kill.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kill 5 + #error "SYS_kill not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__kill, kill, 3, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__lchown.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lchown 5 + #error "SYS_lchown not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__lchown, lchown, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl lchown$UNIX2003 14 + lchown$UNIX2003 = __lchown 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__listen.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_listen 5 + #error "SYS_listen not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__listen, listen, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl listen$UNIX2003 14 + listen$UNIX2003 = __listen 15 + #endif 16 +
+51
src/kernel/libsyscall/sys_i386/__lseek.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + 30 + #include "SYS.h" 31 + 32 + #ifdef DARLING 33 + # define ___lseek __lseek 34 + #endif 35 + 36 + #if defined(__x86_64__) 37 + 38 + __SYSCALL(___lseek, lseek, 3) 39 + 40 + #elif defined(__i386__) 41 + 42 + __SYSCALL_INT(___lseek, lseek, 3) 43 + 44 + #else 45 + #error Unsupported architecture 46 + #endif 47 + #if defined(__i386__) 48 + .globl lseek 49 + lseek = __lseek 50 + #endif 51 +
+11
src/kernel/libsyscall/sys_i386/__lstat64_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lstat64_extended 5 + #error "SYS_lstat64_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__lstat64_extended, lstat64_extended, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__lstat_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lstat_extended 5 + #error "SYS_lstat_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__lstat_extended, lstat_extended, 4, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__mac_execve.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_execve 5 + #error "SYS___mac_execve not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_execve, __mac_execve, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl __sandbox_me 14 + __sandbox_me = __mac_execve 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__mac_get_fd.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_fd 5 + #error "SYS___mac_get_fd not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_get_fd, __mac_get_fd, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_get_file.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_file 5 + #error "SYS___mac_get_file not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_get_file, __mac_get_file, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_get_lcid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_lcid 5 + #error "SYS___mac_get_lcid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_get_lcid, __mac_get_lcid, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_get_lctx.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_lctx 5 + #error "SYS___mac_get_lctx not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_get_lctx, __mac_get_lctx, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_get_link.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_link 5 + #error "SYS___mac_get_link not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_get_link, __mac_get_link, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_get_mount.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_mount 5 + #error "SYS___mac_get_mount not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_get_mount, __mac_get_mount, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_get_pid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_pid 5 + #error "SYS___mac_get_pid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_get_pid, __mac_get_pid, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_get_proc.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_proc 5 + #error "SYS___mac_get_proc not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_get_proc, __mac_get_proc, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_getfsstat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_getfsstat 5 + #error "SYS___mac_getfsstat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_getfsstat, __mac_getfsstat, 5, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__mac_mount.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_mount 5 + #error "SYS___mac_mount not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_mount, __mac_mount, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl __sandbox_mm 14 + __sandbox_mm = __mac_mount 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__mac_set_fd.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_fd 5 + #error "SYS___mac_set_fd not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_set_fd, __mac_set_fd, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_set_file.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_file 5 + #error "SYS___mac_set_file not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_set_file, __mac_set_file, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_set_lctx.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_lctx 5 + #error "SYS___mac_set_lctx not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_set_lctx, __mac_set_lctx, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mac_set_link.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_link 5 + #error "SYS___mac_set_link not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_set_link, __mac_set_link, 2, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__mac_set_proc.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_proc 5 + #error "SYS___mac_set_proc not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_set_proc, __mac_set_proc, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl __sandbox_msp 14 + __sandbox_msp = __mac_set_proc 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__mac_syscall.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_syscall 5 + #error "SYS___mac_syscall not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mac_syscall, __mac_syscall, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl __sandbox_ms 14 + __sandbox_ms = __mac_syscall 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__mkdir_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkdir_extended 5 + #error "SYS_mkdir_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mkdir_extended, mkdir_extended, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__mkfifo_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkfifo_extended 5 + #error "SYS_mkfifo_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mkfifo_extended, mkfifo_extended, 5, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__mmap.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mmap 5 + #error "SYS_mmap not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mmap, mmap, 6, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl mmap 14 + mmap = __mmap 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__mprotect.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mprotect 5 + #error "SYS_mprotect not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__mprotect, mprotect, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl mprotect$UNIX2003 14 + mprotect$UNIX2003 = __mprotect 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__msgctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgctl 5 + #error "SYS_msgctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__msgctl, msgctl, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl msgctl$UNIX2003 14 + msgctl$UNIX2003 = __msgctl 15 + #endif 16 +
+18
src/kernel/libsyscall/sys_i386/__msgrcv_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgrcv_nocancel 5 + #error "SYS_msgrcv_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__msgrcv_nocancel, msgrcv_nocancel, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl msgrcv 14 + msgrcv = __msgrcv_nocancel 15 + .globl msgrcv$NOCANCEL$UNIX2003 16 + msgrcv$NOCANCEL$UNIX2003 = __msgrcv_nocancel 17 + #endif 18 +
+18
src/kernel/libsyscall/sys_i386/__msgsnd_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgsnd_nocancel 5 + #error "SYS_msgsnd_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__msgsnd_nocancel, msgsnd_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl msgsnd 14 + msgsnd = __msgsnd_nocancel 15 + .globl msgsnd$NOCANCEL$UNIX2003 16 + msgsnd$NOCANCEL$UNIX2003 = __msgsnd_nocancel 17 + #endif 18 +
+16
src/kernel/libsyscall/sys_i386/__msgsys.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgsys 5 + #error "SYS_msgsys not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__msgsys, msgsys, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl msgsys 14 + msgsys = __msgsys 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__msync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msync 5 + #error "SYS_msync not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__msync, msync, 3, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl msync$UNIX2003 14 + msync$UNIX2003 = __msync 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__msync_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msync_nocancel 5 + #error "SYS_msync_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__msync_nocancel, msync_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl msync$NOCANCEL$UNIX2003 14 + msync$NOCANCEL$UNIX2003 = __msync_nocancel 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__munmap.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_munmap 5 + #error "SYS_munmap not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__munmap, munmap, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__old_semwait_signal.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___old_semwait_signal 5 + #error "SYS___old_semwait_signal not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__old_semwait_signal, __old_semwait_signal, 5, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__open.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_open 5 + #error "SYS_open not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__open, open, 3, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl open$UNIX2003 14 + open$UNIX2003 = __open 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__open_dprotected_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_open_dprotected_np 5 + #error "SYS_open_dprotected_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__open_dprotected_np, open_dprotected_np, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__open_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_open_extended 5 + #error "SYS_open_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__open_extended, open_extended, 6, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__open_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_open_nocancel 5 + #error "SYS_open_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__open_nocancel, open_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl open$NOCANCEL$UNIX2003 14 + open$NOCANCEL$UNIX2003 = __open_nocancel 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__openat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_openat 5 + #error "SYS_openat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__openat, openat, 4, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl openat 14 + openat = __openat 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__openat_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_openat_nocancel 5 + #error "SYS_openat_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__openat_nocancel, openat_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl openat$NOCANCEL 14 + openat$NOCANCEL = __openat_nocancel 15 + #endif 16 +
+61
src/kernel/libsyscall/sys_i386/__pipe.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. */ 30 + 31 + #include "SYS.h" 32 + 33 + #ifdef DARLING 34 + # define ___pipe __pipe 35 + #endif 36 + 37 + #if defined(__i386__) 38 + 39 + PSEUDO_INT(___pipe, pipe, 0) 40 + movl 4(%esp),%ecx 41 + movl %eax,(%ecx) 42 + movl %edx,4(%ecx) 43 + xorl %eax,%eax 44 + ret 45 + 46 + #elif defined(__x86_64__) 47 + 48 + PSEUDO(___pipe, pipe, 0, cerror_nocancel) 49 + movl %eax, (%rdi) 50 + movl %edx, 4(%rdi) 51 + xorl %eax, %eax 52 + ret 53 + 54 + #else 55 + #error Unsupported architecture 56 + #endif 57 + #if defined(__i386__) 58 + .globl pipe 59 + pipe = __pipe 60 + #endif 61 +
+18
src/kernel/libsyscall/sys_i386/__poll_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_poll_nocancel 5 + #error "SYS_poll_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__poll_nocancel, poll_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl poll 14 + poll = __poll_nocancel 15 + .globl poll$NOCANCEL$UNIX2003 16 + poll$NOCANCEL$UNIX2003 = __poll_nocancel 17 + #endif 18 +
+11
src/kernel/libsyscall/sys_i386/__posix_spawn.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_posix_spawn 5 + #error "SYS_posix_spawn not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__posix_spawn, posix_spawn, 5, cerror) 10 + #endif 11 +
+18
src/kernel/libsyscall/sys_i386/__pread_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pread_nocancel 5 + #error "SYS_pread_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__pread_nocancel, pread_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl pread 14 + pread = __pread_nocancel 15 + .globl pread$NOCANCEL$UNIX2003 16 + pread$NOCANCEL$UNIX2003 = __pread_nocancel 17 + #endif 18 +
+11
src/kernel/libsyscall/sys_i386/__proc_info.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_proc_info 5 + #error "SYS_proc_info not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__proc_info, proc_info, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__process_policy.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 32 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_process_policy 5 + #error "SYS_process_policy not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__process_policy, process_policy, 7, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_cvbroad.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 44 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_cvbroad 5 + #error "SYS_psynch_cvbroad not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_cvbroad, psynch_cvbroad, 7, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_cvclrprepost.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_cvclrprepost 5 + #error "SYS_psynch_cvclrprepost not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_cvclrprepost, psynch_cvclrprepost, 7, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_cvsignal.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 44 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_cvsignal 5 + #error "SYS_psynch_cvsignal not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_cvsignal, psynch_cvsignal, 8, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_cvwait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 44 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_cvwait 5 + #error "SYS_psynch_cvwait not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_cvwait, psynch_cvwait, 8, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_mutexdrop.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_mutexdrop 5 + #error "SYS_psynch_mutexdrop not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_mutexdrop, psynch_mutexdrop, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_mutexwait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_mutexwait 5 + #error "SYS_psynch_mutexwait not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_mutexwait, psynch_mutexwait, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_rw_downgrade.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_downgrade 5 + #error "SYS_psynch_rw_downgrade not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_rw_downgrade, psynch_rw_downgrade, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_rw_longrdlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_longrdlock 5 + #error "SYS_psynch_rw_longrdlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_rw_longrdlock, psynch_rw_longrdlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_rw_rdlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_rdlock 5 + #error "SYS_psynch_rw_rdlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_rw_rdlock, psynch_rw_rdlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_rw_unlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_unlock 5 + #error "SYS_psynch_rw_unlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_rw_unlock, psynch_rw_unlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_rw_unlock2.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_unlock2 5 + #error "SYS_psynch_rw_unlock2 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_rw_unlock2, psynch_rw_unlock2, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_rw_upgrade.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_upgrade 5 + #error "SYS_psynch_rw_upgrade not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_rw_upgrade, psynch_rw_upgrade, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_rw_wrlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_wrlock 5 + #error "SYS_psynch_rw_wrlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_rw_wrlock, psynch_rw_wrlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__psynch_rw_yieldwrlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_yieldwrlock 5 + #error "SYS_psynch_rw_yieldwrlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__psynch_rw_yieldwrlock, psynch_rw_yieldwrlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__pthread_canceled.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_canceled 5 + #error "SYS___pthread_canceled not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__pthread_canceled, __pthread_canceled, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__pthread_chdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_chdir 5 + #error "SYS___pthread_chdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__pthread_chdir, __pthread_chdir, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__pthread_fchdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_fchdir 5 + #error "SYS___pthread_fchdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__pthread_fchdir, __pthread_fchdir, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__pthread_kill.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_kill 5 + #error "SYS___pthread_kill not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__pthread_kill, __pthread_kill, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__pthread_markcancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_markcancel 5 + #error "SYS___pthread_markcancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__pthread_markcancel, __pthread_markcancel, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__pthread_sigmask.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_sigmask 5 + #error "SYS___pthread_sigmask not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__pthread_sigmask, __pthread_sigmask, 3, cerror_nocancel) 10 + #endif 11 +
+66
src/kernel/libsyscall/sys_i386/__ptrace.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. */ 30 + 31 + #include "SYS.h" 32 + 33 + #ifdef DARLING 34 + # define ___ptrace __ptrace 35 + # define _errno darwin_errno 36 + #endif 37 + 38 + #if defined(__i386__) 39 + 40 + .globl _errno 41 + 42 + LEAF(___ptrace, 0) 43 + xorl %eax,%eax 44 + REG_TO_EXTERN(%eax,_errno) 45 + UNIX_SYSCALL_NONAME(ptrace, 4, cerror) 46 + ret 47 + 48 + #elif defined(__x86_64__) 49 + 50 + .globl _errno 51 + 52 + LEAF(___ptrace, 0) 53 + xorq %rax,%rax 54 + PICIFY(_errno) 55 + movl %eax,(%r11) 56 + UNIX_SYSCALL_NONAME(ptrace, 4, cerror) 57 + ret 58 + 59 + #else 60 + #error Unsupported architecture 61 + #endif 62 + #if defined(__i386__) 63 + .globl ptrace 64 + ptrace = __ptrace 65 + #endif 66 +
+18
src/kernel/libsyscall/sys_i386/__pwrite_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pwrite_nocancel 5 + #error "SYS_pwrite_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__pwrite_nocancel, pwrite_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl pwrite 14 + pwrite = __pwrite_nocancel 15 + .globl pwrite$NOCANCEL$UNIX2003 16 + pwrite$NOCANCEL$UNIX2003 = __pwrite_nocancel 17 + #endif 18 +
+18
src/kernel/libsyscall/sys_i386/__read_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_read_nocancel 5 + #error "SYS_read_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__read_nocancel, read_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl read 14 + read = __read_nocancel 15 + .globl read$NOCANCEL$UNIX2003 16 + read$NOCANCEL$UNIX2003 = __read_nocancel 17 + #endif 18 +
+18
src/kernel/libsyscall/sys_i386/__readv_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_readv_nocancel 5 + #error "SYS_readv_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__readv_nocancel, readv_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl readv 14 + readv = __readv_nocancel 15 + .globl readv$NOCANCEL$UNIX2003 16 + readv$NOCANCEL$UNIX2003 = __readv_nocancel 17 + #endif 18 +
+16
src/kernel/libsyscall/sys_i386/__recvfrom.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvfrom 5 + #error "SYS_recvfrom not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__recvfrom, recvfrom, 6, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl recvfrom$UNIX2003 14 + recvfrom$UNIX2003 = __recvfrom 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__recvfrom_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvfrom_nocancel 5 + #error "SYS_recvfrom_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__recvfrom_nocancel, recvfrom_nocancel, 6, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl recvfrom$NOCANCEL$UNIX2003 14 + recvfrom$NOCANCEL$UNIX2003 = __recvfrom_nocancel 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__recvmsg.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvmsg 5 + #error "SYS_recvmsg not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__recvmsg, recvmsg, 3, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl recvmsg$UNIX2003 14 + recvmsg$UNIX2003 = __recvmsg 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__recvmsg_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvmsg_nocancel 5 + #error "SYS_recvmsg_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__recvmsg_nocancel, recvmsg_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl recvmsg$NOCANCEL$UNIX2003 14 + recvmsg$NOCANCEL$UNIX2003 = __recvmsg_nocancel 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__rename.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_rename 5 + #error "SYS_rename not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__rename, rename, 2, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__rename_ext.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_rename_ext 5 + #error "SYS_rename_ext not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__rename_ext, rename_ext, 3, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__renameat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_renameat 5 + #error "SYS_renameat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__renameat, renameat, 4, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__rmdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_rmdir 5 + #error "SYS_rmdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__rmdir, rmdir, 1, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__select.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_select 5 + #error "SYS_select not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__select, select, 5, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl select$DARWIN_EXTSN 14 + select$DARWIN_EXTSN = __select 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__select_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_select_nocancel 5 + #error "SYS_select_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__select_nocancel, select_nocancel, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl select$DARWIN_EXTSN$NOCANCEL 14 + select$DARWIN_EXTSN$NOCANCEL = __select_nocancel 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__sem_open.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_open 5 + #error "SYS_sem_open not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sem_open, sem_open, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl sem_open 14 + sem_open = __sem_open 15 + #endif 16 +
+18
src/kernel/libsyscall/sys_i386/__sem_wait_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_wait_nocancel 5 + #error "SYS_sem_wait_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sem_wait_nocancel, sem_wait_nocancel, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl sem_wait 14 + sem_wait = __sem_wait_nocancel 15 + .globl sem_wait$NOCANCEL$UNIX2003 16 + sem_wait$NOCANCEL$UNIX2003 = __sem_wait_nocancel 17 + #endif 18 +
+16
src/kernel/libsyscall/sys_i386/__semctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_semctl 5 + #error "SYS_semctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__semctl, semctl, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl semctl$UNIX2003 14 + semctl$UNIX2003 = __semctl 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__semsys.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_semsys 5 + #error "SYS_semsys not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__semsys, semsys, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl semsys 14 + semsys = __semsys 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__semwait_signal.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___semwait_signal 5 + #error "SYS___semwait_signal not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__semwait_signal, __semwait_signal, 6, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__semwait_signal_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___semwait_signal_nocancel 5 + #error "SYS___semwait_signal_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__semwait_signal_nocancel, __semwait_signal_nocancel, 6, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__sendmsg.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendmsg 5 + #error "SYS_sendmsg not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sendmsg, sendmsg, 3, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl sendmsg$UNIX2003 14 + sendmsg$UNIX2003 = __sendmsg 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__sendmsg_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendmsg_nocancel 5 + #error "SYS_sendmsg_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sendmsg_nocancel, sendmsg_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl sendmsg$NOCANCEL$UNIX2003 14 + sendmsg$NOCANCEL$UNIX2003 = __sendmsg_nocancel 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__sendto.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendto 5 + #error "SYS_sendto not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sendto, sendto, 6, cerror) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl sendto$UNIX2003 14 + sendto$UNIX2003 = __sendto 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__sendto_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendto_nocancel 5 + #error "SYS_sendto_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sendto_nocancel, sendto_nocancel, 6, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl sendto$NOCANCEL$UNIX2003 14 + sendto$NOCANCEL$UNIX2003 = __sendto_nocancel 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__setattrlist.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setattrlist 5 + #error "SYS_setattrlist not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__setattrlist, setattrlist, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl setattrlist$UNIX2003 14 + setattrlist$UNIX2003 = __setattrlist 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__setlcid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setlcid 5 + #error "SYS_setlcid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__setlcid, setlcid, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__setlogin.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setlogin 5 + #error "SYS_setlogin not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__setlogin, setlogin, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__setpriority.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setpriority 5 + #error "SYS_setpriority not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__setpriority, setpriority, 3, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__setregid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setregid 5 + #error "SYS_setregid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__setregid, setregid, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl setregid$UNIX2003 14 + setregid$UNIX2003 = __setregid 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__setreuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setreuid 5 + #error "SYS_setreuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__setreuid, setreuid, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl setreuid$UNIX2003 14 + setreuid$UNIX2003 = __setreuid 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__setrlimit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setrlimit 5 + #error "SYS_setrlimit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__setrlimit, setrlimit, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl setrlimit 14 + setrlimit = __setrlimit 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__setsgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setsgroups 5 + #error "SYS_setsgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__setsgroups, setsgroups, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl setsgroups_np 14 + setsgroups_np = __setsgroups 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__settid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_settid 5 + #error "SYS_settid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__settid, settid, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl pthread_setugid_np 14 + pthread_setugid_np = __settid 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__settid_with_pid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_settid_with_pid 5 + #error "SYS_settid_with_pid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__settid_with_pid, settid_with_pid, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__settimeofday.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_settimeofday 5 + #error "SYS_settimeofday not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__settimeofday, settimeofday, 2, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__setwgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setwgroups 5 + #error "SYS_setwgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__setwgroups, setwgroups, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl setwgroups_np 14 + setwgroups_np = __setwgroups 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__sfi_ctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sfi_ctl 5 + #error "SYS_sfi_ctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sfi_ctl, sfi_ctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__sfi_pidctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sfi_pidctl 5 + #error "SYS_sfi_pidctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sfi_pidctl, sfi_pidctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__shared_region_check_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shared_region_check_np 5 + #error "SYS_shared_region_check_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__shared_region_check_np, shared_region_check_np, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__shared_region_map_and_slide_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shared_region_map_and_slide_np 5 + #error "SYS_shared_region_map_and_slide_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__shared_region_map_and_slide_np, shared_region_map_and_slide_np, 6, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__shm_open.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shm_open 5 + #error "SYS_shm_open not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__shm_open, shm_open, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl shm_open 14 + shm_open = __shm_open 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__shmctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmctl 5 + #error "SYS_shmctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__shmctl, shmctl, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl shmctl$UNIX2003 14 + shmctl$UNIX2003 = __shmctl 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/__shmsys.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmsys 5 + #error "SYS_shmsys not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__shmsys, shmsys, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl shmsys 14 + shmsys = __shmsys 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__sigaction.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigaction 5 + #error "SYS_sigaction not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sigaction, sigaction, 3, cerror_nocancel) 10 + #endif 11 +
+51
src/kernel/libsyscall/sys_i386/__sigaltstack.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + 30 + #include "SYS.h" 31 + 32 + #ifdef DARLING 33 + # define ___sigaltstack __sigaltstack 34 + #endif 35 + 36 + #if defined(__x86_64__) 37 + 38 + __SYSCALL(___sigaltstack, sigaltstack, 3) 39 + 40 + #elif defined(__i386__) 41 + 42 + __SYSCALL_INT(___sigaltstack, sigaltstack, 3) 43 + 44 + #else 45 + #error Unsupported architecture 46 + #endif 47 + #if defined(__i386__) 48 + .globl sigaltstack 49 + sigaltstack = __sigaltstack 50 + #endif 51 +
+11
src/kernel/libsyscall/sys_i386/__sigsuspend.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigsuspend 5 + #error "SYS_sigsuspend not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sigsuspend, sigsuspend, 1, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__sigsuspend_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigsuspend_nocancel 5 + #error "SYS_sigsuspend_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sigsuspend_nocancel, sigsuspend_nocancel, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__sigwait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___sigwait 5 + #error "SYS___sigwait not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sigwait, __sigwait, 2, cerror) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__socketpair.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_socketpair 5 + #error "SYS_socketpair not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__socketpair, socketpair, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl socketpair$UNIX2003 14 + socketpair$UNIX2003 = __socketpair 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/__stack_snapshot.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stack_snapshot 5 + #error "SYS_stack_snapshot not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__stack_snapshot, stack_snapshot, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__stat64_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stat64_extended 5 + #error "SYS_stat64_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__stat64_extended, stat64_extended, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__stat_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stat_extended 5 + #error "SYS_stat_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__stat_extended, stat_extended, 4, cerror_nocancel) 10 + #endif 11 +
+65
src/kernel/libsyscall/sys_i386/__syscall.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. */ 30 + 31 + #include "SYS.h" 32 + 33 + #ifdef DARLING 34 + # define ___syscall __syscall 35 + #endif 36 + 37 + #if defined(__i386__) 38 + 39 + LEAF(___syscall, 0) 40 + popl %ecx // ret addr 41 + popl %eax // syscall number 42 + pushl %ecx 43 + UNIX_SYSCALL_TRAP 44 + movl (%esp),%edx // add one element to stack so 45 + pushl %ecx // caller "pop" will work 46 + jnb 2f 47 + BRANCH_EXTERN(tramp_cerror) 48 + 2: 49 + END(___syscall) 50 + 51 + #elif defined(__x86_64__) 52 + 53 + // For x86-64, the kernel slides the argument list for us. 54 + // The number of arguments here is variable, but our macros ignore 55 + // that value anyway. 56 + __SYSCALL(___syscall, syscall, 0); 57 + 58 + #else 59 + #error Unsupported architecture 60 + #endif 61 + #if defined(__i386__) 62 + .globl syscall 63 + syscall = __syscall 64 + #endif 65 +
+11
src/kernel/libsyscall/sys_i386/__sysctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sysctl 5 + #error "SYS_sysctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sysctl, sysctl, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__sysctlbyname.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sysctlbyname 5 + #error "SYS_sysctlbyname not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__sysctlbyname, sysctlbyname, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__telemetry.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 48 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_telemetry 5 + #error "SYS_telemetry not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__telemetry, telemetry, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__umask_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_umask_extended 5 + #error "SYS_umask_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__umask_extended, umask_extended, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__unlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_unlink 5 + #error "SYS_unlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__unlink, unlink, 1, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__unlinkat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_unlinkat 5 + #error "SYS_unlinkat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__unlinkat, unlinkat, 3, cerror) 10 + #endif 11 +
+144
src/kernel/libsyscall/sys_i386/__vfork.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + /* Copyright (c) 1998 Apple Computer, Inc. All rights reserved. 30 + * 31 + * File: libc/ppc/sys/vfork.s 32 + * 33 + * HISTORY 34 + * 23-Jun-1998 Umesh Vaishampayan (umeshv@apple.com) 35 + * Created from fork.s 36 + * 37 + */ 38 + 39 + #include "SYS.h" 40 + 41 + #ifdef DARLING 42 + #define ___vfork __vfork 43 + #define _cerror cerror 44 + #endif 45 + 46 + #if defined(__i386__) 47 + 48 + #if defined(__DYNAMIC__) 49 + #define GET_CURRENT_PID PICIFY(__current_pid) 50 + 51 + NON_LAZY_STUB(__current_pid) 52 + #define __current_pid (%edx) 53 + #else 54 + #define GET_CURRENT_PID 55 + #endif 56 + 57 + /* 58 + * If __current_pid >= 0, we want to put a -1 in there 59 + * otherwise we just decrement it 60 + */ 61 + 62 + LEAF(___vfork, 0) 63 + GET_CURRENT_PID 64 + movl __current_pid, %eax 65 + 0: 66 + xorl %ecx, %ecx 67 + testl %eax, %eax 68 + cmovs %eax, %ecx 69 + decl %ecx 70 + lock 71 + cmpxchgl %ecx, __current_pid 72 + jne 0b 73 + popl %ecx 74 + movl $(SYS_vfork), %eax // code for vfork -> eax 75 + UNIX_SYSCALL_TRAP // do the system call 76 + jnb L1 // jump if CF==0 77 + GET_CURRENT_PID 78 + lock 79 + incl __current_pid 80 + pushl %ecx 81 + BRANCH_EXTERN(tramp_cerror) 82 + 83 + L1: 84 + testl %edx, %edx // CF=OF=0, ZF set if zero result 85 + jz L2 // parent, since r1 == 0 in parent, 1 in child 86 + xorl %eax, %eax // zero eax 87 + jmp *%ecx 88 + 89 + L2: 90 + GET_CURRENT_PID 91 + lock 92 + incl __current_pid 93 + jmp *%ecx 94 + 95 + #elif defined(__x86_64__) 96 + 97 + /* 98 + * If __current_pid >= 0, we want to put a -1 in there 99 + * otherwise we just decrement it 100 + */ 101 + 102 + LEAF(___vfork, 0) 103 + movq __current_pid@GOTPCREL(%rip), %rax 104 + movl (%rax), %eax 105 + 0: 106 + xorl %ecx, %ecx 107 + testl %eax, %eax 108 + cmovs %eax, %ecx 109 + subl $1, %ecx 110 + movq __current_pid@GOTPCREL(%rip), %rdx 111 + lock 112 + cmpxchgl %ecx, (%rdx) 113 + jne 0b 114 + popq %rdi // return address in %rdi 115 + movq $ SYSCALL_CONSTRUCT_UNIX(SYS_vfork), %rax // code for vfork -> rax 116 + UNIX_SYSCALL_TRAP // do the system call 117 + jnb L1 // jump if CF==0 118 + pushq %rdi // put return address back on stack for cerror 119 + movq __current_pid@GOTPCREL(%rip), %rcx 120 + lock 121 + addq $1, (%rcx) 122 + movq %rax, %rdi 123 + BRANCH_EXTERN(_cerror) 124 + 125 + L1: 126 + testl %edx, %edx // CF=OF=0, ZF set if zero result 127 + jz L2 // parent, since r1 == 0 in parent, 1 in child 128 + xorq %rax, %rax // zero rax 129 + jmp *%rdi 130 + 131 + L2: 132 + movq __current_pid@GOTPCREL(%rip), %rdx 133 + lock 134 + addq $1, (%rdx) 135 + jmp *%rdi 136 + 137 + #else 138 + #error Unsupported architecture 139 + #endif 140 + #if defined(__i386__) 141 + .globl vfork 142 + vfork = __vfork 143 + #endif 144 +
+11
src/kernel/libsyscall/sys_i386/__wait4.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_wait4 5 + #error "SYS_wait4 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__wait4, wait4, 4, cerror) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/__wait4_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_wait4_nocancel 5 + #error "SYS_wait4_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__wait4_nocancel, wait4_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl wait4 14 + wait4 = __wait4_nocancel 15 + #endif 16 +
+18
src/kernel/libsyscall/sys_i386/__waitid_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_waitid_nocancel 5 + #error "SYS_waitid_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__waitid_nocancel, waitid_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl waitid 14 + waitid = __waitid_nocancel 15 + .globl waitid$NOCANCEL$UNIX2003 16 + waitid$NOCANCEL$UNIX2003 = __waitid_nocancel 17 + #endif 18 +
+11
src/kernel/libsyscall/sys_i386/__workq_kernreturn.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_workq_kernreturn 5 + #error "SYS_workq_kernreturn not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__workq_kernreturn, workq_kernreturn, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/__workq_open.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_workq_open 5 + #error "SYS_workq_open not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__workq_open, workq_open, 0, cerror_nocancel) 10 + #endif 11 +
+18
src/kernel/libsyscall/sys_i386/__write_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_write_nocancel 5 + #error "SYS_write_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__write_nocancel, write_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl write 14 + write = __write_nocancel 15 + .globl write$NOCANCEL$UNIX2003 16 + write$NOCANCEL$UNIX2003 = __write_nocancel 17 + #endif 18 +
+18
src/kernel/libsyscall/sys_i386/__writev_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_writev_nocancel 5 + #error "SYS_writev_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(__writev_nocancel, writev_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl writev 14 + writev = __writev_nocancel 15 + .globl writev$NOCANCEL$UNIX2003 16 + writev$NOCANCEL$UNIX2003 = __writev_nocancel 17 + #endif 18 +
+11
src/kernel/libsyscall/sys_i386/access.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_access 5 + #error "SYS_access not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(access, access, 2, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/acct.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_acct 5 + #error "SYS_acct not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(acct, acct, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/adjtime.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_adjtime 5 + #error "SYS_adjtime not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(adjtime, adjtime, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/aio_cancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_cancel 5 + #error "SYS_aio_cancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(aio_cancel, aio_cancel, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/aio_error.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_error 5 + #error "SYS_aio_error not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(aio_error, aio_error, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/aio_fsync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_fsync 5 + #error "SYS_aio_fsync not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(aio_fsync, aio_fsync, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/aio_read.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_read 5 + #error "SYS_aio_read not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(aio_read, aio_read, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/aio_return.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_return 5 + #error "SYS_aio_return not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(aio_return, aio_return, 1, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/aio_suspend.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl aio_suspend$UNIX2003 6 + aio_suspend$UNIX2003 = __aio_suspend 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/aio_write.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_write 5 + #error "SYS_aio_write not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(aio_write, aio_write, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/audit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_audit 5 + #error "SYS_audit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(audit, audit, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/audit_session_join.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_audit_session_join 5 + #error "SYS_audit_session_join not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(audit_session_join, audit_session_join, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/audit_session_port.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_audit_session_port 5 + #error "SYS_audit_session_port not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(audit_session_port, audit_session_port, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/audit_session_self.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_audit_session_self 5 + #error "SYS_audit_session_self not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(audit_session_self, audit_session_self, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/auditctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_auditctl 5 + #error "SYS_auditctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(auditctl, auditctl, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/auditon.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_auditon 5 + #error "SYS_auditon not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(auditon, auditon, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/change_fdguard_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_change_fdguard_np 5 + #error "SYS_change_fdguard_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(change_fdguard_np, change_fdguard_np, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/chdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chdir 5 + #error "SYS_chdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(chdir, chdir, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/chflags.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chflags 5 + #error "SYS_chflags not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(chflags, chflags, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/chown.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chown 5 + #error "SYS_chown not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(chown, chown, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/chroot.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chroot 5 + #error "SYS_chroot not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(chroot, chroot, 1, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/close.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl close$UNIX2003 6 + close$UNIX2003 = __close 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/connectx.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 32 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_connectx 5 + #error "SYS_connectx not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(connectx, connectx, 8, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/csops.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_csops 5 + #error "SYS_csops not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(csops, csops, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/csops_audittoken.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_csops_audittoken 5 + #error "SYS_csops_audittoken not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(csops_audittoken, csops_audittoken, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/disconnectx.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_disconnectx 5 + #error "SYS_disconnectx not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(disconnectx, disconnectx, 3, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/dup.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_dup 5 + #error "SYS_dup not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(dup, dup, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/dup2.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_dup2 5 + #error "SYS_dup2 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(dup2, dup2, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/exchangedata.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_exchangedata 5 + #error "SYS_exchangedata not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(exchangedata, exchangedata, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/execve.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_execve 5 + #error "SYS_execve not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(execve, execve, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/faccessat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_faccessat 5 + #error "SYS_faccessat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(faccessat, faccessat, 4, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fchdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchdir 5 + #error "SYS_fchdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fchdir, fchdir, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fchflags.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchflags 5 + #error "SYS_fchflags not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fchflags, fchflags, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fchmodat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchmodat 5 + #error "SYS_fchmodat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fchmodat, fchmodat, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fchown.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchown 5 + #error "SYS_fchown not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fchown, fchown, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fchownat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchownat 5 + #error "SYS_fchownat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fchownat, fchownat, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fdatasync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fdatasync 5 + #error "SYS_fdatasync not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fdatasync, fdatasync, 1, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/ffsctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_ffsctl 5 + #error "SYS_ffsctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(ffsctl, ffsctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fgetattrlist.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fgetattrlist 5 + #error "SYS_fgetattrlist not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fgetattrlist, fgetattrlist, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fgetxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fgetxattr 5 + #error "SYS_fgetxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fgetxattr, fgetxattr, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fhopen.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fhopen 5 + #error "SYS_fhopen not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fhopen, fhopen, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fileport_makefd.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fileport_makefd 5 + #error "SYS_fileport_makefd not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fileport_makefd, fileport_makefd, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fileport_makeport.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fileport_makeport 5 + #error "SYS_fileport_makeport not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fileport_makeport, fileport_makeport, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/flistxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_flistxattr 5 + #error "SYS_flistxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(flistxattr, flistxattr, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/flock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_flock 5 + #error "SYS_flock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(flock, flock, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fpathconf.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fpathconf 5 + #error "SYS_fpathconf not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fpathconf, fpathconf, 2, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fremovexattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fremovexattr 5 + #error "SYS_fremovexattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fremovexattr, fremovexattr, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fsctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsctl 5 + #error "SYS_fsctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fsctl, fsctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fsetattrlist.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsetattrlist 5 + #error "SYS_fsetattrlist not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fsetattrlist, fsetattrlist, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fsetxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsetxattr 5 + #error "SYS_fsetxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fsetxattr, fsetxattr, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/fstat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstat 5 + #error "SYS_fstat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fstat, fstat, 2, cerror) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/fstat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstat64 5 + #error "SYS_fstat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fstat64, fstat64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl fstat$INODE64 14 + fstat$INODE64 = fstat64 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/fstatat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstatat 5 + #error "SYS_fstatat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fstatat, fstatat, 4, cerror) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/fstatat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstatat64 5 + #error "SYS_fstatat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fstatat64, fstatat64, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl fstatat$INODE64 14 + fstatat$INODE64 = fstatat64 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/fstatfs.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstatfs 5 + #error "SYS_fstatfs not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fstatfs, fstatfs, 2, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/fstatfs64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstatfs64 5 + #error "SYS_fstatfs64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(fstatfs64, fstatfs64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl fstatfs$INODE64 14 + fstatfs$INODE64 = fstatfs64 15 + #endif 16 +
+8
src/kernel/libsyscall/sys_i386/fsync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl fsync$UNIX2003 6 + fsync$UNIX2003 = __fsync 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/ftruncate.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_ftruncate 5 + #error "SYS_ftruncate not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(ftruncate, ftruncate, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/futimes.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_futimes 5 + #error "SYS_futimes not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(futimes, futimes, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getattrlistat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getattrlistat 5 + #error "SYS_getattrlistat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getattrlistat, getattrlistat, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getattrlistbulk.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getattrlistbulk 5 + #error "SYS_getattrlistbulk not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getattrlistbulk, getattrlistbulk, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getaudit_addr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getaudit_addr 5 + #error "SYS_getaudit_addr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getaudit_addr, getaudit_addr, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getauid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getauid 5 + #error "SYS_getauid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getauid, getauid, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getdirentries.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getdirentries 5 + #error "SYS_getdirentries not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getdirentries, getdirentries, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getdirentriesattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 32 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getdirentriesattr 5 + #error "SYS_getdirentriesattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getdirentriesattr, getdirentriesattr, 8, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getdtablesize.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getdtablesize 5 + #error "SYS_getdtablesize not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getdtablesize, getdtablesize, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getegid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getegid 5 + #error "SYS_getegid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getegid, getegid, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/geteuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_geteuid 5 + #error "SYS_geteuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(geteuid, geteuid, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getfh.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getfh 5 + #error "SYS_getfh not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getfh, getfh, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getfsstat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getfsstat 5 + #error "SYS_getfsstat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getfsstat, getfsstat, 3, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/getfsstat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getfsstat64 5 + #error "SYS_getfsstat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getfsstat64, getfsstat64, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl getfsstat$INODE64 14 + getfsstat$INODE64 = getfsstat64 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/getgid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getgid 5 + #error "SYS_getgid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getgid, getgid, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getgroups 5 + #error "SYS_getgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getgroups, getgroups, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getitimer.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getitimer 5 + #error "SYS_getitimer not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getitimer, getitimer, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getpgid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getpgid 5 + #error "SYS_getpgid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getpgid, getpgid, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getpgrp.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getpgrp 5 + #error "SYS_getpgrp not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getpgrp, getpgrp, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getppid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getppid 5 + #error "SYS_getppid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getppid, getppid, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getpriority.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getpriority 5 + #error "SYS_getpriority not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getpriority, getpriority, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getrusage.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getrusage 5 + #error "SYS_getrusage not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getrusage, getrusage, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getsid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getsid 5 + #error "SYS_getsid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getsid, getsid, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getsockopt.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getsockopt 5 + #error "SYS_getsockopt not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getsockopt, getsockopt, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getuid 5 + #error "SYS_getuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getuid, getuid, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/getxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getxattr 5 + #error "SYS_getxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(getxattr, getxattr, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/guarded_close_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_close_np 5 + #error "SYS_guarded_close_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(guarded_close_np, guarded_close_np, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/guarded_kqueue_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_kqueue_np 5 + #error "SYS_guarded_kqueue_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(guarded_kqueue_np, guarded_kqueue_np, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/guarded_pwrite_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_pwrite_np 5 + #error "SYS_guarded_pwrite_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(guarded_pwrite_np, guarded_pwrite_np, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/guarded_write_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_write_np 5 + #error "SYS_guarded_write_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(guarded_write_np, guarded_write_np, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/guarded_writev_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_writev_np 5 + #error "SYS_guarded_writev_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(guarded_writev_np, guarded_writev_np, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/issetugid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_issetugid 5 + #error "SYS_issetugid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(issetugid, issetugid, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/kas_info.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kas_info 5 + #error "SYS_kas_info not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(kas_info, kas_info, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/kevent.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kevent 5 + #error "SYS_kevent not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(kevent, kevent, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/kevent64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kevent64 5 + #error "SYS_kevent64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(kevent64, kevent64, 7, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/kqueue.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kqueue 5 + #error "SYS_kqueue not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(kqueue, kqueue, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/ledger.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_ledger 5 + #error "SYS_ledger not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(ledger, ledger, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/link.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_link 5 + #error "SYS_link not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(link, link, 2, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/linkat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_linkat 5 + #error "SYS_linkat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(linkat, linkat, 5, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/lio_listio.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lio_listio 5 + #error "SYS_lio_listio not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(lio_listio, lio_listio, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/listxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_listxattr 5 + #error "SYS_listxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(listxattr, listxattr, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/lstat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lstat 5 + #error "SYS_lstat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(lstat, lstat, 2, cerror) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/lstat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lstat64 5 + #error "SYS_lstat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(lstat64, lstat64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl lstat$INODE64 14 + lstat$INODE64 = lstat64 15 + #endif 16 +
+16
src/kernel/libsyscall/sys_i386/madvise.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_madvise 5 + #error "SYS_madvise not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(madvise, madvise, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl posix_madvise 14 + posix_madvise = madvise 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/memorystatus_control.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_memorystatus_control 5 + #error "SYS_memorystatus_control not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(memorystatus_control, memorystatus_control, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/memorystatus_get_level.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_memorystatus_get_level 5 + #error "SYS_memorystatus_get_level not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(memorystatus_get_level, memorystatus_get_level, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/mincore.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mincore 5 + #error "SYS_mincore not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(mincore, mincore, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/minherit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_minherit 5 + #error "SYS_minherit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(minherit, minherit, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/mkdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkdir 5 + #error "SYS_mkdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(mkdir, mkdir, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/mkdirat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkdirat 5 + #error "SYS_mkdirat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(mkdirat, mkdirat, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/mkfifo.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkfifo 5 + #error "SYS_mkfifo not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(mkfifo, mkfifo, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/mknod.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mknod 5 + #error "SYS_mknod not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(mknod, mknod, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/mlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mlock 5 + #error "SYS_mlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(mlock, mlock, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/mlockall.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mlockall 5 + #error "SYS_mlockall not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(mlockall, mlockall, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/modwatch.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_modwatch 5 + #error "SYS_modwatch not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(modwatch, modwatch, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/mount.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mount 5 + #error "SYS_mount not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(mount, mount, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/mremap_encrypted.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mremap_encrypted 5 + #error "SYS_mremap_encrypted not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(mremap_encrypted, mremap_encrypted, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/msgget.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgget 5 + #error "SYS_msgget not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(msgget, msgget, 2, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/msgrcv.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl msgrcv$UNIX2003 6 + msgrcv$UNIX2003 = __msgrcv 7 + #endif 8 +
+8
src/kernel/libsyscall/sys_i386/msgsnd.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl msgsnd$UNIX2003 6 + msgsnd$UNIX2003 = __msgsnd 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/munlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_munlock 5 + #error "SYS_munlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(munlock, munlock, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/munlockall.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_munlockall 5 + #error "SYS_munlockall not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(munlockall, munlockall, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/necp_match_policy.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_necp_match_policy 5 + #error "SYS_necp_match_policy not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(necp_match_policy, necp_match_policy, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/nfsclnt.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_nfsclnt 5 + #error "SYS_nfsclnt not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(nfsclnt, nfsclnt, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/nfssvc.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_nfssvc 5 + #error "SYS_nfssvc not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(nfssvc, nfssvc, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/openbyid_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_openbyid_np 5 + #error "SYS_openbyid_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(openbyid_np, openbyid_np, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/pathconf.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pathconf 5 + #error "SYS_pathconf not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(pathconf, pathconf, 2, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/peeloff.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_peeloff 5 + #error "SYS_peeloff not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(peeloff, peeloff, 2, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/pid_resume.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pid_resume 5 + #error "SYS_pid_resume not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(pid_resume, pid_resume, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/pid_suspend.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pid_suspend 5 + #error "SYS_pid_suspend not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(pid_suspend, pid_suspend, 1, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/poll.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl poll$UNIX2003 6 + poll$UNIX2003 = __poll 7 + #endif 8 +
+8
src/kernel/libsyscall/sys_i386/pread.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl pread$UNIX2003 6 + pread$UNIX2003 = __pread 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/proc_rlimit_control.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_proc_rlimit_control 5 + #error "SYS_proc_rlimit_control not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(proc_rlimit_control, proc_rlimit_control, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/proc_trace_log.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_proc_trace_log 5 + #error "SYS_proc_trace_log not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(proc_trace_log, proc_trace_log, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/proc_uuid_policy.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_proc_uuid_policy 5 + #error "SYS_proc_uuid_policy not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(proc_uuid_policy, proc_uuid_policy, 4, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/pwrite.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl pwrite$UNIX2003 6 + pwrite$UNIX2003 = __pwrite 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/quota.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_quota 5 + #error "SYS_quota not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(quota, quota, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/quotactl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_quotactl 5 + #error "SYS_quotactl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(quotactl, quotactl, 4, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/read.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl read$UNIX2003 6 + read$UNIX2003 = __read 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/readlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_readlink 5 + #error "SYS_readlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(readlink, readlink, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/readlinkat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_readlinkat 5 + #error "SYS_readlinkat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(readlinkat, readlinkat, 4, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/readv.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl readv$UNIX2003 6 + readv$UNIX2003 = __readv 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/reboot.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_reboot 5 + #error "SYS_reboot not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(reboot, reboot, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/recvmsg_x.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvmsg_x 5 + #error "SYS_recvmsg_x not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(recvmsg_x, recvmsg_x, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/removexattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_removexattr 5 + #error "SYS_removexattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(removexattr, removexattr, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/revoke.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_revoke 5 + #error "SYS_revoke not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(revoke, revoke, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/searchfs.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_searchfs 5 + #error "SYS_searchfs not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(searchfs, searchfs, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/sem_close.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_close 5 + #error "SYS_sem_close not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(sem_close, sem_close, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/sem_post.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_post 5 + #error "SYS_sem_post not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(sem_post, sem_post, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/sem_trywait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_trywait 5 + #error "SYS_sem_trywait not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(sem_trywait, sem_trywait, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/sem_unlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_unlink 5 + #error "SYS_sem_unlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(sem_unlink, sem_unlink, 1, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/sem_wait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl sem_wait$UNIX2003 6 + sem_wait$UNIX2003 = __sem_wait 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/semget.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_semget 5 + #error "SYS_semget not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(semget, semget, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/semop.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_semop 5 + #error "SYS_semop not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(semop, semop, 3, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/sendfile.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendfile 5 + #error "SYS_sendfile not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(sendfile, sendfile, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/sendmsg_x.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendmsg_x 5 + #error "SYS_sendmsg_x not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(sendmsg_x, sendmsg_x, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setaudit_addr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setaudit_addr 5 + #error "SYS_setaudit_addr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setaudit_addr, setaudit_addr, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setauid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setauid 5 + #error "SYS_setauid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setauid, setauid, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setegid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setegid 5 + #error "SYS_setegid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setegid, setegid, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/seteuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_seteuid 5 + #error "SYS_seteuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(seteuid, seteuid, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setgid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setgid 5 + #error "SYS_setgid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setgid, setgid, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setgroups 5 + #error "SYS_setgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setgroups, setgroups, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setitimer.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setitimer 5 + #error "SYS_setitimer not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setitimer, setitimer, 3, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/setpgid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setpgid 5 + #error "SYS_setpgid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setpgid, setpgid, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl setpgrp 14 + setpgrp = setpgid 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/setprivexec.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setprivexec 5 + #error "SYS_setprivexec not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setprivexec, setprivexec, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setquota.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setquota 5 + #error "SYS_setquota not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setquota, setquota, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setsid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setsid 5 + #error "SYS_setsid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setsid, setsid, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setsockopt.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setsockopt 5 + #error "SYS_setsockopt not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setsockopt, setsockopt, 5, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setuid 5 + #error "SYS_setuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setuid, setuid, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/setxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setxattr 5 + #error "SYS_setxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(setxattr, setxattr, 6, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/shm_unlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shm_unlink 5 + #error "SYS_shm_unlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(shm_unlink, shm_unlink, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/shmat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmat 5 + #error "SYS_shmat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(shmat, shmat, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/shmdt.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmdt 5 + #error "SYS_shmdt not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(shmdt, shmdt, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/shmget.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmget 5 + #error "SYS_shmget not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(shmget, shmget, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/shutdown.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shutdown 5 + #error "SYS_shutdown not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(shutdown, shutdown, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/sigpending.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigpending 5 + #error "SYS_sigpending not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(sigpending, sigpending, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/sigprocmask.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigprocmask 5 + #error "SYS_sigprocmask not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(sigprocmask, sigprocmask, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/socket.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_socket 5 + #error "SYS_socket not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(socket, socket, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/socket_delegate.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_socket_delegate 5 + #error "SYS_socket_delegate not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(socket_delegate, socket_delegate, 4, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/stat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stat 5 + #error "SYS_stat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(stat, stat, 2, cerror) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/stat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stat64 5 + #error "SYS_stat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(stat64, stat64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl stat$INODE64 14 + stat$INODE64 = stat64 15 + #endif 16 +
+11
src/kernel/libsyscall/sys_i386/statfs.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_statfs 5 + #error "SYS_statfs not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(statfs, statfs, 2, cerror_nocancel) 10 + #endif 11 +
+16
src/kernel/libsyscall/sys_i386/statfs64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_statfs64 5 + #error "SYS_statfs64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(statfs64, statfs64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__i386__) 13 + .globl statfs$INODE64 14 + statfs$INODE64 = statfs64 15 + #endif 16 +
+388
src/kernel/libsyscall/sys_i386/stubs.list
··· 1 + sys-i386/____old_semwait_signal_nocancel.s 2 + sys-i386/____sigwait_nocancel.s 3 + sys-i386/__accept.s 4 + sys-i386/__accept_nocancel.s 5 + sys-i386/__access_extended.s 6 + sys-i386/__aio_suspend_nocancel.s 7 + sys-i386/__bind.s 8 + sys-i386/__bsdthread_create.s 9 + sys-i386/__bsdthread_ctl.s 10 + sys-i386/__bsdthread_register.s 11 + sys-i386/__bsdthread_terminate.s 12 + sys-i386/__chmod.s 13 + sys-i386/__chmod_extended.s 14 + sys-i386/__chud.s 15 + sys-i386/__close_nocancel.s 16 + sys-i386/__coalition.s 17 + sys-i386/__coalition_info.s 18 + sys-i386/__connect.s 19 + sys-i386/__connect_nocancel.s 20 + sys-i386/__copyfile.s 21 + sys-i386/__csrctl.s 22 + sys-i386/__delete.s 23 + sys-i386/__disable_threadsignal.s 24 + sys-i386/__exit.s 25 + sys-i386/__fchmod.s 26 + sys-i386/__fchmod_extended.s 27 + sys-i386/__fcntl.s 28 + sys-i386/__fcntl_nocancel.s 29 + sys-i386/__fork.s 30 + sys-i386/__fsgetpath.s 31 + sys-i386/__fstat64_extended.s 32 + sys-i386/__fstat_extended.s 33 + sys-i386/__fsync_nocancel.s 34 + sys-i386/__getattrlist.s 35 + sys-i386/__getdirentries64.s 36 + sys-i386/__gethostuuid.s 37 + sys-i386/__getlcid.s 38 + sys-i386/__getlogin.s 39 + sys-i386/__getpeername.s 40 + sys-i386/__getpid.s 41 + sys-i386/__getrlimit.s 42 + sys-i386/__getsgroups.s 43 + sys-i386/__getsockname.s 44 + sys-i386/__gettid.s 45 + sys-i386/__gettimeofday.s 46 + sys-i386/__getwgroups.s 47 + sys-i386/__guarded_open_dprotected_np.s 48 + sys-i386/__guarded_open_np.s 49 + sys-i386/__identitysvc.s 50 + sys-i386/__initgroups.s 51 + sys-i386/__ioctl.s 52 + sys-i386/__iopolicysys.s 53 + sys-i386/__kdebug_trace.s 54 + sys-i386/__kill.s 55 + sys-i386/__lchown.s 56 + sys-i386/__listen.s 57 + sys-i386/__lseek.s 58 + sys-i386/__lstat64_extended.s 59 + sys-i386/__lstat_extended.s 60 + sys-i386/__mac_execve.s 61 + sys-i386/__mac_get_fd.s 62 + sys-i386/__mac_get_file.s 63 + sys-i386/__mac_get_lcid.s 64 + sys-i386/__mac_get_lctx.s 65 + sys-i386/__mac_get_link.s 66 + sys-i386/__mac_get_mount.s 67 + sys-i386/__mac_get_pid.s 68 + sys-i386/__mac_get_proc.s 69 + sys-i386/__mac_getfsstat.s 70 + sys-i386/__mac_mount.s 71 + sys-i386/__mac_set_fd.s 72 + sys-i386/__mac_set_file.s 73 + sys-i386/__mac_set_lctx.s 74 + sys-i386/__mac_set_link.s 75 + sys-i386/__mac_set_proc.s 76 + sys-i386/__mac_syscall.s 77 + sys-i386/__mkdir_extended.s 78 + sys-i386/__mkfifo_extended.s 79 + sys-i386/__mmap.s 80 + sys-i386/__mprotect.s 81 + sys-i386/__msgctl.s 82 + sys-i386/__msgrcv_nocancel.s 83 + sys-i386/__msgsnd_nocancel.s 84 + sys-i386/__msgsys.s 85 + sys-i386/__msync.s 86 + sys-i386/__msync_nocancel.s 87 + sys-i386/__munmap.s 88 + sys-i386/__old_semwait_signal.s 89 + sys-i386/__open.s 90 + sys-i386/__open_dprotected_np.s 91 + sys-i386/__open_extended.s 92 + sys-i386/__open_nocancel.s 93 + sys-i386/__openat.s 94 + sys-i386/__openat_nocancel.s 95 + sys-i386/__pipe.s 96 + sys-i386/__poll_nocancel.s 97 + sys-i386/__posix_spawn.s 98 + sys-i386/__pread_nocancel.s 99 + sys-i386/__proc_info.s 100 + sys-i386/__process_policy.s 101 + sys-i386/__psynch_cvbroad.s 102 + sys-i386/__psynch_cvclrprepost.s 103 + sys-i386/__psynch_cvsignal.s 104 + sys-i386/__psynch_cvwait.s 105 + sys-i386/__psynch_mutexdrop.s 106 + sys-i386/__psynch_mutexwait.s 107 + sys-i386/__psynch_rw_downgrade.s 108 + sys-i386/__psynch_rw_longrdlock.s 109 + sys-i386/__psynch_rw_rdlock.s 110 + sys-i386/__psynch_rw_unlock.s 111 + sys-i386/__psynch_rw_unlock2.s 112 + sys-i386/__psynch_rw_upgrade.s 113 + sys-i386/__psynch_rw_wrlock.s 114 + sys-i386/__psynch_rw_yieldwrlock.s 115 + sys-i386/__pthread_canceled.s 116 + sys-i386/__pthread_chdir.s 117 + sys-i386/__pthread_fchdir.s 118 + sys-i386/__pthread_kill.s 119 + sys-i386/__pthread_markcancel.s 120 + sys-i386/__pthread_sigmask.s 121 + sys-i386/__ptrace.s 122 + sys-i386/__pwrite_nocancel.s 123 + sys-i386/__read_nocancel.s 124 + sys-i386/__readv_nocancel.s 125 + sys-i386/__recvfrom.s 126 + sys-i386/__recvfrom_nocancel.s 127 + sys-i386/__recvmsg.s 128 + sys-i386/__recvmsg_nocancel.s 129 + sys-i386/__rename.s 130 + sys-i386/__rename_ext.s 131 + sys-i386/__renameat.s 132 + sys-i386/__rmdir.s 133 + sys-i386/__select.s 134 + sys-i386/__select_nocancel.s 135 + sys-i386/__sem_open.s 136 + sys-i386/__sem_wait_nocancel.s 137 + sys-i386/__semctl.s 138 + sys-i386/__semsys.s 139 + sys-i386/__semwait_signal.s 140 + sys-i386/__semwait_signal_nocancel.s 141 + sys-i386/__sendmsg.s 142 + sys-i386/__sendmsg_nocancel.s 143 + sys-i386/__sendto.s 144 + sys-i386/__sendto_nocancel.s 145 + sys-i386/__setattrlist.s 146 + sys-i386/__setlcid.s 147 + sys-i386/__setlogin.s 148 + sys-i386/__setpriority.s 149 + sys-i386/__setregid.s 150 + sys-i386/__setreuid.s 151 + sys-i386/__setrlimit.s 152 + sys-i386/__setsgroups.s 153 + sys-i386/__settid.s 154 + sys-i386/__settid_with_pid.s 155 + sys-i386/__settimeofday.s 156 + sys-i386/__setwgroups.s 157 + sys-i386/__sfi_ctl.s 158 + sys-i386/__sfi_pidctl.s 159 + sys-i386/__shared_region_check_np.s 160 + sys-i386/__shared_region_map_and_slide_np.s 161 + sys-i386/__shm_open.s 162 + sys-i386/__shmctl.s 163 + sys-i386/__shmsys.s 164 + sys-i386/__sigaction.s 165 + sys-i386/__sigaltstack.s 166 + sys-i386/__sigreturn.s 167 + sys-i386/__sigsuspend.s 168 + sys-i386/__sigsuspend_nocancel.s 169 + sys-i386/__sigwait.s 170 + sys-i386/__socketpair.s 171 + sys-i386/__stack_snapshot.s 172 + sys-i386/__stat64_extended.s 173 + sys-i386/__stat_extended.s 174 + sys-i386/__syscall.s 175 + sys-i386/__sysctl.s 176 + sys-i386/__sysctlbyname.s 177 + sys-i386/__telemetry.s 178 + sys-i386/__thread_selfid.s 179 + sys-i386/__thread_selfusage.s 180 + sys-i386/__umask_extended.s 181 + sys-i386/__unlink.s 182 + sys-i386/__unlinkat.s 183 + sys-i386/__vfork.s 184 + sys-i386/__wait4.s 185 + sys-i386/__wait4_nocancel.s 186 + sys-i386/__waitid_nocancel.s 187 + sys-i386/__workq_kernreturn.s 188 + sys-i386/__workq_open.s 189 + sys-i386/__write_nocancel.s 190 + sys-i386/__writev_nocancel.s 191 + sys-i386/access.s 192 + sys-i386/acct.s 193 + sys-i386/adjtime.s 194 + sys-i386/aio_cancel.s 195 + sys-i386/aio_error.s 196 + sys-i386/aio_fsync.s 197 + sys-i386/aio_read.s 198 + sys-i386/aio_return.s 199 + sys-i386/aio_suspend.s 200 + sys-i386/aio_write.s 201 + sys-i386/audit.s 202 + sys-i386/audit_session_join.s 203 + sys-i386/audit_session_port.s 204 + sys-i386/audit_session_self.s 205 + sys-i386/auditctl.s 206 + sys-i386/auditon.s 207 + sys-i386/change_fdguard_np.s 208 + sys-i386/chdir.s 209 + sys-i386/chflags.s 210 + sys-i386/chown.s 211 + sys-i386/chroot.s 212 + sys-i386/close.s 213 + sys-i386/connectx.s 214 + sys-i386/csops.s 215 + sys-i386/csops_audittoken.s 216 + sys-i386/custom.s 217 + sys-i386/disconnectx.s 218 + sys-i386/dup.s 219 + sys-i386/dup2.s 220 + sys-i386/exchangedata.s 221 + sys-i386/execve.s 222 + sys-i386/faccessat.s 223 + sys-i386/fchdir.s 224 + sys-i386/fchflags.s 225 + sys-i386/fchmodat.s 226 + sys-i386/fchown.s 227 + sys-i386/fchownat.s 228 + sys-i386/fdatasync.s 229 + sys-i386/ffsctl.s 230 + sys-i386/fgetattrlist.s 231 + sys-i386/fgetxattr.s 232 + sys-i386/fhopen.s 233 + sys-i386/fileport_makefd.s 234 + sys-i386/fileport_makeport.s 235 + sys-i386/flistxattr.s 236 + sys-i386/flock.s 237 + sys-i386/fpathconf.s 238 + sys-i386/fremovexattr.s 239 + sys-i386/fsctl.s 240 + sys-i386/fsetattrlist.s 241 + sys-i386/fsetxattr.s 242 + sys-i386/fstat.s 243 + sys-i386/fstat64.s 244 + sys-i386/fstatat.s 245 + sys-i386/fstatat64.s 246 + sys-i386/fstatfs.s 247 + sys-i386/fstatfs64.s 248 + sys-i386/fsync.s 249 + sys-i386/ftruncate.s 250 + sys-i386/futimes.s 251 + sys-i386/getattrlistat.s 252 + sys-i386/getattrlistbulk.s 253 + sys-i386/getaudit_addr.s 254 + sys-i386/getauid.s 255 + sys-i386/getdirentries.s 256 + sys-i386/getdirentriesattr.s 257 + sys-i386/getdtablesize.s 258 + sys-i386/getegid.s 259 + sys-i386/geteuid.s 260 + sys-i386/getfh.s 261 + sys-i386/getfsstat.s 262 + sys-i386/getfsstat64.s 263 + sys-i386/getgid.s 264 + sys-i386/getgroups.s 265 + sys-i386/getitimer.s 266 + sys-i386/getpgid.s 267 + sys-i386/getpgrp.s 268 + sys-i386/getppid.s 269 + sys-i386/getpriority.s 270 + sys-i386/getrusage.s 271 + sys-i386/getsid.s 272 + sys-i386/getsockopt.s 273 + sys-i386/getuid.s 274 + sys-i386/getxattr.s 275 + sys-i386/guarded_close_np.s 276 + sys-i386/guarded_kqueue_np.s 277 + sys-i386/guarded_pwrite_np.s 278 + sys-i386/guarded_write_np.s 279 + sys-i386/guarded_writev_np.s 280 + sys-i386/issetugid.s 281 + sys-i386/kas_info.s 282 + sys-i386/kevent.s 283 + sys-i386/kevent64.s 284 + sys-i386/kqueue.s 285 + sys-i386/ledger.s 286 + sys-i386/link.s 287 + sys-i386/linkat.s 288 + sys-i386/lio_listio.s 289 + sys-i386/listxattr.s 290 + sys-i386/lstat.s 291 + sys-i386/lstat64.s 292 + sys-i386/madvise.s 293 + sys-i386/memorystatus_control.s 294 + sys-i386/memorystatus_get_level.s 295 + sys-i386/mincore.s 296 + sys-i386/minherit.s 297 + sys-i386/mkdir.s 298 + sys-i386/mkdirat.s 299 + sys-i386/mkfifo.s 300 + sys-i386/mknod.s 301 + sys-i386/mlock.s 302 + sys-i386/mlockall.s 303 + sys-i386/modwatch.s 304 + sys-i386/mount.s 305 + sys-i386/mremap_encrypted.s 306 + sys-i386/msgget.s 307 + sys-i386/msgrcv.s 308 + sys-i386/msgsnd.s 309 + sys-i386/munlock.s 310 + sys-i386/munlockall.s 311 + sys-i386/necp_match_policy.s 312 + sys-i386/nfsclnt.s 313 + sys-i386/nfssvc.s 314 + sys-i386/openbyid_np.s 315 + sys-i386/pathconf.s 316 + sys-i386/peeloff.s 317 + sys-i386/pid_resume.s 318 + sys-i386/pid_suspend.s 319 + sys-i386/poll.s 320 + sys-i386/pread.s 321 + sys-i386/proc_rlimit_control.s 322 + sys-i386/proc_trace_log.s 323 + sys-i386/proc_uuid_policy.s 324 + sys-i386/pwrite.s 325 + sys-i386/quota.s 326 + sys-i386/quotactl.s 327 + sys-i386/read.s 328 + sys-i386/readlink.s 329 + sys-i386/readlinkat.s 330 + sys-i386/readv.s 331 + sys-i386/reboot.s 332 + sys-i386/recvmsg_x.s 333 + sys-i386/removexattr.s 334 + sys-i386/revoke.s 335 + sys-i386/searchfs.s 336 + sys-i386/sem_close.s 337 + sys-i386/sem_post.s 338 + sys-i386/sem_trywait.s 339 + sys-i386/sem_unlink.s 340 + sys-i386/sem_wait.s 341 + sys-i386/semget.s 342 + sys-i386/semop.s 343 + sys-i386/sendfile.s 344 + sys-i386/sendmsg_x.s 345 + sys-i386/setaudit_addr.s 346 + sys-i386/setauid.s 347 + sys-i386/setegid.s 348 + sys-i386/seteuid.s 349 + sys-i386/setgid.s 350 + sys-i386/setgroups.s 351 + sys-i386/setitimer.s 352 + sys-i386/setpgid.s 353 + sys-i386/setprivexec.s 354 + sys-i386/setquota.s 355 + sys-i386/setsid.s 356 + sys-i386/setsockopt.s 357 + sys-i386/setuid.s 358 + sys-i386/setxattr.s 359 + sys-i386/shm_unlink.s 360 + sys-i386/shmat.s 361 + sys-i386/shmdt.s 362 + sys-i386/shmget.s 363 + sys-i386/shutdown.s 364 + sys-i386/sigpending.s 365 + sys-i386/sigprocmask.s 366 + sys-i386/socket.s 367 + sys-i386/socket_delegate.s 368 + sys-i386/stat.s 369 + sys-i386/stat64.s 370 + sys-i386/statfs.s 371 + sys-i386/statfs64.s 372 + sys-i386/swapon.s 373 + sys-i386/symlink.s 374 + sys-i386/symlinkat.s 375 + sys-i386/sync.s 376 + sys-i386/system_override.s 377 + sys-i386/truncate.s 378 + sys-i386/umask.s 379 + sys-i386/undelete.s 380 + sys-i386/unmount.s 381 + sys-i386/utimes.s 382 + sys-i386/vfs_purge.s 383 + sys-i386/vm_pressure_monitor.s 384 + sys-i386/waitevent.s 385 + sys-i386/waitid.s 386 + sys-i386/watchevent.s 387 + sys-i386/write.s 388 + sys-i386/writev.s
+11
src/kernel/libsyscall/sys_i386/swapon.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_swapon 5 + #error "SYS_swapon not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(swapon, swapon, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/symlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_symlink 5 + #error "SYS_symlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(symlink, symlink, 2, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/symlinkat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_symlinkat 5 + #error "SYS_symlinkat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(symlinkat, symlinkat, 3, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/sync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sync 5 + #error "SYS_sync not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(sync, sync, 0, cerror) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/system_override.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_system_override 5 + #error "SYS_system_override not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(system_override, system_override, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/truncate.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_truncate 5 + #error "SYS_truncate not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(truncate, truncate, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/umask.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_umask 5 + #error "SYS_umask not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(umask, umask, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/undelete.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_undelete 5 + #error "SYS_undelete not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(undelete, undelete, 1, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/unmount.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_unmount 5 + #error "SYS_unmount not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(unmount, unmount, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/utimes.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_utimes 5 + #error "SYS_utimes not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(utimes, utimes, 2, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/vfs_purge.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_vfs_purge 5 + #error "SYS_vfs_purge not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(vfs_purge, vfs_purge, 0, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/vm_pressure_monitor.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_vm_pressure_monitor 5 + #error "SYS_vm_pressure_monitor not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(vm_pressure_monitor, vm_pressure_monitor, 3, cerror_nocancel) 10 + #endif 11 +
+11
src/kernel/libsyscall/sys_i386/waitevent.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_waitevent 5 + #error "SYS_waitevent not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(waitevent, waitevent, 2, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/waitid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl waitid$UNIX2003 6 + waitid$UNIX2003 = __waitid 7 + #endif 8 +
+11
src/kernel/libsyscall/sys_i386/watchevent.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_watchevent 5 + #error "SYS_watchevent not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__i386__) 9 + __SYSCALL2(watchevent, watchevent, 2, cerror_nocancel) 10 + #endif 11 +
+8
src/kernel/libsyscall/sys_i386/write.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl write$UNIX2003 6 + write$UNIX2003 = __write 7 + #endif 8 +
+8
src/kernel/libsyscall/sys_i386/writev.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #if defined(__i386__) 5 + .globl writev$UNIX2003 6 + writev$UNIX2003 = __writev 7 + #endif 8 +
+64
src/kernel/libsyscall/sys_x86-64/__gettimeofday.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + /* Copyright 1998 Apple Computer, Inc. */ 30 + 31 + #include "SYS.h" 32 + 33 + #ifdef DARLING 34 + # define ___gettimeofday __gettimeofday 35 + #endif 36 + 37 + #if defined(__i386__) 38 + 39 + /* 40 + * This syscall is special cased: the timeval is returned in eax/edx. 41 + */ 42 + LABEL(___gettimeofday) 43 + UNIX_SYSCALL_INT_NONAME(gettimeofday,0) 44 + mov 4(%esp),%ecx 45 + mov %eax,(%ecx) 46 + mov %edx,4(%ecx) 47 + xor %eax,%eax 48 + ret 49 + 50 + #elif defined(__x86_64__) 51 + 52 + /* 53 + * This syscall is special cased: the timeval is returned in rax:rdx. 54 + */ 55 + LABEL(___gettimeofday) 56 + UNIX_SYSCALL_NONAME(gettimeofday,0,cerror_nocancel) 57 + movq %rax, (%rdi) 58 + movl %edx, 8(%rdi) 59 + xorl %eax, %eax 60 + ret 61 + 62 + #else 63 + #error Unsupported architecture 64 + #endif
+46
src/kernel/libsyscall/sys_x86-64/__sigreturn.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + 30 + #include "SYS.h" 31 + 32 + #ifdef DARLING 33 + # define ___sigreturn __sigreturn 34 + #endif 35 + 36 + #if defined(__x86_64__) 37 + 38 + __SYSCALL(___sigreturn, sigreturn, 2) 39 + 40 + #elif defined(__i386__) 41 + 42 + __SYSCALL_INT(___sigreturn, sigreturn, 2) 43 + 44 + #else 45 + #error Unsupported architecture 46 + #endif
+44
src/kernel/libsyscall/sys_x86-64/__thread_selfid.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + 30 + #include "SYS.h" 31 + 32 + #ifdef DARLING 33 + # define ___thread_selfid __thread_selfid 34 + #endif 35 + 36 + #if defined(__x86_64__) 37 + 38 + __SYSCALL(___thread_selfid, thread_selfid, 0) 39 + 40 + #elif defined(__i386__) 41 + 42 + __SYSCALL_INT(___thread_selfid, thread_selfid, 0) 43 + 44 + #endif
+44
src/kernel/libsyscall/sys_x86-64/__thread_selfusage.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 2014 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + 30 + #include "SYS.h" 31 + 32 + #ifdef DARLING 33 + # define ___thread_selfusage __thread_selfusage 34 + #endif 35 + 36 + #if defined(__x86_64__) 37 + 38 + __SYSCALL(___thread_selfusage, thread_selfusage, 0) 39 + 40 + #elif defined(__i386__) 41 + 42 + __SYSCALL_INT(___thread_selfusage, thread_selfusage, 0) 43 + 44 + #endif
+108
src/kernel/libsyscall/sys_x86-64/custom.S
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2011 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. 30 + */ 31 + 32 + #include "SYS.h" 33 + 34 + #if defined(__i386__) 35 + 36 + /* 37 + * i386 needs custom assembly to transform the return from syscalls 38 + * into a proper stack for a function call out to cerror{,_nocancel}. 39 + */ 40 + 41 + LABEL(tramp_cerror) 42 + mov %esp, %edx 43 + andl $0xfffffff0, %esp 44 + subl $16, %esp 45 + movl %edx, 4(%esp) 46 + movl %eax, (%esp) 47 + CALL_EXTERN(cerror) 48 + movl 4(%esp), %esp 49 + ret 50 + 51 + LABEL(tramp_cerror_nocancel) 52 + mov %esp, %edx 53 + andl $0xfffffff0, %esp 54 + subl $16, %esp 55 + movl %edx, 4(%esp) 56 + movl %eax, (%esp) 57 + CALL_EXTERN(cerror_nocancel) 58 + movl 4(%esp), %esp 59 + ret 60 + 61 + LABEL(__sysenter_trap) 62 + popl %edx 63 + movl %esp, %ecx 64 + sysenter 65 + 66 + .globl _i386_get_ldt 67 + ALIGN 68 + _i386_get_ldt: 69 + movl $6,%eax 70 + MACHDEP_SYSCALL_TRAP 71 + jnb 2f 72 + jmp tramp_cerror@PLT 73 + 2: ret 74 + 75 + 76 + .globl _i386_set_ldt 77 + ALIGN 78 + _i386_set_ldt: 79 + movl $5,%eax 80 + MACHDEP_SYSCALL_TRAP 81 + jnb 2f 82 + jmp tramp_cerror@PLT 83 + 2: ret 84 + 85 + #elif defined(__x86_64__) 86 + 87 + .globl _i386_get_ldt 88 + ALIGN 89 + _i386_get_ldt: 90 + movl $6,%eax 91 + MACHDEP_SYSCALL_TRAP 92 + jnb 2f 93 + movq %rax, %rdi 94 + jmp cerror@PLT 95 + 2: ret 96 + 97 + 98 + .globl _i386_set_ldt 99 + ALIGN 100 + _i386_set_ldt: 101 + movl $5,%eax 102 + MACHDEP_SYSCALL_TRAP 103 + jnb 2f 104 + movq %rax, %rdi 105 + jmp cerror@PLT 106 + 2: ret 107 + 108 + #endif
+2
src/libc/CMakeLists.txt
··· 26 26 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include ${CMAKE_CURRENT_SOURCE_DIR}/weak_reference.h") 27 27 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ggdb -O0") # development flags 28 28 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -nostdlib -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map -Bsymbolic-functions") 29 + set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--defsym=__darwin_pthread_self=pthread_self") 29 30 30 31 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/fbsdcompat") 31 32 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/pthreads") ··· 103 104 $<TARGET_OBJECTS:libc-posix1e> 104 105 $<TARGET_OBJECTS:libc-nls> 105 106 $<TARGET_OBJECTS:libc-net> 107 + $<TARGET_OBJECTS:libc-net_cancelable> 106 108 $<TARGET_OBJECTS:libc-locale> 107 109 $<TARGET_OBJECTS:libc-hwplat> 108 110 $<TARGET_OBJECTS:libc-threads>
+53 -7
src/libc/i386/CMakeLists.txt
··· 5 5 6 6 #set(CMAKE_C_FLAGS "-I${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_C_FLAGS} -include ${CMAKE_CURRENT_SOURCE_DIR}/../../duct/include/commpage.h -include ${DARLING_TOP_DIRECTORY}/platform-include/sys/time.h") 7 7 8 + add_definitions(-DPRIVATE) 9 + 8 10 set(i386_sources 9 11 gen/getmcontext.c 10 - gen/makecontext.c 11 - gen/setcontext.c 12 + #gen/makecontext.c 13 + #gen/setcontext.c 12 14 gen/setjmperr.c 13 - gen/swapcontext.c 14 - gen/cpu_number.s 15 - gen/icacheinval.s 16 - gen/mcount.s 15 + #gen/swapcontext.c 16 + gen/cpu_number.S 17 + gen/icacheinval.S 18 + gen/mcount.S 17 19 gen/_ctx_start.S 18 - gen/getcontext.S 20 + #gen/getcontext.S 19 21 gen/_setcontext.S 22 + 23 + # sys/i386_gettimeofday_asm.S 24 + # sys/mach_absolute_time_asm.S 25 + sys/atomic.c 26 + sys/spinlocks.c 27 + sys/OSAtomic.S 28 + sys/_setjmp.S 29 + sys/setjmp.S 30 + sys/_sigtramp.S 31 + sys/spinlocks_asm.S 32 + 33 + string/bcopy_scalar.S 34 + string/bcopy_sse2.S 35 + string/bcopy_sse3x.S 36 + string/bcopy_sse42.S 37 + string/__bzero.S 38 + string/bzero_scalar.S 39 + string/bzero_sse2.S 40 + string/bzero_sse42.S 41 + string/ffs.S 42 + string/longcopy_sse3x.S 43 + string/memcmp.S 44 + string/memset_pattern_sse2.S 45 + string/memset.S 46 + string/strcmp.S 47 + string/strcpy.S 48 + string/strlcat.S 49 + string/strlcpy.S 50 + string/strlen.S 51 + string/strncmp.S 52 + string/strncpy.S 53 + string/bcopy.c 54 + string/bzero.c 55 + string/memcpy.c 56 + string/memmove.c 57 + 58 + # pthreads/preempt.S 59 + pthreads/pthread_getspecific.S 60 + pthreads/pthread_mutex_lock.S 61 + pthreads/pthread_self.S 62 + pthreads/pthread_set_self.S 63 + pthreads/start_wqthread.S 64 + pthreads/thread_start.S 65 + pthreads/init_cpu_capabilities.c 20 66 ) 21 67 22 68 add_library(libc-hwplat OBJECT ${i386_sources})
+6
src/libc/i386/gen/_ctx_start.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007 Apple Inc. All rights reserved. 3 4 * ··· 50 51 #if defined(__i386__) 51 52 52 53 #include <architecture/i386/asm_help.h> 54 + 55 + #ifdef DARLING 56 + # define __ctx_start _ctx_start 57 + # define __ctx_done _ctx_done 58 + #endif 53 59 54 60 /* 55 61 * _ctx_start((void *func)(int arg1, ..., argn),
+6
src/libc/i386/gen/_setcontext.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007 Apple Inc. All rights reserved. 3 4 * ··· 24 25 #if defined(__i386__) 25 26 26 27 #include <architecture/i386/asm_help.h> 28 + 29 + #ifdef DARLING 30 + # define __setcontext _setcontext 31 + # define _sigsetmask sigsetmask 32 + #endif 27 33 28 34 TEXT 29 35 LABEL(__setcontext)
+9
src/libc/i386/gen/cpu_number.s src/libc/i386/gen/cpu_number.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2008 Apple Inc. All rights reserved. 3 4 * ··· 42 43 43 44 /* return logical cpu number in %eax */ 44 45 46 + #ifdef DARLING 47 + #define _cpu_number cpu_number 48 + #endif 49 + 45 50 .align 4 51 + #ifdef DARLING 52 + .hidden _cpu_number 53 + #else 46 54 .private_extern _cpu_number 55 + #endif 47 56 _cpu_number: 48 57 push %ebp 49 58 mov %esp,%ebp
+6
src/libc/i386/gen/getcontext.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007 Apple Inc. All rights reserved. 3 4 * ··· 24 25 #if defined(__i386__) 25 26 26 27 #include <architecture/i386/asm_help.h> 28 + 29 + #ifdef DARLING 30 + # define _getcontext getcontext 31 + # define _getmcontext getmcontext 32 + #endif 27 33 28 34 TEXT 29 35 LABEL(_getcontext)
+6
src/libc/i386/gen/icacheinval.s src/libc/i386/gen/icacheinval.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007 Apple Inc. All rights reserved. 3 4 * Copyright (c) 2003-2006 Apple Computer, Inc. All rights reserved. ··· 28 29 29 30 .text 30 31 .align 4, 0x00 32 + 33 + #ifdef DARLING 34 + # define _sys_icache_invalidate sys_icache_invalidate 35 + # define _sys_dcache_flush sys_dcache_flush 36 + #endif 31 37 32 38 /* void sys_icache_invalidate(addr_t start, int length) */ 33 39
src/libc/i386/gen/mcount.s src/libc/i386/gen/mcount.S
+6
src/libc/i386/pthreads/preempt.s src/libc/i386/pthreads/preempt.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2010 Apple Inc. All rights reserved. 3 4 * ··· 23 24 24 25 #include <machine/cpu_capabilities.h> 25 26 #include <mach/i386/syscall_sw.h> 27 + 28 + #ifdef DARLING 29 + # define _preempt preempt 30 + # define _backoff backoff 31 + #endif 26 32 27 33 /* Subroutine to make a preempt syscall. Called when we notice %ebx is 28 34 * nonzero after returning from a PFZ subroutine.
+6 -1
src/libc/i386/pthreads/pthread_getspecific.s src/libc/i386/pthreads/pthread_getspecific.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 3 4 * ··· 23 24 24 25 #include "pthread_machdep.h" 25 26 27 + #ifdef DARLING 28 + # define _pthread_getspecific pthread_getspecific 29 + #endif 30 + 26 31 .text 27 - .align 2, 0x90 32 + .align (1<<2), 0x90 28 33 .globl _pthread_getspecific 29 34 _pthread_getspecific: 30 35 movl 4(%esp),%eax
src/libc/i386/pthreads/pthread_mutex_lock.s src/libc/i386/pthreads/pthread_mutex_lock.S
+6 -1
src/libc/i386/pthreads/pthread_self.s src/libc/i386/pthreads/pthread_self.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 3 4 * ··· 23 24 24 25 #include "pthread_machdep.h" 25 26 27 + #ifdef DARLING 28 + # define _pthread_self pthread_self 29 + #endif 30 + 26 31 .text 27 - .align 2, 0x90 32 + .align (1<<2), 0x90 28 33 .globl _pthread_self 29 34 _pthread_self: 30 35 movl %fs:0,%eax
+7
src/libc/i386/pthreads/pthread_set_self.s src/libc/i386/pthreads/pthread_set_self.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2002 Apple Computer, Inc. All rights reserved. 3 4 * ··· 23 24 24 25 #include <mach/i386/syscall_sw.h> 25 26 27 + #ifdef DARLING 28 + # define ___pthread_set_self __pthread_set_self 29 + #endif 30 + 26 31 .text 27 32 .align 2, 0x90 28 33 .globl ___pthread_set_self 29 34 ___pthread_set_self: 35 + #ifndef DARLING 30 36 pushl 4(%esp) 31 37 pushl $0 32 38 movl $3,%eax 33 39 MACHDEP_SYSCALL_TRAP 34 40 addl $8,%esp 41 + #endif 35 42 ret
+6
src/libc/i386/pthreads/start_wqthread.s src/libc/i386/pthreads/start_wqthread.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007 Apple Inc. All rights reserved. 3 4 * ··· 22 23 */ 23 24 24 25 #include "pthread_machdep.h" 26 + 27 + #ifdef DARLING 28 + # define _start_wqthread start_wqthread 29 + # define __pthread_wqthread _pthread_wqthread@PLT 30 + #endif 25 31 26 32 .text 27 33 .align 2, 0x90
+6
src/libc/i386/pthreads/thread_start.s src/libc/i386/pthreads/thread_start.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007 Apple Inc. All rights reserved. 3 4 * ··· 22 23 */ 23 24 24 25 #include "pthread_machdep.h" 26 + 27 + #ifdef DARLING 28 + # define _thread_start thread_start 29 + # definie __pthread_start _pthread_start@PLT 30 + #endif 25 31 26 32 .text 27 33 .align 2, 0x90
+7
src/libc/i386/string/__bzero.S
··· 1 + #ifdef DARLING 2 + # define ___bzero __bzero 3 + #endif 4 + 5 + .globl ___bzero 6 + ___bzero: 7 + jmp _bzero@PLT
-3
src/libc/i386/string/__bzero.s
··· 1 - .globl ___bzero 2 - ___bzero: 3 - jmp _bzero
+8 -4
src/libc/i386/string/bcopy.c
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 4 * ··· 23 24 24 25 #include <machine/cpu_capabilities.h> 25 26 #include <platfunc.h> 27 + #include <stddef.h> 26 28 27 29 PLATFUNC_DESCRIPTOR_PROTOTYPE(bcopy, sse42); 28 30 PLATFUNC_DESCRIPTOR_PROTOTYPE(bcopy, sse3x); ··· 37 39 0 38 40 }; 39 41 40 - void *bcopy_chooser() __asm__("_bcopy"); 41 - void *bcopy_chooser() { 42 - __asm__(".desc _bcopy, 0x100"); 43 - return find_platform_function((const platfunc_descriptor **) bcopy_platfunc_descriptors); 42 + void *bcopy_chooser(void *, const void *, size_t) __asm__("bcopy"); 43 + void *bcopy_chooser(void *src, const void *dest, size_t n) { 44 + //__asm__(".desc _bcopy, 0x100"); 45 + void *(*impl)(void *, const void *, size_t); 46 + impl = find_platform_function((const platfunc_descriptor **) bcopy_platfunc_descriptors); 47 + return impl(src, dest, n); 44 48 }
+1 -1
src/libc/i386/string/bcopy_scalar.s src/libc/i386/string/bcopy_scalar.S
··· 64 64 #include <sys/appleapiopts.h> 65 65 #include <machine/cpu_capabilities.h> 66 66 #include <platfunc.h> 67 - #include <machine/asm.h> 67 + //#include <machine/asm.h> 68 68 69 69 /* 70 70 * (ov)bcopy (src,dst,cnt)
src/libc/i386/string/bcopy_sse2.s src/libc/i386/string/bcopy_sse2.S
src/libc/i386/string/bcopy_sse3x.s src/libc/i386/string/bcopy_sse3x.S
src/libc/i386/string/bcopy_sse42.s src/libc/i386/string/bcopy_sse42.S
+8 -4
src/libc/i386/string/bzero.c
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 4 * ··· 23 24 24 25 #include <machine/cpu_capabilities.h> 25 26 #include <platfunc.h> 27 + #include <stddef.h> 26 28 27 29 PLATFUNC_DESCRIPTOR_PROTOTYPE(bzero, sse42) 28 30 PLATFUNC_DESCRIPTOR_PROTOTYPE(bzero, sse2) ··· 35 37 0 36 38 }; 37 39 38 - void *bzero_chooser() __asm__("_bzero"); 39 - void *bzero_chooser() { 40 - __asm__(".desc _bzero, 0x100"); 41 - return find_platform_function((const platfunc_descriptor **) bzero_platfunc_descriptors); 40 + void *bzero_chooser(void *, size_t) __asm__("bzero"); 41 + void *bzero_chooser(void *s, size_t n) { 42 + //__asm__(".desc _bzero, 0x100"); 43 + void *(*impl)(void *, size_t); 44 + impl = find_platform_function((const platfunc_descriptor **) bzero_platfunc_descriptors); 45 + return impl(s, n); 42 46 }
src/libc/i386/string/bzero_scalar.s src/libc/i386/string/bzero_scalar.S
src/libc/i386/string/bzero_sse2.s src/libc/i386/string/bzero_sse2.S
src/libc/i386/string/bzero_sse42.s src/libc/i386/string/bzero_sse42.S
+10 -2
src/libc/i386/string/ffs.s src/libc/i386/string/ffs.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2005-2006 Apple Computer, Inc. All rights reserved. 3 4 * ··· 22 23 */ 23 24 24 25 26 + #ifdef DARLING 27 + # define _ffs ffs 28 + # define _ffsl ffsl 29 + # define _fls fls 30 + # define _flsl flsl 31 + #endif 32 + 25 33 .text 26 34 27 - .align 2 35 + .align (1<<2) 28 36 .globl _ffs 29 37 _ffs: 30 38 .globl _ffsl ··· 36 44 ret 37 45 38 46 39 - .align 2 47 + .align (1<<2) 40 48 .globl _fls 41 49 _fls: 42 50 .globl _flsl
+10 -1
src/libc/i386/string/longcopy_sse3x.s src/libc/i386/string/longcopy_sse3x.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2006 Apple Computer, Inc. All rights reserved. 3 4 * ··· 39 40 40 41 #define kBigChunk (256*1024) // outer loop chunk size for kVeryLong sized operands 41 42 43 + #ifdef DARLING 44 + #define _longcopy longcopy 45 + #define _memcpy memcpy 46 + #endif 42 47 43 48 // Very long forward moves. These are at least several pages, so we loop over big 44 49 // chunks of memory (kBigChunk in size.) We first prefetch the chunk, and then copy ··· 56 61 // void longcopy(const void *dest, void *sou, size_t len) 57 62 58 63 .text 64 + #ifndef DARLING 59 65 .private_extern _longcopy 66 + #else 67 + .hidden _longcopy 68 + #endif 60 69 61 - .align 5 70 + .align (1<<5) 62 71 _longcopy: 63 72 pushl %ebp // set up a frame for backtraces 64 73 movl %esp,%ebp
+9 -4
src/libc/i386/string/memcmp.s src/libc/i386/string/memcmp.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. 3 4 * ··· 21 22 * @APPLE_LICENSE_HEADER_END@ 22 23 */ 23 24 25 + #ifdef DARLING 26 + # define _memcmp memcmp 27 + # define _bcmp bcmp 28 + #endif 24 29 25 30 // *************** *********** 26 31 // * M E M C M P * and * B C M P * ··· 41 46 #define kShort 18 // too short for vectors (must be >16) 42 47 43 48 .text 44 - .align 4 49 + .align (1<<4) 45 50 46 51 .globl _memcmp 47 52 .globl _bcmp ··· 67 72 jnz LShortLoop // no 68 73 xorl %eax,%eax // return 0 69 74 jmp LExit 70 - .align 4,0x90 // align inner loops to optimize I-fetch 75 + .align (1<<4),0x90 // align inner loops to optimize I-fetch 71 76 LShortLoop: // loop over bytes 72 77 movzb (%esi),%eax // get LHS byte 73 78 movzb (%edi),%edx // get RHS byte ··· 96 101 // %ecx = length remaining after end of loop (ie, already adjusted) 97 102 // %edx = #bytes until next page (1..15) 98 103 99 - .align 4,0x90 // align inner loops to optimize I-fetch 104 + .align (1<<4),0x90 // align inner loops to optimize I-fetch 100 105 LLoopOverBytes: 101 106 movzb (%esi),%eax // get LHS byte 102 107 inc %esi ··· 149 154 // %ecx = length remaining 150 155 // %edx = chunk count 151 156 152 - .align 4,0x90 // align inner loops to optimize I-fetch 157 + .align (1<<4),0x90 // align inner loops to optimize I-fetch 153 158 LLoopOverChunks: 154 159 movdqu (%esi),%xmm0 // get LHS 155 160 movdqu (%edi),%xmm1 // get RHS
+8 -4
src/libc/i386/string/memcpy.c
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 4 * ··· 23 24 24 25 #include <machine/cpu_capabilities.h> 25 26 #include <platfunc.h> 27 + #include <stddef.h> 26 28 27 29 PLATFUNC_DESCRIPTOR_PROTOTYPE(memcpy, sse42) 28 30 PLATFUNC_DESCRIPTOR_PROTOTYPE(memcpy, sse3x) ··· 37 39 0 38 40 }; 39 41 40 - void *memcpy_chooser() __asm__("_memcpy"); 41 - void *memcpy_chooser() { 42 - __asm__(".desc _memcpy, 0x100"); 43 - return find_platform_function((const platfunc_descriptor **) memcpy_platfunc_descriptors); 42 + void *memcpy_chooser(void *dest, const void *src, size_t n) __asm__("memcpy"); 43 + void *memcpy_chooser(void *dest, const void *src, size_t n) { 44 + //__asm__(".desc _memcpy, 0x100"); 45 + void *(*impl)(void *, const void *, size_t); 46 + impl = find_platform_function((const platfunc_descriptor **) memcpy_platfunc_descriptors); 47 + return impl(dest, src, n); 44 48 }
+8 -4
src/libc/i386/string/memmove.c
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 4 * ··· 23 24 24 25 #include <machine/cpu_capabilities.h> 25 26 #include <platfunc.h> 27 + #include <stddef.h> 26 28 27 29 PLATFUNC_DESCRIPTOR_PROTOTYPE(memmove, sse42) 28 30 PLATFUNC_DESCRIPTOR_PROTOTYPE(memmove, sse3x) ··· 37 39 0 38 40 }; 39 41 40 - void *memmove_chooser() __asm__("_memmove"); 41 - void *memmove_chooser() { 42 - __asm__(".desc _memmove, 0x100"); 43 - return find_platform_function((const platfunc_descriptor **) memmove_platfunc_descriptors); 42 + void *memmove_chooser(void *dest, const void *src, size_t n) __asm__("memmove"); 43 + void *memmove_chooser(void *dest, const void *src, size_t n) { 44 + //__asm__(".desc _memmove, 0x100"); 45 + void *(*impl)(void *, const void *, size_t); 46 + impl = find_platform_function((const platfunc_descriptor **) memmove_platfunc_descriptors); 47 + return impl(dest, src, n); 44 48 }
+10 -2
src/libc/i386/string/memset.s src/libc/i386/string/memset.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. 3 4 * ··· 43 44 */ 44 45 45 46 #define kShort 255 // for nonzero memset(), too short for commpage 46 - 47 + 48 + #ifdef DARLING 49 + # define _memset memset 50 + # define _memset_pattern memset_pattern 51 + # define _memset_pattern4 memset_pattern4 52 + # define _memset_pattern8 memset_pattern8 53 + # define _memset_pattern16 memset_pattern16 54 + #endif 47 55 48 56 .text 49 57 .globl _memset 50 - .align 2 58 + .align (1<<2) 51 59 _memset: // void *memset(void *b, int c, size_t len); 52 60 movl 8(%esp),%eax // get 1-byte pattern 53 61 movl 12(%esp),%edx // get length
+10 -1
src/libc/i386/string/memset_pattern_sse2.s src/libc/i386/string/memset_pattern_sse2.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2005-2006 Apple Computer, Inc. All rights reserved. 3 4 * ··· 44 45 #define kShort 63 45 46 #define kVeryLong (1024*1024) 46 47 48 + #ifdef DARLING 49 + # define _memset_pattern memset_pattern 50 + #endif 51 + 47 52 // Initial entry from Libc with parameters passed in registers. Although we 48 53 // correctly handle misaligned ptrs and short operands, they are inefficient. 49 54 // Therefore our caller should filter out short operands and exploit local ··· 55 60 // Return conditions: 56 61 // %eax, %edi, %esi, %ecx, and %edx all trashed 57 62 58 - .align 5 63 + .align (1<<5) 64 + #ifndef DARLING 59 65 .private_extern _memset_pattern 66 + #else 67 + .hidden _memset_pattern 68 + #endif 60 69 _memset_pattern: 61 70 cmpl $(kShort),%edx // long enough to bother aligning? 62 71 ja LNotShort // yes
+7 -3
src/libc/i386/string/strcmp.s src/libc/i386/string/strcmp.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. 3 4 * ··· 21 22 * @APPLE_LICENSE_HEADER_END@ 22 23 */ 23 24 25 + #ifdef DARLING 26 + # define _strcmp strcmp 27 + #endif 24 28 25 29 // *************** 26 30 // * S T R C M P * ··· 37 41 .text 38 42 .globl _strcmp 39 43 40 - .align 4 44 + .align (1<<4) 41 45 _strcmp: // int strcmp(const char *s1,const char *s2); 42 46 pushl %esi 43 47 pushl %edi ··· 75 79 // %edi = RHS ptr 76 80 // %edx = byte count 77 81 78 - .align 4,0x90 // align inner loops to optimize I-fetch 82 + .align (1<<4),0x90 // align inner loops to optimize I-fetch 79 83 LLoopOverBytes: 80 84 movzb (%esi),%eax // get LHS byte 81 85 movzb (%edi),%ecx // get RHS byte ··· 96 100 // %edi = RHS ptr 97 101 // %edx = chunk count 98 102 99 - .align 4,0x90 // align inner loops to optimize I-fetch 103 + .align (1<<4),0x90 // align inner loops to optimize I-fetch 100 104 LLoopOverChunks: 101 105 movdqu (%esi),%xmm1 // get LHS 102 106 movdqu (%edi),%xmm2 // get RHS
+7 -3
src/libc/i386/string/strcpy.s src/libc/i386/string/strcpy.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. 3 4 * ··· 21 22 * @APPLE_LICENSE_HEADER_END@ 22 23 */ 23 24 25 + #ifdef DARLING 26 + # define _strcpy strcpy 27 + #endif 24 28 25 29 // *************** 26 30 // * S T R C P Y * ··· 39 43 .text 40 44 .globl _strcpy 41 45 42 - .align 4 46 + .align (1<<4) 43 47 _strcpy: // char *strcpy(const char *dst, const char *src); 44 48 pushl %edi 45 49 movl 8(%esp),%edi // get dest ptr ··· 72 76 // %edi = dest ptr 73 77 // %edx = byte count 74 78 75 - .align 4,0x90 // align inner loops to optimize I-fetch 79 + .align (1<<4),0x90 // align inner loops to optimize I-fetch 76 80 LLoopOverBytes: 77 81 movzb (%ecx),%eax // get source byte 78 82 inc %ecx ··· 91 95 // %edi = dest ptr (aligned) 92 96 // %edx = chunk count 93 97 94 - .align 4,0x90 // align inner loops to optimize I-fetch 98 + .align (1<<4),0x90 // align inner loops to optimize I-fetch 95 99 LLoopOverChunks: 96 100 movdqu (%ecx),%xmm1 // get source 97 101 pxor %xmm0,%xmm0 // get some 0s
+5 -1
src/libc/i386/string/strlcat.s src/libc/i386/string/strlcat.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007 Apple Inc. All rights reserved. 3 4 * ··· 21 22 * @APPLE_LICENSE_HEADER_END@ 22 23 */ 23 24 25 + #ifdef DARLING 26 + # define _strlcat strlcat 27 + #endif 24 28 25 29 // ***************** 26 30 // * S T R L C A T * ··· 53 57 .text 54 58 .globl _strlcat 55 59 56 - .align 4 60 + .align (1<<4) 57 61 _strlcat: // size_t *strlcat(char *dst, const char *src, size_t size); 58 62 pushl %edi 59 63 pushl %esi
+5 -1
src/libc/i386/string/strlcpy.s src/libc/i386/string/strlcpy.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007 Apple Inc. All rights reserved. 3 4 * ··· 21 22 * @APPLE_LICENSE_HEADER_END@ 22 23 */ 23 24 25 + #ifdef DARLING 26 + # define _strlcpy strlcpy 27 + #endif 24 28 25 29 // ***************** 26 30 // * S T R L C P Y * ··· 51 55 .text 52 56 .globl _strlcpy 53 57 54 - .align 4 58 + .align (1<<4) 55 59 _strlcpy: // size_t *strlcpy(char *dst, const char *src, size_t size); 56 60 pushl %edi 57 61 pushl %esi
+6 -1
src/libc/i386/string/strlen.s src/libc/i386/string/strlen.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. 3 4 * ··· 19 20 * 20 21 * @APPLE_LICENSE_HEADER_END@ 21 22 */ 23 + 24 + #ifdef DARLING 25 + # define _strlen strlen 26 + #endif 22 27 23 28 /* 24 29 * Strlen, for processors with SSE3. ··· 33 38 34 39 .text 35 40 .globl _strlen 36 - .align 4, 0x90 41 + .align (1<<4), 0x90 37 42 _strlen: // size_t strlen(char *b); 38 43 movl 4(%esp),%edx // get ptr to string 39 44 pxor %xmm0,%xmm0 // zero %xmm0
+7 -2
src/libc/i386/string/strncmp.s src/libc/i386/string/strncmp.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. 3 4 * ··· 22 23 */ 23 24 24 25 26 + #ifdef DARLING 27 + # define _strncmp strncmp 28 + #endif 29 + 25 30 // ***************** 26 31 // * S T R N C M P * 27 32 // ***************** ··· 39 44 .text 40 45 .globl _strncmp 41 46 42 - .align 4 47 + .align (1<<4) 43 48 _strncmp: // int strncmp(const char *s1, const char *s2, size_t len); 44 49 pushl %esi 45 50 pushl %edi ··· 94 99 // %ecx = length remaining after end of loop (ie, already adjusted) 95 100 // %edx = #bytes until next page (1..15) 96 101 97 - .align 4,0x90 // align inner loops to optimize I-fetch 102 + .align (1<<4),0x90 // align inner loops to optimize I-fetch 98 103 LLoopOverBytes: 99 104 movzb (%esi),%eax // get LHS byte 100 105 movzb (%edi),%ebx // get RHS byte
+7 -2
src/libc/i386/string/strncpy.s src/libc/i386/string/strncpy.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. 3 4 * ··· 24 25 #include <machine/cpu_capabilities.h> 25 26 26 27 28 + #ifdef DARLING 29 + #define _strncpy strncpy 30 + #endif 31 + 27 32 // ***************** 28 33 // * S T R N C P Y * 29 34 // ***************** ··· 47 52 .text 48 53 .globl _strncpy 49 54 50 - .align 4 55 + .align (1<<4) 51 56 _strncpy: // char *strncpy(const char *dst, const char *src, size_t n); 52 57 pushl %edi 53 58 pushl %esi ··· 119 124 // %ecx = buffer length remaining 120 125 // %edx = chunk count 121 126 122 - .align 4,0x90 // align inner loops to optimize I-fetch 127 + .align (1<<4),0x90 // align inner loops to optimize I-fetch 123 128 LLoopOverChunks: 124 129 movdqu (%esi),%xmm1 // get source 125 130 pxor %xmm0,%xmm0 // get some 0s
+33 -14
src/libc/i386/sys/OSAtomic.s src/libc/i386/sys/OSAtomic.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007 Apple Inc. All rights reserved. 3 4 * Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved. ··· 31 32 #define ATOMIC_RET_ORIG 0 32 33 #define ATOMIC_RET_NEW 1 33 34 35 + #ifdef DARLING 36 + # define _OSAtomicFifoEnqueue OSAtomicFifoEnqueue 37 + # define _OSAtomicFifoDequeue OSAtomicFifoDequeue 38 + #endif 39 + 40 + #ifndef DARLING 34 41 // compare and exchange 32-bit 35 42 // xchg32 <new> <dst> <mp> 36 43 .macro xchg32 ··· 48 55 .endif 49 56 cmpxchg8b ($0) 50 57 .endm 58 + #else 59 + // compare and exchange 32-bit 60 + // xchg32 <new> <dst> <mp> 61 + #define xchg32(a, b, c) \ 62 + lock \ 63 + cmpxchgl a, (b) 51 64 65 + // compare and exchange 64-bit 66 + // xchg64 <dst> <mp> 67 + #define xchg64(a, b) \ 68 + lock \ 69 + cmpxchg8b (a) 70 + #endif 52 71 53 72 // int32_t OSAtomicAdd32(int32_t theAmount, volatile int32_t *theValue); 54 73 #define ATOMIC_ARITHMETIC(instr, orig, mp) \ ··· 56 75 movl (%ecx), %eax /* load contents of ecx into eax */ ;\ 57 76 1: movl 4(%esp), %edx /* load 1st arg into edx */ ;\ 58 77 instr %eax, %edx /* do the operation */ ;\ 59 - xchg32 %edx, %ecx, mp /* old in %eax, new in %edx, exchange into %ecx */ ;\ 78 + xchg32 (%edx, %ecx, mp) /* old in %eax, new in %edx, exchange into %ecx */ ;\ 60 79 jnz 1b /* go back if we failed to exchange */ ;\ 61 80 .if orig == ATOMIC_RET_NEW ;\ 62 81 movl %edx, %eax /* return new value */ ;\ ··· 75 94 andl $31,%eax /* keep bit offset in range 0..31 */ ;\ 76 95 xorl %eax,%edx /* 4-byte align address */ ;\ 77 96 shrdl $3,%ecx,%edx /* restore 32-bit byte address in %edx */ ;\ 78 - .if mp == ATOMIC_MP ;\ 97 + //.if mp == ATOMIC_MP ;\ 79 98 lock ;\ 80 - .endif ;\ 99 + //.endif ;\ 81 100 instr %eax, (%edx) ;\ 82 101 setc %al ;\ 83 102 movzbl %al,%eax // widen in case caller assumes we return an int ··· 93 112 movl 16(%esp), %ecx ;\ 94 113 addl %eax, %ebx ;\ 95 114 adcl %edx, %ecx ;\ 96 - xchg64 %esi, mp ;\ 115 + xchg64 (%esi, mp) ;\ 97 116 jnz 1b ;\ 98 117 movl %ebx, %eax ;\ 99 118 movl %ecx, %edx ;\ ··· 174 193 movl 4(%esp), %eax 175 194 movl 8(%esp), %edx 176 195 movl 12(%esp), %ecx 177 - xchg32 %edx, %ecx, ATOMIC_UP 196 + xchg32 (%edx, %ecx, ATOMIC_UP) 178 197 sete %al 179 198 movzbl %al,%eax // widen in case caller assumes we return an int 180 199 ret ··· 190 209 movl 4(%esp), %eax 191 210 movl 8(%esp), %edx 192 211 movl 12(%esp), %ecx 193 - xchg32 %edx, %ecx, ATOMIC_MP 212 + xchg32 (%edx, %ecx, ATOMIC_MP) 194 213 sete %al 195 214 movzbl %al,%eax // widen in case caller assumes we return an int 196 215 ret ··· 205 224 movl 20(%esp), %ebx // load in 2nd 64-bit parameter 206 225 movl 24(%esp), %ecx 207 226 movl 28(%esp), %esi // laod in destination address 208 - xchg64 %esi, ATOMIC_UP // compare and swap 64-bit 227 + xchg64 (%esi, ATOMIC_UP) // compare and swap 64-bit 209 228 sete %al 210 229 movzbl %al,%eax // widen in case caller assumes we return an int 211 230 popl %esi ··· 221 240 movl 20(%esp), %ebx // load in 2nd 64-bit parameter 222 241 movl 24(%esp), %ecx 223 242 movl 28(%esp), %esi // laod in destination address 224 - xchg64 %esi, ATOMIC_MP // compare and swap 64-bit 243 + xchg64 (%esi, ATOMIC_MP) // compare and swap 64-bit 225 244 sete %al 226 245 movzbl %al,%eax // widen in case caller assumes we return an int 227 246 popl %esi ··· 312 331 1: movl %eax,(%ebx,%esi)// link to old list head from new element 313 332 movl %edx,%ecx 314 333 incl %ecx // increment generation count 315 - xchg64 %edi, ATOMIC_UP // ...push on new element 334 + xchg64 (%edi, ATOMIC_UP) // ...push on new element 316 335 jnz 1b 317 336 popl %ebx 318 337 popl %esi ··· 331 350 1: movl %eax,(%ebx,%esi)// link to old list head from new element 332 351 movl %edx,%ecx 333 352 incl %ecx // increment generation count 334 - xchg64 %edi, ATOMIC_MP // ...push on new element 353 + xchg64 (%edi, ATOMIC_MP) // ...push on new element 335 354 jnz 1b 336 355 popl %ebx 337 356 popl %esi ··· 352 371 movl (%eax,%esi),%ebx // point to 2nd in Q 353 372 movl %edx,%ecx 354 373 incl %ecx // increment generation count 355 - xchg64 %edi, ATOMIC_UP // ...pop off 1st element 374 + xchg64 (%edi, ATOMIC_UP) // ...pop off 1st element 356 375 jnz 1b 357 376 2: popl %ebx 358 377 popl %esi ··· 372 391 movl (%eax,%esi),%ebx // point to 2nd in Q 373 392 movl %edx,%ecx 374 393 incl %ecx // increment generation count 375 - xchg64 %edi, ATOMIC_MP // ...pop off 1st element 394 + xchg64 (%edi, ATOMIC_MP) // ...pop off 1st element 376 395 jnz 1b 377 396 2: popl %ebx 378 397 popl %esi ··· 388 407 * 389 408 * void OSAtomicFifoEnqueue( OSFifoQueueHead *list, void *new, size_t offset); 390 409 */ 391 - .align 2 410 + .align (1<<2) 392 411 .globl _OSAtomicFifoEnqueue 393 412 _OSAtomicFifoEnqueue: 394 413 pushl %edi ··· 411 430 ret 412 431 413 432 /* void* OSAtomicFifoDequeue( OSFifoQueueHead *list, size_t offset); */ 414 - .align 2 433 + .align (1<<2) 415 434 .globl _OSAtomicFifoDequeue 416 435 _OSAtomicFifoDequeue: 417 436 pushl %edi
+6
src/libc/i386/sys/_setjmp.s src/libc/i386/sys/_setjmp.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. 3 4 * ··· 39 40 * The previous signal state is NOT restored. 40 41 * 41 42 */ 43 + 44 + #ifdef DARLING 45 + #define __setjmp _setjmp 46 + #define __longjmp _longjmp 47 + #endif 42 48 43 49 #include <architecture/i386/asm_help.h> 44 50
+4
src/libc/i386/sys/_sigtramp.s src/libc/i386/sys/_sigtramp.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007, 2011 Apple Inc. All rights reserved. 3 4 * ··· 25 26 26 27 #ifdef DARLING 27 28 # define ___in_sigtramp __in_sigtramp 29 + # define __sigtramp _sigtramp 28 30 #endif 29 31 30 32 #if defined(__DYNAMIC__) ··· 157 159 DW_OP_breg(6), UCONTEXT_UC_MCONTEXT, DW_OP_deref, \ 158 160 DW_OP_plus_uconst, offs 159 161 162 + #ifndef DARLING 160 163 /* Unwind tables. */ 161 164 .section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support 162 165 EH_frame1: ··· 250 253 LEFDE1: 251 254 252 255 .subsections_via_symbols 256 + #endif
+13
src/libc/i386/sys/atomic.c
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 4 * ··· 24 25 #include <machine/cpu_capabilities.h> 25 26 #include <platfunc.h> 26 27 28 + #ifndef DARLING 27 29 #define RESOLVER_UP_MP(symbol) \ 28 30 PLATFUNC_DESCRIPTOR(symbol, up, kUP, 0); \ 29 31 PLATFUNC_DESCRIPTOR(symbol, mp, 0, kUP); \ ··· 37 39 __asm__(".symbol_resolver _" #symbol); \ 38 40 return find_platform_function((const platfunc_descriptor**) symbol ## _platfunc_descriptors); \ 39 41 } 42 + #else // ELF doesn't support symbol resolvers 43 + #define RESOLVER_UP_MP(symbol) __asm__(".globl " #symbol); __asm__(#symbol ": jmp " #symbol "$VARIANT$mp@PLT"); 44 + #endif 40 45 41 46 RESOLVER_UP_MP(OSAtomicAnd32) 42 47 RESOLVER_UP_MP(OSAtomicAnd32Barrier) ··· 71 76 RESOLVER_UP_MP(OSAtomicEnqueue) 72 77 RESOLVER_UP_MP(OSAtomicDequeue) 73 78 79 + #ifndef DARLING 74 80 PLATFUNC_DESCRIPTOR_PROTOTYPE(OSMemoryBarrier, all) 75 81 PLATFUNC_DESCRIPTOR_PROTOTYPE(OSMemoryBarrier, sse2) 76 82 ··· 85 91 __asm__(".symbol_resolver _OSMemoryBarrier"); 86 92 return find_platform_function((const platfunc_descriptor **) OSMemoryBarrier_platfunc_descriptors); 87 93 } 94 + #else 95 + extern void OSMemoryBarrierImpl(void) asm("OSMemoryBarrier$VARIANT$sse2"); 96 + void OSMemoryBarrier(void) 97 + { 98 + OSMemoryBarrierImpl(); 99 + } 100 + #endif
+1
src/libc/i386/sys/i386_gettimeofday_asm.s src/libc/i386/sys/i386_gettimeofday_asm.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2003-2007 Apple Inc. All rights reserved. 3 4 *
src/libc/i386/sys/mach_absolute_time_asm.s src/libc/i386/sys/mach_absolute_time_asm.S
+25 -7
src/libc/i386/sys/setjmp.s src/libc/i386/sys/setjmp.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. 3 4 * ··· 28 29 * 29 30 * Written by Bruce Martin, NeXT Inc. 4/9/92 30 31 */ 32 + 33 + #ifdef DARLING 34 + # define _sigprocmask sigprocmask 35 + # define _sigsetjmp sigsetjmp 36 + # define _sigaltstack sigaltstack 37 + # define x__setjmp _setjmp 38 + # define x_setjmp setjmp 39 + # define _siglongjmp siglongjmp 40 + # define x_longjmp longjmp 41 + # define x__longjmp _longjmp 42 + # define __sigunalstack _sigunaltstack 43 + #else 44 + # define x_longjmp _longjmp 45 + # define x__longjmp __longjmp 46 + # define x__setjmp __setjmp 47 + # define x_setjmp _setjmp 48 + #endif 31 49 32 50 /* 33 51 * C library -- setjmp, longjmp ··· 74 92 jne _setjmp // setjmp(jmpbuf); 75 93 jmp L_do__setjmp // else _setjmp(jmpbuf); 76 94 77 - LEAF(_setjmp, 0) 95 + LEAF(x_setjmp, 0) 78 96 subl $16, %esp // make space for return from sigprocmask 79 97 // + 12 to align stack 80 98 pushl %esp // oset ··· 96 114 movl %eax, JB_ONSTACK(%ecx) 97 115 98 116 L_do__setjmp: 99 - BRANCH_EXTERN(__setjmp) 117 + BRANCH_EXTERN(x__setjmp) 100 118 101 - LEAF(_siglongjmp, 0) 119 + LEAF(x_siglongjmp, 0) 102 120 movl 4(%esp), %eax // sigjmp_buf * jmpbuf; 103 121 cmpl $0, JB_SAVEMASK(%eax) // if jmpbuf[_JBLEN] != 0 104 - jne _longjmp // longjmp(jmpbuf, var); 122 + jne x_longjmp // longjmp(jmpbuf, var); 105 123 jmp L_do__longjmp // else _longjmp(jmpbuf, var); 106 124 107 - LEAF(_longjmp, 0) 125 + LEAF(x_longjmp, 0) 108 126 movl 4(%esp), %ecx // address of jmp_buf (saved context) 109 127 movl JB_MASK(%ecx),%eax // get the mask 110 128 subl $12, %esp // Make sure the stack is 16-byte ··· 125 143 addl $12, %esp 126 144 127 145 L_do__longjmp: 128 - BRANCH_EXTERN(__longjmp) // else 129 - END(_longjmp) 146 + BRANCH_EXTERN(x__longjmp) // else 147 + END(x_longjmp)
+5
src/libc/i386/sys/spinlocks.c
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 4 * ··· 24 25 #include <machine/cpu_capabilities.h> 25 26 #include <platfunc.h> 26 27 28 + #ifndef DARLING 27 29 #define RESOLVER_UP_MP(symbol) \ 28 30 PLATFUNC_DESCRIPTOR_PROTOTYPE(symbol, up); \ 29 31 PLATFUNC_DESCRIPTOR_PROTOTYPE(symbol, mp); \ ··· 37 39 __asm__(".symbol_resolver _" #symbol); \ 38 40 return find_platform_function((const platfunc_descriptor**) symbol ## _platfunc_descriptors); \ 39 41 } 42 + #else // ELF doesn't support symbol resolvers 43 + #define RESOLVER_UP_MP(symbol) __asm__(".globl " #symbol); __asm__(#symbol ": jmp " #symbol "$VARIANT$mp@PLT"); 44 + #endif 40 45 41 46 RESOLVER_UP_MP(OSSpinLockTry) 42 47 RESOLVER_UP_MP(_spin_lock_try)
+12 -3
src/libc/i386/sys/spinlocks_asm.s src/libc/i386/sys/spinlocks_asm.S
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 2003-2009 Apple, Inc. All rights reserved. 3 4 * ··· 30 31 #include <machine/cpu_capabilities.h> 31 32 #include <platfunc.h> 32 33 #include <mach/i386/syscall_sw.h> 33 - 34 + 35 + #ifdef DARLING 36 + # define _OSSpinLockUnlock OSSpinLockUnlock 37 + # define x__spin_unlock _spin_unlock 38 + # define x_spin_unlock spin_unlock 39 + #else 40 + # define x__spin_unlock __spin_unlock 41 + # define x_spin_unlock _spin_unlock 42 + #endif 34 43 35 44 PLATFUNC_FUNCTION_START(OSSpinLockTry, up, 32, 4) 36 45 PLATFUNC_FUNCTION_START(_spin_lock_try, up, 32, 4) ··· 121 130 .globl _spin_unlock 122 131 .globl __spin_unlock 123 132 _OSSpinLockUnlock: 124 - _spin_unlock: 125 - __spin_unlock: 133 + x_spin_unlock: 134 + x__spin_unlock: 126 135 movl 4(%esp), %eax 127 136 movl $0, (%eax) 128 137 ret
+27
src/libc/include/i386/libc-features.h
··· 1 + #ifndef _LIBC_FEATURES_H_ 2 + #define _LIBC_FEATURES_H_ 3 + 4 + #if !defined(__i386__) 5 + #error Mismatched libc-features.h architecture 6 + #endif 7 + 8 + #define UNIFDEF_LEGACY_RUNE_APIS 1 9 + #define LEGACY_CRT1_ENVIRON 1 10 + #define UNIFDEF_LEGACY_UTMP_APIS 1 11 + /* #undef UNIFDEF_MOVE_LOCALTIME */ 12 + #if __DARWIN_ONLY_VERS_1050 13 + # error Feature mismatch: __DARWIN_ONLY_VERS_1050 == 1 14 + #endif /* __DARWIN_ONLY_VERS_1050 */ 15 + #if __DARWIN_ONLY_UNIX_CONFORMANCE 16 + # error Feature mismatch: __DARWIN_ONLY_UNIX_CONFORMANCE == 1 17 + #endif /* __DARWIN_ONLY_UNIX_CONFORMANCE */ 18 + #if __DARWIN_ONLY_64_BIT_INO_T 19 + # error Feature mismatch: __DARWIN_ONLY_64_BIT_INO_T == 1 20 + #endif /* __DARWIN_ONLY_64_BIT_INO_T */ 21 + #define __APPLE_PR3417676_HACK__ 1 22 + #define PR_5243343 1 23 + /* #define PLOCKSTAT 1 */ 24 + /* #define NOTIFY_TZ 1 */ 25 + /* #undef LIBC_NO_LIBCRASHREPORTERCLIENT */ 26 + #define CONFIG_MEMORYSTATUS 1 27 + #endif // _LIBC_FEATURES_H_
+6 -26
src/libc/include/libc-features.h
··· 1 - #ifndef _LIBC_FEATURES_H_ 2 - #define _LIBC_FEATURES_H_ 3 - 4 - #if !defined(__x86_64__) 5 - #error Mismatched libc-features.h architecture 1 + #if defined(__x86_64__) 2 + # include "x86-64/libc-features.h" 3 + #elif defined(__i386__) 4 + # include "i386/libc-features.h" 5 + #else 6 + # error Missing include 6 7 #endif 7 8 8 - #define UNIFDEF_LEGACY_RUNE_APIS 1 9 - #define LEGACY_CRT1_ENVIRON 1 10 - #define UNIFDEF_LEGACY_UTMP_APIS 1 11 - /* #undef UNIFDEF_MOVE_LOCALTIME */ 12 - /* #undef UNIFDEF_TZDIR_SYMLINK */ 13 - #if __DARWIN_ONLY_VERS_1050 14 - # error Feature mismatch: __DARWIN_ONLY_VERS_1050 == 1 15 - #endif /* __DARWIN_ONLY_VERS_1050 */ 16 - #if !__DARWIN_ONLY_UNIX_CONFORMANCE 17 - # error Feature mismatch: __DARWIN_ONLY_UNIX_CONFORMANCE == 0 18 - #endif /* !__DARWIN_ONLY_UNIX_CONFORMANCE */ 19 - #if __DARWIN_ONLY_64_BIT_INO_T 20 - # error Feature mismatch: __DARWIN_ONLY_64_BIT_INO_T == 1 21 - #endif /* __DARWIN_ONLY_64_BIT_INO_T */ 22 - #define __APPLE_PR3417676_HACK__ 1 23 - /* #undef PLOCKSTAT 1 */ 24 - // #define NOTIFY_TZ 1 /* Darling: we don't have libnotify yet */ 25 - /* #undef LIBC_NO_LIBCRASHREPORTERCLIENT */ 26 - /* #undef FEATURE_SMALL_STDIOBUF */ 27 - #define XPRINTF_PERF 1 28 - #endif // _LIBC_FEATURES_H_
+28
src/libc/include/x86-64/libc-features.h
··· 1 + #ifndef _LIBC_FEATURES_H_ 2 + #define _LIBC_FEATURES_H_ 3 + 4 + #if !defined(__x86_64__) 5 + #error Mismatched libc-features.h architecture 6 + #endif 7 + 8 + #define UNIFDEF_LEGACY_RUNE_APIS 1 9 + #define LEGACY_CRT1_ENVIRON 1 10 + #define UNIFDEF_LEGACY_UTMP_APIS 1 11 + /* #undef UNIFDEF_MOVE_LOCALTIME */ 12 + /* #undef UNIFDEF_TZDIR_SYMLINK */ 13 + #if __DARWIN_ONLY_VERS_1050 14 + # error Feature mismatch: __DARWIN_ONLY_VERS_1050 == 1 15 + #endif /* __DARWIN_ONLY_VERS_1050 */ 16 + #if !__DARWIN_ONLY_UNIX_CONFORMANCE 17 + # error Feature mismatch: __DARWIN_ONLY_UNIX_CONFORMANCE == 0 18 + #endif /* !__DARWIN_ONLY_UNIX_CONFORMANCE */ 19 + #if __DARWIN_ONLY_64_BIT_INO_T 20 + # error Feature mismatch: __DARWIN_ONLY_64_BIT_INO_T == 1 21 + #endif /* __DARWIN_ONLY_64_BIT_INO_T */ 22 + #define __APPLE_PR3417676_HACK__ 1 23 + /* #undef PLOCKSTAT 1 */ 24 + // #define NOTIFY_TZ 1 /* Darling: we don't have libnotify yet */ 25 + /* #undef LIBC_NO_LIBCRASHREPORTERCLIENT */ 26 + /* #undef FEATURE_SMALL_STDIOBUF */ 27 + #define XPRINTF_PERF 1 28 + #endif // _LIBC_FEATURES_H_
+1 -1
src/libdyld/CMakeLists.txt
··· 65 65 set_source_files_properties(environ.c COMPILE_FLAGS "-no-integrated-as") 66 66 67 67 add_library(dyld SHARED ${dyld_SRCS}) 68 - target_link_libraries(dyld -ldl -lpthread mach-o darling-util) 68 + target_link_libraries(dyld PRIVATE -ldl -lpthread mach-o darling-util) 69 69 70 70 install(TARGETS dyld DESTINATION lib${SUFFIX}/darling) 71 71
+3 -3
src/libm/Source/Intel/hypot.S
··· 55 55 // Special case handling ---------------------------------------------- 56 56 57 57 L_xHiIsZero: 58 - cmp $0, 4(%esp) // is the low word of x zero? 58 + cmpl $0, 4(%esp) // is the low word of x zero? 59 59 jnz L_returnFromXHiIsZero // if not, jump back to mainline 60 60 L_returnAbsY: 61 61 and %ecx, 16(%esp) ··· 63 63 ret 64 64 65 65 L_yHiIsZero: 66 - cmp $0, 12(%esp) // is the low word of y zero? 66 + cmpl $0, 12(%esp) // is the low word of y zero? 67 67 jnz L_returnFromYHiIsZero // if not, jump back to mainline 68 68 L_returnAbsX: 69 69 and %ecx, 8(%esp) ··· 73 73 L_xIsSpecial: 74 74 cmp INFHI, %edx // check if y is infinity 75 75 jnz L_returnAbsX 76 - cmp $0, 12(%esp) 76 + cmpl $0, 12(%esp) 77 77 jz L_returnAbsY 78 78 jmp L_returnAbsX 79 79
+1 -1
src/libm/Source/Intel/modff.S
··· 85 85 movl 4+FRAME_SIZE( STACKP), RESULT_P 86 86 flds FRAME_SIZE( STACKP ) // { x } 87 87 fld %st(0) 88 - fstp (RESULT_P) 88 + fstpl (RESULT_P) 89 89 #else 90 90 movss %xmm0, (RESULT_P) 91 91 #endif