Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 867 → Rev 866

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