diff --git a/include/ndk/rtlfuncs.h b/include/ndk/rtlfuncs.h index debd1ee3154..e7365ee0fd0 100644 --- a/include/ndk/rtlfuncs.h +++ b/include/ndk/rtlfuncs.h @@ -1689,6 +1689,18 @@ RtlDuplicateUnicodeString( OUT PUNICODE_STRING DestinationString ); +// +// Memory Functions +// +NTSYSAPI +VOID +NTAPI +RtlFillMemoryUlong( + IN PVOID Destination, + IN ULONG Length, + IN ULONG Fill +); + #endif NTSYSAPI @@ -1911,18 +1923,6 @@ RtlLookupAtomInAtomTable( OUT PRTL_ATOM Atom ); -// -// Memory Functions -// -NTSYSAPI -VOID -NTAPI -RtlFillMemoryUlong( - IN PVOID Destination, - IN ULONG Length, - IN ULONG Fill -); - // // Process Management Functions // diff --git a/include/xdk/amd64/ke.h b/include/xdk/amd64/ke.h index 2ef3c8c8d4d..287eb2c3a25 100644 --- a/include/xdk/amd64/ke.h +++ b/include/xdk/amd64/ke.h @@ -103,6 +103,14 @@ KeGetCurrentThread(VOID) return (struct _KTHREAD *)__readgsqword(0x188); } +/* VOID + * KeFlushIoBuffers( + * IN PMDL Mdl, + * IN BOOLEAN ReadOperation, + * IN BOOLEAN DmaOperation) + */ +#define KeFlushIoBuffers(_Mdl, _ReadOperation, _DmaOperation) + /* x86 and x64 performs a 0x2C interrupt */ #define DbgRaiseAssertionFailure __int2c