Add phys init

This commit is contained in:
Mark
2019-10-12 13:57:32 +03:00
parent 6297d1bfb2
commit bfcc6d7bdf
3 changed files with 33 additions and 12 deletions
+9
View File
@@ -19,3 +19,12 @@ struct thread {
// TODO: maybe __sched_thread
struct thread *next;
};
int thread_init(struct thread *t,
mm_space_t *space,
uintptr_t entry,
uintptr_t stack0_base,
size_t stack0_size,
uintptr_t stack3_base,
size_t stack3_size,
uint32_t flags);