[Spice-devel] [PATCH qxl-wddm-dod v5 1/7] Use MmMapIoSpaceEx instead of MmMapIoSpace

Christophe Fergeau cfergeau at redhat.com
Tue Sep 27 10:00:13 UTC 2016


Hey,

On Tue, Sep 27, 2016 at 12:57:33PM +0300, Dmitry Fleytman wrote:
> 
> > On 27 Sep 2016, at 12:51 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > 
> > On Mon, Sep 26, 2016 at 04:00:05PM +0300, Sameeh Jubran wrote:
> >> Disable execution bit on mapping improving security.
> >> 
> >> MmMapIoSpaceEx is available only in Windows 10 thus
> >> the macros are used.
> > 
> > Hey, looks good to me. Just one question, by default if this is built on
> > a Windows 10 system, I guess MmMapIoSpaceEx is going to be used. However
> > we can override NTDDI_VERSION to WIN8 if we want to build a driver which
> > is going to work on both win8 and win10? Or is this working differently?
> 
> Hi Christophe,
> 
> Driver is built using WDK toolset for a specific OS.
> There are WDK toolsets for windows 10, Windows 8.1, Windows 8 etc. 
> NTDDI_VERSION defined by the toolset in accordance to target OS.
> 
> Currently we build with Windows 10 toolset only, but in future we may
> decide to build with Windows 8 or 8.1 toolset as well.

Ah ok, so no "universal" driver, we'll need to have distinct 8, 8.1 and
10 drivers if we wan tto support all 3 versions?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160927/5b381ff4/attachment-0001.sig>


More information about the Spice-devel mailing list