From 930507af17e2e7268bd1ca2231243fd16722000b Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Tue, 20 Jan 2004 21:08:40 +0000 Subject: [PATCH] Attempt to fix the display corruption problems when using bootvid.sys on certain HW. svn path=/trunk/; revision=7792 --- reactos/ntoskrnl/inbv/inbv.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/inbv/inbv.c b/reactos/ntoskrnl/inbv/inbv.c index 5298d61d5a1..f3ef7983de6 100755 --- a/reactos/ntoskrnl/inbv/inbv.c +++ b/reactos/ntoskrnl/inbv/inbv.c @@ -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 * PROJECT: ReactOS kernel @@ -106,6 +106,9 @@ InbvEnableBootDriver(IN BOOLEAN Enable) if (Enable) { + /* Notify the hal we will acquire the display. */ + HalAcquireDisplayOwnership(InbvResetDisplayParameters); + Status = NtDeviceIoControlFile(BootVidDevice, NULL, NULL, @@ -121,9 +124,7 @@ InbvEnableBootDriver(IN BOOLEAN Enable) KeBugCheck(0); } BootVidDriverInstalled = TRUE; - /* Notify the hal we have acquired the display. */ CHECKPOINT; - HalAcquireDisplayOwnership(InbvResetDisplayParameters); } else {