qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] extensions to the -m memory option


From: Liviu Ionescu
Subject: Re: [Qemu-devel] [RFC] extensions to the -m memory option
Date: Fri, 29 May 2015 22:22:20 +0300

> On 29 May 2015, at 12:11, Igor Mammedov <address@hidden> wrote:
> 
> On Fri, 29 May 2015 01:11:30 +0300
> Liviu Ionescu <address@hidden> wrote:
> 
>> for more flexibility, in the new Cortex-M implementation I'm working on, I 
>> can overwrite the vendor defined MCU internal SRAM size by using: 
>> 
>>      -m sizeK
>> 
>> I'm trying to find a way to also overwrite the internal flash size and the 
>> first idea I had was to extend the "-m" command like:
>> 
>>      -m sizeK,flash=sizeK
>> 
>> would this be ok? 
>> 
>> for more readability I would prefer something like:
>> 
>>      --memory ram=sizeK,flash=sizeK
>> 
>> any other suggestions?
> it looks to me like -machine option

-machine? in other words board? the ram-size is not a characteristic of the 
board, Cortex-M MCUs have both RAM & flash internally, so if --memory is not 
ok, probably ram & flash should be an extensions of --cpu?

regards,

Liviu




reply via email to

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