qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Memory on stellaris board


From: Aurelio Remonda
Subject: [Qemu-devel] Memory on stellaris board
Date: Wed, 3 Feb 2016 10:00:29 -0300

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



reply via email to

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