#include <threads_int.h>
#include <hal_proc.h>
+// === IMPORTS ===
+extern tThread gThreadZero;
+
// === PROTOTYPES ===
// === GLOBALS ===
-tThread *gpCurrentThread;
+tThread *gpCurrentThread = &gThreadZero;
// === CODE ===
void ArchThreads_Init(void)
}
+void Proc_Reschedule(void)
+{
+ // TODO: Task switching!
+}
+
void Proc_DumpThreadCPUState(tThread *Thread)
{