Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 534 → Rev 538

/kernel/trunk/arch/sparc64/src/mm/frame.c
29,15 → 29,8
#include <arch/mm/frame.h>
#include <mm/frame.h>
#include <config.h>
#include <panic.h>
 
void frame_arch_init(void)
{
zone_t *z;
z = zone_create(0, config.memory_size, 0);
if (!z) {
panic("Can't allocate zone (%dB).\n", config.memory_size);
}
zone_attach(z);
zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE - 1));
}