Changeset 965dc18 in mainline for kernel/genarch/include/fb/fb.h
- Timestamp:
- 2008-12-05T19:59:03Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 49093a4
- Parents:
- 0258e67
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/fb/fb.h
r0258e67 r965dc18 39 39 #include <synch/spinlock.h> 40 40 41 /** 42 * Properties of the framebuffer device. 43 */ 44 typedef struct fb_properties { 45 /** Physical address of the framebuffer device. */ 46 uintptr_t addr; 47 48 /** 49 * Address where the first (top left) pixel is mapped, 50 * relative to "addr". 51 */ 52 unsigned int offset; 53 54 /** Screen width in pixels. */ 55 unsigned int x; 56 57 /** Screen height in pixels. */ 58 unsigned int y; 59 60 /** Bytes per one scanline. */ 61 unsigned int scan; 62 63 /** Color model. */ 64 unsigned int visual; 65 } fb_properties_t; 66 41 67 SPINLOCK_EXTERN(fb_lock); 42 void fb_init( uintptr_t addr, unsigned int x, unsigned int y, unsigned int scan, unsigned int visual);68 void fb_init(fb_properties_t *props); 43 69 44 70 #endif
Note:
See TracChangeset
for help on using the changeset viewer.