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