vgabios: Make struct vgamode_s more similar to bochs/cirrus mode tables.
authorKevin O'Connor <kevin@koconnor.net>
Mon, 2 Jan 2012 16:13:14 +0000 (11:13 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 14 Jan 2012 22:19:04 +0000 (17:19 -0500)
commit80da87da8db00f7e5a88aeae7f17dbbb074518b8
tree536e748b97479d4c1711478f28cfb35950e0c807
parent2c8ba89aab21dcd400a923887843696dc00a9645
vgabios: Make struct vgamode_s more similar to bochs/cirrus mode tables.

For graphics modes, store pixel width/height instead of text
width/height.  Add explicit char width field.  Where needed, calculate
text width/height from pixel width/height by dividing pixel count by
character size.

Rename some fields and change field sizes to match cirrus/bochs
definitions.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
vgasrc/stdvga.h
vgasrc/vgabios.c
vgasrc/vgafb.c
vgasrc/vgatables.c