Subversion Repositories HelenOS-historic

Rev

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

Rev 534 Rev 757
Line 29... Line 29...
29
#include <arch/mm/frame.h>
29
#include <arch/mm/frame.h>
30
#include <mm/frame.h>
30
#include <mm/frame.h>
31
#include <config.h>
31
#include <config.h>
32
#include <panic.h>
32
#include <panic.h>
33
 
33
 
-
 
34
/*
-
 
35
 * This is Ski-specific and certainly not sufficient
-
 
36
 * for real ia64 systems that provide memory map.
-
 
37
 */
-
 
38
#define ROM_BASE    0xa0000
-
 
39
#define ROM_SIZE    (384*1024)
-
 
40
 
34
void frame_arch_init(void)
41
void frame_arch_init(void)
35
{
42
{
-
 
43
    /*
-
 
44
     * Blacklist ROM regions.
-
 
45
     */
-
 
46
    frame_region_not_free(ROM_BASE, ROM_SIZE);
36
        zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE-1));
47
        zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE-1));
37
}
48
}