mirror of
https://github.com/drasko/codezero.git
synced 2026-01-16 12:53:16 +01:00
Reimplemented space handling by introducing an address_space structure.
- Fixed potential concurrency bugs due to preemption being enabled. - Introduced a new address space structure to better account for address spaces and page tables. - Currently executes fine up to forking. Will investigate.
This commit is contained in:
@@ -106,7 +106,7 @@ int sys_exchange_registers(syscall_context_t *regs)
|
||||
l4id_t tid = regs->r1;
|
||||
|
||||
/* Find tcb from its list */
|
||||
if (!(task = find_task(tid)))
|
||||
if (!(task = tcb_find(tid)))
|
||||
return -ESRCH;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user