diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2013-06-08 23:09:52 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2013-06-08 23:09:52 +0200 |
commit | 4d65fcb9a8b6c7c6fd5a3390c46a96d11b6a80d4 (patch) | |
tree | c193acf64ff2db985f6664f161cf586c3caeb684 /src/include | |
parent | eae9997d3c2dbaef53022ddabe61c1800a619499 (diff) | |
download | TCE-4d65fcb9a8b6c7c6fd5a3390c46a96d11b6a80d4.tar.gz TCE-4d65fcb9a8b6c7c6fd5a3390c46a96d11b6a80d4.zip |
All FWIK is deleted. YOSH is now pure C. Not-working KBASIC included.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/errno.h | 2 | ||||
-rw-r--r-- | src/include/tce/syscalls.h | 5 | ||||
-rw-r--r-- | src/include/tce/vfs.h | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/include/errno.h b/src/include/errno.h index fe60d81..098bcc1 100644 --- a/src/include/errno.h +++ b/src/include/errno.h @@ -8,7 +8,7 @@ #define ENOENT 2 /* No such file or directory */ #define ESRCH 3 /* No such process */ #define EINTR 4 /* Interrupted system call */ -#define EIO 5 /* I/O error */ +#define EIO 5 /* I/O error */ #define ENXIO 6 /* No such device or address */ #define E2BIG 7 /* Argument list too long */ #define ENOEXEC 8 /* Exec format error */ diff --git a/src/include/tce/syscalls.h b/src/include/tce/syscalls.h index c82cab7..f32c225 100644 --- a/src/include/tce/syscalls.h +++ b/src/include/tce/syscalls.h @@ -29,6 +29,11 @@ #define SC_WRITE 27 #define SC_LINK 28 +#define EX_PAGEFAULT 4000 +#define EX_EXCEPTION 4001 +#define EX_NOTHREADS 4002 +#define EX_INVALID 4003 + // ERRORS #define E_NOT_IMPLEMENTED -1 // could also mean that your request is nonsense diff --git a/src/include/tce/vfs.h b/src/include/tce/vfs.h index 8af3514..36e391f 100644 --- a/src/include/tce/vfs.h +++ b/src/include/tce/vfs.h @@ -3,8 +3,6 @@ #include <types.h> -typedef int FILE; - typedef struct _file_info { uint32_t type; uint32_t dev_type; |