mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 19:58:08 +00:00
RtlFillMemory, RtlMoveMemory, RtlZeroMemory needed __stdcall
svn path=/trunk/; revision=747
This commit is contained in:
parent
dabbe50e39
commit
31c5b7839f
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
/* $Id: mem.c,v 1.5 1999/10/31 22:39:41 ea Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: kernel/rtl/mem.c
|
||||
|
@ -56,25 +57,52 @@ VOID RtlCopyMemory(VOID* Destination, CONST VOID* Source, ULONG Length)
|
|||
DPRINT("*Destination %x\n",*(PULONG)Destination);
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlFillMemory(PVOID Destination, ULONG Length, UCHAR Fill)
|
||||
RtlFillMemory (
|
||||
PVOID Destination,
|
||||
ULONG Length,
|
||||
UCHAR Fill
|
||||
)
|
||||
{
|
||||
memset(Destination,Fill,Length);
|
||||
memset (
|
||||
Destination,
|
||||
Fill,
|
||||
Length
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlZeroMemory(PVOID Destination, ULONG Length)
|
||||
RtlZeroMemory (
|
||||
PVOID Destination,
|
||||
ULONG Length
|
||||
)
|
||||
{
|
||||
RtlFillMemory(Destination,Length,0);
|
||||
RtlFillMemory (
|
||||
Destination,
|
||||
Length,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlMoveMemory(PVOID Destination,
|
||||
CONST VOID* Source,
|
||||
ULONG Length)
|
||||
RtlMoveMemory (
|
||||
PVOID Destination,
|
||||
CONST VOID * Source,
|
||||
ULONG Length
|
||||
)
|
||||
{
|
||||
memmove(Destination,Source,Length);
|
||||
memmove (
|
||||
Destination,
|
||||
Source,
|
||||
Length
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: ntoskrnl.def,v 1.21 1999/10/30 21:24:37 ea Exp $
|
||||
; $Id: ntoskrnl.def,v 1.22 1999/10/31 22:41:48 ea Exp $
|
||||
;
|
||||
; reactos/ntoskrnl/ntoskrnl.def
|
||||
;
|
||||
|
@ -179,20 +179,21 @@ RtlConvertUlongToLargeInteger
|
|||
RtlCopyMemory
|
||||
RtlEnlargedIntegerMultiply
|
||||
RtlExtendedIntegerMultiply
|
||||
RtlFillMemory@12
|
||||
RtlFreeUnicodeString
|
||||
RtlInitAnsiString
|
||||
RtlInitUnicodeString
|
||||
RtlLargeIntegerAdd
|
||||
RtlLargeIntegerGreaterThan
|
||||
RtlLargeIntegerShiftRight
|
||||
RtlMoveMemory
|
||||
RtlMoveMemorya@12
|
||||
RtlSecondsSince1970ToTime
|
||||
RtlSecondsSince1980ToTime
|
||||
RtlTimeFieldsToTime
|
||||
RtlTimeToSecondsSince1970
|
||||
RtlTimeToSecondsSince1980
|
||||
RtlTimeToTimeFields
|
||||
RtlZeroMemory
|
||||
RtlZeroMemory@8
|
||||
ZwAccessCheckAndAuditAlarm@44
|
||||
ZwAlertThread@4
|
||||
ZwAllocateVirtualMemory@24
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: ntoskrnl.edf,v 1.9 1999/10/30 21:24:37 ea Exp $
|
||||
; $Id: ntoskrnl.edf,v 1.10 1999/10/31 22:41:49 ea Exp $
|
||||
;
|
||||
; reactos/ntoskrnl/ntoskrnl.def
|
||||
;
|
||||
|
@ -179,20 +179,21 @@ RtlConvertUlongToLargeInteger
|
|||
RtlCopyMemory
|
||||
RtlEnlargedIntegerMultiply
|
||||
RtlExtendedIntegerMultiply
|
||||
RtlFillMemory=RtlFillMemory@12
|
||||
RtlFreeUnicodeString
|
||||
RtlInitAnsiString
|
||||
RtlInitUnicodeString
|
||||
RtlLargeIntegerAdd
|
||||
RtlLargeIntegerGreaterThan
|
||||
RtlLargeIntegerShiftRight
|
||||
RtlMoveMemory
|
||||
RtlMoveMemory=RtlMoveMemory@12
|
||||
RtlSecondsSince1970ToTime
|
||||
RtlSecondsSince1980ToTime
|
||||
RtlTimeFieldsToTime
|
||||
RtlTimeToSecondsSince1970
|
||||
RtlTimeToSecondsSince1980
|
||||
RtlTimeToTimeFields
|
||||
RtlZeroMemory
|
||||
RtlZeroMemory=RtlZeroMemory@8
|
||||
ZwAccessCheckAndAuditAlarm=ZwAccessCheckAndAuditAlarm@44
|
||||
ZwAlertThread=ZwAlertThread@4
|
||||
ZwAllocateVirtualMemory=ZwAllocateVirtualMemory@24
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
/* $Id: mem.c,v 1.5 1999/10/31 22:41:49 ea Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: kernel/rtl/mem.c
|
||||
|
@ -56,19 +57,48 @@ VOID RtlCopyMemory(VOID* Destination, CONST VOID* Source, ULONG Length)
|
|||
DPRINT("*Destination %x\n",*(PULONG)Destination);
|
||||
}
|
||||
|
||||
VOID RtlFillMemory(PVOID Destination, ULONG Length, UCHAR Fill)
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlFillMemory (
|
||||
PVOID Destination,
|
||||
ULONG Length,
|
||||
UCHAR Fill
|
||||
)
|
||||
{
|
||||
memset(Destination,Fill,Length);
|
||||
memset(Destination,Fill,Length);
|
||||
}
|
||||
|
||||
VOID RtlZeroMemory(PVOID Destination, ULONG Length)
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlZeroMemory (
|
||||
PVOID Destination,
|
||||
ULONG Length
|
||||
)
|
||||
{
|
||||
RtlFillMemory(Destination,Length,0);
|
||||
RtlFillMemory (
|
||||
Destination,
|
||||
Length,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
VOID RtlMoveMemory(PVOID Destination,
|
||||
CONST VOID* Source,
|
||||
ULONG Length)
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlMoveMemory (
|
||||
PVOID Destination,
|
||||
CONST VOID * Source,
|
||||
ULONG Length
|
||||
)
|
||||
{
|
||||
memmove(Destination,Source,Length);
|
||||
memmove (
|
||||
Destination,
|
||||
Source,
|
||||
Length
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Reference in a new issue