Rev 1316 | Rev 1318 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1316 | Rev 1317 | ||
|---|---|---|---|
| Line 28... | Line 28... | ||
| 28 | 28 | ||
| 29 | #include <genarch/fb/font-8x16.h> |
29 | #include <genarch/fb/font-8x16.h> |
| 30 | #include <genarch/fb/fb.h> |
30 | #include <genarch/fb/fb.h> |
| 31 | #include <console/chardev.h> |
31 | #include <console/chardev.h> |
| 32 | #include <console/console.h> |
32 | #include <console/console.h> |
| - | 33 | #include <sysinfo/sysinfo.h> |
|
| 33 | #include <mm/slab.h> |
34 | #include <mm/slab.h> |
| 34 | #include <panic.h> |
35 | #include <panic.h> |
| 35 | #include <memstr.h> |
36 | #include <memstr.h> |
| 36 | #include <config.h> |
37 | #include <config.h> |
| 37 | 38 | ||
| Line 356... | Line 357... | ||
| 356 | draw_logo(xres - helenos_width, 0); |
357 | draw_logo(xres - helenos_width, 0); |
| 357 | invert_cursor(); |
358 | invert_cursor(); |
| 358 | 359 | ||
| 359 | chardev_initialize("fb", &framebuffer, &fb_ops); |
360 | chardev_initialize("fb", &framebuffer, &fb_ops); |
| 360 | stdout = &framebuffer; |
361 | stdout = &framebuffer; |
| - | 362 | ||
| - | 363 | sysinfo_set_item_val("Framebuffer",NULL,true); |
|
| - | 364 | sysinfo_set_item_val("Framebuffer.width",NULL,x); |
|
| - | 365 | sysinfo_set_item_val("Framebuffer.height",NULL,y); |
|
| - | 366 | sysinfo_set_item_val("Framebuffer.scanline",NULL,scan); |
|
| - | 367 | sysinfo_set_item_val("Framebuffer.bpp",NULL,bpp); |
|
| - | 368 | sysinfo_set_item_val("Framebuffer.address",NULL,addr); |
|
| - | 369 | ||
| - | 370 | ||
| - | 371 | ||
| 361 | } |
372 | } |