VirtualBox

Changeset 67128 in vbox for trunk/src


Ignore:
Timestamp:
May 29, 2017 10:45:07 AM (8 years ago)
Author:
vboxsync
Message:

bugref:8727: Enabling NonPagedPoolNx in vboxWddmMemAlloc for Windows 8 and up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r66572 r67128  
    4747PVOID vboxWddmMemAlloc(IN SIZE_T cbSize)
    4848{
    49     return ExAllocatePoolWithTag(NonPagedPool, cbSize, VBOXWDDM_MEMTAG);
     49#ifdef VBOX_WDDM_WIN8
     50    POOL_TYPE enmPoolType = NonPagedPoolNx;
     51#else
     52    POOL_TYPE enmPoolType = NonPagedPool;
     53#endif
     54    return ExAllocatePoolWithTag(enmPoolType, cbSize, VBOXWDDM_MEMTAG);
    5055}
    5156
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette