summaryrefslogtreecommitdiff
path: root/src/include/tce
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/tce')
-rw-r--r--src/include/tce/syscalls.h5
-rw-r--r--src/include/tce/vfs.h2
2 files changed, 5 insertions, 2 deletions
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;