mirror of
https://github.com/drasko/codezero.git
synced 2026-03-01 02:03:29 +01:00
Removed allocation of utcb shared pages by mm0 completely.
- Now libl4 has no references to utcb page or shmat etc. - Pager does not deal with special case utcb page allocation. It instead allocates a shared page from shm memory pool. - All tasks working to original standard. Next: - Add per-thread utcb allocation from the kernel - Add larger register file for standard ipc - Add long ipc (up to 1Kb)
This commit is contained in:
@@ -624,7 +624,7 @@ int vfs_send_task_data(struct tcb *vfs)
|
||||
/* Write per-task data for all tasks */
|
||||
list_for_each_entry(t, &global_tasks.list, list) {
|
||||
tdata_head->tdata[li].tid = t->tid;
|
||||
tdata_head->tdata[li].utcb_address = (unsigned long)t->shared_page;
|
||||
tdata_head->tdata[li].shpage_address = (unsigned long)t->shared_page;
|
||||
li++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user