mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +00:00
[NDK]
- Move RtlFillMemoryUlong into user mode only area [XDK] - Add KeFlushIoBuffers for amd64 svn path=/branches/header-work/; revision=46389
This commit is contained in:
parent
4e669a2682
commit
10100513f3
2 changed files with 20 additions and 12 deletions
|
@ -1689,6 +1689,18 @@ RtlDuplicateUnicodeString(
|
||||||
OUT PUNICODE_STRING DestinationString
|
OUT PUNICODE_STRING DestinationString
|
||||||
);
|
);
|
||||||
|
|
||||||
|
//
|
||||||
|
// Memory Functions
|
||||||
|
//
|
||||||
|
NTSYSAPI
|
||||||
|
VOID
|
||||||
|
NTAPI
|
||||||
|
RtlFillMemoryUlong(
|
||||||
|
IN PVOID Destination,
|
||||||
|
IN ULONG Length,
|
||||||
|
IN ULONG Fill
|
||||||
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NTSYSAPI
|
NTSYSAPI
|
||||||
|
@ -1911,18 +1923,6 @@ RtlLookupAtomInAtomTable(
|
||||||
OUT PRTL_ATOM Atom
|
OUT PRTL_ATOM Atom
|
||||||
);
|
);
|
||||||
|
|
||||||
//
|
|
||||||
// Memory Functions
|
|
||||||
//
|
|
||||||
NTSYSAPI
|
|
||||||
VOID
|
|
||||||
NTAPI
|
|
||||||
RtlFillMemoryUlong(
|
|
||||||
IN PVOID Destination,
|
|
||||||
IN ULONG Length,
|
|
||||||
IN ULONG Fill
|
|
||||||
);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Process Management Functions
|
// Process Management Functions
|
||||||
//
|
//
|
||||||
|
|
|
@ -103,6 +103,14 @@ KeGetCurrentThread(VOID)
|
||||||
return (struct _KTHREAD *)__readgsqword(0x188);
|
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 */
|
/* x86 and x64 performs a 0x2C interrupt */
|
||||||
#define DbgRaiseAssertionFailure __int2c
|
#define DbgRaiseAssertionFailure __int2c
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue