diff --git a/OvmfPkg/IntelTdx/Sec/SecMain.c b/OvmfPkg/IntelTdx/Sec/SecMain.c index 42a587adfa..4e750755bf 100644 --- a/OvmfPkg/IntelTdx/Sec/SecMain.c +++ b/OvmfPkg/IntelTdx/Sec/SecMain.c @@ -11,7 +11,6 @@ #include -#include #include #include #include @@ -125,7 +124,7 @@ SecCoreStartupWithStack ( IdtDescriptor.Base = (UINTN)&IdtTableInStack.IdtTable; IdtDescriptor.Limit = (UINT16)(sizeof (IdtTableInStack.IdtTable) - 1); - ProcessLibraryConstructorList (NULL, NULL); + ProcessLibraryConstructorList (); // // Load the IDTR. diff --git a/OvmfPkg/IntelTdx/Sec/SecMain.inf b/OvmfPkg/IntelTdx/Sec/SecMain.inf index 7fb27941b7..cf95284f02 100644 --- a/OvmfPkg/IntelTdx/Sec/SecMain.inf +++ b/OvmfPkg/IntelTdx/Sec/SecMain.inf @@ -8,7 +8,7 @@ ## [Defines] - INF_VERSION = 0x00010005 + INF_VERSION = 1.30 BASE_NAME = SecMain FILE_GUID = 69d96630-eb64-4b33-8491-13a5cf023dcf MODULE_TYPE = SEC