[FS, USER] Debug filesystem, fs syscalls

This commit is contained in:
2017-03-13 13:37:39 +01:00
parent 2fe66e4f80
commit fd782365b7
12 changed files with 204 additions and 39 deletions

View File

@@ -1,8 +1,16 @@
#pragma once
#define SYS_WRITE 0x001
#define SYS_BRK 0x002
#define SYS_FORK 0x003
#define SYS_EXIT 0x004
#define SYS_WAIT 0x005
#define SYS_DEBUG 0x3FF
#define SYS_DEBUG 0x3FF
#define SYS_OPEN 0x001
#define SYS_CLOSE 0x002
#define SYS_READ 0x003
#define SYS_WRITE 0x004
#define SYS_ISATTY 0x005
#define SYS_SEEK 0x006
#define SYS_BRK 0x007
#define SYS_FORK 0x008
#define SYS_EXIT 0x009
#define SYS_WAIT 0x00A