winverbs: ensure that event and mutex memory are resident
[mirror/winof/.git] / core / winverbs / kernel / wv_pd.c
index 304588d..5ce0c20 100644 (file)
@@ -74,7 +74,7 @@ static NTSTATUS WvPdAlloc(WV_DEVICE *pDevice, WV_PROTECTION_DOMAIN **ppPd,
        ib_api_status_t                 ib_status;\r
        WV_PROTECTION_DOMAIN    *pd;\r
 \r
-       pd = ExAllocatePoolWithTag(PagedPool, sizeof(WV_PROTECTION_DOMAIN), 'dpvw');\r
+       pd = ExAllocatePoolWithTag(NonPagedPool, sizeof(WV_PROTECTION_DOMAIN), 'dpvw');\r
        if (pd == NULL) {\r
                return STATUS_NO_MEMORY;\r
        }\r