Due to some requirements on speed, we need to some computation in-place on internal memory and then DMA the results of the computation to a external memory. The application runs on a TI DM355 processor which is based on ARM926EJ-S core and a set of TI periferals (EDMA, video accelerators etc).
How cleanly can this be done from the application? Is it as simple as mmap’ing the afore said internal memory address into a virtual space and doing the calculation?
Thanks
You can mmap the /dev/mem device:
However, depending on your needs, this may not be sufficient. Another question on here has answers that go more in-depth, but you’re probably better off doing this in a kernel module.