Fixed a bug with page_map size by dynamically allocating it.

This commit is contained in:
Bahadir Balban
2009-08-10 23:47:58 +03:00
parent 15b659eaf0
commit 4f4532210a
2 changed files with 22 additions and 12 deletions

View File

@@ -404,6 +404,10 @@ void init_finalize(struct kernel_container *kcont)
*/
free_bootmem();
/*
* Set up KIP UTCB ref
*/
kip.utcb = (u32)current->utcb_address;
/*
* Start the scheduler, jumping to task
*/