mirror of
https://github.com/drasko/codezero.git
synced 2026-03-09 05:43:30 +01:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user