X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/5e4258d92892b578b17edc16f432a81616964258..7364b7274fdc91716c7ab647f5eb743fd1960bd6:/include/fb.h?ds=inline diff --git a/include/fb.h b/include/fb.h index 9ade9e7..79f05b5 100644 --- a/include/fb.h +++ b/include/fb.h @@ -1,6 +1,8 @@ #ifndef __FB_H #define __FB_H +#include + struct fbdevice; struct vmode; @@ -9,6 +11,8 @@ typedef enum { } format_t; 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; @@ -18,8 +22,11 @@ struct vmode { 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; };