Subversion Repositories HelenOS

Rev

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

Rev 3616 Rev 3763
Line 38... Line 38...
38
#include <panic.h>
38
#include <panic.h>
39
#include <arch/bootinfo.h>
39
#include <arch/bootinfo.h>
40
#include <align.h>
40
#include <align.h>
41
#include <macros.h>
41
#include <macros.h>
42
 
42
 
43
/*
-
 
44
 * This is Ski-specific and certainly not sufficient
-
 
45
 * for real ia64 systems that provide memory map.
-
 
46
 */
-
 
47
#define MEMORY_SIZE (256 * 1024 * 1024)
-
 
48
#define MEMORY_BASE (0 * 64 * 1024 * 1024)
-
 
49
 
-
 
50
#define KERNEL_RESERVED_AREA_BASE (0x4400000)
43
#define KERNEL_RESERVED_AREA_BASE (0x4400000)
51
#define KERNEL_RESERVED_AREA_SIZE (16*1024*1024)
44
#define KERNEL_RESERVED_AREA_SIZE (16*1024*1024)
52
 
45
 
53
#define ONE_TO_ONE_MAPPING_SIZE (256*1048576) // Mapped at start
46
#define ONE_TO_ONE_MAPPING_SIZE (256*1048576) // Mapped at start
54
 
47
 
Line 81... Line 74...
81
                    zone_create(abase >> FRAME_WIDTH, (size) >> FRAME_WIDTH, max(MINCONF,((abase) >> FRAME_WIDTH)), 0);
74
                    zone_create(abase >> FRAME_WIDTH, (size) >> FRAME_WIDTH, max(MINCONF,((abase) >> FRAME_WIDTH)), 0);
82
                }  
75
                }  
83
            }
76
            }
84
        }
77
        }
85
       
78
       
86
        //zone_create(MEMORY_BASE >> FRAME_WIDTH, SIZE2FRAMES(MEMORY_SIZE), (MEMORY_SIZE) >> FRAME_WIDTH, 0);
-
 
87
   
-
 
88
        /*
79
        /*
89
        * Blacklist ROM regions.
80
        * Blacklist ROM regions.
90
        */
81
        */
91
        frame_mark_unavailable(ADDR2PFN(ROM_BASE), SIZE2FRAMES(ROM_SIZE));
82
        frame_mark_unavailable(ADDR2PFN(ROM_BASE), SIZE2FRAMES(ROM_SIZE));
92
 
83