vesa.h (197025) | vesa.h (198419) |
---|---|
1/*- 2 * Copyright (c) 1998 Michael Smith and Kazutaka YOKOTA 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 --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1998 Michael Smith and Kazutaka YOKOTA 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 --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/fb/vesa.h 197025 2009-09-09 09:50:31Z delphij $ | 26 * $FreeBSD: head/sys/dev/fb/vesa.h 198419 2009-10-23 18:41:00Z jkim $ |
27 */ 28 29#ifndef _DEV_FB_VESA_H_ 30#define _DEV_FB_VESA_H_ 31 32struct vesa_info 33{ 34 /* mandatory fields */ --- 68 unchanged lines hidden (view full) --- 103 u_int8_t v_bluefieldpos; 104 u_int8_t v_resmasksize; 105 u_int8_t v_resfieldpos; 106 u_int8_t v_dircolormode; 107 /* 2.0 implementations */ 108 u_int32_t v_lfb; 109 u_int32_t v_offscreen; 110 u_int16_t v_offscreensize; | 27 */ 28 29#ifndef _DEV_FB_VESA_H_ 30#define _DEV_FB_VESA_H_ 31 32struct vesa_info 33{ 34 /* mandatory fields */ --- 68 unchanged lines hidden (view full) --- 103 u_int8_t v_bluefieldpos; 104 u_int8_t v_resmasksize; 105 u_int8_t v_resfieldpos; 106 u_int8_t v_dircolormode; 107 /* 2.0 implementations */ 108 u_int32_t v_lfb; 109 u_int32_t v_offscreen; 110 u_int16_t v_offscreensize; |
111}; | 111 /* 3.0 implementations */ 112 u_int16_t v_linbpscanline; 113 u_int8_t v_bankipages; 114 u_int8_t v_linipages; 115 u_int8_t v_linredmasksize; 116 u_int8_t v_linredfieldpos; 117 u_int8_t v_lingreenmasksize; 118 u_int8_t v_lingreenfieldpos; 119 u_int8_t v_linbluemasksize; 120 u_int8_t v_linbluefieldpos; 121 u_int8_t v_linresmasksize; 122 u_int8_t v_linresfieldpos; 123 u_int32_t v_maxpixelclock; 124 u_int8_t v_reserved1[190]; 125} __packed; |
112 113#ifdef _KERNEL 114 115#define VESA_MODE(x) ((x) >= M_VESA_BASE) 116 117int vesa_load_ioctl(void); 118int vesa_unload_ioctl(void); 119 120#endif 121 122#endif /* !_DEV_FB_VESA_H_ */ | 126 127#ifdef _KERNEL 128 129#define VESA_MODE(x) ((x) >= M_VESA_BASE) 130 131int vesa_load_ioctl(void); 132int vesa_unload_ioctl(void); 133 134#endif 135 136#endif /* !_DEV_FB_VESA_H_ */ |