mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[VBEMP][VGAMP] Correctly fill VdmPhysicalVideoMemoryAddress/VdmPhysicalVideoMemoryLength
These variables must be filled by miniport if miniport is VGA-compatible.
This commit is contained in:
parent
8d24de7805
commit
93f986463a
2 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,8 @@ VBEFindAdapter(
|
||||||
if (VideoPortIsNoVesa())
|
if (VideoPortIsNoVesa())
|
||||||
return ERROR_DEV_NOT_EXIST;
|
return ERROR_DEV_NOT_EXIST;
|
||||||
|
|
||||||
|
ConfigInfo->VdmPhysicalVideoMemoryAddress.QuadPart = 0xa000;
|
||||||
|
ConfigInfo->VdmPhysicalVideoMemoryLength = 0x2000;
|
||||||
return NO_ERROR;
|
return NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,6 +85,8 @@ VGAFindAdapter(PVOID DeviceExtension,
|
||||||
/* FIXME: Determine if the adapter is present */
|
/* FIXME: Determine if the adapter is present */
|
||||||
*Again = FALSE;
|
*Again = FALSE;
|
||||||
|
|
||||||
|
ConfigInfo->VdmPhysicalVideoMemoryAddress.QuadPart = 0xa000;
|
||||||
|
ConfigInfo->VdmPhysicalVideoMemoryLength = 0x2000;
|
||||||
return NO_ERROR;
|
return NO_ERROR;
|
||||||
|
|
||||||
/* FIXME: Claim any necessary memory/IO resources for the adapter */
|
/* FIXME: Claim any necessary memory/IO resources for the adapter */
|
||||||
|
|
Loading…
Reference in a new issue