qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [RFC] target-arm: fix semihosting ram base issue


From: Peter Maydell
Subject: Re: [Qemu-arm] [RFC] target-arm: fix semihosting ram base issue
Date: Fri, 17 Jun 2016 09:43:55 +0100

On 17 June 2016 at 03:37, Tsung-Han Lin <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]