mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
Fixed 2 more fork issues
Added setting of spsr for the new task. Added newly created task into mm0's global task list.
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#define syscalls_end_offset sys_time_offset
|
||||
#define SYSCALLS_TOTAL ((syscalls_end_offset >> 2) + 1)
|
||||
|
||||
void print_syscall_context(struct ktcb *t);
|
||||
|
||||
int sys_ipc(struct syscall_context *);
|
||||
int sys_thread_switch(struct syscall_context *);
|
||||
int sys_thread_control(struct syscall_context *);
|
||||
|
||||
Reference in New Issue
Block a user