vmap now initializes 512GB on setup

This commit is contained in:
Taku Shimosawa
2012-02-22 18:02:28 +09:00
parent 0be6147a81
commit ca219eec63

View File

@ -94,6 +94,9 @@ static void virtual_allocator_init(void)
{
vmap_allocator = aal_pagealloc_init(MAP_VMAP_START,
MAP_VMAP_SIZE, PAGE_SIZE);
/* Make sure that kernel first-level page table copying works */
aal_mc_pt_prepare_map(NULL, (void *)MAP_VMAP_START, MAP_VMAP_SIZE,
AAL_MC_PT_FIRST_LEVEL);
}
void *aal_mc_map_virtual(unsigned long phys, int npages,