vt_fb.h revision 277795
1139804Simp/*-
21541Srgrimes * Copyright (c) 2013 The FreeBSD Foundation
31541Srgrimes * All rights reserved.
41541Srgrimes *
51541Srgrimes * This software was developed by Aleksandr Rybalko under sponsorship from the
61541Srgrimes * FreeBSD Foundation.
71541Srgrimes *
81541Srgrimes * Redistribution and use in source and binary forms, with or without
91541Srgrimes * modification, are permitted provided that the following conditions
101541Srgrimes * are met:
111541Srgrimes * 1. Redistributions of source code must retain the above copyright
121541Srgrimes *    notice, this list of conditions and the following disclaimer.
131541Srgrimes * 2. Redistributions in binary form must reproduce the above copyright
141541Srgrimes *    notice, this list of conditions and the following disclaimer in the
151541Srgrimes *    documentation and/or other materials provided with the distribution.
161541Srgrimes *
171541Srgrimes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
181541Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
191541Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
201541Srgrimes * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
211541Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
221541Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
231541Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
241541Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
251541Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
261541Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
271541Srgrimes * SUCH DAMAGE.
281541Srgrimes *
291541Srgrimes * $FreeBSD: head/sys/dev/vt/hw/fb/vt_fb.h 277795 2015-01-27 15:28:46Z avg $
301541Srgrimes */
311541Srgrimes
32116182Sobrien#ifndef _DEV_VT_HW_FB_VT_FB_H_
33116182Sobrien#define	_DEV_VT_HW_FB_VT_FB_H_
34116182Sobrien/* Generic framebuffer interface call vt_fb_attach to init VT(9) */
3577598Sjesperint vt_fb_attach(struct fb_info *info);
36101013Srwatsonvoid vt_fb_resume(struct vt_device *vd);
371541Srgrimesvoid vt_fb_suspend(struct vt_device *vd);
3895759Stanimura
3912041Swollmanvd_init_t		vt_fb_init;
4076166Smarkmvd_blank_t		vt_fb_blank;
411541Srgrimesvd_bitblt_text_t	vt_fb_bitblt_text;
4295759Stanimuravd_bitblt_bmp_t		vt_fb_bitblt_bitmap;
4376166Smarkmvd_drawrect_t		vt_fb_drawrect;
441541Srgrimesvd_setpixel_t		vt_fb_setpixel;
4551381Sgreenvd_postswitch_t		vt_fb_postswitch;
4695759Stanimuravd_fb_ioctl_t		vt_fb_ioctl;
471541Srgrimesvd_fb_mmap_t		vt_fb_mmap;
481541Srgrimes
4912041Swollman#endif /* _DEV_VT_HW_FB_VT_FB_H_ */
501541Srgrimes