I'm not aware of any buggy behaviour with those Memory functions.

However, I suppose it's possible that there are 2 virtual addresses for the 
same physical address, and that Memory_getBufferVirtualAddress() will return 
the first one it finds.  BTW & FYI, Memory_getBufferVirtualAddress() works only 
with buffers that have previously been translated with 
Memory_getBufferPhysicalAddress(), just thought I'd throw that tidbit out there 
in case it might be pertinent.

Regards,

- Rob

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of amr ali
Sent: Tuesday, August 12, 2008 2:47 AM
To: davinci forum
Subject: Mempry Cpnversion Problem

    AA,
    I am making an application, in which I have to make address conversion on 
my own.
    To test these APIs, I made a quick test as follows:
    print virtual address
    Memory_getBufferPhysicalAddress
    print physical address
    Memory_getBufferVirtualAddress
    print virtual address
    For some buffers, virtual addresses differ before & after!!
    Are these APIs buggy? Can anyone hint what is the problem?
    BR,
    Amr Ali

________________________________
Explore the seven wonders of the world Learn 
more!<http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE>
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to