summaryrefslogtreecommitdiff
path: root/src/include/tce
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/tce')
-rw-r--r--src/include/tce/syscalls.h1
-rw-r--r--src/include/tce/vfs.h7
2 files changed, 6 insertions, 2 deletions
diff --git a/src/include/tce/syscalls.h b/src/include/tce/syscalls.h
index f32c225..983e89d 100644
--- a/src/include/tce/syscalls.h
+++ b/src/include/tce/syscalls.h
@@ -28,6 +28,7 @@
#define SC_READ 26
#define SC_WRITE 27
#define SC_LINK 28
+#define SC_DEVCONTROL 29
#define EX_PAGEFAULT 4000
#define EX_EXCEPTION 4001
diff --git a/src/include/tce/vfs.h b/src/include/tce/vfs.h
index 36e391f..58e67f5 100644
--- a/src/include/tce/vfs.h
+++ b/src/include/tce/vfs.h
@@ -33,7 +33,10 @@ typedef struct _file_info {
// device types
#define DT_BLOCK 1
-#define DT_KEYBOARD 2
-#define DT_DISPLAY 3
+#define DT_PCKBD 2
+#define DT_VGATXT 3
+#define DT_VESAFB 4
+
+#define DEV_CONTROL 0xB0057ED1 // hack, see doc/vfs.txt
#endif