driver: use ExAllocatePool2#340
Conversation
ExAllocatePoolWithTag is deprecated as of Win10 20.04
|
I recommend turning your attention to https://github.com/vadimgrn/usbip-win2 because this repository is de facto abandoned. |
|
there is no arm64 support in your fork, and the dev branch here does not seem abandoned, just the dev makes bulk commits he force pushes |
|
Let's see, the last commit was Jan 16 2022. It's better to add required architecture than to do work that was already done. |
|
no need to be rude--if you'd like to add arm64 support to your fork, be my guest. for now, i will use what is available, which is this. grep-ing and replacing one method with another requires far less effort compared to adding full arm64 support to another fork. |
|
i do not care, i did 5 mins of work to help myself, and dropped this in here as i always do with oss projects, so the maintainer can see if they would like to. i don't care if it's upstreamed or not, but there it is. |
ExAllocatePoolWithTag is deprecated as of Win10 20.04
This adds compat for newer WDK releases
I'll admit this was a oneshot PR, so def needs review, but this should mostly be a drop-in replacement (https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/updating-deprecated-exallocatepool-calls)