-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeInvalidateAllCaches() alternative for ARM64 #60
Comments
According to this: https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntddk/nf-ntddk-keinvalidateallcaches, |
But VS refuses to build that when set to ARM64 and complains about KeInvalidateAllCaches. |
Yeah, I know. I'm not sure why it does that. It happens even if you include |
It seems this thing cannot be used in WoA ARM64. I opened ntoskrnl.exe using IDA and searched for it but found nothing. While the x64 one does have this. |
Arm arch itself does not provide a way to clean and/or invalidate the entire d-cache. This means that d-cache clean operations always need a start address and length. That is the reason a parameter-less KeInvalidateAllCaches cannot be implemented reliably.
Is the replacement and it is available on all architectures. For some reason, I can't find it in the documentation. Will try to investigate why. |
The driver can't be compiled on ARM64 because of the missing KeInvalidateAllCaches().
Can someone provide an alternative using KeInvalidateRangeAllCaches() ?
File: RosKmdRapAdapter.cpp, line 445
The text was updated successfully, but these errors were encountered: