vgabios: Minor fixes to struct vbe_info definition.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 30 Dec 2011 21:37:20 +0000 (16:37 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 30 Dec 2011 21:37:20 +0000 (16:37 -0500)
commitdb301ef20c03657631790393ac36ec191dbf24e2
tree068e910b7138d3eb4f0764760f0090f39fd02034
parent139d5ac037de828f89c36e39c6dd15610650cede
vgabios: Minor fixes to struct vbe_info definition.

Although the VBE3 spec says there is 189 bytes of pad at the end of
the vbe_info struct, the spec also says the total struct size should
be 256 bytes.  The VBE2 spec uses sufficient pad to get to 256 bytes.
So, assume the spec was off by one and make the pad 190 bytes.

Also, use u32 for capabilities and 'struct segoff_s' for
win_func_ptr.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/vbe.h
vgasrc/vga.c