[edk2-devel] [PATCH V8 24/47] OvmfPkg/PlatformPei: Refactor InitializeRamRegions

Gerd Hoffmann kraxel at redhat.com
Tue Mar 15 08:05:53 UTC 2022


On Sat, Mar 12, 2022 at 09:53:49AM +0800, Min Xu wrote:
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3863
> 
> InitializeRamRegions is refactored into 3 calls:
>  - PlatformQemuInitializeRam
>  - SevInitializeRam
>  - PlatformQemuInitializeRamForS3
> 
> SevInitializeRam is not in PlatformInitLib. Because in the first stage
> PlatformInitLib only support the basic platform featues.
> 
> PlatformQemuInitializeRamForS3 wraps the code which was previously in
> InitializeRamRegions (many code in 2 if-checks).
> 
> Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
> Cc: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Brijesh Singh <brijesh.singh at amd.com>
> Cc: Erdem Aktas <erdemaktas at google.com>
> Cc: James Bottomley <jejb at linux.ibm.com>
> Cc: Jiewen Yao <jiewen.yao at intel.com>
> Cc: Tom Lendacky <thomas.lendacky at amd.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: Sebastien Boeuf <sebastien.boeuf at intel.com>
> Signed-off-by: Min Xu <min.m.xu at intel.com>

Acked-by: Gerd Hoffmann <kraxel at redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87581): https://edk2.groups.io/g/devel/message/87581
Mute This Topic: https://groups.io/mt/89793377/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list