Changeset a71c158 in mainline for kernel/genarch/include/fb/fb.h
- Timestamp:
- 2009-08-21T14:12:45Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0e6dce8, b50b5af2, e5792d1
- Parents:
- 90c8b8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/fb/fb.h
r90c8b8d ra71c158 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 bool 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.