Subversion Repositories HelenOS

Rev

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

Rev 1994 Rev 2012
Line 1282... Line 1282...
1282
    fb_invert_colors = sysinfo_value("fb.invert-colors");
1282
    fb_invert_colors = sysinfo_value("fb.invert-colors");
1283
 
1283
 
1284
    asz = fb_scanline * fb_height;
1284
    asz = fb_scanline * fb_height;
1285
    fb_addr = as_get_mappable_page(asz);
1285
    fb_addr = as_get_mappable_page(asz);
1286
   
1286
   
1287
    map_physmem(fb_ph_addr, fb_addr, ALIGN_UP(asz, PAGE_SIZE) >> PAGE_WIDTH,
1287
    physmem_map(fb_ph_addr, fb_addr, ALIGN_UP(asz, PAGE_SIZE) >> PAGE_WIDTH,
1288
            AS_AREA_READ | AS_AREA_WRITE);
1288
            AS_AREA_READ | AS_AREA_WRITE);
1289
 
1289
 
1290
    if (screen_init(fb_addr, fb_width, fb_height, fb_scanline, fb_visual, fb_invert_colors))
1290
    if (screen_init(fb_addr, fb_width, fb_height, fb_scanline, fb_visual, fb_invert_colors))
1291
        return 0;
1291
        return 0;
1292
   
1292