[okl4-developer] linking boot image
Malcolm Purvis
malcolmp at ok-labs.com
Tue Aug 19 10:54:59 EST 2008
>>>>> "Geoff" == Geoffrey Lee <glee at ok-labs.com> writes:
Geoff> The programs are laid out in memory by the build system. Hence
Geoff> this address is picked by the build system.
Tomas,
To expand on this a little, the build system puts iguana server at the
'base' virtual address and then places every other program at increasing
addresses at 1M intervals. The 'base' address is just a convenient
address that does not interfere with devices or the physical memory
address range, and can be found by searching for 'base_vaddr' in the
arch/<arch>/tools/machines.py.
The details can be found in the build system function LayoutVirtual(),
but be warned that it's not easiest of functions to understand.
Malcolm
--
Malcolm Purvis <malcolmp at ok-labs.com>
More information about the Developer
mailing list