Map of the memory
Xavier Pegenaute
xpegenaute at telepolis.es
Sat May 17 10:37:01 CEST 2003
Hi,
i was trying to make a memory map in the eeprom but i have some
questions when i saw linuxbios_c.map and linuxbios.map ...
We "compile" linuxbios_c with c_start.o and linuxbios.a until generate
linuxbios_payload and linuxbios_c.map.
We "compile" crt0.S and we make the crt0.o.
After we "compile" crt0.o with linuxbios_payload generating linuxbios
binary and linuxbios.map
If we see inside the map files, i can see that there are labels at the
same position in the both map files for example:
linuxbios_c.map :
00004000 A _RAMBASE
00080000 A _ROMBASE
linuxbios.map:
00004000 A _RAMBASE
00080000 A _ROMBASE
How is it possible ? when in theory al linuxbios_c is in the payload of
linuxbios?
linuxbios.map:
000805a0 D _payload
00085e5d D _epayload
also i saw in some file (.ld) in the tree of freebios a picture of memory:
Memory map:
0x00000 (4*4096 bytes) : stack
0x04000 (4096 bytes) : private data
0x05000 : data space
0x90000 : kernel stack
0xf0000 (64 Kbyte) : EPROM
Is it right ? i think that i'm confusing the memory in RAM and the
memory in EPROM. But i don't know how build a correct idea.
Thanks.
Xavi.
More information about the coreboot
mailing list