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


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8900 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2009-07-11 23:27:49 +00:00
parent 87d6344732
commit 79bc7a89f7
11 changed files with 9 additions and 17 deletions

View File

@ -16,8 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _SERIAL_H_
#include <PiDxe.h>
#include <FrameworkPei.h>
#include <FrameworkDxe.h>
#include <Protocol/IsaIo.h>
#include <Protocol/SerialIo.h>

View File

@ -15,8 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _PS2KEYBOARD_H_
#define _PS2KEYBOARD_H_
#include <PiDxe.h>
#include <Framework/StatusCode.h>
#include <FrameworkDxe.h>
#include <Protocol/SimpleTextIn.h>
#include <Protocol/SimpleTextInEx.h>

View File

@ -15,8 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef __PS2MOUSEABSOLUTEPOINTER_H__
#define __PS2MOUSEABSOLUTEPOINTER_H__
#include <PiDxe.h>
#include <Framework/StatusCode.h>
#include <FrameworkDxe.h>
#include <Protocol/AbsolutePointer.h>
#include <Protocol/IsaIo.h>

View File

@ -15,8 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _PS2MOUSE_H_
#define _PS2MOUSE_H_
#include <PiDxe.h>
#include <Framework/StatusCode.h>
#include <FrameworkDxe.h>
#include <Protocol/SimplePointer.h>
#include <Protocol/IsaIo.h>

View File

@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _INTERNAL_BDS_LIB_H_
#define _INTERNAL_BDS_LIB_H_
#include <PiDxe.h>
#include <FrameworkDxe.h>
#include <IndustryStandard/Pci22.h>
#include <IndustryStandard/PeImage.h>

View File

@ -12,9 +12,8 @@
**/
#include <FrameworkPei.h>
#include <Guid/StatusCodeDataTypeId.h>
#include <Guid/StatusCodeDataTypeDebug.h>

View File

@ -12,7 +12,6 @@
**/
#include <FrameworkPei.h>
#include <Guid/StatusCodeDataTypeId.h>

View File

@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _BDS_MODULE_H_
#define _BDS_MODULE_H_
#include <PiDxe.h>
#include <FrameworkDxe.h>
#include <IndustryStandard/PeImage.h>
#include <Guid/MdeModuleHii.h>
#include <Guid/FileSystemVolumeLabelInfo.h>

View File

@ -16,7 +16,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _VGA_CLASS_H__
#define _VGA_CLASS_H__
#include <PiDxe.h>
#include <FrameworkDxe.h>
#include <Protocol/SimpleTextOut.h>

View File

@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define _DATA_HUB_H_
#include <PiDxe.h>
#include <FrameworkDxe.h>
#include <Protocol/DataHub.h>

View File

@ -15,9 +15,8 @@
#ifndef __PEI_STATUS_CODE_H__
#define __PEI_STATUS_CODE_H__
#include <FrameworkPei.h>
#include <Guid/MemoryStatusCodeRecord.h>
#include <Guid/StatusCodeDataTypeId.h>
#include <Guid/StatusCodeDataTypeDebug.h>