We need to call HalReleaseDisplayOwnership before killing all running processes.
authorGé van Geldorp <ge@gse.nl>
Wed, 9 Nov 2005 23:23:12 +0000 (23:23 +0000)
committerGé van Geldorp <ge@gse.nl>
Wed, 9 Nov 2005 23:23:12 +0000 (23:23 +0000)
commit381dcf3a8c7888c15dbbdcb1462f4d26b7b7098d
tree5bf8c10d91b73d841b648cdcb1b6c9bfd53fb3d5
parentdcd31dc02dc8556ba509500f96e0fb24b63abd16
We need to call HalReleaseDisplayOwnership before killing all running processes.
During HalReleaseDisplayOwnership processing, the video miniport driver can
do an INT10 call, for which we need the CSRSS memory space. If the the process
(and therefore its memory space) is already gone, a kernel stack fault can
result.

svn path=/trunk/; revision=19109
reactos/hal/halx86/generic/reboot.c
reactos/ntoskrnl/ex/power.c