Changes in kernel/genarch/include/fb/fb.h [a71c158:95b9963] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/fb/fb.h
ra71c158 r95b9963 37 37 38 38 #include <arch/types.h> 39 #include <console/chardev.h> 40 #include <genarch/fb/visuals.h> 39 #include <synch/spinlock.h> 41 40 42 41 /** … … 46 45 /** Physical address of the framebuffer device. */ 47 46 uintptr_t addr; 48 47 49 48 /** 50 49 * Address where the first (top left) pixel is mapped, … … 52 51 */ 53 52 unsigned int offset; 54 53 55 54 /** Screen width in pixels. */ 56 55 unsigned int x; 57 56 58 57 /** Screen height in pixels. */ 59 58 unsigned int y; 60 59 61 60 /** Bytes per one scanline. */ 62 61 unsigned int scan; 63 62 64 63 /** Color model. */ 65 visual_t visual;64 unsigned int visual; 66 65 } fb_properties_t; 67 66 68 outdev_t *fb_init(fb_properties_t *props); 67 SPINLOCK_EXTERN(fb_lock); 68 69 void fb_redraw(void); 70 void fb_init(fb_properties_t *props); 69 71 70 72 #endif
Note:
See TracChangeset
for help on using the changeset viewer.