summaryrefslogtreecommitdiff
path: root/UnixPkg/CpuRuntimeDxe
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/CpuRuntimeDxe
parent7075f412272c6f940be4c321bfea60fcc794d356 (diff)
downloadedk2-platforms-bac49e7747f0835123e01d72608324dc6b36ba94.tar.xz
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/CpuRuntimeDxe')
-rw-r--r--UnixPkg/CpuRuntimeDxe/Cpu.c3
-rw-r--r--UnixPkg/CpuRuntimeDxe/CpuIo.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/UnixPkg/CpuRuntimeDxe/Cpu.c b/UnixPkg/CpuRuntimeDxe/Cpu.c
index 689a50a704..dc25d4d812 100644
--- a/UnixPkg/CpuRuntimeDxe/Cpu.c
+++ b/UnixPkg/CpuRuntimeDxe/Cpu.c
@@ -21,7 +21,7 @@ Abstract:
in this driver.
--*/
-#include "PiDxe.h"
+#include <FrameworkDxe.h>
#include <Protocol/Cpu.h>
#include <Protocol/DataHub.h>
#include <Guid/DataHubRecords.h>
@@ -36,7 +36,6 @@ Abstract:
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
-#include <Framework/DataHubRecords.h>
#include "CpuDriver.h"
#include "UnixDxe.h"
#include <Protocol/UnixIo.h>
diff --git a/UnixPkg/CpuRuntimeDxe/CpuIo.c b/UnixPkg/CpuRuntimeDxe/CpuIo.c
index 5c3ebb2f38..5980a03d44 100644
--- a/UnixPkg/CpuRuntimeDxe/CpuIo.c
+++ b/UnixPkg/CpuRuntimeDxe/CpuIo.c
@@ -22,7 +22,7 @@ Abstract:
Bridge I/O Protocol.
--*/
-#include "PiDxe.h"
+#include <FrameworkDxe.h>
#include <Protocol/Cpu.h>
#include <Protocol/DataHub.h>
#include <Guid/DataHubRecords.h>