X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/cdde55f54a0880bde5694fcdea8e386ada0cd5ce..2745bcf912e2230ef948b3e0d636bbd16e3fefb6:/include/fb.h?ds=inline diff --git a/include/fb.h b/include/fb.h index dd86894..62524d1 100644 --- a/include/fb.h +++ b/include/fb.h @@ -1,3 +1,13 @@ +/* fb.h + * Framebuffer definitions + * NetWatch system management mode administration console + * + * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved. + * This program is free software; you can redistribute and/or modify it under + * the terms found in the file LICENSE in the root of this source tree. + * + */ + #ifndef __FB_H #define __FB_H @@ -12,6 +22,7 @@ typedef enum { 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; @@ -25,6 +36,7 @@ struct fbdevice { void *priv; getvmode_t getvmode; checksum_rect_t checksum_rect; + copy_pixels_t copy_pixels; struct vmode curmode; };