138774Snsouch/*- 238774Snsouch * Copyright (c) 2013 The FreeBSD Foundation 338774Snsouch * All rights reserved. 438774Snsouch * 538774Snsouch * This software was developed by Aleksandr Rybalko under sponsorship from the 638774Snsouch * FreeBSD Foundation. 738774Snsouch * 838774Snsouch * Redistribution and use in source and binary forms, with or without 938774Snsouch * modification, are permitted provided that the following conditions 1038774Snsouch * are met: 1138774Snsouch * 1. Redistributions of source code must retain the above copyright 1238774Snsouch * notice, this list of conditions and the following disclaimer. 1338774Snsouch * 2. Redistributions in binary form must reproduce the above copyright 1438774Snsouch * notice, this list of conditions and the following disclaimer in the 1538774Snsouch * documentation and/or other materials provided with the distribution. 1638774Snsouch * 1738774Snsouch * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1838774Snsouch * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1938774Snsouch * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2038774Snsouch * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2138774Snsouch * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2238774Snsouch * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2338774Snsouch * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2438774Snsouch * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2538774Snsouch * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2650477Speter * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2738774Snsouch * SUCH DAMAGE. 2838774Snsouch * 2959093Sdfr * $FreeBSD: releng/11.0/sys/dev/vt/hw/fb/vt_fb.h 279488 2015-03-01 12:54:22Z dumbbell $ 3059093Sdfr */ 3141012Snsouch 3238774Snsouch#ifndef _DEV_VT_HW_FB_VT_FB_H_ 3338774Snsouch#define _DEV_VT_HW_FB_VT_FB_H_ 3440782Snsouch/* Generic framebuffer interface call vt_fb_attach to init VT(9) */ 3538774Snsouchint vt_fb_attach(struct fb_info *info); 3638774Snsouchvoid vt_fb_resume(struct vt_device *vd); 3738774Snsouchvoid vt_fb_suspend(struct vt_device *vd); 3838774Snsouchint vt_fb_detach(struct fb_info *info); 3938774Snsouch 4038774Snsouchvd_init_t vt_fb_init; 4138774Snsouchvd_fini_t vt_fb_fini; 4238774Snsouchvd_blank_t vt_fb_blank; 4340782Snsouchvd_bitblt_text_t vt_fb_bitblt_text; 4440782Snsouchvd_bitblt_bmp_t vt_fb_bitblt_bitmap; 4540782Snsouchvd_drawrect_t vt_fb_drawrect; 4640782Snsouchvd_setpixel_t vt_fb_setpixel; 4740782Snsouchvd_postswitch_t vt_fb_postswitch; 4840782Snsouchvd_fb_ioctl_t vt_fb_ioctl; 4940782Snsouchvd_fb_mmap_t vt_fb_mmap; 5040782Snsouch 5140782Snsouch#endif /* _DEV_VT_HW_FB_VT_FB_H_ */ 5238774Snsouch