]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Sec/SecMain.c
OvmfPkg: Refactor ProcessHobList
[mirror_edk2.git] / OvmfPkg / Sec / SecMain.c
index 1167d22a68cc0e75268fd2f1a4cddfc993592ab2..a27dc9406b7080c13677bdd1acd3bd228b6ffc64 100644 (file)
@@ -29,7 +29,7 @@
 #include <Library/CpuExceptionHandlerLib.h>\r
 #include <Ppi/TemporaryRamSupport.h>\r
 #include <Ppi/MpInitLibDep.h>\r
-#include <Library/PlatformInitLib.h>\r
+#include <Library/TdxHelperLib.h>\r
 #include <Library/CcProbeLib.h>\r
 #include "AmdSev.h"\r
 \r
@@ -765,7 +765,7 @@ SecCoreStartupWithStack (
     // first so that the memory is accepted. Otherwise access to the unaccepted\r
     // memory will trigger tripple fault.\r
     //\r
-    if (ProcessTdxHobList () != EFI_SUCCESS) {\r
+    if (TdxHelperProcessTdHob () != EFI_SUCCESS) {\r
       CpuDeadLoop ();\r
     }\r
   }\r