Subversion Repositories HelenOS-historic

Rev

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

Rev 816 Rev 823
Line 41... Line 41...
41
void frame_arch_init(void)
41
void frame_arch_init(void)
42
{
42
{
43
    zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0);
43
    zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0);
44
   
44
   
45
    /*
45
    /*
46
         * Workaround to prevent slab allocator from allocating frame 0.
46
     * Workaround to prevent slab allocator from allocating frame 0.
47
         * Remove the following statement when the kernel is no longer
47
     * Remove the following statement when the kernel is no longer
48
     * identity mapped.
48
     * identity mapped.
49
         */
49
     */
50
    frame_mark_unavailable(0, 1);
50
    frame_mark_unavailable(0, 1);
51
 
51
 
52
    /*
52
    /*
53
     * Blacklist ROM regions.
53
     * Blacklist ROM regions.
54
     */
54
     */