[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Memory on stellaris board
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Memory on stellaris board |
Date: |
Thu, 10 Mar 2016 08:54:30 +0700 |
On 10 March 2016 at 07:23, Aurelio Remonda
<address@hidden> wrote:
>
> El 9 mar. 2016 8:25 PM, "Peter Maydell" <address@hidden> escribió:
>> You should reject unworkable ram sizes rather than silently
>> changing what the user asked for; this matches our preferred
>> approach where the user asks for more RAM than the board
>> can support.
>
> With unworkable you mean RAM values over dc0 máximum? I make sure that it
> does not exceed 0xffff before i replace the dc0 value so if it goes over 16M
> the program report the problem (via error_report()) and exit.
Also if the user asks for a non-round-number ram size:
don't round ram_size up or down, just fail if the user asked
for something that's not representable in a dc0 value.
thanks
-- PMM