vt_fb.h revision 257815
1299244Sjilles/*-
2299244Sjilles * Copyright (c) 2013 The FreeBSD Foundation
3299244Sjilles * All rights reserved.
4299244Sjilles *
5299244Sjilles * This software was developed by Aleksandr Rybalko under sponsorship from the
6299244Sjilles * FreeBSD Foundation.
7299244Sjilles *
8299244Sjilles * Redistribution and use in source and binary forms, with or without
9299244Sjilles * modification, are permitted provided that the following conditions
10299244Sjilles * are met:
11299244Sjilles * 1. Redistributions of source code must retain the above copyright
12299244Sjilles *    notice, this list of conditions and the following disclaimer.
13299244Sjilles * 2. Redistributions in binary form must reproduce the above copyright
14299244Sjilles *    notice, this list of conditions and the following disclaimer in the
15299244Sjilles *    documentation and/or other materials provided with the distribution.
16299244Sjilles *
17299244Sjilles * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18299244Sjilles * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19299244Sjilles * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20299244Sjilles * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21299244Sjilles * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22299244Sjilles * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23299244Sjilles * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24299244Sjilles * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25299244Sjilles * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26299244Sjilles * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27299244Sjilles * SUCH DAMAGE.
28299244Sjilles *
29299244Sjilles * $FreeBSD: user/ed/newcons/sys/dev/vt/hw/fb/vt_fb.h 257815 2013-11-07 21:08:52Z ray $
30299244Sjilles */
31299244Sjilles
32299244Sjilles#ifndef _DEV_VT_HW_FB_VT_FB_H_
33299244Sjilles#define	_DEV_VT_HW_FB_VT_FB_H_
34299244Sjilles/* Generic framebuffer interface call vt_fb_attach to init VT(9) */
35299244Sjillesint vt_fb_attach(struct fb_info *info);
36299244Sjillesvoid vt_fb_resume(void);
37299244Sjillesvoid vt_fb_suspend(void);
38299244Sjilles
39299244Sjillesint fb_probe(struct fb_info *info);
40299244Sjilles
41299244Sjillesvd_init_t	vt_fb_init;
42299244Sjillesvd_blank_t	vt_fb_blank;
43299244Sjillesvd_bitbltchr_t	vt_fb_bitbltchr;
44299244Sjillesvd_postswitch_t	vt_fb_postswitch;
45299244Sjilles
46299244Sjilles
47299244Sjilles#endif /* _DEV_VT_HW_FB_VT_FB_H_ */
48299244Sjilles