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:
Bahadir Balban
2009-05-08 23:35:19 +03:00
parent 2df8875a88
commit 7415546410
12 changed files with 403 additions and 81 deletions

View File

@@ -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;
/*