Subversion Repositories HelenOS-historic

Rev

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

Rev 1683 Rev 1690
Line 368... Line 368...
368
    scanline = scan;
368
    scanline = scan;
369
   
369
   
370
    rows = y / FONT_SCANLINES;
370
    rows = y / FONT_SCANLINES;
371
    columns = x / COL_WIDTH;
371
    columns = x / COL_WIDTH;
372
 
372
 
-
 
373
    sysinfo_set_item_val("fb", NULL, true);
-
 
374
    sysinfo_set_item_val("fb.kind", NULL, 1);
-
 
375
    sysinfo_set_item_val("fb.width", NULL, xres);
-
 
376
    sysinfo_set_item_val("fb.height", NULL, yres);
-
 
377
    sysinfo_set_item_val("fb.bpp", NULL, bpp);
-
 
378
    sysinfo_set_item_val("fb.scanline", NULL, scan);
-
 
379
    sysinfo_set_item_val("fb.address.physical", NULL, addr);
-
 
380
 
373
    /* Allocate double buffer */
381
    /* Allocate double buffer */
374
    int totsize = scanline * yres;
382
    int totsize = scanline * yres;
375
    int pages = SIZE2FRAMES(totsize);
383
    int pages = SIZE2FRAMES(totsize);
376
    int order;
384
    int order;
377
    int rc;
385
    int rc;
Line 403... Line 411...
403
    invert_cursor();
411
    invert_cursor();
404
 
412
 
405
    chardev_initialize("fb", &framebuffer, &fb_ops);
413
    chardev_initialize("fb", &framebuffer, &fb_ops);
406
    stdout = &framebuffer;
414
    stdout = &framebuffer;
407
   
415
   
408
    sysinfo_set_item_val("fb", NULL, true);
-
 
409
    sysinfo_set_item_val("fb.kind", NULL, 1);
-
 
410
    sysinfo_set_item_val("fb.width", NULL, xres);
-
 
411
    sysinfo_set_item_val("fb.height", NULL, yres);
-
 
412
    sysinfo_set_item_val("fb.bpp", NULL, bpp);
-
 
413
    sysinfo_set_item_val("fb.scanline", NULL, scan);
-
 
414
    sysinfo_set_item_val("fb.address.physical", NULL, addr);
-
 
415
 
-
 
416
}
416
}