Subversion Repositories HelenOS

Rev

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

Rev 2725 Rev 2726
Line 39... Line 39...
39
 
39
 
40
/*
40
/*
41
 * This is Ski-specific and certainly not sufficient
41
 * This is Ski-specific and certainly not sufficient
42
 * for real ia64 systems that provide memory map.
42
 * for real ia64 systems that provide memory map.
43
 */
43
 */
44
#define MEMORY_SIZE (512 * 1024 * 1024)
44
#define MEMORY_SIZE (64 * 1024 * 1024)
45
#define ROM_BASE    0xa0000
-
 
46
#define ROM_SIZE    (384 * 1024)
45
#define MEMORY_BASE (64 * 1024 * 1024)
47
 
46
 
-
 
47
#define ROM_BASE    0xa0000               //For ski
-
 
48
#define ROM_SIZE    (384 * 1024)          //For ski
-
 
49
void poke_char(int x,int y,char ch, char c);
48
void frame_arch_init(void)
50
void frame_arch_init(void)
49
{
51
{
50
    zone_create(0, SIZE2FRAMES(MEMORY_SIZE), 1, 0);
52
    zone_create(MEMORY_BASE >> FRAME_WIDTH, SIZE2FRAMES(MEMORY_SIZE), (MEMORY_SIZE) >> FRAME_WIDTH, 0);
51
   
53
   
52
    /*
54
    /*
53
     * Blacklist ROM regions.
55
     * Blacklist ROM regions.
54
     */
56
     */
55
    frame_mark_unavailable(ADDR2PFN(ROM_BASE), SIZE2FRAMES(ROM_SIZE));
57
    frame_mark_unavailable(ADDR2PFN(ROM_BASE), SIZE2FRAMES(ROM_SIZE));
-
 
58
   
56
}
59
}
57
 
60
 
58
/** @}
61
/** @}
59
 */
62
 */