mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 20:33:16 +01:00
First step in detaching pager struct from tasks
This commit is contained in:
@@ -110,8 +110,6 @@ int init_pager(struct pager *pager,
|
||||
task_init_registers(task, pager->start_address);
|
||||
|
||||
/* Initialize container/pager relationships */
|
||||
pager->tcb = task;
|
||||
task->pager = pager;
|
||||
task->pagerid = task->tid;
|
||||
task->tgid = task->tid;
|
||||
task->container = cont;
|
||||
@@ -142,7 +140,7 @@ int init_pager(struct pager *pager,
|
||||
cap->resid = CAP_RESID_NONE;
|
||||
}
|
||||
|
||||
printk("%s: Mapping %lx bytes (%lx pages) from 0x%lx to 0x%lx for %s\n",
|
||||
printk("%s: Mapping 0x%lx bytes (0x%lx pages) from 0x%lx to 0x%lx for %s\n",
|
||||
__KERNELNAME__, pager->memsize,
|
||||
__pfn(page_align_up(pager->memsize)),
|
||||
pager->start_lma, pager->start_vma, cont->name);
|
||||
|
||||
Reference in New Issue
Block a user