aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2021-04-17 22:59:57 +0200
committerMarvin Borner2021-04-17 22:59:57 +0200
commitcdf029471736f43776452930b7195a06ab143654 (patch)
treef8ab7dee26c589ff3666194b814d9457482ec02c /kernel/inc
parent89b5b9acf6037fc1a87f9e85c64831187a47ba94 (diff)
Added I/O bus implementation for efficient IPC
This was a nice coding session. See ya tomorrow!
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/bus.h8
-rw-r--r--kernel/inc/proc.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/kernel/inc/bus.h b/kernel/inc/bus.h
new file mode 100644
index 0000000..271df34
--- /dev/null
+++ b/kernel/inc/bus.h
@@ -0,0 +1,8 @@
+// MIT License, Copyright (c) 2021 Marvin Borner
+
+#ifndef BUS_H
+#define BUS_H
+
+void bus_install(void);
+
+#endif
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index 1d5d064..1e3f037 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -48,6 +48,8 @@ struct proc {
struct stack *messages;
struct list *memory;
+ u32 bus_conn;
+
struct {
u32 user;
u32 kernel;