[PATCH] Implement ALTERNATE memory layout.

Krzysztof Halasa khc at pm.waw.pl
Sat Mar 30 15:57:13 EDT 2013


Alexander Shiyan <shc_work at mail.ru> writes:

>> >> +config MEMORY_LAYOUT_ALTERNATE
>> >> +	bool "use alternate memory layout"
>> >> +	help
>> >> +	  select this option to use barebox's alternate memory layout:
>> >> +
>> >> +	  TEXT_BASE
>> >> +	  -----
>> >> +	  malloc heap
>> >> +	  -----
>> >> +	  stack
>> >> +
>> >
>> > This should be described better.
>> 
>> Well... I did it after the default layout. What do you propose?
>
> I cannot say more.
> Since this option globally for all barebox targets, it is necessary to
> describe all aspects of its application.

But what "aspects" are you thinking about? This simply swaps the order
in which text (+data/bss) and heap appear in memory.

OTOH I think I should probably restrict its use to ARM, since the code
is ARM-only.
-- 
Krzysztof Halasa



More information about the barebox mailing list