Changeset f8ddd17 in mainline for kernel/genarch/src/fb/fb.c
- Timestamp:
- 2006-12-09T20:20:50Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b82a13c
- Parents:
- 9ab9c2ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/fb/fb.c
r9ab9c2ec rf8ddd17 46 46 #include <bitops.h> 47 47 #include <print.h> 48 #include <ddi/ddi.h> 48 49 49 50 #include "helenos.xbm" 51 52 static parea_t fb_parea; /**< Physical memory area for fb. */ 50 53 51 54 SPINLOCK_INITIALIZE(fb_lock); … … 435 438 columns = x / COL_WIDTH; 436 439 440 fb_parea.pbase = (uintptr_t) addr; 441 fb_parea.vbase = (uintptr_t) fbaddress; 442 fb_parea.frames = SIZE2FRAMES(fbsize); 443 fb_parea.cacheable = false; 444 ddi_parea_register(&fb_parea); 445 437 446 sysinfo_set_item_val("fb", NULL, true); 438 447 sysinfo_set_item_val("fb.kind", NULL, 1); … … 442 451 sysinfo_set_item_val("fb.visual", NULL, visual); 443 452 sysinfo_set_item_val("fb.address.physical", NULL, addr); 453 sysinfo_set_item_val("fb.address.color", NULL, PAGE_COLOR((uintptr_t) 454 fbaddress)); 444 455 sysinfo_set_item_val("fb.invert-colors", NULL, invert_colors); 445 456
Note:
See TracChangeset
for help on using the changeset viewer.