]> Joshua Wise's Git repositories - netwatch.git/blob - include/fb.h
instrument time spent in network
[netwatch.git] / include / fb.h
1 #ifndef __FB_H
2 #define __FB_H
3
4 struct fbdevice;
5 struct vmode;
6
7 typedef enum {
8         FB_RGB888
9 } format_t;
10
11 typedef void (*getvmode_t)(void *);
12
13 struct vmode {
14         int text:1;
15         int xres, yres, bytestride;
16         format_t format;
17 };
18
19 struct fbdevice {
20         unsigned char *fbaddr;
21         void *priv;
22         getvmode_t getvmode;
23         struct vmode curmode;
24 };
25
26 extern struct fbdevice *fb;
27
28 #endif
This page took 0.029844 seconds and 4 git commands to generate.