mirror of
https://github.com/drasko/codezero.git
synced 2026-01-26 01:33:21 +01:00
Simplified/Cleaned up pager initialization in the kernel
This commit is contained in:
@@ -477,17 +477,6 @@ int copy_container_info(struct container *c, struct container_info *cinfo)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
*
|
||||
* Rearrange as follows:
|
||||
* 1.) Move realloc_page_tables to before container_init_pagers()
|
||||
* 2.) Set up dummy current cap_list_ptr right after real capability list
|
||||
* has been created. -> Think! since there are many containers!!!!!!!
|
||||
* 3.) At this point, no need to do alloc_boot_pmd(), and current->cap_list_ptr
|
||||
* is valid, so no custom alloc functions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Create real containers from compile-time created cinfo structures
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user