Subversion Repositories HelenOS

Rev

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

Rev 2102 Rev 2141
Line 509... Line 509...
509
    sysinfo_set_item_val("fb.width", NULL, xres);
509
    sysinfo_set_item_val("fb.width", NULL, xres);
510
    sysinfo_set_item_val("fb.height", NULL, yres);
510
    sysinfo_set_item_val("fb.height", NULL, yres);
511
    sysinfo_set_item_val("fb.scanline", NULL, scan);
511
    sysinfo_set_item_val("fb.scanline", NULL, scan);
512
    sysinfo_set_item_val("fb.visual", NULL, visual);
512
    sysinfo_set_item_val("fb.visual", NULL, visual);
513
    sysinfo_set_item_val("fb.address.physical", NULL, addr);
513
    sysinfo_set_item_val("fb.address.physical", NULL, addr);
514
    sysinfo_set_item_val("fb.address.color", NULL,
-
 
515
        PAGE_COLOR((uintptr_t) fbaddress));
-
 
516
    sysinfo_set_item_val("fb.invert-colors", NULL, invert_colors);
514
    sysinfo_set_item_val("fb.invert-colors", NULL, invert_colors);
517
 
515
 
518
    /* Allocate double buffer */
516
    /* Allocate double buffer */
519
    unsigned int order = fnzb(SIZE2FRAMES(fbsize) - 1) + 1;
517
    unsigned int order = fnzb(SIZE2FRAMES(fbsize) - 1) + 1;
520
    dbbuffer = (uint8_t *) frame_alloc(order, FRAME_ATOMIC | FRAME_KA);
518
    dbbuffer = (uint8_t *) frame_alloc(order, FRAME_ATOMIC | FRAME_KA);