]> Joshua Wise's Git repositories - netwatch.git/commitdiff
Add fb header
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Tue, 25 Nov 2008 08:27:04 +0000 (03:27 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Tue, 25 Nov 2008 08:27:04 +0000 (03:27 -0500)
include/fb.h [new file with mode: 0644]

diff --git a/include/fb.h b/include/fb.h
new file mode 100644 (file)
index 0000000..9ade9e7
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef __FB_H
+#define __FB_H
+
+struct fbdevice;
+struct vmode;
+
+typedef enum {
+       FB_RGB888
+} format_t;
+
+typedef void (*getvmode_t)(void *);
+
+struct vmode {
+       int text:1;
+       int xres, yres, bytestride;
+       format_t format;
+};
+
+struct fbdevice {
+       unsigned char *fbaddr;
+       void *priv;
+       getvmode_t getvmode;
+       struct vmode curmode;
+};
+
+extern struct fbdevice *fb;
+
+#endif
This page took 0.022075 seconds and 4 git commands to generate.