First step in detaching pager struct from tasks

This commit is contained in:
Bahadir Balban
2009-11-03 14:50:22 +02:00
parent 00a9f2e3c9
commit 6c69f181db
7 changed files with 17 additions and 26 deletions

View File

@@ -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);