typedef void (*getvmode_t)(void *);
typedef uint32_t (*checksum_rect_t)(int x, int y, int width, int height);
+typedef void (*copy_pixels_t)(char *buf, int x, int y, int width, int height);
struct vmode {
int text:1;
struct fbdevice {
unsigned char *fbaddr;
+ unsigned char *textbase; /* A safe place to put a textfb. */
void *priv;
getvmode_t getvmode;
checksum_rect_t checksum_rect;
+ copy_pixels_t copy_pixels;
struct vmode curmode;
};