Hello,
I am new to this ARM platform. I would like to know the memory regions mapped in A72. Say Cache, RAM, Peripheral, DRAM starting and ending address details.
Could any one share some information on this.
While referring Memory Map , they are explaining about the memory types and attributes not about it memory address.
In the user space, how could I find the memory type of an variable/array.
Hello Tamil,
As soon as you know where your variable/array has been mapped (virtual address), you can check the memory attributes of the page where is it stored from the MMU translation table.
If you want to force memory attributes, you could create a section in linker used a as a buffer (with fixed address and size). Then in your code you can use a pointer initialized at this section address.
And afterwards you will set the memory attributes for pages contained will this section.
Hope it answers your question.
Florian