mirror of
https://github.com/drasko/codezero.git
synced 2026-02-27 01:03:14 +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:
@@ -33,7 +33,7 @@ struct task_fs_data {
|
||||
struct tcb {
|
||||
l4id_t tid;
|
||||
struct list_head list;
|
||||
unsigned long utcb_address;
|
||||
unsigned long shpage_address;
|
||||
struct task_fd_head *files;
|
||||
struct task_fs_data *fs_data;
|
||||
};
|
||||
@@ -41,7 +41,7 @@ struct tcb {
|
||||
/* Structures used when receiving new task info from pager */
|
||||
struct task_data {
|
||||
unsigned long tid;
|
||||
unsigned long utcb_address;
|
||||
unsigned long shpage_address;
|
||||
};
|
||||
|
||||
struct task_data_head {
|
||||
|
||||
Reference in New Issue
Block a user