ofwfb.c (270720) | ofwfb.c (271463) |
---|---|
1/*- 2 * Copyright (c) 2011 Nathan Whitehorn 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2011 Nathan Whitehorn 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/dev/vt/hw/ofwfb/ofwfb.c 270720 2014-08-27 15:10:28Z dumbbell $"); | 28__FBSDID("$FreeBSD: head/sys/dev/vt/hw/ofwfb/ofwfb.c 271463 2014-09-12 14:07:20Z ray $"); |
29 30#include <sys/param.h> 31#include <sys/kernel.h> 32#include <sys/systm.h> 33#include <sys/fbio.h> 34 35#include <dev/vt/vt.h> 36#include <dev/vt/hw/fb/vt_fb.h> --- 11 unchanged lines hidden (view full) --- 48#include <dev/ofw/ofw_bus.h> 49#include <dev/ofw/ofw_pci.h> 50 51struct ofwfb_softc { 52 struct fb_info fb; 53 54 phandle_t sc_node; 55 ihandle_t sc_handle; | 29 30#include <sys/param.h> 31#include <sys/kernel.h> 32#include <sys/systm.h> 33#include <sys/fbio.h> 34 35#include <dev/vt/vt.h> 36#include <dev/vt/hw/fb/vt_fb.h> --- 11 unchanged lines hidden (view full) --- 48#include <dev/ofw/ofw_bus.h> 49#include <dev/ofw/ofw_pci.h> 50 51struct ofwfb_softc { 52 struct fb_info fb; 53 54 phandle_t sc_node; 55 ihandle_t sc_handle; |
56 bus_space_tag_t sc_memt; | 56 bus_space_tag_t sc_memt; |
57}; 58 59static vd_probe_t ofwfb_probe; 60static vd_init_t ofwfb_init; 61static vd_bitblt_text_t ofwfb_bitblt_text; 62static vd_bitblt_bmp_t ofwfb_bitblt_bitmap; 63 64static const struct vt_driver vt_ofwfb_driver = { --- 399 unchanged lines hidden --- | 57}; 58 59static vd_probe_t ofwfb_probe; 60static vd_init_t ofwfb_init; 61static vd_bitblt_text_t ofwfb_bitblt_text; 62static vd_bitblt_bmp_t ofwfb_bitblt_bitmap; 63 64static const struct vt_driver vt_ofwfb_driver = { --- 399 unchanged lines hidden --- |