On 01/18/2015 04:43 PM, Taras Kondratiuk wrote: > On 01/18/2015 03:07 PM, Mrityunjay Kumar wrote: >> >> I want to allocate memory by the ODP API, which will also seen by the >> hardware. As per my understanding address actually seen by the memory >> hardware is a physical address. Is there any way to find out the physical >> address? Might be there is a way to do but I am not able to figure it out. > > Are you writing an ODP application or platform implementation? > > Addresses that are exposed to ODP application are CPU-accessible and > can be either physical or virtual depending on a platform > implementation and execution environment. ODP does not explicitly > expose physical addresses. > > You have mentioned odp_buffer_hdr_t which is an internal structure, so > I assume it is an ODP implementation. Then you can use whatever > internal function you have inside of your implementation to get a > physical address.
Missed Bill's reply. Just ignore it. _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
