KeInvalidateAllCaches function (ntddk.h)
The KeInvalidateAllCaches routine flushes all processor caches.
Syntax
BOOLEAN KeInvalidateAllCaches();
Return value
KeInvalidateAllCaches returns a value that is reserved for system use. Treat this value as VOID.
Remarks
The KeInvalidateAllCaches routine flushes each processor's caches and marks each cache's contents invalid. The processor caches are guaranteed to have completed the flush operation before KeInvalidateAllCaches returns.
KeInvalidateAllCaches has been superseded by KeInvalidateRangeAllCaches. See Remarks of that page for more information about the differences between the routines.
This function is not available on the Arm and Arm64 architectures, where there is no architecturally reliable way to flush the entire cache.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Server 2003 and later versions of Windows. |
Target Platform | Universal |
Header | ntddk.h (include Ntddk.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <= DISPATCH_LEVEL |