Move thread logic to linux/thread.c, rewrite os and idle threads in asm.

This commit is contained in:
2020-05-09 00:50:54 +03:00
parent 96d52454b7
commit dad581883c
3 changed files with 47 additions and 0 deletions

8
linux/thread.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef THREAD_H_INCLUDED
#define THREAD_H_INCLUDED
#include <inttypes.h>
uint32_t umka_new_sys_threads(void (*func)(void), void *stack, int type);
#endif // THREAD_H_INCLUDED