Subversion Repositories HelenOS

Rev

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

Rev 1888 Rev 1954
Line 1244... Line 1244...
1244
    fb_invert_colors = sysinfo_value("fb.invert-colors");
1244
    fb_invert_colors = sysinfo_value("fb.invert-colors");
1245
 
1245
 
1246
    asz = fb_scanline*fb_height;
1246
    asz = fb_scanline*fb_height;
1247
    fb_addr = as_get_mappable_page(asz);
1247
    fb_addr = as_get_mappable_page(asz);
1248
   
1248
   
1249
    map_physmem(fb_ph_addr, fb_addr, ALIGN_UP(asz,PAGE_SIZE) >>PAGE_WIDTH,
1249
    map_physmem(fb_ph_addr, fb_addr, ALIGN_UP(asz, PAGE_SIZE) >> PAGE_WIDTH,
1250
            AS_AREA_READ | AS_AREA_WRITE);
1250
            AS_AREA_READ | AS_AREA_WRITE);
1251
 
1251
 
1252
    screen_init(fb_addr, fb_width, fb_height, fb_bpp, fb_scanline, fb_bpp_align, fb_invert_colors);
1252
    screen_init(fb_addr, fb_width, fb_height, fb_bpp, fb_scanline, fb_bpp_align, fb_invert_colors);
1253
    return 0;
1253
    return 0;
1254
}
1254
}