basic process support and some syscalls
[lunaix-os.git] / lunaix-os / includes / lunaix / sched.h
diff --git a/lunaix-os/includes/lunaix/sched.h b/lunaix-os/includes/lunaix/sched.h
new file mode 100644 (file)
index 0000000..a0778a3
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef __LUNAIX_SCHEDULER_H
+#define __LUNAIX_SCHEDULER_H
+
+#define SCHED_TIME_SLICE 1000
+
+struct scheduler {
+    struct proc_info* _procs;
+    int procs_index;
+    unsigned int ptable_len;
+};
+
+void sched_init();
+void schedule();
+
+#endif /* __LUNAIX_SCHEDULER_H */