Changeset 361
- Timestamp:
- Mar 11, 2009, 3:23:24 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/System/Sources/libc/src/kernel/netbsd/i386/syscalls.S
r200 r361 1 /* $Id: syscalls.S,v 1.1 3 2007/09/26 15:00:35khorben Exp $ */2 /* Copyright (c) 200 7Pierre Pronchery <khorben@defora.org> */1 /* $Id: syscalls.S,v 1.14 2009/02/22 00:08:56 khorben Exp $ */ 2 /* Copyright (c) 2009 Pierre Pronchery <khorben@defora.org> */ 3 3 /* This file is part of DeforaOS System libc */ 4 4 /* libc is not free software; you can redistribute it and/or modify it under … … 49 49 #undef SYS_brk 50 50 51 51 52 /* _exit */ 52 53 .global _exit … … 55 56 mov $SYS_exit, %eax 56 57 jmp _syscall 58 57 59 58 60 /* execve */ … … 66 68 ret 67 69 #undef SYS_execve 70 71 72 /* pipe */ 73 .global pipe 74 .type pipe,@function 75 pipe: 76 mov $SYS_pipe, %eax 77 int $0x80 78 jc .errno 79 mov 4(%esp), %ecx 80 mov %eax, (%ecx) 81 mov %edx, 4(%ecx) 82 mov $0, %eax 83 ret 84 #undef SYS_pipe
Note: See TracChangeset
for help on using the changeset viewer.