1256904Sray/*-
2256904Sray * Copyright (c) 2013 The FreeBSD Foundation
3256904Sray * All rights reserved.
4256904Sray *
5256904Sray * This software was developed by Aleksandr Rybalko under sponsorship from the
6256904Sray * FreeBSD Foundation.
7256904Sray *
8256904Sray * Redistribution and use in source and binary forms, with or without
9256904Sray * modification, are permitted provided that the following conditions
10256904Sray * are met:
11256904Sray * 1. Redistributions of source code must retain the above copyright
12256904Sray *    notice, this list of conditions and the following disclaimer.
13256904Sray * 2. Redistributions in binary form must reproduce the above copyright
14256904Sray *    notice, this list of conditions and the following disclaimer in the
15256904Sray *    documentation and/or other materials provided with the distribution.
16256904Sray *
17256904Sray * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18256904Sray * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19256904Sray * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20256904Sray * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21256904Sray * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22256904Sray * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23256904Sray * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24256904Sray * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25256904Sray * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26256904Sray * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27256904Sray * SUCH DAMAGE.
28256904Sray *
29256904Sray * $FreeBSD: releng/10.2/sys/dev/vt/hw/fb/vt_fb.h 282749 2015-05-11 08:00:16Z avg $
30256904Sray */
31256904Sray
32256904Sray#ifndef _DEV_VT_HW_FB_VT_FB_H_
33256904Sray#define	_DEV_VT_HW_FB_VT_FB_H_
34256904Sray/* Generic framebuffer interface call vt_fb_attach to init VT(9) */
35256904Srayint vt_fb_attach(struct fb_info *info);
36282749Savgvoid vt_fb_resume(struct vt_device *vd);
37282749Savgvoid vt_fb_suspend(struct vt_device *vd);
38256904Sray
39271128Semastevd_init_t		vt_fb_init;
40271128Semastevd_blank_t		vt_fb_blank;
41271128Semastevd_bitblt_text_t	vt_fb_bitblt_text;
42271128Semastevd_bitblt_bmp_t		vt_fb_bitblt_bitmap;
43271769Sdumbbellvd_drawrect_t		vt_fb_drawrect;
44271769Sdumbbellvd_setpixel_t		vt_fb_setpixel;
45271128Semastevd_postswitch_t		vt_fb_postswitch;
46271128Semastevd_fb_ioctl_t		vt_fb_ioctl;
47271128Semastevd_fb_mmap_t		vt_fb_mmap;
48257725Sray
49256904Sray#endif /* _DEV_VT_HW_FB_VT_FB_H_ */
50