Changeset ae318d3 in mainline for kernel/genarch/src/fb/fb.c
- Timestamp:
- 2009-02-16T18:50:48Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 06da55b
- Parents:
- 17f168e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/fb/fb.c
r17f168e rae318d3 52 52 53 53 SPINLOCK_INITIALIZE(fb_lock); 54 55 /**< Physical memory area for fb. */56 static parea_t fb_parea;57 54 58 55 static uint8_t *fb_addr; … … 520 517 fb_addr = (uint8_t *) hw_map((uintptr_t) props->addr, fbsize); 521 518 522 fb_parea.pbase = (uintptr_t) props->addr + props->offset;523 fb_parea.vbase = (uintptr_t) fb_addr;524 fb_parea.frames = SIZE2FRAMES(fbsize);525 fb_parea.cacheable = false;526 ddi_parea_register(&fb_parea);527 528 519 sysinfo_set_item_val("fb", NULL, true); 529 520 sysinfo_set_item_val("fb.kind", NULL, 1);
Note:
See TracChangeset
for help on using the changeset viewer.