]> Joshua Wise's Git repositories - netwatch.git/blame - include/fb.h
add checksumrect utilities
[netwatch.git] / include / fb.h
CommitLineData
5e4258d9
JW
1#ifndef __FB_H
2#define __FB_H
3
0a9d0188
JP
4#include <stdint.h>
5
5e4258d9
JW
6struct fbdevice;
7struct vmode;
8
9typedef enum {
10 FB_RGB888
11} format_t;
12
13typedef void (*getvmode_t)(void *);
0a9d0188 14typedef uint32_t (*checksum_rect_t)(int x, int y, int width, int height);
5e4258d9
JW
15
16struct vmode {
17 int text:1;
18 int xres, yres, bytestride;
19 format_t format;
20};
21
22struct fbdevice {
23 unsigned char *fbaddr;
24 void *priv;
25 getvmode_t getvmode;
0a9d0188 26 checksum_rect_t checksum_rect;
5e4258d9
JW
27 struct vmode curmode;
28};
29
30extern struct fbdevice *fb;
31
32#endif
This page took 0.026044 seconds and 4 git commands to generate.