]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/DiskInfo.h
Move DiskInfo Protocol from MdeModulePkg to IntelFrameworkModule package.
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / DiskInfo.h
index 1f45b3a2866f5262eaf6cf99fef72b94a7de737a..8409d988f8b3ef49f64410a93af1e7b20cb8ec85 100644 (file)
@@ -1,7 +1,6 @@
 /** @file\r
   Disk Info protocol is used to export Inquiry Data for a drive.\r
-  Its needed to support low level formating of drives in a mannor\r
-  thats DOS compatible.\r
+  It supports low level formating of drives in a DOS compatible manner.\r
 \r
 Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
 All rights reserved. This program and the accompanying materials\r
@@ -46,9 +45,8 @@ EFI_STATUS
 (EFIAPI *EFI_DISK_INFO_INQUIRY)(\r
   IN EFI_DISK_INFO_PROTOCOL           * This,\r
   IN OUT VOID                         *InquiryData,\r
-  IN OUT UINT32                       *IntquiryDataSize\r
-  )\r
-;\r
+  IN OUT UINT32                       *InquiryDataSize\r
+  );\r
 \r
 \r
 /**\r
@@ -71,8 +69,7 @@ EFI_STATUS
   IN EFI_DISK_INFO_PROTOCOL           * This,\r
   IN OUT VOID                         *IdentifyData,\r
   IN OUT UINT32                       *IdentifyDataSize\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -97,12 +94,10 @@ EFI_STATUS
   IN OUT VOID                         *SenseData,\r
   IN OUT UINT32                       *SenseDataSize,\r
   OUT UINT8                           *SenseDataNumber\r
-  )\r
-;\r
+  );\r
 \r
 /**\r
-  Return the results of the Request Sense command to a drive in SenseData.\r
-  Data format of Sense data is defined by the Interface GUID.\r
+  Return the IDE device information.\r
 \r
   @param  This                  Protocol instance pointer. \r
   @param  IdeChannel            Primary or Secondary \r
@@ -118,8 +113,7 @@ EFI_STATUS
   IN EFI_DISK_INFO_PROTOCOL           * This,\r
   OUT UINT32                          *IdeChannel,\r
   OUT UINT32                          *IdeDevice\r
-  )\r
-;\r
+  );\r
 \r
 //\r
 // GUIDs for EFI_DISK_INFO_PROTOCOL.Interface. Defines the format of the\r
@@ -150,7 +144,7 @@ extern EFI_GUID gEfiDiskInfoUsbInterfaceGuid;
 extern EFI_GUID gEfiDiskInfoAhciInterfaceGuid;\r
 \r
 struct _EFI_DISK_INFO_PROTOCOL {\r
-  EFI_GUID                  Interface;\r
+  EFI_GUID                  Interface;  ///> The format of the buffers returned by member functions.\r
   EFI_DISK_INFO_INQUIRY     Inquiry;\r
   EFI_DISK_INFO_IDENTIFY    Identify;\r
   EFI_DISK_INFO_SENSE_DATA  SenseData;\r