On 17 June 2016 at 03:37, Tsung-Han Lin <tsunghan...@gmail.com> wrote: > Hi, I made some changes to TRY TO fix the ARM semihosting issue in > SYS_HEAPINFO handling. > This problem has been bothering me for quite a while. > > A new global variable 'main_ram_base' is added while a new memory > API, memory_region_add_subregion_main, is also provided to let > SoC/board creator to initialize this variable. > I am not sure if this is a good idea (to add a new API) > or maybe we just let SoC/board creator to simply > set 'main_ram_base' in their 'xxx_realize' functions? > > As for Cortex-M series, 'main_ram_base' is set during cpu initialization. > A64 semihosting handling is also added and use zynqmp as an example.
Could you explain what the bug is you're trying to fix, please? thanks -- PMM