Modified header files to make them compile

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2846 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bxing 2007-06-28 12:23:11 +00:00
parent f29ae5d6b8
commit b80fbe8543
60 changed files with 211 additions and 150 deletions

View File

@ -24,6 +24,9 @@
#ifndef _DATAHUB_RECORDS_H_
#define _DATAHUB_RECORDS_H_
#include <PiPei.h>
#include <Protocol/DevicePath.h>
#define EFI_PROCESSOR_SUBCLASS_VERSION 0x00010000
#include <Protocol/DevicePath.h>

View File

@ -22,8 +22,19 @@
#define _FRAMEWORK_DXE_CIS_H_
#include <PiDxe.h>
#include <Common/FrameworkStatusCode.h>
#include <Protocol/StatusCode.h>
//
// Function prototype for invoking a function on an Application Processor
// Used by both the SMM infrastructure and the MP Services Protocol
//
typedef
VOID
(EFIAPI *EFI_AP_PROCEDURE) (
IN VOID *Buffer
);
typedef struct {
EFI_TABLE_HEADER Hdr;

View File

@ -20,7 +20,7 @@
#ifndef _FRAMEWORK_FIRMWARE_FILE_SYSTEM_H_
#define _FRAMEWORK_FIRMWARE_FILE_SYSTEM_H_
#include <PiFirmwareFile.h>
#include <PiPei.h>
typedef UINT16 EFI_FFS_FILE_TAIL;

View File

@ -20,7 +20,7 @@
#ifndef _FRAMEWORK_HOB_H_
#define _FRAMEWORK_HOB_H_
#include <PiHob.h>
#include <PiPei.h>
//
// Capsule volume HOB -- identical to a firmware volume

View File

@ -30,6 +30,9 @@
//
#pragma pack(1)
typedef UINT8 SERIAL_MODE;
typedef UINT8 PARALLEL_MODE;
///////////////////////////////////////////////////////////////////////////////
// EFI_COMPATIBILITY16_TABLE is located at a 16-byte boundary starting with the
// signature "$EFI"

View File

@ -20,7 +20,7 @@
#ifndef _FRAMEWORK_SMM_CIS_H_
#define _FRAMEWORK_SMM_CIS_H_
#include <PiDxe.h>
#include <Common/FrameworkDxeCis.h>
#define EFI_SMM_CPU_IO_GUID \
{ \

View File

@ -34,6 +34,7 @@
#ifndef _FRAMEWORK_STATUS_CODE_H_
#define _FRAMEWORK_STATUS_CODE_H_
#include <PiPei.h>
//
// /////////////////////////////////////////////////////////////////////////////

View File

@ -1,24 +0,0 @@
/** @file
Header file that supports Framework extension to UEFI for all types of
modules.
This header file must include Framework extension definitions common to all
types of modules.
Copyright (c) 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: FrameworkBase.h
**/
#ifndef _FRAMEWORK_BASE_H_
#define _FRAMEWORK_BASE_H_
#endif

View File

@ -20,16 +20,8 @@
#ifndef _FRAMEWORK_DXE_H_
#define _FRAMEWORK_DXE_H_
#include <FrameworkBase.h>
#include <FrameworkPei.h>
#include <PiDxe.h>
#include <Common/FrameworkDxeCis.h>
#include <Common/FrameworkFirmwareFileSystem.h>
#include <Common/FrameworkHob.h>
#include <Common/FrameworkLegacy16.h>
#include <Common/DataHubRecords.h>
#include <Common/FrameworkStatusCode.h>
#include <Common/FrameworkStatusCodeDataTypeId.h>
#endif

View File

@ -20,14 +20,11 @@
#ifndef _FRAMEWORK_PEI_H_
#define _FRAMEWORK_PEI_H_
#include <FrameworkBase.h>
#include <PiPei.h>
#include <Common/FrameworkFirmwareFileSystem.h>
#include <Common/FrameworkHob.h>
#include <Common/FrameworkLegacy16.h>
#include <Common/DataHubRecords.h>
#include <Common/FrameworkStatusCode.h>
#include <Common/FrameworkStatusCodeDataTypeId.h>

View File

@ -22,6 +22,8 @@
#ifndef _ACPI_TABLE_STORAGE_H_
#define _ACPI_TABLE_STORAGE_H_
#include <PiPei.h>
#define EFI_ACPI_TABLE_STORAGE_GUID \
{ 0x7e374e25, 0x8e01, 0x4fee, {0x87, 0xf2, 0x39, 0xc, 0x23, 0xc6, 0x6, 0xcd } }

View File

@ -20,6 +20,8 @@
#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

@ -20,6 +20,8 @@
#ifndef _DATAHUB_RECORDS_GUID_H_
#define _DATAHUB_RECORDS_GUID_H_
#include <PiPei.h>
#define EFI_PROCESSOR_PRODUCER_GUID \
{ 0x1bf06aea, 0x5bec, 0x4a8d, {0x95, 0x76, 0x74, 0x9b, 0x09, 0x56, 0x2d, 0x30 } }

View File

@ -21,6 +21,8 @@
#ifndef _FRAMEWORK_DEVICE_PATH_GUID_H_
#define _FRAMEWORK_DEVICE_PATH_GUID_H_
#include <PiPei.h>
#define EFI_FRAMEWORK_DEVICE_PATH_GUID \
{ 0xb7084e63, 0x46b7, 0x4d1a, { 0x86, 0x77, 0xe3, 0x0b, 0x53, 0xdb, 0xf0, 0x50 } }

View File

@ -21,6 +21,8 @@
#ifndef _SMM_COMMUNICATE_GUID_H_
#define _SMM_COMMUNICATE_GUID_H_
#include <PiPei.h>
//******************************************************
// EFI_SMM_COMMUNICATE_HEADER
//******************************************************

View File

@ -20,6 +20,8 @@
#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,6 +20,8 @@
#ifndef __STATUS_CODE_DATA_TYPE_ID_GUID_H__
#define __STATUS_CODE_DATA_TYPE_ID_GUID_H__
#include <PiPei.h>
//
// String Data Type defintion. This is part of Status Code Specification
//

View File

@ -21,6 +21,8 @@
#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

@ -21,6 +21,8 @@
#ifndef _PEI_BOOT_SCRIPT_EXECUTER_PPI_H
#define _PEI_BOOT_SCRIPT_EXECUTER_PPI_H
#include <PiPei.h>
#define EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI_GUID \
{ \
0xabd42895, 0x78cf, 0x4872, {0x84, 0x44, 0x1b, 0x5c, 0x18, 0x0b, 0xfb, 0xff } \

View File

@ -21,6 +21,8 @@
#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

@ -21,6 +21,8 @@
#ifndef __PEI_RECOVERY_MODULE_PPI_H__
#define __PEI_RECOVERY_MODULE_PPI_H__
#include <PiPei.h>
#define EFI_PEI_RECOVERY_MODULE_PPI_GUID \
{ \
0xFB6D9542, 0x612D, 0x4f45, {0x87, 0x2F, 0x5C, 0xFF, 0x52, 0xE9, 0x3D, 0xCF } \

View File

@ -21,6 +21,8 @@
#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

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

View File

@ -21,6 +21,8 @@
#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

@ -21,6 +21,7 @@
#ifndef _PEI_SMBUS_PPI_H
#define _PEI_SMBUS_PPI_H
#include <PiPei.h>
#include <IndustryStandard/SmBus.h>
#define EFI_PEI_SMBUS_PPI_GUID \
@ -76,17 +77,6 @@ EFI_STATUS
IN OUT VOID *Buffer
);
typedef struct {
UINT32 VendorSpecificId;
UINT16 SubsystemDeviceId;
UINT16 SubsystemVendorId;
UINT16 Interface;
UINT16 DeviceId;
UINT16 VendorId;
UINT8 VendorRevision;
UINT8 DeviceCapabilities;
} EFI_SMBUS_UDID;
/**
CallBack function can be registered in EFI_PEI_SMBUS_PPI_NOTIFY.

View File

@ -21,6 +21,8 @@ Abstract:
#ifndef _ACPI_S3_SAVE_PROTOCOL_H
#define _ACPI_S3_SAVE_PROTOCOL_H
#include <PiDxe.h>
//
// Forward reference for pure ANSI compatability
//

View File

@ -20,6 +20,8 @@
#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

@ -20,6 +20,8 @@
#ifndef _BOOT_SCRIPT_SAVE_PROTOCOL_H
#define _BOOT_SCRIPT_SAVE_PROTOCOL_H
#include <PiDxe.h>
//
// S3 Save Protocol GUID
//

View File

@ -21,6 +21,8 @@
#ifndef _CPUIO_H_
#define _CPUIO_H_
#include <PiDxe.h>
#define EFI_CPU_IO_PROTOCOL_GUID \
{ \
0xB0732526, 0x38C8, 0x4b40, {0x88, 0x77, 0x61, 0xC7, 0xB0, 0x6A, 0xAC, 0x45 } \

View File

@ -26,6 +26,7 @@
#ifndef __CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_H__
#define __CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_H__
#include <PiPei.h>
//
// Protocol GUID definition. Each GUIDed section extraction protocol has the

View File

@ -26,6 +26,8 @@
#ifndef _DATA_HUB_H_
#define _DATA_HUB_H_
#include <PiDxe.h>
#define EFI_DATA_HUB_PROTOCOL_GUID \
{ \
0xae80d021, 0x618e, 0x11d4, {0xbc, 0xd7, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \

View File

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

View File

@ -24,6 +24,7 @@
#ifndef _FIRMWARE_VOLUME_BLOCK_H_
#define _FIRMWARE_VOLUME_BLOCK_H_
#include <PiDxe.h>
#define EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID \
{ \

View File

@ -24,6 +24,8 @@
#ifndef __FIRMWARE_VOLUME_DISPATCH_H__
#define __FIRMWARE_VOLUME_DISPATCH_H__
#include <PiDxe.h>
#define EFI_FIRMWARE_VOLUME_DISPATCH_PROTOCOL_GUID \
{ 0x7aa35a69, 0x506c, 0x444f, {0xa7, 0xaf, 0x69, 0x4b, 0xf5, 0x6f, 0x71, 0xc8 } }

View File

@ -24,6 +24,7 @@
#ifndef __FORM_CALLBACK_H__
#define __FORM_CALLBACK_H__
#include <PiDxe.h>
#define EFI_FORM_CALLBACK_PROTOCOL_GUID \
{ \

View File

@ -22,6 +22,8 @@
#ifndef _FRAMEWORK_HII_H_
#define _FRAMEWORK_HII_H_
#include <PiDxe.h>
//
// To get EFI_GRAPHICS_OUTPUT_BLT_PIXEL,
// is defined in MdePkg/Protocol/GraphicsOutput.h

View File

@ -26,6 +26,7 @@
#ifndef __GUIDED_SECTION_EXTRACTION_PROTOCOL_H__
#define __GUIDED_SECTION_EXTRACTION_PROTOCOL_H__
#include <PiDxe.h>
//
// Protocol GUID definition. Each GUIDed section extraction protocol has the

View File

@ -21,6 +21,8 @@
#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

@ -21,6 +21,8 @@
#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,6 +22,8 @@
#ifndef _EFI_LEGACY_8259_H_
#define _EFI_LEGACY_8259_H_
#include <PiDxe.h>
#define EFI_LEGACY_8259_PROTOCOL_GUID \
{ \
0x38321dba, 0x4fe0, 0x4e17, {0x8a, 0xec, 0x41, 0x30, 0x55, 0xea, 0xed, 0xc1 } \

View File

@ -32,6 +32,8 @@
#ifndef _EFI_LEGACY_BIOS_H_
#define _EFI_LEGACY_BIOS_H_
#include <FrameworkDxe.h>
#define EFI_LEGACY_BIOS_PROTOCOL_GUID \
{ \
0xdb9a1e3d, 0x45cb, 0x4abb, {0x85, 0x3b, 0xe5, 0x38, 0x7f, 0xdb, 0x2e, 0x2d } \

View File

@ -24,6 +24,8 @@
#ifndef _EFI_LEGACY_BIOS_PLATFORM_H_
#define _EFI_LEGACY_BIOS_PLATFORM_H_
#include <FrameworkDxe.h>
#define EFI_LEGACY_BIOS_PLATFORM_PROTOCOL_GUID \
{ \
0x783658a3, 0x4172, 0x4421, {0xa2, 0x99, 0xe0, 0x9, 0x7, 0x9c, 0xc, 0xb4 } \

View File

@ -21,6 +21,8 @@
#ifndef _EFI_LEGACY_INTERRUPT_H_
#define _EFI_LEGACY_INTERRUPT_H_
#include <PiDxe.h>
#define EFI_LEGACY_INTERRUPT_PROTOCOL_GUID \
{ \
0x31ce593d, 0x108a, 0x485d, {0xad, 0xb2, 0x78, 0xf2, 0x1f, 0x29, 0x66, 0xbe } \

View File

@ -21,6 +21,8 @@
#ifndef _EFI_LEGACY_REGION_H_
#define _EFI_LEGACY_REGION_H_
#include <PiDxe.h>
#define EFI_LEGACY_REGION_PROTOCOL_GUID \
{ \
0xfc9013a, 0x568, 0x4ba9, {0x9b, 0x7e, 0xc9, 0xc3, 0x90, 0xa6, 0x60, 0x9b } \

View File

@ -21,6 +21,7 @@
#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,6 +21,8 @@
#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

@ -21,6 +21,9 @@
#ifndef _PCI_PLATFORM_H_
#define _PCI_PLATFORM_H_
#include <PiDxe.h>
#include <Protocol/PciHostBridgeResourceAllocation.h>
//
// Protocol for GUID.
//

View File

@ -24,6 +24,7 @@
#ifndef _SECTION_EXTRACTION_PROTOCOL_H_
#define _SECTION_EXTRACTION_PROTOCOL_H_
#include <PiDxe.h>
//
// Protocol GUID definition

View File

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

View File

@ -22,6 +22,8 @@
#ifndef _SMM_BASE_H_
#define _SMM_BASE_H_
#include <FrameworkSmm.h>
#define EFI_SMM_BASE_PROTOCOL_GUID \
{ \
0x1390954D, 0xda95, 0x4227, {0x93, 0x28, 0x72, 0x82, 0xc2, 0x17, 0xda, 0xa8 } \

View File

@ -21,6 +21,8 @@
#ifndef _SMM_CONTROL_H_
#define _SMM_CONTROL_H_
#include <PiDxe.h>
typedef struct _EFI_SMM_CONTROL_PROTOCOL EFI_SMM_CONTROL_PROTOCOL;
#define EFI_SMM_CONTROL_PROTOCOL_GUID \

View File

@ -21,6 +21,8 @@
#ifndef _EFI_SMM_GPI_DISPATCH_H_
#define _EFI_SMM_GPI_DISPATCH_H_
#include <PiDxe.h>
//
// Global ID for the GPI SMI Protocol
//

View File

@ -21,6 +21,8 @@
#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,6 +21,8 @@
#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

@ -21,6 +21,8 @@
#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

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<PackageSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SpdHeader>
<PackageName>IntelFrameworkPkg</PackageName>
@ -32,7 +32,6 @@
<Filename>Library/UefiLibFramework/UefiLib.msa</Filename>
</MsaFiles>
<PackageHeaders>
<IncludePkgHeader ModuleType="BASE">Include/FrameworkBase.h</IncludePkgHeader>
<IncludePkgHeader ModuleType="PEIM">Include/FrameworkPei.h</IncludePkgHeader>
<IncludePkgHeader ModuleType="DXE_DRIVER">Include/FrameworkDxe.h</IncludePkgHeader>
<IncludePkgHeader ModuleType="DXE_RUNTIME_DRIVER">Include/FrameworkDxe.h</IncludePkgHeader>