I have a c++ application that I'm planning to port to zynq. I would like to implement one of the c++ functions in hardware. However, this function accesses c++ class properties and dereferences pointers. I assume that if I do this naively, it will be a disaster, because the pointers will have virtual addresses and the PL module will access DDR physical addresses.
Is there any way for a hardware module in the PL to access DDR memory which is being managed by Linux?
(I anticipate that most of the 512MB may need to be accessed by the PL for this to work)