Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 866 → Rev 867

/kernel/trunk/arch/sparc64/src/mm/frame.c
27,6 → 27,7
*/
 
#include <arch/mm/frame.h>
#include <genarch/ofw/memory_init.h>
#include <mm/frame.h>
#include <config.h>
#include <align.h>
33,7 → 34,7
 
void frame_arch_init(void)
{
zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0);
ofw_init_zones();
 
/*
* Workaround to prevent slab allocator from allocating frame 0.