Big bugfixes from trying a Clone/fork bomb
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / vfs.asm
1 ;
2 ; Acess2 System Interface
3 ;
4 %include "syscalls.inc.asm"
5
6 [BITS 32]
7 [extern _errno]
8
9 [section .text]
10 SYSCALL2        open, SYS_OPEN  ; char*, int
11 SYSCALL3        reopen, SYS_REOPEN      ; int, char*, int
12 SYSCALL1        close, SYS_CLOSE        ; int
13 SYSCALL3        read, SYS_READ  ; int, uint, void*
14 SYSCALL3        write, SYS_WRITE        ; int, uint, void*
15 SYSCALL4        seek, SYS_SEEK          ; int, uint64_t, int
16 SYSCALL1        tell, SYS_TELL          ; int
17 SYSCALL3        finfo, SYS_FINFO        ; int, void*, int
18 SYSCALL2        readdir, SYS_READDIR    ; int, char*
19 SYSCALL2        _SysGetACL, SYS_GETACL  ; int, void*
20 SYSCALL1        chdir, SYS_CHDIR        ; char*
21 SYSCALL3        ioctl, SYS_IOCTL        ; int, int, void*
22 SYSCALL4        _SysMount, SYS_MOUNT    ; char*, char*, char*, char*
23
24 SYSCALL3        _SysOpenChild, SYS_OPENCHILD

UCC git Repository :: git.ucc.asn.au