[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: |
Wed, 3 Feb 2016 13:34:54 +0000 |
On 3 February 2016 at 13:00, Aurelio Remonda
<address@hidden> wrote:
> Hello, i was trying to understand how does the sram and flash size
> works on lm3s6965evb, i found a hardcoded 0x00ff007f as dc0 value and
> how flash_size and sram_size are calculated based on that hexadecimal.
> I mean this:
>
> flash_size = (((board->dc0 & 0xffff) + 1) << 1) * 1024;
> sram_size = ((board->dc0 >> 18) + 1) * 1024;
> On stellaris.c
>
> When i use the -m [size] flag while running qemu how does the flag
> affect does flash_size and sram_size values? Or it doesn't? Where can
> i see that the memory has indeed change?
This board model ignores -m. We just implement a model of this particular
bit of hardware, which has a fixed amount of RAM in it.
thanks
-- PMM
- [Qemu-devel] Memory on stellaris board, Aurelio Remonda, 2016/02/03
- Re: [Qemu-devel] Memory on stellaris board,
Peter Maydell <=
- Re: [Qemu-devel] Memory on stellaris board, Aurelio Remonda, 2016/02/03
- Re: [Qemu-devel] Memory on stellaris board, Aurelio Remonda, 2016/02/05
- Re: [Qemu-devel] Memory on stellaris board, Peter Maydell, 2016/02/05
- Re: [Qemu-devel] Memory on stellaris board, Aurelio Remonda, 2016/02/05
- Re: [Qemu-devel] Memory on stellaris board, Peter Maydell, 2016/02/05
- Re: [Qemu-devel] Memory on stellaris board, Aurelio Remonda, 2016/02/11
- Re: [Qemu-devel] Memory on stellaris board, Peter Maydell, 2016/02/11