summaryrefslogtreecommitdiffstats
path: root/sys/dev/vt/hw/fb/vt_fb.c
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2014-09-16 18:02:24 +0000
committerdumbbell <dumbbell@FreeBSD.org>2014-09-16 18:02:24 +0000
commit6336cc05d0277622c8b12e7682f9ae96cfdcf7a4 (patch)
treecdfa677d34c2d6bd85a2ea0aaea5a8c451d7053f /sys/dev/vt/hw/fb/vt_fb.c
parenta491c5b76d8c94a8f279129710a064a78fd4fbb7 (diff)
downloadFreeBSD-src-6336cc05d0277622c8b12e7682f9ae96cfdcf7a4.zip
FreeBSD-src-6336cc05d0277622c8b12e7682f9ae96cfdcf7a4.tar.gz
vt(4): Use vt_fb_drawrect() and vt_fb_setpixel() in all vt_fb-derivative
Review: https://reviews.freebsd.org/D789 Reviewed by: nwhitehorn Approved by: nwhitehorn MFC after: 2 days
Diffstat (limited to 'sys/dev/vt/hw/fb/vt_fb.c')
-rw-r--r--sys/dev/vt/hw/fb/vt_fb.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/vt/hw/fb/vt_fb.c b/sys/dev/vt/hw/fb/vt_fb.c
index ddec76d..422bb03 100644
--- a/sys/dev/vt/hw/fb/vt_fb.c
+++ b/sys/dev/vt/hw/fb/vt_fb.c
@@ -41,9 +41,6 @@ __FBSDID("$FreeBSD$");
#include <dev/vt/hw/fb/vt_fb.h>
#include <dev/vt/colors/vt_termcolors.h>
-static vd_drawrect_t vt_fb_drawrect;
-static vd_setpixel_t vt_fb_setpixel;
-
static struct vt_driver vt_fb_driver = {
.vd_name = "fb",
.vd_init = vt_fb_init,
@@ -146,7 +143,7 @@ vt_fb_mmap(struct vt_device *vd, vm_ooffset_t offset, vm_paddr_t *paddr,
return (EINVAL);
}
-static void
+void
vt_fb_setpixel(struct vt_device *vd, int x, int y, term_color_t color)
{
struct fb_info *info;
@@ -181,7 +178,7 @@ vt_fb_setpixel(struct vt_device *vd, int x, int y, term_color_t color)
}
-static void
+void
vt_fb_drawrect(struct vt_device *vd, int x1, int y1, int x2, int y2, int fill,
term_color_t color)
{
OpenPOWER on IntegriCloud