Subversion Repositories HelenOS-historic

Rev

Rev 534 | Rev 573 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 534 Rev 536
Line 34... Line 34...
34
#include <panic.h>
34
#include <panic.h>
35
#include <print.h>
35
#include <print.h>
36
 
36
 
37
void frame_arch_init(void)
37
void frame_arch_init(void)
38
{
38
{
39
    /* Disable Everything until load address */
-
 
40
    frame_region_not_free(0, KA2PA(KERNEL_LOAD_ADDRESS) + FRAME_SIZE);
-
 
41
        zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE-1));
39
        zone_create_in_region(KA2PA(KERNEL_LOAD_ADDRESS), config.memory_size & ~(FRAME_SIZE-1));
42
}
40
}