[ros-dev] Re: [ros-diffs] [ion] 19742: - Implement
RtlPrefectMemoryNonTemporal. Patch by Patrick Baggett
<baggett.patrick@gmail.com> and myself.
Alex Ionescu
ionucu at videotron.ca
Tue Nov 29 17:50:40 CET 2005
Thomas Weidenmueller wrote:
>ion at svn.reactos.com wrote:
>
>
>>- Implement RtlPrefectMemoryNonTemporal. Patch by Patrick Baggett <baggett.patrick at gmail.com> and myself.
>>------------------------------------------------------------------------
>>*Modified: trunk/reactos/lib/rtl/mem.c*
>>
>>--- trunk/reactos/lib/rtl/mem.c 2005-11-29 01:54:33 UTC (rev 19741)
>>+++ trunk/reactos/lib/rtl/mem.c 2005-11-29 02:40:18 UTC (rev 19742)
>>@@ -140,7 +140,7 @@
>>
>> }
>>
>> /*
>>
>>-* @unimplemented
>>
>>+* @implemented
>>
>> */
>> VOID
>> FASTCALL
>>@@ -149,7 +149,9 @@
>>
>> IN SIZE_T Length
>> )
>> {
>>
>>- UNIMPLEMENTED;
>>
>>+ /* By nature of prefetch, this is non-portable. */
>>+ (void)Source;
>>+ (void)Length;
>>
>> }
>>
>>
>>
>>
>>
>
>Why have a function stub then? This just encourages someone to use it
>without #ifdef'ing it when porting to another platform.
>
>- Thomas
>
>
Isn't that what we've done with other code? Implement it in /i386 and
keep the stub/portable version in the main .c file?
Best regards,
Alex Ionescu
More information about the Ros-dev
mailing list