Re: memcpy to PCI Adapter Memory

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: cd (cd_at_junk.com)
Date: 07/02/04


Date: Fri, 02 Jul 2004 14:34:29 GMT


"Stephan Wolf [MVP]" <stewo68@hotmail.com> wrote in message
news:7sqae0loi70q9g3ffn5cgu6htba6e76tla@4ax.com...
> Also, I guess RtlCopyMemory() is actually implemented in the HAL. Not
> sure, though.

The latest DDKs have RtlCopyMemory as a macro for memcpy. From what I hear,
that is not good for copying memory to/from IO.

> I was hoping someone with more insight into this would jump in here...

Me too...



Relevant Pages

  • Re: memcpy to PCI Adapter Memory
    ... Even *I* could make a slightly faster model ... larger word sizes. ... But memcpy() or, in this case, RtlCopyMemory(), for sure uses ...
    (microsoft.public.development.device.drivers)
  • Re: RtlCopyMemory and unaligned addresses (Itanium)
    ... > Porting Issues Checklist say "if a data structure is misaligned, ... > memcpy, will not fault. ... Yet the docs for RtlMoveMemory ... > RtlMoveMemory, RtlCopyMemory, memcpy, and/or memmove do actually work ...
    (microsoft.public.development.device.drivers)
  • RtlCopyMemory and unaligned addresses (Itanium)
    ... Porting Issues Checklist say "if a data structure is misaligned, ... RtlMoveMemory, RtlCopyMemory, memcpy, and/or memmove do actually work ...
    (microsoft.public.development.device.drivers)
  • Re: memcpy performance issues
    ... memcpy inside uses RtlCopyMemory that is not fast. ... Exactly the opposite, on both counts. ... memcpy is implemented as "rep movsd". ...
    (microsoft.public.vc.language)
  • Re: which is better memcpy or RtlCopyMemory
    ... Don Burn (MVP, Windows DDK) ... > In kernel mode drivers which function is better to copy memory> memcpy or RtlCopyMemory. ...
    (microsoft.public.development.device.drivers)