Changeset 1787e527 in mainline for kernel/genarch/include/fb/fb.h
- Timestamp:
- 2009-11-16T21:22:54Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ebdf94
- Parents:
- fcbd1be (diff), 9c70ed6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/fb/fb.h
rfcbd1be r1787e527 37 37 38 38 #include <arch/types.h> 39 #include <synch/spinlock.h> 39 #include <console/chardev.h> 40 #include <genarch/fb/visuals.h> 40 41 41 42 /** … … 45 46 /** Physical address of the framebuffer device. */ 46 47 uintptr_t addr; 47 48 48 49 /** 49 50 * Address where the first (top left) pixel is mapped, … … 51 52 */ 52 53 unsigned int offset; 53 54 54 55 /** Screen width in pixels. */ 55 56 unsigned int x; 56 57 57 58 /** Screen height in pixels. */ 58 59 unsigned int y; 59 60 60 61 /** Bytes per one scanline. */ 61 62 unsigned int scan; 62 63 63 64 /** Color model. */ 64 unsigned int visual;65 visual_t visual; 65 66 } fb_properties_t; 66 67 67 SPINLOCK_EXTERN(fb_lock); 68 69 void fb_redraw(void); 70 void fb_init(fb_properties_t *props); 68 outdev_t *fb_init(fb_properties_t *props); 71 69 72 70 #endif
Note:
See TracChangeset
for help on using the changeset viewer.