aboutsummaryrefslogtreecommitdiffstats
path: root/src/tasking.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasking.hpp')
-rw-r--r--src/tasking.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tasking.hpp b/src/tasking.hpp
new file mode 100644
index 0000000..64a738e
--- /dev/null
+++ b/src/tasking.hpp
@@ -0,0 +1,12 @@
+#ifndef TASKING_HPP
+#define TASKING_HPP
+
+#include "idt.hpp"
+
+void tasking_initialize();
+bool tasking_spawn(void (*entry)(), unsigned ssize);
+
+void schedule(const Registers& regs);
+
+#endif // TASKING_HPP
+