mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:35:43 +00:00
Attempt to fix the display corruption problems when using bootvid.sys on certain HW.
svn path=/trunk/; revision=7792
This commit is contained in:
parent
ed59770cae
commit
930507af17
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: inbv.c,v 1.5 2003/12/30 18:52:03 fireball Exp $
|
/* $Id: inbv.c,v 1.6 2004/01/20 21:08:40 navaraf Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -106,6 +106,9 @@ InbvEnableBootDriver(IN BOOLEAN Enable)
|
||||||
|
|
||||||
if (Enable)
|
if (Enable)
|
||||||
{
|
{
|
||||||
|
/* Notify the hal we will acquire the display. */
|
||||||
|
HalAcquireDisplayOwnership(InbvResetDisplayParameters);
|
||||||
|
|
||||||
Status = NtDeviceIoControlFile(BootVidDevice,
|
Status = NtDeviceIoControlFile(BootVidDevice,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -121,9 +124,7 @@ InbvEnableBootDriver(IN BOOLEAN Enable)
|
||||||
KeBugCheck(0);
|
KeBugCheck(0);
|
||||||
}
|
}
|
||||||
BootVidDriverInstalled = TRUE;
|
BootVidDriverInstalled = TRUE;
|
||||||
/* Notify the hal we have acquired the display. */
|
|
||||||
CHECKPOINT;
|
CHECKPOINT;
|
||||||
HalAcquireDisplayOwnership(InbvResetDisplayParameters);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue