From 4d65fcb9a8b6c7c6fd5a3390c46a96d11b6a80d4 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Sat, 8 Jun 2013 23:09:52 +0200 Subject: All FWIK is deleted. YOSH is now pure C. Not-working KBASIC included. --- src/include/errno.h | 2 +- src/include/tce/syscalls.h | 5 +++++ src/include/tce/vfs.h | 2 -- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/include') 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 -typedef int FILE; - typedef struct _file_info { uint32_t type; uint32_t dev_type; -- cgit v1.2.3