mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[VBEMP][VGAMP] Correctly fill VdmPhysicalVideoMemoryAddress/VdmPhysicalVideoMemoryLength
These variables must be filled by miniport if miniport is VGA-compatible.
This commit is contained in:
@@ -76,6 +76,8 @@ VBEFindAdapter(
|
||||
if (VideoPortIsNoVesa())
|
||||
return ERROR_DEV_NOT_EXIST;
|
||||
|
||||
ConfigInfo->VdmPhysicalVideoMemoryAddress.QuadPart = 0xa000;
|
||||
ConfigInfo->VdmPhysicalVideoMemoryLength = 0x2000;
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
||||
|
||||
@@ -85,6 +85,8 @@ VGAFindAdapter(PVOID DeviceExtension,
|
||||
/* FIXME: Determine if the adapter is present */
|
||||
*Again = FALSE;
|
||||
|
||||
ConfigInfo->VdmPhysicalVideoMemoryAddress.QuadPart = 0xa000;
|
||||
ConfigInfo->VdmPhysicalVideoMemoryLength = 0x2000;
|
||||
return NO_ERROR;
|
||||
|
||||
/* FIXME: Claim any necessary memory/IO resources for the adapter */
|
||||
|
||||
Reference in New Issue
Block a user