1 /* framebuffer device */
2 #define FBDEV_PATH "/dev/fb0"
4 /* fb_mode() interpretation */
5 #define FBM_BPP(m) (((m) >> 16) & 0x0f)
6 #define FBM_COLORS(m) ((m) & 0x0fff)
11 unsigned fb_mode(void);
17 /* helper functions */
18 void fb_set(int r
, int c
, void *mem
, int len
);
19 unsigned fb_val(int r
, int g
, int b
);