Hi!

12-Апр-2004 00:30 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:

>> > in kernel.asm. Use std for the memory move: helps if there's overlap
>> > (PCs with a very low amount of RAM).
>> > +    fmemcpy(HMADest, HMASource, len);
>>      _Standard_ memcpy() _doesn't_ handles memory overlapping. This does
>> _only_ memmove().
BO> our fmemcpy uses cld. It's fine for our use here now. There's either no
BO> overlap or it moves down.

     As you already explain in your comment above, there _may_ be overlap on
"PCs with a very low amount of RAM". So, if should guarantee/assume the
enough memory space, or implement memmove().

BO> This is deliberate. Guess I should add a comment -- the involved variables
BO> are aligned.

     Yes, good comments always welcomed. :)




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to