]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/IdeControllerInit.h
Correct the structure's comments to follow doxygen format.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / IdeControllerInit.h
index dd6c3f4cca814ccdcf6050fad2e8b1748b557f32..8b23693d765383debb604e82541a1381a16fafea 100644 (file)
@@ -9,7 +9,7 @@
   retrieve the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance that is associated with the\r
   controller to be managed.\r
 \r
-  Copyright (c) 2007, Intel Corporation\r
+  Copyright (c) 2007 - 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
 \r
 #include <PiDxe.h>\r
 \r
-//\r
-// Global ID for the EFI Platform IDE Protocol GUID\r
-//\r
+///\r
+/// Global ID for the EFI Platform IDE Protocol GUID\r
+///\r
 #define EFI_IDE_CONTROLLER_INIT_PROTOCOL_GUID \\r
   { 0xa1e37052, 0x80d9, 0x4e65, {0xa3, 0x17, 0x3e, 0x9a, 0x55, 0xc4, 0x3e, 0xc9 } }\r
 \r
-//\r
-// Forward reference for pure ANSI compatability\r
-//\r
+///\r
+/// Forward reference for pure ANSI compatability\r
+///\r
 typedef struct _EFI_IDE_CONTROLLER_INIT_PROTOCOL  EFI_IDE_CONTROLLER_INIT_PROTOCOL;\r
 \r
 //\r
@@ -133,19 +133,19 @@ typedef struct {
 #pragma pack(1)\r
 \r
 typedef struct {\r
-  UINT16  config;             // General Configuration\r
-  UINT16  cylinders;          // Number of Cylinders\r
+  UINT16  config;                 ///< General Configuration\r
+  UINT16  cylinders;              ///< Number of Cylinders\r
   UINT16  reserved_2;\r
-  UINT16  heads;              //Number of logical heads\r
+  UINT16  heads;                  ///< Number of logical heads\r
   UINT16  vendor_data1;\r
   UINT16  vendor_data2;\r
   UINT16  sectors_per_track;\r
   UINT16  vendor_specific_7_9[3];\r
-  CHAR8   SerialNo[20];       // ASCII\r
+  CHAR8   SerialNo[20];           ///< ASCII\r
   UINT16  vendor_specific_20_21[2];\r
   UINT16  ecc_bytes_available;\r
-  CHAR8   FirmwareVer[8];     // ASCII\r
-  CHAR8   ModelName[40];      // ASCII\r
+  CHAR8   FirmwareVer[8];         ///< ASCII\r
+  CHAR8   ModelName[40];          ///< ASCII\r
   UINT16  multi_sector_cmd_max_sct_cnt;\r
   UINT16  reserved_48;\r
   UINT16  capabilities;\r
@@ -171,23 +171,23 @@ typedef struct {
   UINT16  reserved_69_79[11];\r
   UINT16  major_version_no;\r
   UINT16  minor_version_no;\r
-  UINT16  command_set_supported_82; // word 82\r
-  UINT16  command_set_supported_83; // word 83\r
-  UINT16  command_set_feature_extn; // word 84\r
-  UINT16  command_set_feature_enb_85; // word 85\r
-  UINT16  command_set_feature_enb_86; // word 86\r
-  UINT16  command_set_feature_default; // word 87\r
-  UINT16  ultra_dma_mode; // word 88\r
+  UINT16  command_set_supported_82;   ///< word 82\r
+  UINT16  command_set_supported_83;   ///< word 83\r
+  UINT16  command_set_feature_extn;   ///< word 84\r
+  UINT16  command_set_feature_enb_85; ///< word 85\r
+  UINT16  command_set_feature_enb_86; ///< word 86\r
+  UINT16  command_set_feature_default; ///< word 87\r
+  UINT16  ultra_dma_mode;             ///< word 88\r
   UINT16  reserved_89_105[17];\r
-  UINT16  phy_logic_sector_support; // word 106\r
+  UINT16  phy_logic_sector_support;   ///< word 106\r
   UINT16  reserved_107_116[10];\r
-  UINT16  logic_sector_size_lo; // word 117\r
-  UINT16  logic_sector_size_hi; // word 118\r
+  UINT16  logic_sector_size_lo;       ///< word 117\r
+  UINT16  logic_sector_size_hi;       ///< word 118\r
   UINT16  reserved_119_127[9];\r
   UINT16  security_status;\r
   UINT16  vendor_data_129_159[31];\r
   UINT16  reserved_160_208[49];\r
-  UINT16  alignment_logic_in_phy_blocks; // word 209\r
+  UINT16  alignment_logic_in_phy_blocks; ///< word 209\r
   UINT16  reserved_210_255[46];\r
 } EFI_ATA_IDENTIFY_DATA;\r
 \r
@@ -199,7 +199,7 @@ typedef struct {
 //\r
 #pragma pack(1)\r
 typedef struct {\r
-    UINT16  config;             // General Configuration\r
+    UINT16  config;             ///< General Configuration\r
     UINT16  obsolete_1;\r
     UINT16  specific_config;\r
     UINT16  obsolete_3;\r
@@ -207,11 +207,11 @@ typedef struct {
     UINT16  obsolete_6;\r
     UINT16  cfa_reserved_7_8[2];\r
     UINT16  retired_9;\r
-    CHAR8   SerialNo[20];       // ASCII\r
+    CHAR8   SerialNo[20];       ///< ASCII\r
     UINT16  retired_20_21[2];\r
     UINT16  obsolete_22;\r
-    CHAR8   FirmwareVer[8];     // ASCII\r
-    CHAR8   ModelName[40];      // ASCII\r
+    CHAR8   FirmwareVer[8];     ///< ASCII\r
+    CHAR8   ModelName[40];      ///< ASCII\r
     UINT16  multi_sector_cmd_max_sct_cnt;\r
     UINT16  reserved_48;\r
     UINT16  capabilities_49;\r
@@ -425,46 +425,51 @@ EFI_STATUS
 // EFI_IDE_CONTROLLER_INIT_PROTOCOL instances.\r
 //\r
 /**\r
-  @par Protocol Description:\r
   Provides the basic interfaces to abstract an IDE controller.\r
-\r
-  @param GetChannelInfo\r
-  Returns the information about a specific channel.\r
-\r
-  @param NotifyPhase\r
-  The notification that the IDE bus driver is about to enter the\r
-  specified phase during the enumeration process.\r
-\r
-  @param SubmitData\r
-  Submits the Drive Identify data that was returned by the device.\r
-\r
-  @param DisqualifyMode\r
-  Submits information about modes that should be disqualified.\r
-\r
-  @param CalculateMode\r
-  Calculates and returns the optimum mode for a particular IDE device.\r
-\r
-  @param SetTiming\r
-  Programs the IDE controller hardware to the default timing or per the modes\r
-  that were returned by the last call to CalculateMode().\r
-\r
-  @param EnumAll\r
-  Set to TRUE if the enumeration group includes all the channels that are\r
-  produced by this controller. FALSE if an enumeration group consists of\r
-  only one channel.\r
-\r
-  @param ChannelCount\r
-  The number of channels that are produced by this controller.\r
-\r
 **/\r
 struct _EFI_IDE_CONTROLLER_INIT_PROTOCOL {\r
+  ///\r
+  /// Returns the information about a specific channel.\r
+  ///\r
   EFI_IDE_CONTROLLER_GET_CHANNEL_INFO    GetChannelInfo;\r
+  \r
+  ///\r
+  /// The notification that the IDE bus driver is about to enter the\r
+  /// specified phase during the enumeration process.  \r
+  ///\r
   EFI_IDE_CONTROLLER_NOTIFY_PHASE        NotifyPhase;\r
+  \r
+  ///\r
+  /// Submits the Drive Identify data that was returned by the device.\r
+  ///\r
   EFI_IDE_CONTROLLER_SUBMIT_DATA         SubmitData;\r
+  \r
+  ///\r
+  /// Submits information about modes that should be disqualified.\r
+  ///\r
   EFI_IDE_CONTROLLER_DISQUALIFY_MODE     DisqualifyMode;\r
+  \r
+  ///\r
+  /// Calculates and returns the optimum mode for a particular IDE device.\r
+  ///\r
   EFI_IDE_CONTROLLER_CALCULATE_MODE      CalculateMode;\r
+  \r
+  ///\r
+  /// Programs the IDE controller hardware to the default timing or per the modes\r
+  /// that were returned by the last call to CalculateMode().  \r
+  ///\r
   EFI_IDE_CONTROLLER_SET_TIMING          SetTiming;\r
+  \r
+  ///\r
+  /// Set to TRUE if the enumeration group includes all the channels that are\r
+  /// produced by this controller. FALSE if an enumeration group consists of\r
+  /// only one channel.  \r
+  ///\r
   BOOLEAN                                EnumAll;\r
+  \r
+  ///\r
+  /// The number of channels that are produced by this controller.\r
+  ///\r
   UINT8                                  ChannelCount;\r
 };\r
 \r