#include <sys/socket.h>
#include <crxstd.h>
#include <unistd.h>
+#include <sched.h>
void cpu_debug(void);
int arch_init(void*);
-void sched_tick(void);
+int sched_init(void);
extern void io_main(void);
extern void _stdio(void);
}
#endif
+ err = sched_init();
+
+ if(err < 0) {
+ PANIC("Failed to initialize scheduler\n");
+ }
+
/*
for(ptr = (void*)0x9fc00; ptr < (void*)0x9fffc; ptr++) {
if(*(u32_t*)ptr == 0x5f504d5f) {