Hi,
in my opinion, LdrLookupPageProtection does the right job. Can you send my
the vmvare drivers for testing?
- Hartmut
-----Original Message-----
From: ros-dev-bounces(a)reactos.com
[mailto:ros-dev-bounces@reactos.com] On Behalf Of Ge van Geldorp
Sent: Tuesday, September 28, 2004 9:47 PM
To: 'ReactOS Development List'
Subject: [ros-dev] Page protection ldr change breaks VMware
SVGA driver
With current CVS, the VMware SVGA driver crashes. It happens in a
HwFindAdapter() call. While tracing through the driver, I got
this eery "I've been here before" feeling. And sure enough, I
fixed this same crash about a year and a half ago.
The problem is that vmx_svga.sys has a section alignment of
0x20 instead of the normal 0x1000. So, sections are much
smaller than the page size. When setting the page protections
you need to take into account all the sections which might be
mapped to that page. This was implemented in
ntoskrnl/ldr/loader.c rev 1.126.
Gé van Geldorp.