qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Memory on stellaris board
@ 2016-02-03 13:00 Aurelio Remonda
  2016-02-03 13:34 ` Peter Maydell
  0 siblings, 1 reply; 17+ messages in thread
From: Aurelio Remonda @ 2016-02-03 13:00 UTC (permalink / raw)
  To: qemu-devel

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?

When i debug qemu with or whitout the flag i keep getting the same
sram_size and flash_size values (the ones calculated with 0x00ff007f)

Thank you!!

-- 
Aurelio Remonda

Software Engineer

San Lorenzo 47, 3rd Floor, Office 5
Córdoba, Argentina
Phone: +54-351-4217888 / 4218211

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-03-11 22:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-03 13:00 [Qemu-devel] Memory on stellaris board Aurelio Remonda
2016-02-03 13:34 ` Peter Maydell
2016-02-03 13:45   ` Aurelio Remonda
2016-02-05 16:09     ` Aurelio Remonda
2016-02-05 16:23       ` Peter Maydell
2016-02-05 16:55         ` Aurelio Remonda
2016-02-05 17:00           ` Peter Maydell
2016-02-11 12:46             ` Aurelio Remonda
2016-02-11 13:01               ` Peter Maydell
2016-03-07 19:58                 ` Aurelio Remonda
2016-03-07 23:37                   ` Peter Maydell
2016-03-09 20:56                     ` Aurelio Remonda
2016-03-09 23:24                       ` Peter Maydell
2016-03-10  0:23                         ` Aurelio Remonda
2016-03-10  1:54                           ` Peter Maydell
2016-03-11 14:12                             ` Aurelio Remonda
2016-03-11 22:31                               ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).