Subversion Repositories HelenOS

Rev

Rev 4343 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4343 Rev 4344
Line 39... Line 39...
39
#include <config.h>
39
#include <config.h>
40
#include <align.h>
40
#include <align.h>
41
#include <macros.h>
41
#include <macros.h>
42
 
42
 
43
uintptr_t last_frame = NULL;
43
uintptr_t last_frame = NULL;
44
uintptr_t end_frame = NULL;
-
 
45
 
44
 
46
/** Create memory zones according to information stored in bootinfo.
45
/** Create memory zones according to information stored in bootinfo.
47
 *
46
 *
48
 * Walk the bootinfo memory map and create frame zones according to it.
47
 * Walk the bootinfo memory map and create frame zones according to it.
49
 */
48
 */
Line 78... Line 77...
78
         * must mark the physically first frame not free explicitly
77
         * must mark the physically first frame not free explicitly
79
         * here, no matter what is its address.
78
         * here, no matter what is its address.
80
         */
79
         */
81
        frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1);
80
        frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1);
82
    }
81
    }
83
   
-
 
84
    end_frame = last_frame;
-
 
85
}
82
}
86
 
83
 
87
/** @}
84
/** @}
88
 */
85
 */