Re: [edk2-devel] [PATCH] Platform/Loongson: Remove minimium memory size limitation

2024-03-26 Thread xianglai
hi  maobibo: > > > On 2024/3/25 下午5:25, xianglai wrote: >> From: Bibo Mao >> >> Temparory stack memory on PEI is hardcoded now, also minimium memory >> [..] >> + >> +  QemuFwCfgSelectItem (FwCfgItem); >> +  for (Processed = 0; Processed < FwCfgSize; Processed += sizeof >> MemoryMapEntry) {

Re: [edk2-devel] [PATCH] Platform/Loongson: Remove minimium memory size limitation

2024-03-25 Thread maobibo
On 2024/3/25 下午5:25, xianglai wrote: From: Bibo Mao Temparory stack memory on PEI is hardcoded now, also minimium memory size 256M is hardcoded now. Here memory map table from fw cfg can be parsed. If there is memory map entry contains pei stack, it can be published as usable memory at PEI

[edk2-devel] [PATCH] Platform/Loongson: Remove minimium memory size limitation

2024-03-25 Thread xianglai
From: Bibo Mao Temparory stack memory on PEI is hardcoded now, also minimium memory size 256M is hardcoded now. Here memory map table from fw cfg can be parsed. If there is memory map entry contains pei stack, it can be published as usable memory at PEI stage. Signed-off-by: Bibo Mao