-
-/* $Id$
- *
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS kernel
+/* COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
* FILE: lib/rtl/mem.c
* PURPOSE: Memory functions
* PROGRAMMER: David Welch (welch@mcmail.com)
- * UPDATE HISTORY:
- * Created 22/05/98
*/
/* INCLUDES *****************************************************************/
-#include <ddk/ntddk.h>
-#include <string.h>
+#include <rtl.h>
#define NDEBUG
#include <debug.h>
-
-
+#undef RtlUlonglongByteSwap
+#undef RtlUlongByteSwap
+#undef RtlUshortByteSwap
/* FUNCTIONS *****************************************************************/
*
* @implemented
*/
-SIZE_T STDCALL
+SIZE_T NTAPI
RtlCompareMemory(IN const VOID *Source1,
IN const VOID *Source2,
IN SIZE_T Length)
* @implemented
*/
ULONG
-STDCALL
+NTAPI
RtlCompareMemoryUlong (
PVOID Source,
ULONG Length,
}
+#undef RtlFillMemory
/*
* @implemented
*/
VOID
-STDCALL
+NTAPI
RtlFillMemory (
PVOID Destination,
ULONG Length,
* @implemented
*/
VOID
-STDCALL
+NTAPI
RtlFillMemoryUlong (
PVOID Destination,
ULONG Length,
}
-
+#undef RtlMoveMemory
/*
* @implemented
*/
VOID
-STDCALL
+NTAPI
RtlMoveMemory (
PVOID Destination,
CONST VOID * Source,
}
/*
-* @unimplemented
+* @implemented
*/
VOID
FASTCALL
IN SIZE_T Length
)
{
- UNIMPLEMENTED;
+ /* By nature of prefetch, this is non-portable. */
+ (void)Source;
+ (void)Length;
}
+
+#undef RtlZeroMemory
/*
* @implemented
*/
VOID
-STDCALL
+NTAPI
RtlZeroMemory (
PVOID Destination,
ULONG Length