qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH v3 1/2] semihosting/arm-compat: replace heuristic for softmmu


From: Peter Maydell
Subject: Re: [PATCH v3 1/2] semihosting/arm-compat: replace heuristic for softmmu SYS_HEAPINFO
Date: Fri, 18 Jun 2021 11:09:03 +0100

On Thu, 17 Jun 2021 at 20:22, Peter Maydell <peter.maydell@linaro.org> wrote:
> This will pick the first MR it finds that happens to be RAM (which
> could be some tiny thing). You don't want that, you want specifically
> whatever the board decided was the system RAM, which is the MemoryRegion
> MachineState::ram.

As a concrete example, on the mps3-an547 machine this code finds
the 512KB ITCM at 0x0 rather than the much more useful 2GB DRAM
at 0x6000_0000...

-- PMM



reply via email to

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