On 10/17/2011 04:24 AM, Marc Jones wrote:
> On Sun, Oct 16, 2011 at 4:57 AM, Oskar Enoksson<enok(a)lysator.liu.se> wrote:
>> Can someone explain what RAMINIT_SYSINFO configuration option does? I
>> thought I understood, but I don't.
>>
>> /Oskar
> Hi Oskar,
>
> RAMINIT_SYSINFO is the config option to create the AMD sysinfo
> structure in CAR above the stack. This is a way to get global data in
> the romstage (heap like without any management). The space for the
> data structure is allocated by the DCACHE_RAM_GLOBAL_VAR_SIZE config
> and the pointer is setup in cache_as_ram_main.
So setting RAMINIT_SYSINFO enables some functionality that needs that
data in the romstage, e.g. optimize_link_incoherent_ht (?) But what
would be the reason to NOT use RAMINIT_SYSINFO? To save space in the cache?