Clean the public header files to remove the unnecessary include files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8871 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2009-07-10 09:30:53 +00:00
parent 2d63030254
commit 0e0eeecad4
58 changed files with 18 additions and 92 deletions

View File

@ -24,9 +24,7 @@
#ifndef _DATAHUB_RECORDS_H_
#define _DATAHUB_RECORDS_H_
#include <PiPei.h>
#include <Protocol/DevicePath.h>
#include <Protocol/FrameworkHii.h>
#include <Framework/FrameworkInternalFormRepresentation.h>
#define EFI_PROCESSOR_SUBCLASS_VERSION 0x0100

View File

@ -16,8 +16,6 @@
#ifndef _DXE_CIS_H_
#define _DXE_CIS_H_
#include <PiDxe.h>
#include <Framework/StatusCode.h>
#include <Protocol/StatusCode.h>
//

View File

@ -20,6 +20,8 @@
#ifndef __FRAMEWORK_INTERNAL_FORMREPRESENTATION_H__
#define __FRAMEWORK_INTERNAL_FORMREPRESENTATION_H__
typedef UINT16 STRING_REF;
//
// IFR Op codes
//

View File

@ -20,8 +20,6 @@
#ifndef _FRAMEWORK_HOB_H_
#define _FRAMEWORK_HOB_H_
#include <PiPei.h>
///
/// Capsule volume HOB -- identical to a firmware volume
/// This macro is defined to comply with hob Framework Spec. And the marco has been

View File

@ -25,8 +25,6 @@
#ifndef _FRAMEWORK_LEGACY_16_H_
#define _FRAMEWORK_LEGACY_16_H_
#include <Base.h>
#pragma pack(1)
typedef UINT8 SERIAL_MODE;

View File

@ -16,7 +16,6 @@
#ifndef __PEICIS_H__
#define __PEICIS_H__
#include <PiPei.h>
#include <Ppi/PciCfg.h>
//
// Framework PEI Specification Revision information

View File

@ -16,8 +16,6 @@
#ifndef _FRAMEWORK_SMM_CIS_H_
#define _FRAMEWORK_SMM_CIS_H_
#include <Framework/DxeCis.h>
#define EFI_SMM_CPU_IO_GUID \
{ \
0x5f439a0b, 0x45d8, 0x4682, {0xa4, 0xf4, 0xf0, 0x57, 0x6b, 0x51, 0x34, 0x41 } \

View File

@ -34,8 +34,6 @@
#ifndef _FRAMEWORK_STATUS_CODE_H_
#define _FRAMEWORK_STATUS_CODE_H_
#include <PiPei.h>
//
// Section 1
// Class definitions

View File

@ -19,10 +19,15 @@
#ifndef _FRAMEWORK_DXE_H_
#define _FRAMEWORK_DXE_H_
#include <FrameworkPei.h>
#include <Framework/DxeCis.h>
#include <PiDxe.h>
#include <Framework/FrameworkInternalFormRepresentation.h>
#include <Framework/DataHubRecords.h>
#include <Framework/FirmwareVolumeImageFormat.h>
#include <Framework/FirmwareVolumeHeader.h>
#include <Framework/Hob.h>
#include <Framework/Legacy16.h>
#include <Framework/StatusCode.h>
#include <Framework/DxeCis.h>
#endif

View File

@ -22,12 +22,10 @@
#include <PiPei.h>
#include <Framework/PeiCis.h>
#include <Framework/DataHubRecords.h>
#include <Framework/FirmwareVolumeImageFormat.h>
#include <Framework/FirmwareVolumeHeader.h>
#include <Framework/Hob.h>
#include <Framework/Legacy16.h>
#include <Framework/StatusCode.h>
#include <Framework/PeiCis.h>
#endif

View File

@ -17,8 +17,6 @@
#ifndef _CAPSULE_GUID_H__
#define _CAPSULE_GUID_H__
#include <PiPei.h>
//
// This is the GUID of the capsule header of the image on disk.
//

View File

@ -17,7 +17,7 @@
#ifndef _DATAHUB_RECORDS_GUID_H_
#define _DATAHUB_RECORDS_GUID_H_
#include <PiPei.h>
#include <Framework/DataHubRecords.h>
#define EFI_PROCESSOR_SUBCLASS_GUID \
{ 0x26fdeb7e, 0xb8af, 0x4ccf, {0xaa, 0x97, 0x02, 0x63, 0x3c, 0xe4, 0x8c, 0xa7 } }

View File

@ -21,8 +21,6 @@
#ifndef __FIRMWARE_FILE_SYSTEM_GUID_H__
#define __FIRMWARE_FILE_SYSTEM_GUID_H__
#include <PiPei.h>
///
/// GUIDs defined by the FFS specification.
///

View File

@ -21,8 +21,6 @@
#ifndef _SMM_COMMUNICATE_GUID_H_
#define _SMM_COMMUNICATE_GUID_H_
#include <PiPei.h>
///
/// Inconsistent with specification here:
/// GUID definition format has been changed, because the GUID format in Framework spec is incorrect.

View File

@ -25,8 +25,6 @@
#ifndef _EFI_SMM_PEI_SMRAM_MEMORY_RESERVE_H_
#define _EFI_SMM_PEI_SMRAM_MEMORY_RESERVE_H_
#include <PiPei.h>
#define EFI_SMM_PEI_SMRAM_MEMORY_RESERVE \
{ \
0x6dadf1d1, 0xd4cc, 0x4910, {0xbb, 0x6e, 0x82, 0xb1, 0xfd, 0x80, 0xff, 0x3d } \

View File

@ -20,9 +20,7 @@
#ifndef __STATUS_CODE_DATA_TYPE_ID_GUID_H__
#define __STATUS_CODE_DATA_TYPE_ID_GUID_H__
#include <PiPei.h>
#include <Framework/StatusCode.h>
#include <Framework/DataHubRecords.h>
#include <Protocol/DebugSupport.h>
#include <Protocol/FrameworkHii.h>

View File

@ -21,8 +21,6 @@
#ifndef _PEI_BLOCK_IO_H_
#define _PEI_BLOCK_IO_H_
#include <PiPei.h>
#define EFI_PEI_IDE_BLOCK_IO_PPI \
{ \
0x0964e5b22, 0x6459, 0x11d2, { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \

View File

@ -28,7 +28,7 @@
#ifndef _PEI_BOOT_SCRIPT_EXECUTER_PPI_H_
#define _PEI_BOOT_SCRIPT_EXECUTER_PPI_H_
#include <PiPei.h>
#include <FrameworkPei.h>
#define EFI_ACPI_S3_RESUME_SCRIPT_TABLE 0x00

View File

@ -26,8 +26,6 @@
#ifndef _PEI_DEVICE_RECOVERY_MODULE_PPI_H_
#define _PEI_DEVICE_RECOVERY_MODULE_PPI_H_
#include <PiPei.h>
#define EFI_PEI_DEVICE_RECOVERY_MODULE_PPI_GUID \
{ \
0x0DE2CE25, 0x446A, 0x45a7, {0xBF, 0xC9, 0x37, 0xDA, 0x26, 0x34, 0x4B, 0x37 } \

View File

@ -21,8 +21,6 @@
#ifndef _FIND_FV_H_
#define _FIND_FV_H_
#include <PiPei.h>
///
/// Inconsistent with specification here:
/// GUID value format has been changed to the standard guid format.

View File

@ -21,11 +21,10 @@
#ifndef __PEI_PCI_CFG_H__
#define __PEI_PCI_CFG_H__
#include <Pi/PiPeiCis.h>
#include <Ppi/PciCfg2.h>
//
// Get the common definitions for EFI_PEI_PCI_CFG_PPI_WIDTH.
//
#include <Ppi/PciCfg2.h>
#define EFI_PEI_PCI_CFG_PPI_INSTALLED_GUID \
{ \

View File

@ -21,8 +21,6 @@
#ifndef __PEI_READ_ONLY_VARIABLE_PPI_H__
#define __PEI_READ_ONLY_VARIABLE_PPI_H__
#include <PiPei.h>
#define EFI_PEI_READ_ONLY_VARIABLE_ACCESS_PPI_GUID \
{ \
0x3cdc90c6, 0x13fb, 0x4a75, {0x9e, 0x79, 0x59, 0xe9, 0xdd, 0x78, 0xb9, 0xfa } \

View File

@ -22,8 +22,6 @@
#ifndef __PEI_RECOVERY_MODULE_PPI_H__
#define __PEI_RECOVERY_MODULE_PPI_H__
#include <PiPei.h>
///
/// Inconsistent with specification here:
/// GUID marco name has been changed to the consistent PPI GUID macro name.

View File

@ -37,8 +37,6 @@
#ifndef __PEI_S3_RESUME_PPI_H__
#define __PEI_S3_RESUME_PPI_H__
#include <PiPei.h>
#define EFI_PEI_S3_RESUME_PPI_GUID \
{ \
0x4426CCB2, 0xE684, 0x4a8a, {0xAE, 0x40, 0x20, 0xD4, 0xB0, 0x25, 0xB7, 0x10 } \

View File

@ -18,8 +18,6 @@
#ifndef __SECTION_EXTRACTION_H__
#define __SECTION_EXTRACTION_H__
#include <PiPei.h>
#define EFI_PEI_SECTION_EXTRACTION_PPI_GUID \
{ \
0x4F89E208, 0xE144, 0x4804, {0x9E, 0xC8, 0x0F, 0x89, 0x4F, 0x7E, 0x36, 0xD7 } \

View File

@ -25,8 +25,6 @@
#ifndef __SECURITY_PPI_H__
#define __SECURITY_PPI_H__
#include <PiPei.h>
#define EFI_PEI_SECURITY_PPI_GUID \
{ \
0x1388066e, 0x3a57, 0x4efa, {0x98, 0xf3, 0xc1, 0x2f, 0x3a, 0x95, 0x8a, 0x29 } \

View File

@ -20,7 +20,6 @@
#ifndef _PEI_SMBUS_PPI_H_
#define _PEI_SMBUS_PPI_H_
#include <PiPei.h>
#include <Ppi/Smbus2.h>
#define EFI_PEI_SMBUS_PPI_GUID \

View File

@ -20,8 +20,6 @@
#ifndef _ACPI_S3_SAVE_PROTOCOL_H_
#define _ACPI_S3_SAVE_PROTOCOL_H_
#include <PiDxe.h>
//
// Forward reference for pure ANSI compatability
//

View File

@ -26,8 +26,6 @@
#ifndef _ACPI_SUPPORT_PROTOCOL_H_
#define _ACPI_SUPPORT_PROTOCOL_H_
#include <PiDxe.h>
typedef struct _EFI_ACPI_SUPPORT_PROTOCOL EFI_ACPI_SUPPORT_PROTOCOL;
//

View File

@ -19,7 +19,6 @@
#ifndef _BOOT_SCRIPT_SAVE_PROTOCOL_H_
#define _BOOT_SCRIPT_SAVE_PROTOCOL_H_
#include <PiDxe.h>
//
// To get the multiple phase definitions defined in Boot Script Specification
//

View File

@ -20,7 +20,6 @@
#ifndef _CPUIO_H_
#define _CPUIO_H_
#include <PiDxe.h>
#define EFI_CPU_IO_PROTOCOL_GUID \
{ \

View File

@ -20,7 +20,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef __DATA_HUB_H__
#define __DATA_HUB_H__
#include <PiDxe.h>
#define EFI_DATA_HUB_PROTOCOL_GUID \
{ \

View File

@ -25,7 +25,6 @@
#ifndef _FIRMWARE_VOLUME_H_
#define _FIRMWARE_VOLUME_H_
#include <PiDxe.h>
//
// Firmware Volume Protocol GUID definition

View File

@ -18,7 +18,6 @@
#ifndef __FRAMEWORK_FIRMWARE_VOLUME_BLOCK_H__
#define __FRAMEWORK_FIRMWARE_VOLUME_BLOCK_H__
#include <PiDxe.h>
typedef struct _FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL;
///

View File

@ -22,8 +22,6 @@
#ifndef __FORM_CALLBACK_H__
#define __FORM_CALLBACK_H__
#include <FrameworkDxe.h>
#include <Protocol/FrameworkHii.h>
#include <Protocol/FrameworkFormBrowser.h>

View File

@ -19,8 +19,7 @@
#ifndef _FRAMEWORK_HII_H_
#define _FRAMEWORK_HII_H_
#include <PiDxe.h>
#include <FrameworkDxe.h>
//
// To get EFI_GRAPHICS_OUTPUT_BLT_PIXEL,
// is defined in MdePkg/Protocol/GraphicsOutput.h
@ -48,7 +47,6 @@
0x5542cce1, 0xdf5c, 0x4d1b, { 0xab, 0xca, 0x36, 0x4f, 0x77, 0xd3, 0x99, 0xfb } \
}
typedef UINT16 STRING_REF;
typedef UINT32 RELOFST;
typedef struct _EFI_HII_PROTOCOL EFI_HII_PROTOCOL;

View File

@ -29,7 +29,6 @@
#ifndef _EFI_IDE_CONTROLLER_INIT_PROTOCOL_H_
#define _EFI_IDE_CONTROLLER_INIT_PROTOCOL_H_
#include <PiDxe.h>
///
/// Global ID for the EFI Platform IDE Protocol GUID

View File

@ -33,7 +33,6 @@
#ifndef _INCOMPATIBLE_PCI_DEVICE_SUPPORT_H_
#define _INCOMPATIBLE_PCI_DEVICE_SUPPORT_H_
#include <PiDxe.h>
#define EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL_GUID \
{0xeb23f55a, 0x7863, 0x4ac2, {0x8d, 0x3d, 0x95, 0x65, 0x35, 0xde, 0x03, 0x75} }

View File

@ -22,7 +22,6 @@
#ifndef _EFI_LEGACY_8259_H_
#define _EFI_LEGACY_8259_H_
#include <PiDxe.h>
#define EFI_LEGACY_8259_PROTOCOL_GUID \
{ \

View File

@ -32,7 +32,7 @@
#ifndef _EFI_LEGACY_BIOS_H_
#define _EFI_LEGACY_BIOS_H_
#include <FrameworkDxe.h>
#include <Framework/Legacy16.h>
#define EFI_LEGACY_BIOS_PROTOCOL_GUID \
{ \

View File

@ -24,7 +24,7 @@
#ifndef _EFI_LEGACY_BIOS_PLATFORM_H_
#define _EFI_LEGACY_BIOS_PLATFORM_H_
#include <FrameworkDxe.h>
#include <Framework/Legacy16.h>
#define EFI_LEGACY_BIOS_PLATFORM_PROTOCOL_GUID \
{ \

View File

@ -19,7 +19,6 @@
#ifndef _EFI_LEGACY_INTERRUPT_H_
#define _EFI_LEGACY_INTERRUPT_H_
#include <PiDxe.h>
#define EFI_LEGACY_INTERRUPT_PROTOCOL_GUID \
{ \

View File

@ -21,7 +21,6 @@
#ifndef _EFI_LEGACY_REGION_H_
#define _EFI_LEGACY_REGION_H_
#include <PiDxe.h>
#define EFI_LEGACY_REGION_PROTOCOL_GUID \
{ \

View File

@ -21,7 +21,6 @@
#ifndef _PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_H_
#define _PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_H_
#include <PiDxe.h>
#include <Protocol/PciRootBridgeIo.h>
#define EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL_GUID \

View File

@ -21,7 +21,6 @@
#ifndef _EFI_PCI_HOT_PLUG_INIT_H_
#define _EFI_PCI_HOT_PLUG_INIT_H_
#include <PiDxe.h>
///
/// Global ID for the PCI Hot Plug Protocol

View File

@ -22,7 +22,6 @@
#ifndef _PCI_PLATFORM_H_
#define _PCI_PLATFORM_H_
#include <PiDxe.h>
#include <Protocol/PciHostBridgeResourceAllocation.h>
//

View File

@ -25,9 +25,6 @@
#ifndef _SECTION_EXTRACTION_PROTOCOL_H_
#define _SECTION_EXTRACTION_PROTOCOL_H_
#include <PiDxe.h>
#include <Framework/FirmwareVolumeImageFormat.h>
//
// Protocol GUID definition
//

View File

@ -23,7 +23,6 @@
#ifndef _SMM_ACCESS_H_
#define _SMM_ACCESS_H_
#include <PiDxe.h>
#include <Guid/SmramMemoryReserve.h>
typedef struct _EFI_SMM_ACCESS_PROTOCOL EFI_SMM_ACCESS_PROTOCOL;

View File

@ -29,7 +29,6 @@
#ifndef _SMM_CONTROL_H_
#define _SMM_CONTROL_H_
#include <PiDxe.h>
typedef struct _EFI_SMM_CONTROL_PROTOCOL EFI_SMM_CONTROL_PROTOCOL;

View File

@ -20,7 +20,6 @@
#ifndef _SMM_GPI_DISPATCH_H_
#define _SMM_GPI_DISPATCH_H_
#include <PiDxe.h>
//
// Global ID for the GPI SMI Protocol

View File

@ -23,7 +23,6 @@
#ifndef _EFI_SMM_ICHN_DISPATCH_H_
#define _EFI_SMM_ICHN_DISPATCH_H_
#include <PiDxe.h>
//
// Global ID for the ICH SMI Protocol

View File

@ -21,7 +21,6 @@
#ifndef _EFI_SMM_PERIODIC_TIMER_DISPATCH_H_
#define _EFI_SMM_PERIODIC_TIMER_DISPATCH_H_
#include <PiDxe.h>
//
// Global ID for the Periodic Timer SMI Protocol

View File

@ -19,7 +19,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _EFI_SMM_POWER_BUTTON_DISPATCH_H_
#define _EFI_SMM_POWER_BUTTON_DISPATCH_H_
#include <PiDxe.h>
//
// Global ID for the Power Button SMI Protocol

View File

@ -23,8 +23,6 @@
#ifndef _EFI_SMM_STANDBY_BUTTON_DISPATCH_H_
#define _EFI_SMM_STANDBY_BUTTON_DISPATCH_H_
#include <FrameworkSmm.h>
//
// Global ID for the Standby Button SMI Protocol
//

View File

@ -23,9 +23,6 @@
#ifndef _EFI_SMM_ICHN_DISPATCH_H_
#define _EFI_SMM_ICHN_DISPATCH_H_
#include <PiDxe.h>
#include <Pi/PiStatusCode.h>
//
// Global ID for the Smm Status code Protocol
//

View File

@ -21,7 +21,6 @@
#ifndef _EFI_SMM_SW_DISPATCH_H_
#define _EFI_SMM_SW_DISPATCH_H_
#include <PiDxe.h>
//
// Global ID for the SW SMI Protocol

View File

@ -21,7 +21,6 @@
#ifndef _EFI_SMM_SX_DISPATCH_H_
#define _EFI_SMM_SX_DISPATCH_H_
#include <PiDxe.h>
//
// Global ID for the Sx SMI Protocol

View File

@ -19,7 +19,6 @@
#ifndef _EFI_SMM_USB_DISPATCH_H_
#define _EFI_SMM_USB_DISPATCH_H_
#include <PiDxe.h>
//
// Global ID for the USB Protocol