mirror of
https://github.com/drasko/codezero.git
synced 2026-01-28 10:43:14 +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:
@@ -63,7 +63,7 @@ int sys_ipc_control(syscall_context_t *regs)
|
||||
/* Interruptible ipc */
|
||||
int ipc_send(l4id_t recv_tid)
|
||||
{
|
||||
struct ktcb *receiver = find_task(recv_tid);
|
||||
struct ktcb *receiver = tcb_find(recv_tid);
|
||||
struct waitqueue_head *wqhs, *wqhr;
|
||||
|
||||
wqhs = &receiver->wqh_send;
|
||||
|
||||
Reference in New Issue
Block a user