TotalMemory is in number of 64K block not 16K block see VBE 2.0 or 3.0 specification.

svn path=/trunk/; revision=19498
This commit is contained in:
Magnus Olsen 2005-11-23 20:23:41 +00:00
parent 5cb6768bb2
commit 8553d872c8

View file

@ -246,12 +246,11 @@ VBEInitialize(PVOID HwDeviceExtension)
{
VBEDeviceExtension->VbeInfo.Version = 0x102;
}
DPRINT("VBE BIOS Present (%d.%d, %8ld Kb)\n",
VBEDeviceExtension->VbeInfo.Version / 0x100,
VBEDeviceExtension->VbeInfo.Version & 0xFF,
VBEDeviceExtension->VbeInfo.TotalMemory * 16);
VBEDeviceExtension->VbeInfo.TotalMemory * 64);
#ifdef VBE12_SUPPORT
if (VBEDeviceExtension->VbeInfo.Version < 0x102)