From d43d7caf15a01dd9c2ef1d9e975df3ef7c4e9204 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 27 Sep 2024 06:02:49 -0400 Subject: wip: initial commit --- tasking.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tasking.hpp (limited to 'tasking.hpp') diff --git a/tasking.hpp b/tasking.hpp new file mode 100644 index 0000000..5e03f25 --- /dev/null +++ b/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(Registers& regs); + +#endif // TASKING_HPP + -- cgit v1.2.3