- Move RtlFillMemoryUlong into user mode only area
[XDK]
- Add KeFlushIoBuffers for amd64

svn path=/branches/header-work/; revision=46389
This commit is contained in:
Timo Kreuzer 2010-03-24 03:21:51 +00:00
parent 4e669a2682
commit 10100513f3
2 changed files with 20 additions and 12 deletions

View file

@ -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
//

View file

@ -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