summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/pc
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>1999-02-05 11:52:13 +0000
committeryokota <yokota@FreeBSD.org>1999-02-05 11:52:13 +0000
commit6b5cb42c67aa5bea7e114c03e3ff298be4e22f17 (patch)
tree1e785ce94ccae6beb173c534b6e18429ad0ad8bb /sys/i386/include/pc
parent2a4a03a1d96aca0a0fdcff0d1bbd8c69f95d8937 (diff)
downloadFreeBSD-src-6b5cb42c67aa5bea7e114c03e3ff298be4e22f17.zip
FreeBSD-src-6b5cb42c67aa5bea7e114c03e3ff298be4e22f17.tar.gz
- Don't assume the line length in the video memory is always the same as
the screen width. - Store the current video mode information in the `video_adapter' struct. - The size of the `v_offscreensize' field in the VESA mode information block is u_int16, not u_int8.
Diffstat (limited to 'sys/i386/include/pc')
-rw-r--r--sys/i386/include/pc/vesa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/pc/vesa.h b/sys/i386/include/pc/vesa.h
index 16b0709..f5ce264 100644
--- a/sys/i386/include/pc/vesa.h
+++ b/sys/i386/include/pc/vesa.h
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: vesa.h,v 1.3 1999/01/08 12:57:06 yokota Exp $
+ * $Id: vesa.h,v 1.4 1999/01/11 03:18:20 yokota Exp $
*/
#ifndef _MACHINE_PC_VESA_H
@@ -105,7 +105,7 @@ struct vesa_mode
/* 2.0 implementations */
u_int32_t v_lfb;
u_int32_t v_offscreen;
- u_int8_t v_offscreensize;
+ u_int16_t v_offscreensize;
};
#ifdef KERNEL
OpenPOWER on IntegriCloud