2007-06-28 09:00:39 +02:00
|
|
|
/*++
|
|
|
|
|
2011-10-19 07:44:28 +02:00
|
|
|
Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
|
2010-04-28 13:42:36 +02:00
|
|
|
This program and the accompanying materials
|
2007-06-28 09:00:39 +02:00
|
|
|
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:
|
|
|
|
|
|
|
|
EdkIIGlueUefi.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
Root include file for UEFI modules.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __EDKII_GLUE_UEFI_H__
|
|
|
|
#define __EDKII_GLUE_UEFI_H__
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Check to make sure EFI_SPECIFICATION_VERSION and TIANO_RELEASE_VERSION are defined.
|
|
|
|
// also check for legal combinations
|
|
|
|
//
|
|
|
|
#if !defined(EFI_SPECIFICATION_VERSION)
|
|
|
|
#error EFI_SPECIFICATION_VERSION not defined
|
|
|
|
#elif !defined(TIANO_RELEASE_VERSION)
|
|
|
|
#error TIANO_RELEASE_VERSION not defined
|
|
|
|
#elif TIANO_RELEASE_VERSION == 0x00000000
|
|
|
|
|
|
|
|
//
|
|
|
|
// UEFI mode with no Tiano extensions is legal
|
|
|
|
//
|
|
|
|
#elif (TIANO_RELEASE_VERSION <= 0x00080005) && (EFI_SPECIFICATION_VERSION >= 0x00020000)
|
|
|
|
#error Illegal combination of EFI_SPECIFICATION_VERSION and EDK_RELEASE_VERSION versions
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//
|
|
|
|
// General Type & API definitions
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "EfiSpec.h"
|
|
|
|
#include "EfiPxe.h"
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Protocols from EFI 1.10 that got thier names fixed in UEFI 2.0
|
|
|
|
//
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(LoadedImage)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(SimpleTextIn)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(SimpleTextOut)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(SerialIo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(LoadFile)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(SimpleFileSystem)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(DiskIo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(BlockIo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(UnicodeCollation)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(SimpleNetwork)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(EfiNetworkInterfaceIdentifier)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(PxeBaseCode)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(PxeBaseCodeCallBack)
|
|
|
|
|
|
|
|
//
|
|
|
|
// EFI 1.10 Protocols
|
|
|
|
//
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(Bis)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(BusSpecificDriverOverride)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(ComponentName)
|
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
1.3) Add Smbios 2.5, 2.6 supports.
Incompatible changes hilighted:
1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
2) EFI_IP4_IPCONFIG_DATA changed.
2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4623 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:10:05 +01:00
|
|
|
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION (ComponentName2)
|
|
|
|
#endif
|
2007-06-28 09:00:39 +02:00
|
|
|
#include EFI_PROTOCOL_DEFINITION(DebugPort)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(DebugSupport)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(Decompress)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(DriverBinding)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(DriverConfiguration)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(DriverDiagnostics)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(Ebc)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(EfiNetworkInterfaceIdentifier)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(FileInfo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(FileSystemInfo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(FileSystemVolumeLabelInfo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(PciIo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(PciRootBridgeIo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(PlatformDriverOverride)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(SimplePointer)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(ScsiPassThru)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(UsbIo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(UsbHostController)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(UgaDraw)
|
|
|
|
|
|
|
|
//
|
|
|
|
// EFI 1.10 GUIDs
|
|
|
|
//
|
|
|
|
#include EFI_GUID_DEFINITION(Acpi)
|
|
|
|
#include EFI_GUID_DEFINITION(DebugImageInfoTable)
|
|
|
|
#include EFI_GUID_DEFINITION(GlobalVariable)
|
|
|
|
#include EFI_GUID_DEFINITION(Gpt)
|
|
|
|
#include EFI_GUID_DEFINITION(PcAnsi)
|
|
|
|
#include EFI_GUID_DEFINITION(SmBios)
|
|
|
|
#include EFI_GUID_DEFINITION(SalSystemTable)
|
|
|
|
|
|
|
|
|
|
|
|
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
|
|
|
|
//
|
|
|
|
// UEFI 2.0 Protocols and GUIDs
|
|
|
|
//
|
|
|
|
// check here: currently not implementated
|
|
|
|
//#include EFI_PROTOCOL_DEFINITION(AuthenticationInfo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(DevicePathUtilities)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(DevicePathToText)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(DevicePathFromText)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(GraphicsOutput)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(EdidDiscovered)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(EdidActive)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(EdidOverride)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(ScsiIo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(ScsiPassThruExt)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(IScsiInitiatorName)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(UsbHostController)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(TapeIo)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(ManagedNetwork)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(Arp)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(Dhcp4)
|
2008-11-27 03:05:01 +01:00
|
|
|
#include EFI_PROTOCOL_DEFINITION(Ip4)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(Ip4Config)
|
2007-06-28 09:00:39 +02:00
|
|
|
#include EFI_PROTOCOL_DEFINITION(Tcp4)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(Udp4)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(Mtftp4)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(ServiceBinding)
|
|
|
|
#include EFI_PROTOCOL_DEFINITION(Hash)
|
|
|
|
#include EFI_GUID_DEFINITION(EventGroup)
|
|
|
|
//#include <Guid/WinCertificateUefi.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if (TIANO_RELEASE_VERSION > 0x00080005)
|
|
|
|
//
|
2011-10-19 07:44:28 +02:00
|
|
|
// Need due to EDK Tiano contamination of UEFI enumes.
|
2007-06-28 09:00:39 +02:00
|
|
|
// There is a UEFI library that does things the new way and the old way
|
|
|
|
// This is why these definitions are need in Uefi.h
|
|
|
|
//
|
|
|
|
#include EFI_GUID_DEFINITION (EventLegacyBios)
|
|
|
|
#include EFI_GUID_DEFINITION (FrameworkDevicePath)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//
|
2011-10-19 07:44:28 +02:00
|
|
|
// EDK Library headers used by EdkII Glue Libraries
|
2007-06-28 09:00:39 +02:00
|
|
|
//
|
|
|
|
#include "TianoSpecTypes.h"
|
|
|
|
#include "TianoSpecApi.h"
|
|
|
|
#include "TianoSpecDevicePath.h"
|
|
|
|
#include "EfiDriverLib.h"
|
|
|
|
|
2008-11-27 03:05:01 +01:00
|
|
|
#include "Common/EdkIIGlueDefinitionChangesBase.h"
|
2007-06-28 09:00:39 +02:00
|
|
|
|
|
|
|
//
|
|
|
|
// EdkII Glue Library Class headers
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "EdkIIGlueBase.h"
|
2008-11-27 03:05:01 +01:00
|
|
|
#include "Library/EdkIIGlueUefiDecompressLib.h"
|
|
|
|
#include "Library/EdkIIGlueDevicePathLib.h"
|
|
|
|
#include "Library/EdkIIGlueUefiBootServicesTableLib.h"
|
|
|
|
#include "Library/EdkIIGlueUefiDriverEntryPoint.h"
|
|
|
|
#include "Library/EdkIIGlueUefiDriverModelLib.h"
|
|
|
|
#include "Library/EdkIIGlueUefiLib.h"
|
|
|
|
#include "Library/EdkIIGlueUefiRuntimeServicesTableLib.h"
|
2007-06-28 09:00:39 +02:00
|
|
|
|
2010-11-26 02:54:49 +01:00
|
|
|
extern UINT8 _gEdkIIGlueDriverModelProtocolSelection;
|
|
|
|
|
2007-06-28 09:00:39 +02:00
|
|
|
#endif
|