Moved all pager page-mapping routines to memory.c

Added a new virtual address pool for contiguous virtual addresses for the pager.
This will help in mapping multi-page user buffers and files.
This commit is contained in:
Bahadir Balban
2008-11-21 21:05:42 +02:00
parent 2d5a08ff32
commit 7d38243dff
6 changed files with 113 additions and 23 deletions

View File

@@ -174,6 +174,10 @@ void init_mm(struct initdata *initdata)
printf("UTCB initialisation failed.\n");
BUG();
}
/* For supplying contiguous virtual addresses to pager */
pager_address_pool_init();
// printf("%s: Initialised utcb address pool.\n", __TASKNAME__);
/* Give the kernel some memory to use for its allocators */