Message ID | 1409796596-12615-5-git-send-email-lersek@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/Library/ArmVirtualizationPlatformLib/ArmVirtualizationPlatformLib.inf b/ArmPlatformPkg/ArmVirtualizationPkg/Library/ArmVirtualizationPlatformLib/ArmVirtualizationPlatformLib.inf index 5bb7f07..241766b 100644 --- a/ArmPlatformPkg/ArmVirtualizationPkg/Library/ArmVirtualizationPlatformLib/ArmVirtualizationPlatformLib.inf +++ b/ArmPlatformPkg/ArmVirtualizationPkg/Library/ArmVirtualizationPlatformLib/ArmVirtualizationPlatformLib.inf @@ -18,7 +18,7 @@ FILE_GUID = 00214cc1-06d1-45fe-9700-dca5726ad7bf MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = ArmPlatformLib + LIBRARY_CLASS = ArmPlatformLib|SEC PEIM [Packages] MdePkg/MdePkg.dec diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/Library/ArmVirtualizationPlatformLib/Virt.c b/ArmPlatformPkg/ArmVirtualizationPkg/Library/ArmVirtualizationPlatformLib/Virt.c index c1820d5..c10ef91 100644 --- a/ArmPlatformPkg/ArmVirtualizationPkg/Library/ArmVirtualizationPlatformLib/Virt.c +++ b/ArmPlatformPkg/ArmVirtualizationPkg/Library/ArmVirtualizationPlatformLib/Virt.c @@ -38,11 +38,7 @@ ArmPlatformGetBootMode ( } /** - Initialize controllers that must setup in the normal world - - This function is called by the ArmPlatformPkg/Pei or ArmPlatformPkg/Pei/PlatformPeim - in the PEI phase. - + This function is called by PrePeiCore, in the SEC phase. **/ RETURN_STATUS ArmPlatformInitialize ( @@ -62,6 +58,8 @@ ArmPlatformInitialize ( This memory is generally represented by the DRAM. + This function is called from InitializeMemory() in MemoryInitPeim, in the PEI + phase. **/ VOID ArmPlatformInitializeSystemMemory (
Also, clean up a number of phase-related comments. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> --- .../ArmVirtualizationPlatformLib/ArmVirtualizationPlatformLib.inf | 2 +- .../Library/ArmVirtualizationPlatformLib/Virt.c | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-)