Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 792 → Rev 791

/kernel/trunk/arch/sparc64/src/mm/frame.c
32,11 → 32,5
 
void frame_arch_init(void)
{
/*
* Workaround to prevent slab allocator from allocating fram 0,
* which is not, at that time, mapped.
*/
frame_region_not_free(0, FRAME_SIZE);
zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE - 1));
}