On 11 February 2016 at 12:46, Aurelio Remonda
<aurelio.remo...@tallertechnologies.com> wrote:
> On Fri, Feb 5, 2016 at 2:00 PM, Peter Maydell <peter.mayd...@linaro.org> 
> wrote:
>> The right way to do this is to set the MachineClass default_ram_size
>> to what you want your default value to be. Then you should calculate
>> the dc0 etc values to expose to the guest based on the ram size
>> (which might be the default or might be user specified).
>
> But stellaris board has a hardcoded dc0 value, when you place the -m flag
> with for example 256M you shouldn't calculate any sram_size from dc0, you
> just assign that as your ram size.

What I am suggesting is that dc0 should not be hardcoded, but
that you should work out what dc0 to use based on the user
provided RAM size.

thanks
-- PMM

Reply via email to