2 * Framebuffer definitions
3 * NetWatch system management mode administration console
5 * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved.
6 * This program is free software; you can redistribute and/or modify it under
7 * the terms found in the file LICENSE in the root of this source tree.
23 typedef void (*getvmode_t)(void *);
24 typedef uint32_t (*checksum_rect_t)(int x, int y, int width, int height);
25 typedef void (*copy_pixels_t)(char *buf, int x, int y, int width, int height);
29 int xres, yres, bytestride;
34 unsigned char *fbaddr;
35 unsigned char *textbase; /* A safe place to put a textfb. */
38 checksum_rect_t checksum_rect;
39 copy_pixels_t copy_pixels;
43 extern struct fbdevice *fb;