summaryrefslogtreecommitdiffstats
path: root/UnixPkg/Sec
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-11 23:29:23 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-11 23:29:23 +0000
commitbac49e7747f0835123e01d72608324dc6b36ba94 (patch)
tree45853f40d4ec3d39fc0b7024f8e87158f237c8ea /UnixPkg/Sec
parent7075f412272c6f940be4c321bfea60fcc794d356 (diff)
downloadedk2-bac49e7747f0835123e01d72608324dc6b36ba94.tar.gz
edk2-bac49e7747f0835123e01d72608324dc6b36ba94.tar.bz2
edk2-bac49e7747f0835123e01d72608324dc6b36ba94.zip
Remove extra #includes where possible to make build more efficient
If module really is a Framework module and not a PI module, then use FrameworkDxe.h instead of PeDxe.h and FrameworkPei.h instead of PiPei.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8902 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Sec')
-rw-r--r--UnixPkg/Sec/SecMain.c1
-rw-r--r--UnixPkg/Sec/SecMain.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/UnixPkg/Sec/SecMain.c b/UnixPkg/Sec/SecMain.c
index ae5b1fb306..4e09ddc3e1 100644
--- a/UnixPkg/Sec/SecMain.c
+++ b/UnixPkg/Sec/SecMain.c
@@ -35,7 +35,6 @@ Abstract:
#include "SecMain.h"
#include <sys/mman.h>
#include <Ppi/UnixPeiLoadFile.h>
-#include <Framework/StatusCode.h>
#include <Ppi/TemporaryRamSupport.h>
#include <dlfcn.h>
//
diff --git a/UnixPkg/Sec/SecMain.h b/UnixPkg/Sec/SecMain.h
index d80d6b44b4..236a50ee43 100644
--- a/UnixPkg/Sec/SecMain.h
+++ b/UnixPkg/Sec/SecMain.h
@@ -17,11 +17,9 @@ Abstract:
Include file for host API based SEC
--*/
-#include "PiPei.h"
-#include "Uefi/UefiSpec.h"
+#include <FrameworkPei.h>
#include <Protocol/UnixThunk.h>
-#include <Pi/PiFirmwareVolume.h>
#include <Ppi/StatusCode.h>
#include <Library/PeCoffLib.h>