diff --git a/OvmfPkg/RiscVVirt/Sec/Memory.c b/OvmfPkg/RiscVVirt/Sec/Memory.c index 7c6d920bd2..14c9569c78 100644 --- a/OvmfPkg/RiscVVirt/Sec/Memory.c +++ b/OvmfPkg/RiscVVirt/Sec/Memory.c @@ -25,7 +25,6 @@ Module Name: #include #include #include -#include #include #include #include diff --git a/OvmfPkg/RiscVVirt/Sec/SecMain.h b/OvmfPkg/RiscVVirt/Sec/SecMain.h index 7c7650f0d2..fd7c48f876 100644 --- a/OvmfPkg/RiscVVirt/Sec/SecMain.h +++ b/OvmfPkg/RiscVVirt/Sec/SecMain.h @@ -49,18 +49,6 @@ SecStartup ( IN VOID *DeviceTreeAddress ); -/** - Auto-generated function that calls the library constructors for all of the module's - dependent libraries. This function must be called by the SEC Core once a stack has - been established. - -**/ -VOID -EFIAPI -ProcessLibraryConstructorList ( - VOID - ); - /** Perform Platform PEIM initialization. diff --git a/OvmfPkg/RiscVVirt/Sec/SecMain.inf b/OvmfPkg/RiscVVirt/Sec/SecMain.inf index 0e2a5785e8..73df0ee4cb 100644 --- a/OvmfPkg/RiscVVirt/Sec/SecMain.inf +++ b/OvmfPkg/RiscVVirt/Sec/SecMain.inf @@ -8,7 +8,7 @@ ## [Defines] - INF_VERSION = 0x0001001B + INF_VERSION = 1.30 BASE_NAME = SecMainRiscV64 FILE_GUID = 16740C0A-AA84-4F62-A06D-AE328057AE07 MODULE_TYPE = SEC