On 12/11/13 03:05, Gao, Liming wrote:
> Laszlo:
> In EDKII implementation, StackHob is created in PeiCore by
> BuildStackHob() API. And, PeiHobLib instance in MdePkg implements
> BuildStackHob() to always specify EfiBootServicesData for it. So, I
> am curious how you create the old StackHob with other memory type,
> such as EfiACPIMemoryNVS.

Please see the next patch in the series -- I look up the HOB by GUID and
change its type :)

But it shouldn't be necessary for the next version of the series -- I
hope I can drop this MdeModulePkg patch too.

This is part of an attempt to make the permanent PEI core memory (after
temporary RAM migration) EfiACPIMemoryNVS, so that it survives under the
OS and is available after resume again.

However, Jiewen explained that this approach was wrong. During resume I
must install the PEI core memory so that it is located in pre-reserved
storage. Then the RAM migration and all allocations will happen in that
storage. So this patch (and the next patch too) become superfluous.

Thanks
Laszlo

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to