Various Changes
[tpg/acess2.git] / Usermode / Libraries / libacess.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 SYSCALL4        read, SYS_READ  ; int, int64_t, void*
14 SYSCALL4        write, SYS_WRITE        ; int, int64_t, void*
15 SYSCALL4        seek, SYS_SEEK          ; int, int64_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*

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