Hello experts.
I have two simple question about memory allocation.
Question ::
I'd like to allocate(declare) one special data memory buffer on specific memory address in DDR.
(ex. The start address of memory buffer is 0x8800 0000 and the end address is 0x8810 0000.
SBL and my application read and write to this memory buffer by pointer)
I'm worried if compiler allocates some memory in here...(such as stack or data memory).
So then, What should I do for this? How do I allocate(declare) this memory buffer?
System configure and usage
- Using IDK5728
- Board Init is done by SBL(default ddr initialize, io initialize)
- Application, SBL and pci-e access to this memory buffer.
- Application is running on MPU0 same as SBL.
- Based on RTOS or Baremetal.
Please help me...
Have a nice day and thanks.