Deleted Added
full compact
fbio.h (302408) fbio.h (307589)
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software developed by the Computer Systems
6 * Engineering group at Lawrence Berkeley Laboratory under DARPA
7 * contract BG 91-66 and contributed to Berkeley.
8 *

--- 18 unchanged lines hidden (view full) ---

27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)fbio.h 8.2 (Berkeley) 10/30/93
34 *
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software developed by the Computer Systems
6 * Engineering group at Lawrence Berkeley Laboratory under DARPA
7 * contract BG 91-66 and contributed to Berkeley.
8 *

--- 18 unchanged lines hidden (view full) ---

27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)fbio.h 8.2 (Berkeley) 10/30/93
34 *
35 * $FreeBSD: stable/11/sys/sys/fbio.h 279488 2015-03-01 12:54:22Z dumbbell $
35 * $FreeBSD: stable/11/sys/sys/fbio.h 307589 2016-10-19 01:35:21Z gonzo $
36 */
37
38#ifndef _SYS_FBIO_H_
39#define _SYS_FBIO_H_
40
41#ifndef _KERNEL
42#include <sys/types.h>
43#else

--- 93 unchanged lines hidden (view full) ---

137
138 intptr_t fb_pbase; /* For FB mmap. */
139 intptr_t fb_vbase; /* if NULL, use fb_write/fb_read. */
140 void *fb_priv; /* First argument for read/write. */
141 const char *fb_name;
142 uint32_t fb_flags;
143#define FB_FLAG_NOMMAP 1 /* mmap unsupported. */
144#define FB_FLAG_NOWRITE 2 /* disable writes for the time being */
36 */
37
38#ifndef _SYS_FBIO_H_
39#define _SYS_FBIO_H_
40
41#ifndef _KERNEL
42#include <sys/types.h>
43#else

--- 93 unchanged lines hidden (view full) ---

137
138 intptr_t fb_pbase; /* For FB mmap. */
139 intptr_t fb_vbase; /* if NULL, use fb_write/fb_read. */
140 void *fb_priv; /* First argument for read/write. */
141 const char *fb_name;
142 uint32_t fb_flags;
143#define FB_FLAG_NOMMAP 1 /* mmap unsupported. */
144#define FB_FLAG_NOWRITE 2 /* disable writes for the time being */
145#define FB_FLAG_MEMATTR 4 /* override memattr for mmap */
146 vm_memattr_t fb_memattr;
145 int fb_stride;
146 int fb_bpp; /* bits per pixel */
147 uint32_t fb_cmap[16];
148};
149
150int fbd_list(void);
151int fbd_register(struct fb_info *);
152int fbd_unregister(struct fb_info *);

--- 472 unchanged lines hidden ---
147 int fb_stride;
148 int fb_bpp; /* bits per pixel */
149 uint32_t fb_cmap[16];
150};
151
152int fbd_list(void);
153int fbd_register(struct fb_info *);
154int fbd_unregister(struct fb_info *);

--- 472 unchanged lines hidden ---