]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove the following Protocols from the IntelFrameworkModulePkg because they are...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 13 Jul 2009 19:05:07 +0000 (19:05 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 13 Jul 2009 19:05:07 +0000 (19:05 +0000)
1) Disk Info Protocol and its associated device GUIDs
2) PCI Hot Plug Request GUID

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8937 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Include/Protocol/DiskInfo.h [deleted file]
IntelFrameworkModulePkg/Include/Protocol/PciHotPlugRequest.h [deleted file]
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec

diff --git a/IntelFrameworkModulePkg/Include/Protocol/DiskInfo.h b/IntelFrameworkModulePkg/Include/Protocol/DiskInfo.h
deleted file mode 100644 (file)
index b6695e1..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-/** @file\r
-  Disk Info protocol Provides the basic interfaces to abstract \r
-  platform information regarding an IDE controller.\r
-\r
-Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#ifndef __DISK_INFO_H__\r
-#define __DISK_INFO_H__\r
-\r
-#define EFI_DISK_INFO_PROTOCOL_GUID \\r
-  { \\r
-    0xd432a67f, 0x14dc, 0x484b, {0xb3, 0xbb, 0x3f, 0x2, 0x91, 0x84, 0x93, 0x27 } \\r
-  }\r
-\r
-//\r
-// Forward reference for pure ANSI compatability\r
-//\r
-typedef struct _EFI_DISK_INFO_PROTOCOL  EFI_DISK_INFO_PROTOCOL;\r
-\r
-/**\r
-  This function is used by the IDE bus driver to get inquiry data. \r
-  Data format of Identify data is defined by the Interface GUID.\r
-\r
-  @param  This                  Pointer to the EFI_DISK_INFO_PROTOCOL instance.\r
-  @param  InquiryData           Pointer to a buffer for the inquiry data.\r
-  @param  InquiryDataSize       Pointer to the value for the inquiry data size.\r
-\r
-  @retval EFI_SUCCESS           The command was accepted without any errors.\r
-  @retval EFI_NOT_FOUND         Device does not support this data class \r
-  @retval EFI_DEVICE_ERROR      Error reading InquiryData from device \r
-  @retval EFI_BUFFER_TOO_SMALL  InquiryDataSize not big enough \r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_DISK_INFO_INQUIRY)(\r
-  IN EFI_DISK_INFO_PROTOCOL           *This,\r
-  IN OUT VOID                         *InquiryData,\r
-  IN OUT UINT32                       *InquiryDataSize\r
-  );\r
-\r
-\r
-/**\r
-  This function is used by the IDE bus driver to get identify data. \r
-  Data format of Identify data is defined by the Interface GUID.\r
-\r
-  @param  This                  Pointer to the EFI_DISK_INFO_PROTOCOL instance.\r
-  @param  IdentifyData          Pointer to a buffer for the identify data.\r
-  @param  IdentifyDataSize      Pointer to the value for the identify data size.\r
-\r
-  @retval EFI_SUCCESS           The command was accepted without any errors.\r
-  @retval EFI_NOT_FOUND         Device does not support this data class \r
-  @retval EFI_DEVICE_ERROR      Error reading IdentifyData from device \r
-  @retval EFI_BUFFER_TOO_SMALL  IdentifyDataSize not big enough \r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_DISK_INFO_IDENTIFY)(\r
-  IN EFI_DISK_INFO_PROTOCOL           *This,\r
-  IN OUT VOID                         *IdentifyData,\r
-  IN OUT UINT32                       *IdentifyDataSize\r
-  );\r
-\r
-\r
-/**\r
-  This function is used by the IDE bus driver to get sense data. \r
-  Data format of Sense data is defined by the Interface GUID.\r
-\r
-  @param  This                  Pointer to the EFI_DISK_INFO_PROTOCOL instance. \r
-  @param  SenseData             Pointer to the SenseData. \r
-  @param  SenseDataSize         Size of SenseData in bytes. \r
-  @param  SenseDataNumber       Pointer to the value for the identify data size.\r
-\r
-  @retval EFI_SUCCESS           The command was accepted without any errors.\r
-  @retval EFI_NOT_FOUND         Device does not support this data class \r
-  @retval EFI_DEVICE_ERROR      Error reading InquiryData from device \r
-  @retval EFI_BUFFER_TOO_SMALL  SenseDataSize not big enough \r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_DISK_INFO_SENSE_DATA)(\r
-  IN EFI_DISK_INFO_PROTOCOL           *This,\r
-  IN OUT VOID                         *SenseData,\r
-  IN OUT UINT32                       *SenseDataSize,\r
-  OUT UINT8                           *SenseDataNumber\r
-  );\r
-\r
-/**\r
-  This function is used by the IDE bus driver to get controller information.\r
-\r
-  @param  This                  Pointer to the EFI_DISK_INFO_PROTOCOL instance. \r
-  @param  IdeChannel            Pointer to the Ide Channel number. Primary or secondary.\r
-  @param  IdeDevice             Pointer to the Ide Device number. Master or slave.\r
-\r
-  @retval EFI_SUCCESS           IdeChannel and IdeDevice are valid \r
-  @retval EFI_UNSUPPORTED       This is not an IDE device \r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_DISK_INFO_WHICH_IDE)(\r
-  IN EFI_DISK_INFO_PROTOCOL           *This,\r
-  OUT UINT32                          *IdeChannel,\r
-  OUT UINT32                          *IdeDevice\r
-  );\r
-\r
-//\r
-// GUID of the type of interfaces\r
-//\r
-#define EFI_DISK_INFO_IDE_INTERFACE_GUID \\r
-  { \\r
-    0x5e948fe3, 0x26d3, 0x42b5, {0xaf, 0x17, 0x61, 0x2, 0x87, 0x18, 0x8d, 0xec } \\r
-  }\r
-extern EFI_GUID gEfiDiskInfoIdeInterfaceGuid;\r
-\r
-#define EFI_DISK_INFO_SCSI_INTERFACE_GUID \\r
-  { \\r
-    0x8f74baa, 0xea36, 0x41d9, {0x95, 0x21, 0x21, 0xa7, 0xf, 0x87, 0x80, 0xbc } \\r
-  }\r
-extern EFI_GUID gEfiDiskInfoScsiInterfaceGuid;\r
-\r
-#define EFI_DISK_INFO_USB_INTERFACE_GUID \\r
-  { \\r
-    0xcb871572, 0xc11a, 0x47b5, {0xb4, 0x92, 0x67, 0x5e, 0xaf, 0xa7, 0x77, 0x27 } \\r
-  }\r
-extern EFI_GUID gEfiDiskInfoUsbInterfaceGuid;\r
-\r
-#define EFI_DISK_INFO_AHCI_INTERFACE_GUID \\r
-  { \\r
-    0x9e498932, 0x4abc, 0x45af, {0xa3, 0x4d, 0x2, 0x47, 0x78, 0x7b, 0xe7, 0xc6} \\r
-  }\r
-extern EFI_GUID gEfiDiskInfoAhciInterfaceGuid;\r
-\r
-struct _EFI_DISK_INFO_PROTOCOL {\r
-  ///\r
-  /// A GUID that defines the format of buffers for the other member functions of this protocol.\r
-  ///\r
-  EFI_GUID                  Interface;\r
-  EFI_DISK_INFO_INQUIRY     Inquiry;\r
-  EFI_DISK_INFO_IDENTIFY    Identify;\r
-  EFI_DISK_INFO_SENSE_DATA  SenseData;\r
-  EFI_DISK_INFO_WHICH_IDE   WhichIde;\r
-};\r
-\r
-extern EFI_GUID gEfiDiskInfoProtocolGuid;\r
-\r
-#endif\r
-\r
-\r
diff --git a/IntelFrameworkModulePkg/Include/Protocol/PciHotPlugRequest.h b/IntelFrameworkModulePkg/Include/Protocol/PciHotPlugRequest.h
deleted file mode 100644 (file)
index 52eacaa..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-/** @file\r
-  Provides services to notify the PCI bus driver that some events have happened in a hot-plug controller\r
-  (such as a PC Card socket, or PHPC), and to ask the PCI bus driver to create or destroy handles for \r
-  PCI-like devices.\r
-\r
-Copyright (c) 2006 - 2009, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-**/\r
-\r
-#ifndef __PCI_HOTPLUG_REQUEST_H_\r
-#define __PCI_HOTPLUG_REQUEST_H_\r
-\r
-#define EFI_PCI_HOTPLUG_REQUEST_PROTOCOL_GUID \\r
-  { \\r
-    0x19cb87ab, 0x2cb9, 0x4665, {0x83, 0x60, 0xdd, 0xcf, 0x60, 0x54, 0xf7, 0x9d} \\r
-  }\r
-\r
-typedef enum {\r
-  ///\r
-  /// The PCI bus driver is requested to create handles for the specified devices. An array of\r
-  /// EFI_HANDLE is returned, with a NULL element marking the end of the array.\r
-  ///\r
-  EfiPciHotPlugRequestAdd,\r
-\r
-  ///\r
-  /// The PCI bus driver is requested to destroy handles for the specified devices.\r
-  ///\r
-  EfiPciHotplugRequestRemove\r
-} EFI_PCI_HOTPLUG_OPERATION;\r
-\r
-typedef struct _EFI_PCI_HOTPLUG_REQUEST_PROTOCOL  EFI_PCI_HOTPLUG_REQUEST_PROTOCOL;\r
-\r
-/**\r
-  This function allows the PCI bus driver to be notified to act as requested when a hot-plug event has  happened on the hot-plug controller. Currently, the operations include add operation and remove operation.  \r
-  @param This                    A pointer to the hot plug request protocol.\r
-  @param Operation               The operation the PCI bus driver is requested to make.\r
-  @param Controller              The handle of the hot-plug controller.\r
-  @param RemainingDevicePath     The remaining device path for the PCI-like hot-plug device.\r
-  @param NumberOfChildren        The number of child handles. For an add operation, it is an output parameter. \r
-                                 For a remove operation, it's an input parameter. When it contains a non-zero\r
-                                 value, children handles specified in ChildHandleBuffer are destroyed. Otherwise,\r
-                                 PCI bus driver is notified to stop managing the controller handle.\r
-  @param ChildHandleBuffer       The buffer which contains the child handles. For an add operation, it is an output \r
-                                 parameter and contains all newly created child handles. For a remove operation, it \r
-                                 contains child handles to be destroyed when NumberOfChildren contains a non-\r
-                                 zero value. It can be NULL when NumberOfChildren is 0. It's the caller's \r
-                                 responsibility to allocate and free memory for this buffer.\r
-  \r
-  @retval EFI_SUCCESS            The handles for the specified device have been created or destroyed\r
-                                 as requested, and for an add operation, the new handles are\r
-                                 returned in ChildHandleBuffer.\r
-  @retval EFI_INVALID_PARAMETER  Operation is not a legal value.\r
-  @retval EFI_INVALID_PARAMETER  Controller is NULL or not a valid handle.\r
-  @retval EFI_INVALID_PARAMETER  NumberOfChildren is NULL.\r
-  @retval EFI_INVALID_PARAMETER  ChildHandleBuffer is NULL while Operation is remove and \r
-                                 NumberOfChildren contains a non-zero value.\r
-  @retval EFI_INVALID_PARAMETER  ChildHandleBuffer is NULL while Operation is add.\r
-  @retval EFI_OUT_OF_RESOURCES   There are no enough resources to start the devices.\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PCI_HOTPLUG_REQUEST_NOTIFY) (\r
- IN EFI_PCI_HOTPLUG_REQUEST_PROTOCOL *This,\r
- IN EFI_PCI_HOTPLUG_OPERATION        Operation,\r
- IN EFI_HANDLE                       Controller,\r
- IN EFI_DEVICE_PATH_PROTOCOL         *RemainingDevicePath OPTIONAL,\r
- IN OUT UINT8                        *NumberOfChildren,\r
- IN OUT EFI_HANDLE                   *ChildHandleBuffer\r
-);\r
-\r
-\r
-\r
-struct _EFI_PCI_HOTPLUG_REQUEST_PROTOCOL {\r
-  EFI_PCI_HOTPLUG_REQUEST_NOTIFY     Notify;\r
-};\r
-\r
-extern EFI_GUID gEfiPciHotPlugRequestProtocolGuid;\r
-\r
-#endif\r
index 775b65104394a5ad834c801cf8a98f546db39f41..8a3b60e152bd6ea89a4095dd5097a366bd50ad14 100644 (file)
   PACKAGE_GUID                   = 88894582-7553-4822-B484-624E24B6DECF\r
   PACKAGE_VERSION                = 0.1\r
 \r
-[Includes.common]\r
+[Includes]\r
   Include                        # Root include for the package\r
 \r
-[LibraryClasses.common]\r
+[LibraryClasses]\r
   ##  @libraryclass  OEM status code libary is used to report status code to OEM device.\r
   OemHookStatusCodeLib|Include/Library/OemHookStatusCodeLib.h\r
 \r
@@ -33,7 +33,7 @@
   ##  @libraryclass  Generic BDS library definition, include the data structure and function.\r
   GenericBdsLib|Include/Library/GenericBdsLib.h\r
 \r
-[Guids.common]\r
+[Guids]\r
   ## IntelFrameworkModule package token space guid\r
   ## Include/Guid/IntelFrameworkModulePkgTokenSpace.h\r
   gEfiIntelFrameworkModulePkgTokenSpaceGuid = { 0xD3705011, 0xBC19, 0x4af7, { 0xBE, 0x16, 0xF6, 0x80, 0x30, 0x37, 0x8C, 0x15 }}\r
   ## Include/Guid/StatusCodeDataTypeDebug.h\r
   gEfiStatusCodeDataTypeDebugGuid  = { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 }}\r
 \r
-  ## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Usb interface.\r
-  ## Include/Protocol/DiskInfo.h\r
-  gEfiDiskInfoUsbInterfaceGuid   = { 0xCB871572, 0xC11A, 0x47B5, { 0xB4, 0x92, 0x67, 0x5E, 0xAF, 0xA7, 0x77, 0x27 }}\r
-  \r
-  ## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Scsi interface.\r
-  ## Include/Protocol/DiskInfo.h\r
-  gEfiDiskInfoScsiInterfaceGuid  = { 0x08F74BAA, 0xEA36, 0x41D9, { 0x95, 0x21, 0x21, 0xA7, 0x0F, 0x87, 0x80, 0xBC }}\r
-  \r
-  ## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Ide interface.\r
-  ## Include/Protocol/DiskInfo.h\r
-  gEfiDiskInfoIdeInterfaceGuid   = { 0x5E948FE3, 0x26D3, 0x42B5, { 0xAF, 0x17, 0x61, 0x02, 0x87, 0x18, 0x8D, 0xEC }}\r
-  \r
-  ## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Ahci interface.\r
-  ## Include/Protocol/DiskInfo.h\r
-  gEfiDiskInfoAhciInterfaceGuid  = { 0x9e498932, 0x4abc, 0x45af, { 0xa3, 0x4d, 0x02, 0x47, 0x78, 0x7b, 0xe7, 0xc6 }}\r
-\r
-[Protocols.common]\r
-  ## This protocol is used to add or remove all PCI child devices on the PCI root bridge.\r
-  ## Include/Protocol/PciHotPlugRequest.h\r
-  gEfiPciHotPlugRequestProtocolGuid = { 0x19CB87AB, 0x2CB9, 0x4665, { 0x83, 0x60, 0xDD, 0xCF, 0x60, 0x54, 0xF7, 0x9D }}\r
-\r
+[Protocols]\r
   ## Vga Mini port binding for a VGA controller\r
   ## Include/Protocol/VgaMiniPort.h\r
   gEfiVgaMiniPortProtocolGuid    = { 0xc7735a2f, 0x88f5, 0x4882, { 0xae, 0x63, 0xfa, 0xac, 0x8c, 0x8b, 0x86, 0xb3 }}\r
   ## Include/Protocol/Ps2Policy.h\r
   gEfiPs2PolicyProtocolGuid      = { 0x4DF19259, 0xDC71, 0x4D46, { 0xBE, 0xF1, 0x35, 0x7B, 0xB5, 0x78, 0xC4, 0x18 }}\r
 \r
-  ## Disk Info protocol is used to export Inquiry Data for a drive.\r
-  ## Include/Protocol/DiskInfo.h\r
-  gEfiDiskInfoProtocolGuid       = { 0xD432A67F, 0x14DC, 0x484B, { 0xB3, 0xBB, 0x3F, 0x02, 0x91, 0x84, 0x93, 0x27 }}\r
-\r
   ## OEM Badging Protocol defines the interface to get the OEM badging image with the dispaly attribute.\r
   ## Include/Protocol/OEMBadging.h\r
   gEfiOEMBadgingProtocolGuid     = { 0x170E13C0, 0xBF1B, 0x4218, { 0x87, 0x1D, 0x2A, 0xBD, 0xC6, 0xF8, 0x87, 0xBC }}\r