<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS V2: C:/Dev/git/UbixOS/sys/include/pci/hd.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS V2  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('hd_8h_source.html','');}); /* @license-end */ </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="headertitle"> <div class="title">hd.h</div> </div> </div><!--header--> <div class="contents"> <a href="hd_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*-</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2002-2018 The UbixOS Project.</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * All rights reserved.</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * This was developed by Christopher W. Olsen for the UbixOS Project.</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without modification, are permitted</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * provided that the following conditions are met:</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * 1) Redistributions of source code must retain the above copyright notice, this list of</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * conditions, the following disclaimer and the list of authors.</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * 2) Redistributions in binary form must reproduce the above copyright notice, this list of</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * conditions, the following disclaimer and the list of authors in the documentation and/or</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * other materials provided with the distribution.</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * 3) Neither the name of the UbixOS Project nor the names of its contributors may be used to</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * endorse or promote products derived from this software without specific prior written</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * permission.</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> *</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> */</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifndef _PCI_HD_H_</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#define _PCI_HD_H_</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <<a class="code" href="include_2sys_2types_8h.html">sys/types.h</a>></span></div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <<a class="code" href="include_2ubixfs_2ubixfs_8h.html">ubixfs/ubixfs.h</a>></span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div> <div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="hd_8h.html#a1571e7119dfede60820469184878948a"> 35</a></span> <span class="preprocessor">#define hdData 0x0</span></div> <div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="hd_8h.html#a98d5f3b47b6afa2948cb1db2a9e0cd36"> 36</a></span> <span class="preprocessor">#define hdError 0x1</span></div> <div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="hd_8h.html#a8206a5d5a25f1d6fc9e02013572c52db"> 37</a></span> <span class="preprocessor">#define hdSecCount 0x2</span></div> <div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="hd_8h.html#a0fa794dfb3e811122d5eafbe348c368f"> 38</a></span> <span class="preprocessor">#define hdSecNum 0x3</span></div> <div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="hd_8h.html#a30a2e624c7eda626a913f0b5b9ed26b7"> 39</a></span> <span class="preprocessor">#define hdCylLow 0x4</span></div> <div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="hd_8h.html#a2a82bac9f72d97307f87e60acb709ebb"> 40</a></span> <span class="preprocessor">#define hdCylHi 0x5</span></div> <div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="hd_8h.html#acefc72ce44e542db4580ce7e7c732aab"> 41</a></span> <span class="preprocessor">#define hdHead 0x6</span></div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="hd_8h.html#a73f0c3f82605d0aa108e8186e4daae6b"> 42</a></span> <span class="preprocessor">#define hdStat 0x7</span></div> <div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="hd_8h.html#a7623c70dac9a02ab1f75aa7a6e547c4c"> 43</a></span> <span class="preprocessor">#define hdCmd 0x7</span></div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">/* ATA Uhm? */</span></div> <div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="hd_8h.html#a15501f1f9c1ad7d74f7d18dadc6376de"> 46</a></span> <span class="preprocessor">#define ATA_IDENTIFY_COMMAND_SET_SUPPORTED1_48BIT_ENABLE 0x0400</span></div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="hd_8h.html#ab3870ab2b5eed5bca15ced1c0e7b8f5c"> 47</a></span> <span class="preprocessor">#define ATA_IDENTIFY_SECTOR_LARGER_THEN_512_ENABLE 0x0100</span></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment">/* ATA register defines */</span></div> <div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="hd_8h.html#a10441946900b59df8e0c67d69a1379f0"> 50</a></span> <span class="preprocessor">#define ATA_DATA 0 </span><span class="comment">/* (RW) data */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div> <div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="hd_8h.html#ac4d1d41fa8068d174dbf76ea4f478a3e"> 52</a></span> <span class="preprocessor">#define ATA_FEATURE 1 </span><span class="comment">/* (W) feature */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="hd_8h.html#a471a07ad94348bcdf9d2d57ded0fb90a"> 53</a></span> <span class="preprocessor">#define ATA_F_DMA 0x01 </span><span class="comment">/* enable DMA */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="hd_8h.html#ade52f08428ada631477246aa178998f1"> 54</a></span> <span class="preprocessor">#define ATA_F_OVL 0x02 </span><span class="comment">/* enable overlap */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div> <div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="hd_8h.html#a0fef95ae974f01d748334fdd88ea63d8"> 56</a></span> <span class="preprocessor">#define ATA_COUNT 2 </span><span class="comment">/* (W) sector count */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div> <div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="hd_8h.html#a5a9cfd9d91e769ba098e189594d8d069"> 58</a></span> <span class="preprocessor">#define ATA_SECTOR 3 </span><span class="comment">/* (RW) sector # */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="hd_8h.html#aef66a5a3fbb3bc7bafaef226e81774fc"> 59</a></span> <span class="preprocessor">#define ATA_CYL_LSB 4 </span><span class="comment">/* (RW) cylinder# LSB */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="hd_8h.html#aee74efb7d432b1b6c91b7e019fc8e1db"> 60</a></span> <span class="preprocessor">#define ATA_CYL_MSB 5 </span><span class="comment">/* (RW) cylinder# MSB */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="hd_8h.html#aa9ede1f736f86805a4aa00df9543b32f"> 61</a></span> <span class="preprocessor">#define ATA_DRIVE 6 </span><span class="comment">/* (W) Sector/Drive/Head */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="hd_8h.html#aa1629908d2dddce97cc8a1a535c4c3e0"> 62</a></span> <span class="preprocessor">#define ATA_D_LBA 0x40 </span><span class="comment">/* use LBA addressing */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="hd_8h.html#af2505e837f4fe3059beaff86a288956b"> 63</a></span> <span class="preprocessor">#define ATA_D_IBM 0xa0 </span><span class="comment">/* 512 byte sectors, ECC */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div> <div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="hd_8h.html#a7762d2c130e593e92b3c3b521e5779f2"> 65</a></span> <span class="preprocessor">#define ATA_COMMAND 7 </span><span class="comment">/* (W) command */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div> <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="hd_8h.html#ac8d77dce295ef928eca4dfedb5fb7d36"> 67</a></span> <span class="preprocessor">#define ATA_ERROR 8 </span><span class="comment">/* (R) error */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="hd_8h.html#a0dfd0a3fe4e7f461d6663bdd6a3ad2df"> 68</a></span> <span class="preprocessor">#define ATA_E_ILI 0x01 </span><span class="comment">/* illegal length */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="hd_8h.html#a9097379062dcbb666640bb4bb04fc509"> 69</a></span> <span class="preprocessor">#define ATA_E_NM 0x02 </span><span class="comment">/* no media */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="hd_8h.html#a45b5fce8123e20cab29c2a4b0a6d8674"> 70</a></span> <span class="preprocessor">#define ATA_E_ABORT 0x04 </span><span class="comment">/* command aborted */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="hd_8h.html#a4144210cf8f3871b3bd64f6ddebc9398"> 71</a></span> <span class="preprocessor">#define ATA_E_MCR 0x08 </span><span class="comment">/* media change request */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="hd_8h.html#a76cda256be20af691c297a62f39d74b0"> 72</a></span> <span class="preprocessor">#define ATA_E_IDNF 0x10 </span><span class="comment">/* ID not found */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="hd_8h.html#a63df0ac51f67ca768b3e6b5d15bec402"> 73</a></span> <span class="preprocessor">#define ATA_E_MC 0x20 </span><span class="comment">/* media changed */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="hd_8h.html#ac5602e17881bb3c9093fe96d4a952009"> 74</a></span> <span class="preprocessor">#define ATA_E_UNC 0x40 </span><span class="comment">/* uncorrectable data */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="hd_8h.html#a365892f2d441652671e1e08251da1b4d"> 75</a></span> <span class="preprocessor">#define ATA_E_ICRC 0x80 </span><span class="comment">/* UDMA crc error */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="hd_8h.html#a46b1443be0bb81000d1d8a1f9f6ad91b"> 76</a></span> <span class="preprocessor">#define ATA_E_ATAPI_SENSE_MASK 0xf0 </span><span class="comment">/* ATAPI sense key mask */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div> <div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="hd_8h.html#acfc418cfe55477ecdce28fb7ab0dd512"> 78</a></span> <span class="preprocessor">#define ATA_IREASON 9 </span><span class="comment">/* (R) interrupt reason */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="hd_8h.html#ab6a3bfa624629473f430c39f3d666898"> 79</a></span> <span class="preprocessor">#define ATA_I_CMD 0x01 </span><span class="comment">/* cmd (1) | data (0) */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="hd_8h.html#a6c1f79a7aa33938677a95e99f12384b3"> 80</a></span> <span class="preprocessor">#define ATA_I_IN 0x02 </span><span class="comment">/* read (1) | write (0) */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="hd_8h.html#a71bc2b36efbac8cbda87dbd148cdce4a"> 81</a></span> <span class="preprocessor">#define ATA_I_RELEASE 0x04 </span><span class="comment">/* released bus (1) */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="hd_8h.html#ac603c54cdd91b49bb9db1524215768fa"> 82</a></span> <span class="preprocessor">#define ATA_I_TAGMASK 0xf8 </span><span class="comment">/* tag mask */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div> <div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="hd_8h.html#a82b0c03860f06049d58daf210f368156"> 84</a></span> <span class="preprocessor">#define ATA_STATUS 10 </span><span class="comment">/* (R) status */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="hd_8h.html#affe8ed68d29374b8ca956ed17c61b7d2"> 85</a></span> <span class="preprocessor">#define ATA_ALTSTAT 11 </span><span class="comment">/* (R) alternate status */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="hd_8h.html#a5e795dd6bb167b1f24372c97fd38afad"> 86</a></span> <span class="preprocessor">#define ATA_S_ERROR 0x01 </span><span class="comment">/* error */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="hd_8h.html#a2e2fd259cc86a22413896cccb82ce9bb"> 87</a></span> <span class="preprocessor">#define ATA_S_INDEX 0x02 </span><span class="comment">/* index */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="hd_8h.html#a5ad39109d70e2b727fec8ff033d5b9f3"> 88</a></span> <span class="preprocessor">#define ATA_S_CORR 0x04 </span><span class="comment">/* data corrected */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="hd_8h.html#af7280ae3f825171e8df149fec6fd578a"> 89</a></span> <span class="preprocessor">#define ATA_S_DRQ 0x08 </span><span class="comment">/* data request */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="hd_8h.html#a144cfab202814258da0a8ffbb57e04f3"> 90</a></span> <span class="preprocessor">#define ATA_S_DSC 0x10 </span><span class="comment">/* drive seek completed */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="hd_8h.html#a2358b77b27666d1097961dda8e60845d"> 91</a></span> <span class="preprocessor">#define ATA_S_SERVICE 0x10 </span><span class="comment">/* drive needs service */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="hd_8h.html#a88022529b9cc653f77f13e4b46c02ffb"> 92</a></span> <span class="preprocessor">#define ATA_S_DWF 0x20 </span><span class="comment">/* drive write fault */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="hd_8h.html#a8aea341f1d4ce900e7d33ac96a0bd3c0"> 93</a></span> <span class="preprocessor">#define ATA_S_DMA 0x20 </span><span class="comment">/* DMA ready */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="hd_8h.html#a0c6ab24b6d40c9bae95aaebc9b0d8c16"> 94</a></span> <span class="preprocessor">#define ATA_S_READY 0x40 </span><span class="comment">/* drive ready */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="hd_8h.html#a676551b0bd38a1bebd58041025e4b5ad"> 95</a></span> <span class="preprocessor">#define ATA_S_BUSY 0x80 </span><span class="comment">/* busy */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div> <div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="hd_8h.html#a081876023ec7be4de3f90c8543b2b30b"> 97</a></span> <span class="preprocessor">#define ATA_CONTROL 12 </span><span class="comment">/* (W) control */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div> <div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="hd_8h.html#ab72241184448f589eba2256c1f7ae5ce"> 99</a></span> <span class="preprocessor">#define ATA_CTLOFFSET 0x206 </span><span class="comment">/* control register offset */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="hd_8h.html#a015397e42c45396c744009151b4e8143"> 100</a></span> <span class="preprocessor">#define ATA_PCCARD_CTLOFFSET 0x0e </span><span class="comment">/* do for PCCARD devices */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="hd_8h.html#a54f9496446f05c826d980252065ef22f"> 101</a></span> <span class="preprocessor">#define ATA_PC98_CTLOFFSET 0x10c </span><span class="comment">/* do for PC98 devices */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="hd_8h.html#a38739cca883ca3469f3fcfde296c7135"> 102</a></span> <span class="preprocessor">#define ATA_A_IDS 0x02 </span><span class="comment">/* disable interrupts */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="hd_8h.html#afb7481634f1375d0c5cee6c3d508f5c6"> 103</a></span> <span class="preprocessor">#define ATA_A_RESET 0x04 </span><span class="comment">/* RESET controller */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor">#ifdef ATA_LEGACY_SUPPORT</span></div> <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor">#define ATA_A_4BIT 0x08 </span><span class="comment">/* 4 head bits: obsolete 1996 */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor">#else</span></div> <div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="hd_8h.html#a05005ba54c029721a32d2ae5776f619f"> 107</a></span> <span class="preprocessor">#define ATA_A_4BIT 0x00</span></div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="hd_8h.html#aff7aa6388f14fe455c68f0032420293f"> 109</a></span> <span class="preprocessor">#define ATA_A_HOB 0x80 </span><span class="comment">/* High Order Byte enable */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="comment">/* ATA Commands */</span></div> <div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="hd_8h.html#a9d19baff12415486088caa92201e9424"> 112</a></span> <span class="preprocessor">#define ATA_IDENTIFY 0xEC</span></div> <div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="hd_8h.html#af3119e21d81c6d6b0194c6bc2c1730f5"> 113</a></span> <span class="preprocessor">#define ATA_CHECK_POWER_MODE 0xE5</span></div> <div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="hd_8h.html#a3174513fda6d38a2c949b6cd4ce98d7c"> 114</a></span> <span class="preprocessor">#define ATA_STANDBY 0xE2</span></div> <div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="hd_8h.html#adbf10142ee8a4011b6a27670e8559668"> 115</a></span> <span class="preprocessor">#define ATA_STANDBY_IMMED 0xE0</span></div> <div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="hd_8h.html#a351fd2392281759bdbcd0002c9bdffd3"> 116</a></span> <span class="preprocessor">#define ATA_IDLE_IMMED 0xE1</span></div> <div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="hd_8h.html#a688ac460d63c6b2affa8ecc86d346e40"> 117</a></span> <span class="preprocessor">#define ATA_IDLE 0xE3</span></div> <div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="hd_8h.html#a86d8c78c178881e3ad609190d5e25850"> 118</a></span> <span class="preprocessor">#define ATA_FLUSH_CACHE 0xE7</span></div> <div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="hd_8h.html#a4360972a498df19fe9baff516a1fe156"> 119</a></span> <span class="preprocessor">#define ATA_FLUSH_CACHE_EXT 0xEA</span></div> <div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="hd_8h.html#aadf843a6583b5c9afb9939b911c63fbf"> 120</a></span> <span class="preprocessor">#define ATA_READ_DMA_EXT 0x25</span></div> <div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="hd_8h.html#aa6c2559d9c02d18a1d4761b2909d75e1"> 121</a></span> <span class="preprocessor">#define ATA_READ_DMA 0xC8</span></div> <div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="hd_8h.html#ab52b8018bce3d02a5849032576b2a02f"> 122</a></span> <span class="preprocessor">#define ATA_READ_SECTORS_EXT 0x24</span></div> <div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="hd_8h.html#aa9b3fb004e46ea0529df8548ee1137b2"> 123</a></span> <span class="preprocessor">#define ATA_READ_SECTORS 0x20</span></div> <div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="hd_8h.html#a747272f0251c6e91ea8968526c269d86"> 124</a></span> <span class="preprocessor">#define ATA_WRITE_DMA_EXT 0x35</span></div> <div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="hd_8h.html#a006c1f150022068c55aa1505c6bf68b5"> 125</a></span> <span class="preprocessor">#define ATA_WRITE_DMA 0xCA</span></div> <div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="hd_8h.html#a6549b58c104526f30bc16c7e43ebb69c"> 126</a></span> <span class="preprocessor">#define ATA_WRITE_SECTORS_EXT 0x34</span></div> <div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="hd_8h.html#a63dd160e88a2fcf8ea494edf62add5a3"> 127</a></span> <span class="preprocessor">#define ATA_WRITE_SECTORS 0x30</span></div> <div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="hd_8h.html#a17760127e6f7df436d01475c193b1ef5"> 128</a></span> <span class="preprocessor">#define ATA_WRITE_UNCORRECTABLE 0x45</span></div> <div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="hd_8h.html#a967490d64b2f490c5a7c45e1eff16827"> 129</a></span> <span class="preprocessor">#define ATA_READ_VERIFY_SECTORS 0x40</span></div> <div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="hd_8h.html#a5fa0b19ba088e0592fbcc78e84f97d71"> 130</a></span> <span class="preprocessor">#define ATA_READ_VERIFY_SECTORS_EXT 0x42</span></div> <div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="hd_8h.html#a08ddd8c074ee7d9baca7b8f783ab79f3"> 131</a></span> <span class="preprocessor">#define ATA_READ_BUFFER 0xE4</span></div> <div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="hd_8h.html#ab539f05c13d1225035fd9ec25980d88a"> 132</a></span> <span class="preprocessor">#define ATA_WRITE_BUFFER 0xE8</span></div> <div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="hd_8h.html#a678c146bebb4e5f9a7c75b1cf0743251"> 133</a></span> <span class="preprocessor">#define ATA_EXECUTE_DEVICE_DIAG 0x90</span></div> <div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="hd_8h.html#a4e039b84e66f79f9adf36d811088ca1e"> 134</a></span> <span class="preprocessor">#define ATA_SET_FEATURES 0xEF</span></div> <div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="hd_8h.html#ab8f9a6432b8b8e6708ad6cfca2f35330"> 135</a></span> <span class="preprocessor">#define ATA_SMART 0xB0</span></div> <div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="hd_8h.html#ab079342da4fed0519e50ab8558e68d41"> 136</a></span> <span class="preprocessor">#define ATA_PACKET_IDENTIFY 0xA1</span></div> <div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="hd_8h.html#a4b8fd6035e219bd50c6f1b1f486d71ad"> 137</a></span> <span class="preprocessor">#define ATA_PACKET 0xA0</span></div> <div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="hd_8h.html#a965642ec06abd6f8cc5c479cf1d6e950"> 138</a></span> <span class="preprocessor">#define ATA_READ_FPDMA 0x60</span></div> <div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="hd_8h.html#aa2320d20f05335b9a94673bb2a208b5e"> 139</a></span> <span class="preprocessor">#define ATA_WRITE_FPDMA 0x61</span></div> <div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="hd_8h.html#ad230dcb92d57d0c0e82025ee811b24df"> 140</a></span> <span class="preprocessor">#define ATA_READ_LOG_EXT 0x2F</span></div> <div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="hd_8h.html#a813e87feabf16140f04d6a7dd6437bf5"> 141</a></span> <span class="preprocessor">#define ATA_NOP 0x00</span></div> <div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="hd_8h.html#a776cc75de056263cddbbed1c7fa305e6"> 142</a></span> <span class="preprocessor">#define ATA_DEVICE_RESET 0x08</span></div> <div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="hd_8h.html#ad57ee1f923684f83c3ada83be101464d"> 143</a></span> <span class="preprocessor">#define ATA_MEDIA_EJECT 0xED</span></div> <div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="hd_8h.html#a96bec79419f8d7ccd2131ccdfcb782f5"> 144</a></span> <span class="preprocessor">#define ATA_SECURITY_UNLOCK 0xF2</span></div> <div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="hd_8h.html#ad1e4297732a71c63b31f2a2315a7040e"> 145</a></span> <span class="preprocessor">#define ATA_SECURITY_FREEZE_LOCK 0xF5</span></div> <div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="hd_8h.html#aa0920c5e6e14438d552e3ba093be0ea1"> 146</a></span> <span class="preprocessor">#define ATA_DATA_SET_MANAGEMENT 0x06</span></div> <div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="hd_8h.html#a327453c65195335affd347eef11e8149"> 147</a></span> <span class="preprocessor">#define ATA_DOWNLOAD_MICROCODE 0x92</span></div> <div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="hd_8h.html#ac5d38ee8a581ad683aca627ce537c7ef"> 148</a></span> <span class="preprocessor">#define ATA_WRITE_STREAM_DMA_EXT 0x3A</span></div> <div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="hd_8h.html#a214ba435872710c76fece9ca9d9928f7"> 149</a></span> <span class="preprocessor">#define ATA_READ_LOG_DMA_EXT 0x47</span></div> <div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="hd_8h.html#aa769f74ab6d98c9b835b0cc8b74e9033"> 150</a></span> <span class="preprocessor">#define ATA_READ_STREAM_DMA_EXT 0x2A</span></div> <div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="hd_8h.html#a68a8e174a83d093857a92710748b117a"> 151</a></span> <span class="preprocessor">#define ATA_WRITE_DMA_FUA 0x3D</span></div> <div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="hd_8h.html#a853cb91d6fd6138e32cb21bb6f4f3e72"> 152</a></span> <span class="preprocessor">#define ATA_WRITE_LOG_DMA_EXT 0x57</span></div> <div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="hd_8h.html#a1fdb289ae784fce76f56a0fb6b33f4e3"> 153</a></span> <span class="preprocessor">#define ATA_READ_DMA_QUEUED 0xC7</span></div> <div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="hd_8h.html#a6bad9138882bf4f1dd0d954fa826f740"> 154</a></span> <span class="preprocessor">#define ATA_READ_DMA_QUEUED_EXT 0x26</span></div> <div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="hd_8h.html#aec92bc4d73a0c583e80b39c2190fa7c5"> 155</a></span> <span class="preprocessor">#define ATA_WRITE_DMA_QUEUED 0xCC</span></div> <div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="hd_8h.html#acc49898a1a3e1f924da4db17d6a6c4c7"> 156</a></span> <span class="preprocessor">#define ATA_WRITE_DMA_QUEUED_EXT 0x36</span></div> <div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="hd_8h.html#afc9fd0e932971c1c876e9daa6f64ed31"> 157</a></span> <span class="preprocessor">#define ATA_WRITE_DMA_QUEUED_FUA_EXT 0x3E</span></div> <div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="hd_8h.html#ac416d69cdfbeb21768e3a1b3681e12f0"> 158</a></span> <span class="preprocessor">#define ATA_READ_MULTIPLE 0xC4</span></div> <div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="hd_8h.html#aff0e34a9d0b4275c3f09f7c80850f11b"> 159</a></span> <span class="preprocessor">#define ATA_READ_MULTIPLE_EXT 0x29</span></div> <div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="hd_8h.html#a25d119365c61056739bbc87935b73d58"> 160</a></span> <span class="preprocessor">#define ATA_WRITE_MULTIPLE 0xC5</span></div> <div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="hd_8h.html#ae6f17746ef84522a6c8bc6ac519d07ef"> 161</a></span> <span class="preprocessor">#define ATA_WRITE_MULTIPLE_EXT 0x39</span></div> <div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="hd_8h.html#a7d3a3a030e55ccdf720d322ac5b6b3f6"> 162</a></span> <span class="preprocessor">#define ATA_WRITE_MULTIPLE_FUA_EXT 0xCE</span></div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  </div> <div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="structdriveInfo.html"> 164</a></span> <span class="keyword">struct </span><a class="code" href="structdriveInfo.html">driveInfo</a> {</div> <div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="structdriveInfo.html#a16f2a2a3b5ea803c987edc8659d16559"> 165</a></span>  <span class="keyword">struct </span>driveDiskLabel *<a class="code" href="structdriveInfo.html#a16f2a2a3b5ea803c987edc8659d16559">diskLabel</a>;</div> <div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="structdriveInfo.html#a2afcf287e4aec52620401806682233a9"> 166</a></span>  <span class="keyword">struct </span><a class="code" href="structata__identify__data.html">ata_identify_data</a> *<a class="code" href="structdriveInfo.html#a2afcf287e4aec52620401806682233a9">ata_identify</a>;</div> <div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="structdriveInfo.html#af93a2156cff0616730ea3b0a9c9fb3bc"> 167</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structdriveInfo.html#af93a2156cff0616730ea3b0a9c9fb3bc">lba_high</a>;</div> <div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="structdriveInfo.html#aa722897bbc328c24ea2ec4bcae2ed342"> 168</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structdriveInfo.html#aa722897bbc328c24ea2ec4bcae2ed342">lba_low</a>;</div> <div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="structdriveInfo.html#a8c8ee3abadd6bfef07f9b1b055818100"> 169</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structdriveInfo.html#a8c8ee3abadd6bfef07f9b1b055818100">sector_size</a>;</div> <div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="structdriveInfo.html#af385dccea1485233fc52351a8d7666aa"> 170</a></span>  <span class="keywordtype">char</span> <a class="code" href="structdriveInfo.html#af385dccea1485233fc52351a8d7666aa">hdEnable</a>;</div> <div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="structdriveInfo.html#aef8c94d9c3cc8a71e23d8e63abbe38a5"> 171</a></span>  <span class="keywordtype">char</span> <a class="code" href="structdriveInfo.html#aef8c94d9c3cc8a71e23d8e63abbe38a5">hdDev</a>;</div> <div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="structdriveInfo.html#a0ede68cc430fe1c49e9c234bbbe5ec11"> 172</a></span>  <span class="keywordtype">char</span> <a class="code" href="structdriveInfo.html#a0ede68cc430fe1c49e9c234bbbe5ec11">hdFlags</a>;</div> <div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="structdriveInfo.html#acacd139e4cfe1037afbcf488f2f5d2c3"> 173</a></span>  <span class="keywordtype">char</span> <a class="code" href="structdriveInfo.html#acacd139e4cfe1037afbcf488f2f5d2c3">hdShift</a>;</div> <div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="structdriveInfo.html#aa446858a696dafa8454b90a9d5087aae"> 174</a></span>  <span class="keywordtype">long</span> <a class="code" href="structdriveInfo.html#aa446858a696dafa8454b90a9d5087aae">hdMask</a>;</div> <div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="structdriveInfo.html#a2aa87710c888fee7b587b46e60d2d632"> 175</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structdriveInfo.html#a2aa87710c888fee7b587b46e60d2d632">hdMulti</a>;</div> <div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="structdriveInfo.html#aad8076fe0ba9c5bdbbc23c79656619ab"> 176</a></span>  <span class="keywordtype">long</span> <a class="code" href="structdriveInfo.html#aad8076fe0ba9c5bdbbc23c79656619ab">hdPort</a>;</div> <div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="structdriveInfo.html#ada0977b5e57df10de593d1df22712af8"> 177</a></span>  <span class="keywordtype">long</span> <a class="code" href="structdriveInfo.html#ada0977b5e57df10de593d1df22712af8">hdSize</a>;</div> <div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="structdriveInfo.html#a877ef27dad0f84711aedbabb4ff71a2a"> 178</a></span>  <span class="keywordtype">long</span> <a class="code" href="structdriveInfo.html#a877ef27dad0f84711aedbabb4ff71a2a">hdCalc</a>;</div> <div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="structdriveInfo.html#abbb3cbf508e4e7b866eeb658846bd44a"> 179</a></span>  <span class="keywordtype">long</span> <a class="code" href="structdriveInfo.html#abbb3cbf508e4e7b866eeb658846bd44a">parOffset</a>;</div> <div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="structdriveInfo.html#a3794d7beb8cc95275cd553103c457934"> 180</a></span>  <span class="keywordtype">int</span> <a class="code" href="structdriveInfo.html#a3794d7beb8cc95275cd553103c457934">part</a>;</div> <div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="structdriveInfo.html#a3ed5ef43179982d1950cdb710dc9a2eb"> 181</a></span>  <span class="keywordtype">long</span> <a class="code" href="structdriveInfo.html#a3ed5ef43179982d1950cdb710dc9a2eb">lba_start</a>;</div> <div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="structdriveInfo.html#a1d9e4b310044ea1eb5250017e8ba5185"> 182</a></span>  <span class="keywordtype">long</span> <a class="code" href="structdriveInfo.html#a1d9e4b310044ea1eb5250017e8ba5185">lba_end</a>;</div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> };</div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="keywordtype">int</span> <a class="code" href="hd_8h.html#aa6ffe735243161c69ce0930999e02f88">initHardDisk</a>();</div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="keywordtype">int</span> <a class="code" href="hd_8h.html#a55070501762f63461f3d023a39eece94">hdWrite</a>(<span class="keyword">struct</span> <a class="code" href="structdriveInfo.html">driveInfo</a> *hdd, <span class="keywordtype">void</span> *, <a class="code" href="objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a>, <a class="code" href="objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a>);</div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="keywordtype">int</span> <a class="code" href="hd_8h.html#a75f26be3e2adb7df832cbd9944a38e0b">hdRead</a>(<span class="keyword">struct</span> <a class="code" href="structdriveInfo.html">driveInfo</a> *hdd, <span class="keywordtype">void</span> *, <a class="code" href="objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a>, <a class="code" href="objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a>);</div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="keywordtype">int</span> <a class="code" href="hd_8h.html#a8e64e509439c31ba2acfe68a7aefcc10">hdReset</a>();</div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="keywordtype">int</span> <a class="code" href="hd_8h.html#ace9b924d48cc450c255d1d48fcbc13a5">hdIoctl</a>();</div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="keywordtype">int</span> <a class="code" href="hd_8h.html#a9535712ecc532571658cc6861570dde5">hdStart</a>();</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="keywordtype">int</span> <a class="code" href="hd_8h.html#a7a00465121a584acd10c1ca1b46680a1">hdStop</a>();</div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="keywordtype">int</span> <a class="code" href="hd_8h.html#a525245216f426465a3c0f130bd0efd19">hdStandby</a>();</div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="keywordtype">int</span> <a class="code" href="hd_8h.html#ab01b187dc277e089d0161315437fde41">hdInit</a>(<span class="keyword">struct</span> <a class="code" href="structdevice__node.html">device_node</a> *dev);</div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div> <div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="structdos__partition.html"> 195</a></span> <span class="keyword">struct </span><a class="code" href="structdos__partition.html">dos_partition</a> {</div> <div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="structdos__partition.html#a76754d1c9c64baa477f45dac3b258a40"> 196</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structdos__partition.html#a76754d1c9c64baa477f45dac3b258a40">dp_flag</a>; <span class="comment">/* bootstrap flags */</span></div> <div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="structdos__partition.html#a43c14b7f158728b75f4fa550ee7ec75f"> 197</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structdos__partition.html#a43c14b7f158728b75f4fa550ee7ec75f">dp_shd</a>; <span class="comment">/* starting head */</span></div> <div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="structdos__partition.html#abd8bc367d5183d55902ab1175f63343b"> 198</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structdos__partition.html#abd8bc367d5183d55902ab1175f63343b">dp_ssect</a>; <span class="comment">/* starting sector */</span></div> <div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="structdos__partition.html#a3a8d760608768cd64c6c5765aeac7a40"> 199</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structdos__partition.html#a3a8d760608768cd64c6c5765aeac7a40">dp_scyl</a>; <span class="comment">/* starting cylinder */</span></div> <div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="structdos__partition.html#a817b13493937968e878385eeede34f0b"> 200</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structdos__partition.html#a817b13493937968e878385eeede34f0b">dp_type</a>; <span class="comment">/* partition type */</span></div> <div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="structdos__partition.html#abb8315c288cd2fb600b593867f7fe9db"> 201</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structdos__partition.html#abb8315c288cd2fb600b593867f7fe9db">dp_ehd</a>; <span class="comment">/* end head */</span></div> <div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="structdos__partition.html#a7c867bf1f30a039de242889af824d188"> 202</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structdos__partition.html#a7c867bf1f30a039de242889af824d188">dp_esect</a>; <span class="comment">/* end sector */</span></div> <div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="structdos__partition.html#a36e0dc33679a315c60056b2a8e865598"> 203</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structdos__partition.html#a36e0dc33679a315c60056b2a8e865598">dp_ecyl</a>; <span class="comment">/* end cylinder */</span></div> <div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="structdos__partition.html#ab316e0e02d24902172d5edde412f3238"> 204</a></span>  <a class="code" href="objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> <a class="code" href="structdos__partition.html#ab316e0e02d24902172d5edde412f3238">dp_start</a>; <span class="comment">/* absolute starting sector number */</span></div> <div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="structdos__partition.html#af001423f7cab0f911f83d19906c9018f"> 205</a></span>  <a class="code" href="objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> <a class="code" href="structdos__partition.html#af001423f7cab0f911f83d19906c9018f">dp_size</a>; <span class="comment">/* partition size in sectors */</span></div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> };</div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  </div> <div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="hd_8h.html#ab365aa9aae531413e33947aba3d079cc"> 208</a></span> <span class="preprocessor">#define MAXPARTITIONS 8</span></div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div> <div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html"> 210</a></span> <span class="keyword">struct </span><a class="code" href="structbsd__disklabel.html">bsd_disklabel</a> {</div> <div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a27c3887c8d7a7604d79f101c0316053e"> 211</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#a27c3887c8d7a7604d79f101c0316053e">d_magic</a>; <span class="comment">/* the magic number */</span></div> <div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a339de842bcffc11bce9a34fc53b03362"> 212</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#a339de842bcffc11bce9a34fc53b03362">d_type</a>; <span class="comment">/* drive type */</span></div> <div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#ac6a9dfd75ae82c8c45e86726ca9cdd3b"> 213</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#ac6a9dfd75ae82c8c45e86726ca9cdd3b">d_subtype</a>; <span class="comment">/* controller/d_type specific */</span></div> <div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#ad6a5a058cc4fa40a5a0a5cb305104569"> 214</a></span>  <span class="keywordtype">char</span> <a class="code" href="structbsd__disklabel.html#ad6a5a058cc4fa40a5a0a5cb305104569">d_typename</a>[16]; <span class="comment">/* type name, e.g. "eagle" */</span></div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  </div> <div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a327daaf81e47645765fce50925f63030"> 216</a></span>  <span class="keywordtype">char</span> <a class="code" href="structbsd__disklabel.html#a327daaf81e47645765fce50925f63030">d_packname</a>[16]; <span class="comment">/* pack identifier */</span></div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  </div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="comment">/* disk geometry: */</span></div> <div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a3dea108384282d50790daa26839d635c"> 219</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#a3dea108384282d50790daa26839d635c">d_secsize</a>; <span class="comment">/* # of bytes per sector */</span></div> <div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a29430f05e17ca520b48e407175cfd825"> 220</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#a29430f05e17ca520b48e407175cfd825">d_nsectors</a>; <span class="comment">/* # of data sectors per track */</span></div> <div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a3cf810c12ed5a1865fdd5141a57c669a"> 221</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#a3cf810c12ed5a1865fdd5141a57c669a">d_ntracks</a>; <span class="comment">/* # of tracks per cylinder */</span></div> <div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#ae108495b6fe5374ec7c62ef4baf05f52"> 222</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#ae108495b6fe5374ec7c62ef4baf05f52">d_ncylinders</a>; <span class="comment">/* # of data cylinders per unit */</span></div> <div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#ac45c76bc77dc6cf20fb6409ffbfaabb8"> 223</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#ac45c76bc77dc6cf20fb6409ffbfaabb8">d_secpercyl</a>; <span class="comment">/* # of data sectors per cylinder */</span></div> <div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a8dbc77ac958835d07bc020eb80f8310d"> 224</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#a8dbc77ac958835d07bc020eb80f8310d">d_secperunit</a>; <span class="comment">/* # of data sectors per unit */</span></div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="comment"> * Spares (bad sector replacements) below are not counted in</span></div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="comment"> * d_nsectors or d_secpercyl. Spare sectors are assumed to</span></div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="comment"> * be physical sectors which occupy space at the end of each</span></div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment"> * track and/or cylinder.</span></div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="comment"> */</span></div> <div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a70038e5db15a12985955a06daa31b2b6"> 232</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#a70038e5db15a12985955a06daa31b2b6">d_sparespertrack</a>; <span class="comment">/* # of spare sectors per track */</span></div> <div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a66e9626c5aa0312540d253599483b6b6"> 233</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#a66e9626c5aa0312540d253599483b6b6">d_sparespercyl</a>; <span class="comment">/* # of spare sectors per cylinder */</span></div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="comment"> * Alternate cylinders include maintenance, replacement, configuration</span></div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="comment"> * description areas, etc.</span></div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="comment"> */</span></div> <div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#abc2ad09a05d37bb1e6cbade401faea0f"> 238</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#abc2ad09a05d37bb1e6cbade401faea0f">d_acylinders</a>; <span class="comment">/* # of alt. cylinders per unit */</span></div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  </div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="comment">/* hardware characteristics: */</span></div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment"> * d_interleave, d_trackskew and d_cylskew describe perturbations</span></div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="comment"> * in the media format used to compensate for a slow controller.</span></div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="comment"> * Interleave is physical sector interleave, set up by the</span></div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="comment"> * formatter or controller when formatting. When interleaving is</span></div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment"> * in use, logically adjacent sectors are not physically</span></div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="comment"> * contiguous, but instead are separated by some number of</span></div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment"> * sectors. It is specified as the ratio of physical sectors</span></div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="comment"> * traversed per logical sector. Thus an interleave of 1:1</span></div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="comment"> * implies contiguous layout, while 2:1 implies that logical</span></div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="comment"> * sector 0 is separated by one sector from logical sector 1.</span></div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="comment"> * d_trackskew is the offset of sector 0 on track N relative to</span></div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="comment"> * sector 0 on track N-1 on the same cylinder. Finally, d_cylskew</span></div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="comment"> * is the offset of sector 0 on cylinder N relative to sector 0</span></div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="comment"> * on cylinder N-1.</span></div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="comment"> */</span></div> <div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a08bc0c83a73009a0886aeadae13adf9f"> 257</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#a08bc0c83a73009a0886aeadae13adf9f">d_rpm</a>; <span class="comment">/* rotational speed */</span></div> <div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a9f251fc6b92836fc3df6fdcf5ada1eaf"> 258</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#a9f251fc6b92836fc3df6fdcf5ada1eaf">d_interleave</a>; <span class="comment">/* hardware sector interleave */</span></div> <div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a16886f26e50cfa69d6f8a83c3ec74d3f"> 259</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#a16886f26e50cfa69d6f8a83c3ec74d3f">d_trackskew</a>; <span class="comment">/* sector 0 skew, per track */</span></div> <div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a8a1ea7da1a561dc09e78d9fd510cc9d7"> 260</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#a8a1ea7da1a561dc09e78d9fd510cc9d7">d_cylskew</a>; <span class="comment">/* sector 0 skew, per cylinder */</span></div> <div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a758d7335edac5d43056ce33a70ee95fc"> 261</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#a758d7335edac5d43056ce33a70ee95fc">d_headswitch</a>; <span class="comment">/* head switch time, usec */</span></div> <div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#ac39855e86b97beb97c29c5dc6d350925"> 262</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#ac39855e86b97beb97c29c5dc6d350925">d_trkseek</a>; <span class="comment">/* track-to-track seek, usec */</span></div> <div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#acb64bf505493d09161d7f6c1d97a7583"> 263</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#acb64bf505493d09161d7f6c1d97a7583">d_flags</a>; <span class="comment">/* generic flags */</span></div> <div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="hd_8h.html#a24fef906c993a6511034377118497b67"> 264</a></span> <span class="preprocessor">#define NDDATA 5</span></div> <div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a983e60d647e9af12ea24fa2f6e71163c"> 265</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#a983e60d647e9af12ea24fa2f6e71163c">d_drivedata</a>[<a class="code" href="hd_8h.html#a24fef906c993a6511034377118497b67">NDDATA</a>]; <span class="comment">/* drive-type specific information */</span></div> <div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="hd_8h.html#aa7634e74ec4ca64b3a931b89c07ece15"> 266</a></span> <span class="preprocessor">#define NSPARE 5</span></div> <div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#affb4aec41b89db44d843e6e373119cb2"> 267</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#affb4aec41b89db44d843e6e373119cb2">d_spare</a>[<a class="code" href="hd_8h.html#aa7634e74ec4ca64b3a931b89c07ece15">NSPARE</a>]; <span class="comment">/* reserved for future use */</span></div> <div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#ae8b7d14f5218faedcabc8cdb9799f2b8"> 268</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#ae8b7d14f5218faedcabc8cdb9799f2b8">d_magic2</a>; <span class="comment">/* the magic number (again) */</span></div> <div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#ac509dd0d343b76b9dc7dc75973219a7e"> 269</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#ac509dd0d343b76b9dc7dc75973219a7e">d_checksum</a>; <span class="comment">/* xor of data incl. partitions */</span></div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  </div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="comment">/* filesystem and partition information: */</span></div> <div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a6a478db13de03d2384bbb5307be1e84c"> 272</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel.html#a6a478db13de03d2384bbb5307be1e84c">d_npartitions</a>; <span class="comment">/* number of partitions in following */</span></div> <div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#a1ed085430e0760fd4e43dd563191f06f"> 273</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#a1ed085430e0760fd4e43dd563191f06f">d_bbsize</a>; <span class="comment">/* size of boot area at sn0, bytes */</span></div> <div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="structbsd__disklabel.html#aa9bcc5f28e778368ba4e701deaffc351"> 274</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel.html#aa9bcc5f28e778368ba4e701deaffc351">d_sbsize</a>; <span class="comment">/* max size of fs superblock, bytes */</span></div> <div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="structbsd__disklabel_1_1partition.html"> 275</a></span>  <span class="keyword">struct </span><a class="code" href="structbsd__disklabel_1_1partition.html">partition</a> { <span class="comment">/* the partition table */</span></div> <div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="structbsd__disklabel_1_1partition.html#ab41df34969d422568cb0cc184db3268a"> 276</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel_1_1partition.html#ab41df34969d422568cb0cc184db3268a">p_size</a>; <span class="comment">/* number of sectors in partition */</span></div> <div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="structbsd__disklabel_1_1partition.html#a3af3d4070dabab2ce5df6f1bfbd5616a"> 277</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel_1_1partition.html#a3af3d4070dabab2ce5df6f1bfbd5616a">p_offset</a>; <span class="comment">/* starting sector */</span></div> <div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="structbsd__disklabel_1_1partition.html#afff3b0228a6c779a26706be5cc6ee177"> 278</a></span>  <a class="code" href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> <a class="code" href="structbsd__disklabel_1_1partition.html#afff3b0228a6c779a26706be5cc6ee177">p_fsize</a>; <span class="comment">/* filesystem basic fragment size */</span></div> <div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="structbsd__disklabel_1_1partition.html#a234eea6a587c4d889251c2f07d982cef"> 279</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structbsd__disklabel_1_1partition.html#a234eea6a587c4d889251c2f07d982cef">p_fstype</a>; <span class="comment">/* filesystem type, see below */</span></div> <div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="structbsd__disklabel_1_1partition.html#ad200bba4ef05cb1d2824c6b93092f711"> 280</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structbsd__disklabel_1_1partition.html#ad200bba4ef05cb1d2824c6b93092f711">p_frag</a>; <span class="comment">/* filesystem fragments per block */</span></div> <div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="structbsd__disklabel_1_1partition.html#a26963c89dd04bf274c1f31b1d76dee89"> 281</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structbsd__disklabel_1_1partition.html#a26963c89dd04bf274c1f31b1d76dee89">p_cpg</a>; <span class="comment">/* filesystem cylinders per group */</span></div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  } <a class="code" href="structbsd__disklabel.html#a60c26768f84bf0061c2436f29a2fdff0">d_partitions</a>[<a class="code" href="hd_8h.html#ab365aa9aae531413e33947aba3d079cc">MAXPARTITIONS</a>]; <span class="comment">/* actually may be more */</span></div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span> };</div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  </div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *fstypenames[] = { <span class="stringliteral">"unused"</span>, <span class="stringliteral">"swap"</span>, <span class="stringliteral">"Version 6"</span>, <span class="stringliteral">"Version 7"</span>, <span class="stringliteral">"System V"</span>, <span class="stringliteral">"4.1BSD"</span>, <span class="stringliteral">"Eighth Edition"</span>, <span class="stringliteral">"4.2BSD"</span>, <span class="stringliteral">"MSDOS"</span>, <span class="stringliteral">"4.4LFS"</span>, <span class="stringliteral">"unknown"</span>, <span class="stringliteral">"HPFS"</span>, <span class="stringliteral">"ISO9660"</span>, <span class="stringliteral">"boot"</span>, <span class="stringliteral">"vinum"</span>, <span class="stringliteral">"raid"</span>, <span class="stringliteral">"?"</span>, <span class="stringliteral">"?"</span>, <span class="stringliteral">"?"</span>, <span class="stringliteral">"?"</span>, <span class="stringliteral">"jfs"</span>, <a class="code" href="fat__string_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a> };</div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  </div> <div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="hd_8h.html#a70dabd7211309235d830502ca4e4a233"> 293</a></span> <span class="preprocessor">#define ATA_IDENTIFY_SERIAL_NUMBER_LEN 20</span></div> <div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="hd_8h.html#af897b78424dea24fe6ed3822624661c4"> 294</a></span> <span class="preprocessor">#define ATA_IDENTIFY_MODEL_NUMBER_LEN 40</span></div> <div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="hd_8h.html#ab3e2fe915eede4a15f4fb70d1a429db0"> 295</a></span> <span class="preprocessor">#define ATA_IDENTIFY_FW_REVISION_LEN 8</span></div> <div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="hd_8h.html#a16cf103c6e6aab48368708e46669d4c4"> 296</a></span> <span class="preprocessor">#define ATA_IDENTIFY_48_LBA_LEN 8</span></div> <div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="hd_8h.html#a528da6c2859aa349e0e3273524831021"> 297</a></span> <span class="preprocessor">#define ATA_IDENTIFY_MEDIA_SERIAL_NUMBER_LEN 30</span></div> <div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="hd_8h.html#aa1d53630f2ba132aa59ac959da7b41df"> 298</a></span> <span class="preprocessor">#define ATA_IDENTIFY_WWN_LEN 8</span></div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  </div> <div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="structata__identify__data.html"> 300</a></span> <span class="keyword">struct </span><a class="code" href="structata__identify__data.html">ata_identify_data</a> {</div> <div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="structata__identify__data.html#abb7aa26957526f00dfc5843a156a0713"> 301</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#abb7aa26957526f00dfc5843a156a0713">general_config_bits</a>; <span class="comment">// word 00</span></div> <div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a78691299df9fdae2be4068dab68f579e"> 302</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a78691299df9fdae2be4068dab68f579e">obsolete0</a>; <span class="comment">// word 01 (num cylinders)</span></div> <div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aeb591da11a8177a8aa1977ff1964b099"> 303</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aeb591da11a8177a8aa1977ff1964b099">vendor_specific_config_bits</a>; <span class="comment">// word 02</span></div> <div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a469786e3b04fa328f3ad5d3d2900a4c0"> 304</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a469786e3b04fa328f3ad5d3d2900a4c0">obsolete1</a>; <span class="comment">// word 03 (num heads)</span></div> <div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a8489ab7977733ed16b24b7be75c14632"> 305</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a8489ab7977733ed16b24b7be75c14632">retired1</a>[2]; <span class="comment">// words 04-05</span></div> <div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a7a3f31103036d5f32a87d4b7c3641953"> 306</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a7a3f31103036d5f32a87d4b7c3641953">obsolete2</a>; <span class="comment">// word 06 (sectors / track)</span></div> <div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a696b646d5fb3703f202fe8f17c850895"> 307</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a696b646d5fb3703f202fe8f17c850895">reserved_for_compact_flash1</a>[2]; <span class="comment">// words 07-08</span></div> <div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ab4908838e16b72f710180ab9f2fbe21a"> 308</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ab4908838e16b72f710180ab9f2fbe21a">retired0</a>; <span class="comment">// word 09</span></div> <div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a389ba97f9f6e30043624ce3273606c0d"> 309</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structata__identify__data.html#a389ba97f9f6e30043624ce3273606c0d">serial_number</a>[<a class="code" href="hd_8h.html#a70dabd7211309235d830502ca4e4a233">ATA_IDENTIFY_SERIAL_NUMBER_LEN</a>]; <span class="comment">// word 10-19</span></div> <div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ad6ce02f920a7b19e664a35c463f755ff"> 310</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ad6ce02f920a7b19e664a35c463f755ff">retired2</a>[2]; <span class="comment">// words 20-21</span></div> <div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aa69b6cdbf05f36142a6b1414f1ff1a2c"> 311</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aa69b6cdbf05f36142a6b1414f1ff1a2c">obsolete4</a>; <span class="comment">// word 22</span></div> <div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a7a71ee70d92f99602a82710f9212f547"> 312</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structata__identify__data.html#a7a71ee70d92f99602a82710f9212f547">firmware_revision</a>[<a class="code" href="hd_8h.html#ab3e2fe915eede4a15f4fb70d1a429db0">ATA_IDENTIFY_FW_REVISION_LEN</a>]; <span class="comment">// words 23-26</span></div> <div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a663595b0f265729364f6159237269397"> 313</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structata__identify__data.html#a663595b0f265729364f6159237269397">model_number</a>[<a class="code" href="hd_8h.html#af897b78424dea24fe6ed3822624661c4">ATA_IDENTIFY_MODEL_NUMBER_LEN</a>]; <span class="comment">// words 27-46</span></div> <div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a86cda317899575d1c8ab2058c798744d"> 314</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a86cda317899575d1c8ab2058c798744d">max_sectors_per_multiple</a>; <span class="comment">// word 47</span></div> <div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a3686d4c12cf22efc0ae91e64daa6f774"> 315</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a3686d4c12cf22efc0ae91e64daa6f774">reserved0</a>; <span class="comment">// word 48</span></div> <div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a9da82a370fedb4a074b40f192f0434a1"> 316</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a9da82a370fedb4a074b40f192f0434a1">capabilities1</a>; <span class="comment">// word 49</span></div> <div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ad1786f04c478d88a9705689f64334e5f"> 317</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ad1786f04c478d88a9705689f64334e5f">capabilities2</a>; <span class="comment">// word 50</span></div> <div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ad39670c5f767b60a329794f12063ca7d"> 318</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ad39670c5f767b60a329794f12063ca7d">obsolete5</a>[2]; <span class="comment">// words 51-52</span></div> <div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a0a0f0323efb421b710dd6e95b8666499"> 319</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a0a0f0323efb421b710dd6e95b8666499">validity_bits</a>; <span class="comment">// word 53</span></div> <div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a1e0d86ee6de02f1a031fcbe9f387ea7f"> 320</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a1e0d86ee6de02f1a031fcbe9f387ea7f">obsolete6</a>[5]; <span class="comment">// words 54-58 Used to be:</span></div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="comment">// current cylinders,</span></div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="comment">// current heads,</span></div> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="comment">// current sectors/Track,</span></div> <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="comment">// current capacity</span></div> <div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a231d45b8d368a6c31092a321f3f0fc41"> 325</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a231d45b8d368a6c31092a321f3f0fc41">current_max_sectors_per_multiple</a>; <span class="comment">// word 59</span></div> <div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a3266c97773cfa9f7d047f84c4fb13a33"> 326</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structata__identify__data.html#a3266c97773cfa9f7d047f84c4fb13a33">total_num_sectors</a>[4]; <span class="comment">// words 60-61</span></div> <div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aafa69b3043331e1fa08e52ef8846328f"> 327</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aafa69b3043331e1fa08e52ef8846328f">obsolete7</a>; <span class="comment">// word 62</span></div> <div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ab3fefeda591fd6becda55625168f9515"> 328</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ab3fefeda591fd6becda55625168f9515">multi_word_dma_mode</a>; <span class="comment">// word 63</span></div> <div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aa726b38c4d8565f69a0e026959868fdb"> 329</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aa726b38c4d8565f69a0e026959868fdb">pio_modes_supported</a>; <span class="comment">// word 64</span></div> <div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aa8283775ac11757880f0c4095a1edd58"> 330</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aa8283775ac11757880f0c4095a1edd58">min_multiword_dma_transfer_cycle</a>; <span class="comment">// word 65</span></div> <div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a47ecb0b335cfebef7207b594fb69e316"> 331</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a47ecb0b335cfebef7207b594fb69e316">rec_min_multiword_dma_transfer_cycle</a>; <span class="comment">// word 66</span></div> <div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="structata__identify__data.html#afb63df569d908d8f8cd38b844efe0f23"> 332</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#afb63df569d908d8f8cd38b844efe0f23">min_pio_transfer_no_flow_ctrl</a>; <span class="comment">// word 67</span></div> <div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a019af69c8c4b76c1d505bf90200abb57"> 333</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a019af69c8c4b76c1d505bf90200abb57">min_pio_transfer_with_flow_ctrl</a>; <span class="comment">// word 68</span></div> <div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a2401e80ff98fee0baf84ff0cfc183ecf"> 334</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a2401e80ff98fee0baf84ff0cfc183ecf">additional_supported</a>; <span class="comment">// word 69</span></div> <div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ab56651deb14233173827564b82227d7d"> 335</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ab56651deb14233173827564b82227d7d">reserved1</a>; <span class="comment">// word 70</span></div> <div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a9c1c8decb454522098fbebfc15a75fa4"> 336</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a9c1c8decb454522098fbebfc15a75fa4">reserved2</a>[4]; <span class="comment">// words 71-74</span></div> <div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ae6386ee60f4927f887bb028461acee14"> 337</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ae6386ee60f4927f887bb028461acee14">queue_depth</a>; <span class="comment">// word 75</span></div> <div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ac0e57e51075017de148dcb0898ea3683"> 338</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ac0e57e51075017de148dcb0898ea3683">serial_ata_capabilities</a>; <span class="comment">// word 76</span></div> <div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a2385ca40d7d10279b1efa26749ee60ef"> 339</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a2385ca40d7d10279b1efa26749ee60ef">serial_ata_reserved</a>; <span class="comment">// word 77</span></div> <div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aeac22b24158e88c39edc5d070749c5e2"> 340</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aeac22b24158e88c39edc5d070749c5e2">serial_ata_features_supported</a>; <span class="comment">// word 78</span></div> <div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a0cbf2ef38110fad53efe8dbbb0add56b"> 341</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a0cbf2ef38110fad53efe8dbbb0add56b">serial_ata_features_enabled</a>; <span class="comment">// word 79</span></div> <div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a38db5334523c28f375401bd4744d0a86"> 342</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a38db5334523c28f375401bd4744d0a86">major_version_number</a>; <span class="comment">// word 80</span></div> <div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a0b0a98db1958b08c604a51323a8c0c77"> 343</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a0b0a98db1958b08c604a51323a8c0c77">minor_version_number</a>; <span class="comment">// word 81</span></div> <div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a7612fbad3530aebe17cf16fce99e2e45"> 344</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a7612fbad3530aebe17cf16fce99e2e45">command_set_supported0</a>; <span class="comment">// word 82</span></div> <div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ac06e939435b0107d09da8ad55d406e9a"> 345</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ac06e939435b0107d09da8ad55d406e9a">command_set_supported1</a>; <span class="comment">// word 83</span></div> <div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a6c2ed844c2cdd10000a4a43ce1503eae"> 346</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a6c2ed844c2cdd10000a4a43ce1503eae">command_set_supported_extention</a>; <span class="comment">// word 84</span></div> <div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a5dd97b9f1d1347f287221ef613ad15fe"> 347</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a5dd97b9f1d1347f287221ef613ad15fe">command_set_enabled0</a>; <span class="comment">// word 85</span></div> <div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a4545653f06a4195a75edcd29001cb701"> 348</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a4545653f06a4195a75edcd29001cb701">command_set_enabled1</a>; <span class="comment">// word 86</span></div> <div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ac2724b0b9824970afc5db3618cba6425"> 349</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ac2724b0b9824970afc5db3618cba6425">command_set_default</a>; <span class="comment">// word 87</span></div> <div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a8e509f292b8038ccab9ed9dd5067613c"> 350</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a8e509f292b8038ccab9ed9dd5067613c">ultra_dma_mode</a>; <span class="comment">// word 88</span></div> <div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a1f7ea6b9c29e67c2320bc32e2be5a2b3"> 351</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a1f7ea6b9c29e67c2320bc32e2be5a2b3">security_erase_completion_time</a>; <span class="comment">// word 89</span></div> <div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a736597694b758257819f856aa307de69"> 352</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a736597694b758257819f856aa307de69">enhanced_security_erase_time</a>; <span class="comment">// word 90</span></div> <div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a24d4408925d1ff7f5efb692717c36f16"> 353</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a24d4408925d1ff7f5efb692717c36f16">current_power_mgmt_value</a>; <span class="comment">// word 91</span></div> <div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="structata__identify__data.html#abaa004108403f46631af8993f470c41c"> 354</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#abaa004108403f46631af8993f470c41c">master_password_revision</a>; <span class="comment">// word 92</span></div> <div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a19bead2c3f2d39f085c8cf4a965d4ebc"> 355</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a19bead2c3f2d39f085c8cf4a965d4ebc">hardware_reset_result</a>; <span class="comment">// word 93</span></div> <div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a4afe7c7dc840fabaaed226ec9ee3b11a"> 356</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a4afe7c7dc840fabaaed226ec9ee3b11a">current_acoustic_management_value</a>; <span class="comment">// word 94</span></div> <div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a7da7af190be1c772d34376590d4137b4"> 357</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a7da7af190be1c772d34376590d4137b4">stream_min_request_size</a>; <span class="comment">// word 95</span></div> <div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a6846b8cbdf15e78226a473b890186b5e"> 358</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a6846b8cbdf15e78226a473b890186b5e">stream_transfer_time</a>; <span class="comment">// word 96</span></div> <div class="line"><a name="l00359"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aa3a039798e6b19d58e7e2d90394e5986"> 359</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aa3a039798e6b19d58e7e2d90394e5986">stream_access_latency</a>; <span class="comment">// word 97</span></div> <div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a328ba5927447d33b6e94dabc85e86850"> 360</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a328ba5927447d33b6e94dabc85e86850">stream_performance_granularity</a>[2]; <span class="comment">// words 98-99</span></div> <div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a4edac4a696a504c5625395bb6c9833b9"> 361</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structata__identify__data.html#a4edac4a696a504c5625395bb6c9833b9">max_48bit_lba</a>[<a class="code" href="hd_8h.html#a16cf103c6e6aab48368708e46669d4c4">ATA_IDENTIFY_48_LBA_LEN</a>]; <span class="comment">// words 100-103</span></div> <div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ab3cc8a9a3e2ba2af5a172d405e8c499c"> 362</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ab3cc8a9a3e2ba2af5a172d405e8c499c">streaming_transfer_time</a>; <span class="comment">// word 104</span></div> <div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a6317944095cded8f78bed0e41da83c92"> 363</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a6317944095cded8f78bed0e41da83c92">max_lba_range_entry_blocks</a>; <span class="comment">// word 105</span></div> <div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ace8f3708a348109394cdebd41180f7a0"> 364</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ace8f3708a348109394cdebd41180f7a0">physical_logical_sector_info</a>; <span class="comment">// word 106</span></div> <div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a73fcc627ba448a3bbdff736c1d0204f2"> 365</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a73fcc627ba448a3bbdff736c1d0204f2">acoustic_test_interseek_delay</a>; <span class="comment">// word 107</span></div> <div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a180bc3df06dcfe880b6f44c9464c42b0"> 366</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structata__identify__data.html#a180bc3df06dcfe880b6f44c9464c42b0">world_wide_name</a>[<a class="code" href="hd_8h.html#aa1d53630f2ba132aa59ac959da7b41df">ATA_IDENTIFY_WWN_LEN</a>]; <span class="comment">// words 108-111</span></div> <div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a9544c176675931b1d8d0480c080f9fc5"> 367</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structata__identify__data.html#a9544c176675931b1d8d0480c080f9fc5">reserved_for_wwn_extention</a>[<a class="code" href="hd_8h.html#aa1d53630f2ba132aa59ac959da7b41df">ATA_IDENTIFY_WWN_LEN</a>]; <span class="comment">// words 112-115</span></div> <div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a9e0702d4cd468bd7231b1f82c7f238af"> 368</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a9e0702d4cd468bd7231b1f82c7f238af">reserved4</a>; <span class="comment">// word 116</span></div> <div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ae17c108776507b4a3f9d50dcb0d8fa50"> 369</a></span>  <a class="code" href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a> <a class="code" href="structata__identify__data.html#ae17c108776507b4a3f9d50dcb0d8fa50">words_per_logical_sector</a>[4]; <span class="comment">// words 117-118</span></div> <div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="structata__identify__data.html#afef1c988d412b45cd5fff9641111c4c9"> 370</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#afef1c988d412b45cd5fff9641111c4c9">command_set_supported2</a>; <span class="comment">// word 119</span></div> <div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a9cc1e29954156af50f8bc3ff70649ecd"> 371</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a9cc1e29954156af50f8bc3ff70649ecd">reserved5</a>[7]; <span class="comment">// words 120-126</span></div> <div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aec0276d3cab05d7b2218ceaefee6cc73"> 372</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aec0276d3cab05d7b2218ceaefee6cc73">removable_media_status</a>; <span class="comment">// word 127</span></div> <div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ab1e94a7ff4c25fb11360b1a209e6ca35"> 373</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ab1e94a7ff4c25fb11360b1a209e6ca35">security_status</a>; <span class="comment">// word 128</span></div> <div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a5e83aa9a7416a9604b16e7e47b5e94cb"> 374</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a5e83aa9a7416a9604b16e7e47b5e94cb">vendor_specific1</a>[31]; <span class="comment">// words 129-159</span></div> <div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a58639c4d2438b5a0b680e8fec7f38d3a"> 375</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a58639c4d2438b5a0b680e8fec7f38d3a">cfa_power_mode1</a>; <span class="comment">// word 160</span></div> <div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a85fbc2a760069d76ec1dbb0c5e637f3e"> 376</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a85fbc2a760069d76ec1dbb0c5e637f3e">reserved_for_compact_flash2</a>[7]; <span class="comment">// words 161-167</span></div> <div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a377568c3c56bd103f3a5fc4f54ecfa3d"> 377</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a377568c3c56bd103f3a5fc4f54ecfa3d">device_nominal_form_factor</a>; <span class="comment">// word 168</span></div> <div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a3df83cd09b2d93ab42c90978ad5a46b4"> 378</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a3df83cd09b2d93ab42c90978ad5a46b4">data_set_management</a>; <span class="comment">// word 169</span></div> <div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a43f87366bc0ccf8c76ebc9d9fc1f1f94"> 379</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a43f87366bc0ccf8c76ebc9d9fc1f1f94">reserved_for_compact_flash3</a>[6]; <span class="comment">// words 170-175</span></div> <div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ad4c327445553d21b280a66c7223fb161"> 380</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ad4c327445553d21b280a66c7223fb161">current_media_serial_number</a>[<a class="code" href="hd_8h.html#a528da6c2859aa349e0e3273524831021">ATA_IDENTIFY_MEDIA_SERIAL_NUMBER_LEN</a>]; <span class="comment">//words 176-205</span></div> <div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a755296b1396dc0c663789e76a75a7e7a"> 381</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a755296b1396dc0c663789e76a75a7e7a">reserved6</a>[3]; <span class="comment">// words 206-208</span></div> <div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aaa6fe6d81c6b940e3ab92581d05e4d31"> 382</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aaa6fe6d81c6b940e3ab92581d05e4d31">logical_sector_alignment</a>; <span class="comment">// words 209</span></div> <div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="structata__identify__data.html#aaed4d24fcda72ac9649ef2af469cd983"> 383</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#aaed4d24fcda72ac9649ef2af469cd983">reserved7</a>[7]; <span class="comment">// words 210-216</span></div> <div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ad85db2641ecdb69544b284bca7dcdc41"> 384</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ad85db2641ecdb69544b284bca7dcdc41">nominal_media_rotation_rate</a>; <span class="comment">// word 217</span></div> <div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a795f243f82a1545d4c7976db3c628f9b"> 385</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a795f243f82a1545d4c7976db3c628f9b">reserved8</a>[16]; <span class="comment">// words 218-233</span></div> <div class="line"><a name="l00386"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a8ea3121f3c3afb17678b69bf6c56c9af"> 386</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a8ea3121f3c3afb17678b69bf6c56c9af">min_num_blocks_per_microcode</a>; <span class="comment">// word 234</span></div> <div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a5370eccbdcafb09cf0eaefff03ac3b8e"> 387</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a5370eccbdcafb09cf0eaefff03ac3b8e">max_num_blocks_per_microcode</a>; <span class="comment">// word 235</span></div> <div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="structata__identify__data.html#ad9d29c1d383698c45b16b60d2193e688"> 388</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#ad9d29c1d383698c45b16b60d2193e688">reserved9</a>[19]; <span class="comment">// words 236-254</span></div> <div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="structata__identify__data.html#a71c7799e8ce587ed9f70a00b7d1dcd2e"> 389</a></span>  <a class="code" href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a> <a class="code" href="structata__identify__data.html#a71c7799e8ce587ed9f70a00b7d1dcd2e">integrity_word</a>; <span class="comment">// word 255</span></div> <div class="line"><a name="l00390"></a><span class="lineno"> 390</span> };</div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  </div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span> <span class="comment">/*</span></div> <div class="line"><a name="l00393"></a><span class="lineno"> 393</span> <span class="comment"> * A list of partition types, probably outdated.</span></div> <div class="line"><a name="l00394"></a><span class="lineno"> 394</span> <span class="comment"> */</span></div> <div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> part_types[256] = {</div> <div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  [0x00] = <span class="stringliteral">"unused"</span>,</div> <div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  [0x01] = <span class="stringliteral">"Primary DOS with 12 bit FAT"</span>,</div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  [0x02] = <span class="stringliteral">"XENIX / file system"</span>,</div> <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  [0x03] = <span class="stringliteral">"XENIX /usr file system"</span>,</div> <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  [0x04] = <span class="stringliteral">"Primary DOS with 16 bit FAT (< 32MB)"</span>,</div> <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  [0x05] = <span class="stringliteral">"Extended DOS"</span>,</div> <div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  [0x06] = <span class="stringliteral">"Primary DOS, 16 bit FAT (>= 32MB)"</span>,</div> <div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  [0x07] = <span class="stringliteral">"NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX"</span>,</div> <div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  [0x08] = <span class="stringliteral">"AIX file system or SplitDrive"</span>,</div> <div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  [0x09] = <span class="stringliteral">"AIX boot partition or Coherent"</span>,</div> <div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  [0x0A] = <span class="stringliteral">"OS/2 Boot Manager, OPUS or Coherent swap"</span>,</div> <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  [0x0B] = <span class="stringliteral">"DOS or Windows 95 with 32 bit FAT"</span>,</div> <div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  [0x0C] = <span class="stringliteral">"DOS or Windows 95 with 32 bit FAT (LBA)"</span>,</div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  [0x0E] = <span class="stringliteral">"Primary 'big' DOS (>= 32MB, LBA)"</span>,</div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  [0x0F] = <span class="stringliteral">"Extended DOS (LBA)"</span>,</div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  [0x10] = <span class="stringliteral">"OPUS"</span>,</div> <div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  [0x11] = <span class="stringliteral">"OS/2 BM: hidden DOS with 12-bit FAT"</span>,</div> <div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  [0x12] = <span class="stringliteral">"Compaq diagnostics"</span>,</div> <div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  [0x14] = <span class="stringliteral">"OS/2 BM: hidden DOS with 16-bit FAT (< 32MB)"</span>,</div> <div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  [0x16] = <span class="stringliteral">"OS/2 BM: hidden DOS with 16-bit FAT (>= 32MB)"</span>,</div> <div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  [0x17] = <span class="stringliteral">"OS/2 BM: hidden IFS (e.g. HPFS)"</span>,</div> <div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  [0x18] = <span class="stringliteral">"AST Windows swapfile"</span>,</div> <div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  [0x1b] = <span class="stringliteral">"ASUS Recovery partition (NTFS)"</span>,</div> <div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  [0x24] = <span class="stringliteral">"NEC DOS"</span>,</div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  [0x3C] = <span class="stringliteral">"PartitionMagic recovery"</span>,</div> <div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  [0x39] = <span class="stringliteral">"plan9"</span>,</div> <div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  [0x40] = <span class="stringliteral">"VENIX 286"</span>,</div> <div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  [0x41] = <span class="stringliteral">"Linux/MINIX (sharing disk with DRDOS)"</span>,</div> <div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  [0x42] = <span class="stringliteral">"SFS or Linux swap (sharing disk with DRDOS)"</span>,</div> <div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  [0x43] = <span class="stringliteral">"Linux native (sharing disk with DRDOS)"</span>,</div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  [0x4D] = <span class="stringliteral">"QNX 4.2 Primary"</span>,</div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  [0x4E] = <span class="stringliteral">"QNX 4.2 Secondary"</span>,</div> <div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  [0x4F] = <span class="stringliteral">"QNX 4.2 Tertiary"</span>,</div> <div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  [0x50] = <span class="stringliteral">"DM (disk manager)"</span>,</div> <div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  [0x51] = <span class="stringliteral">"DM6 Aux1 (or Novell)"</span>,</div> <div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  [0x52] = <span class="stringliteral">"CP/M or Microport SysV/AT"</span>,</div> <div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  [0x53] = <span class="stringliteral">"DM6 Aux3"</span>,</div> <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  [0x54] = <span class="stringliteral">"DM6"</span>,</div> <div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  [0x55] = <span class="stringliteral">"EZ-Drive (disk manager)"</span>,</div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  [0x56] = <span class="stringliteral">"Golden Bow (disk manager)"</span>,</div> <div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  [0x5c] = <span class="stringliteral">"Priam Edisk (disk manager)"</span>, <span class="comment">/* according to S. Widlake */</span></div> <div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  [0x61] = <span class="stringliteral">"SpeedStor"</span>,</div> <div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  [0x63] = <span class="stringliteral">"System V/386 (such as ISC UNIX), GNU HURD or Mach"</span>,</div> <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  [0x64] = <span class="stringliteral">"Novell Netware/286 2.xx"</span>,</div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  [0x65] = <span class="stringliteral">"Novell Netware/386 3.xx"</span>,</div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  [0x70] = <span class="stringliteral">"DiskSecure Multi-Boot"</span>,</div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  [0x75] = <span class="stringliteral">"PCIX"</span>,</div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  [0x77] = <span class="stringliteral">"QNX4.x"</span>,</div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  [0x78] = <span class="stringliteral">"QNX4.x 2nd part"</span>,</div> <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  [0x79] = <span class="stringliteral">"QNX4.x 3rd part"</span>,</div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  [0x80] = <span class="stringliteral">"Minix until 1.4a"</span>,</div> <div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  [0x81] = <span class="stringliteral">"Minix since 1.4b, early Linux partition or Mitac disk manager"</span>,</div> <div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  [0x82] = <span class="stringliteral">"Linux swap or Solaris x86"</span>,</div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  [0x83] = <span class="stringliteral">"Linux native"</span>,</div> <div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  [0x84] = <span class="stringliteral">"OS/2 hidden C: drive"</span>,</div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  [0x85] = <span class="stringliteral">"Linux extended"</span>,</div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  [0x86] = <span class="stringliteral">"NTFS volume set??"</span>,</div> <div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  [0x87] = <span class="stringliteral">"NTFS volume set??"</span>,</div> <div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  [0x93] = <span class="stringliteral">"Amoeba file system"</span>,</div> <div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  [0x94] = <span class="stringliteral">"Amoeba bad block table"</span>,</div> <div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  [0x9F] = <span class="stringliteral">"BSD/OS"</span>,</div> <div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  [0xA0] = <span class="stringliteral">"Suspend to Disk"</span>,</div> <div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  [0xA5] = <span class="stringliteral">"FreeBSD/NetBSD/386BSD"</span>,</div> <div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  [0xA6] = <span class="stringliteral">"OpenBSD"</span>,</div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  [0xA7] = <span class="stringliteral">"NeXTSTEP"</span>,</div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  [0xA9] = <span class="stringliteral">"NetBSD"</span>,</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  [0xAC] = <span class="stringliteral">"IBM JFS"</span>,</div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  [0xAF] = <span class="stringliteral">"HFS+"</span>,</div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  [0xB7] = <span class="stringliteral">"BSDI BSD/386 file system"</span>,</div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  [0xB8] = <span class="stringliteral">"BSDI BSD/386 swap"</span>,</div> <div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  [0xBE] = <span class="stringliteral">"Solaris x86 boot"</span>,</div> <div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  [0xBF] = <span class="stringliteral">"Solaris x86 (new)"</span>,</div> <div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  [0xC1] = <span class="stringliteral">"DRDOS/sec with 12-bit FAT"</span>,</div> <div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  [0xC4] = <span class="stringliteral">"DRDOS/sec with 16-bit FAT (< 32MB)"</span>,</div> <div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  [0xC6] = <span class="stringliteral">"DRDOS/sec with 16-bit FAT (>= 32MB)"</span>,</div> <div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  [0xC7] = <span class="stringliteral">"Syrinx"</span>,</div> <div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  [0xDB] = <span class="stringliteral">"CP/M, Concurrent CP/M, Concurrent DOS or CTOS"</span>,</div> <div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  [0xDE] = <span class="stringliteral">"DELL Utilities - FAT filesystem"</span>,</div> <div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  [0xE1] = <span class="stringliteral">"DOS access or SpeedStor with 12-bit FAT extended partition"</span>,</div> <div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  [0xE3] = <span class="stringliteral">"DOS R/O or SpeedStor"</span>,</div> <div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  [0xE4] = <span class="stringliteral">"SpeedStor with 16-bit FAT extended partition < 1024 cyl."</span>,</div> <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  [0xEB] = <span class="stringliteral">"BeOS file system"</span>,</div> <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  [0xEE] = <span class="stringliteral">"EFI GPT"</span>,</div> <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  [0xEF] = <span class="stringliteral">"EFI System Partition"</span>,</div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  [0xF1] = <span class="stringliteral">"SpeedStor"</span>,</div> <div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  [0xF2] = <span class="stringliteral">"DOS 3.3+ Secondary"</span>,</div> <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  [0xF4] = <span class="stringliteral">"SpeedStor large partition"</span>,</div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  [0xFB] = <span class="stringliteral">"VMware VMFS"</span>,</div> <div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  [0xFE] = <span class="stringliteral">"SpeedStor >1024 cyl. or LANstep"</span>,</div> <div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  [0xFF] = <span class="stringliteral">"Xenix bad blocks table"</span>, };</div> <div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  </div> <div class="line"><a name="l00487"></a><span class="lineno"> 487</span> <span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <div class="ttc" id="astructata__identify__data_html_a736597694b758257819f856aa307de69"><div class="ttname"><a href="structata__identify__data.html#a736597694b758257819f856aa307de69">ata_identify_data::enhanced_security_erase_time</a></div><div class="ttdeci">u_int16_t enhanced_security_erase_time</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00352">hd.h:352</a></div></div> <div class="ttc" id="astructata__identify__data_html_a71c7799e8ce587ed9f70a00b7d1dcd2e"><div class="ttname"><a href="structata__identify__data.html#a71c7799e8ce587ed9f70a00b7d1dcd2e">ata_identify_data::integrity_word</a></div><div class="ttdeci">u_int16_t integrity_word</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00389">hd.h:389</a></div></div> <div class="ttc" id="astructata__identify__data_html_a6846b8cbdf15e78226a473b890186b5e"><div class="ttname"><a href="structata__identify__data.html#a6846b8cbdf15e78226a473b890186b5e">ata_identify_data::stream_transfer_time</a></div><div class="ttdeci">u_int16_t stream_transfer_time</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00358">hd.h:358</a></div></div> <div class="ttc" id="astructbsd__disklabel_1_1partition_html"><div class="ttname"><a href="structbsd__disklabel_1_1partition.html">bsd_disklabel::partition</a></div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00275">hd.h:275</a></div></div> <div class="ttc" id="astructata__identify__data_html_a8ea3121f3c3afb17678b69bf6c56c9af"><div class="ttname"><a href="structata__identify__data.html#a8ea3121f3c3afb17678b69bf6c56c9af">ata_identify_data::min_num_blocks_per_microcode</a></div><div class="ttdeci">u_int16_t min_num_blocks_per_microcode</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00386">hd.h:386</a></div></div> <div class="ttc" id="ahd_8h_html_a24fef906c993a6511034377118497b67"><div class="ttname"><a href="hd_8h.html#a24fef906c993a6511034377118497b67">NDDATA</a></div><div class="ttdeci">#define NDDATA</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00264">hd.h:264</a></div></div> <div class="ttc" id="astructata__identify__data_html_aa69b6cdbf05f36142a6b1414f1ff1a2c"><div class="ttname"><a href="structata__identify__data.html#aa69b6cdbf05f36142a6b1414f1ff1a2c">ata_identify_data::obsolete4</a></div><div class="ttdeci">u_int16_t obsolete4</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00311">hd.h:311</a></div></div> <div class="ttc" id="astructata__identify__data_html_aaa6fe6d81c6b940e3ab92581d05e4d31"><div class="ttname"><a href="structata__identify__data.html#aaa6fe6d81c6b940e3ab92581d05e4d31">ata_identify_data::logical_sector_alignment</a></div><div class="ttdeci">u_int16_t logical_sector_alignment</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00382">hd.h:382</a></div></div> <div class="ttc" id="astructata__identify__data_html_a2385ca40d7d10279b1efa26749ee60ef"><div class="ttname"><a href="structata__identify__data.html#a2385ca40d7d10279b1efa26749ee60ef">ata_identify_data::serial_ata_reserved</a></div><div class="ttdeci">u_int16_t serial_ata_reserved</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00339">hd.h:339</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a983e60d647e9af12ea24fa2f6e71163c"><div class="ttname"><a href="structbsd__disklabel.html#a983e60d647e9af12ea24fa2f6e71163c">bsd_disklabel::d_drivedata</a></div><div class="ttdeci">uint32_t d_drivedata[5]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00265">hd.h:265</a></div></div> <div class="ttc" id="astructata__identify__data_html_ae17c108776507b4a3f9d50dcb0d8fa50"><div class="ttname"><a href="structata__identify__data.html#ae17c108776507b4a3f9d50dcb0d8fa50">ata_identify_data::words_per_logical_sector</a></div><div class="ttdeci">u_int8_t words_per_logical_sector[4]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00369">hd.h:369</a></div></div> <div class="ttc" id="astructata__identify__data_html_aeb591da11a8177a8aa1977ff1964b099"><div class="ttname"><a href="structata__identify__data.html#aeb591da11a8177a8aa1977ff1964b099">ata_identify_data::vendor_specific_config_bits</a></div><div class="ttdeci">u_int16_t vendor_specific_config_bits</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00303">hd.h:303</a></div></div> <div class="ttc" id="astructata__identify__data_html_ab1e94a7ff4c25fb11360b1a209e6ca35"><div class="ttname"><a href="structata__identify__data.html#ab1e94a7ff4c25fb11360b1a209e6ca35">ata_identify_data::security_status</a></div><div class="ttdeci">u_int16_t security_status</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00373">hd.h:373</a></div></div> <div class="ttc" id="astructdos__partition_html"><div class="ttname"><a href="structdos__partition.html">dos_partition</a></div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00195">hd.h:195</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a1ed085430e0760fd4e43dd563191f06f"><div class="ttname"><a href="structbsd__disklabel.html#a1ed085430e0760fd4e43dd563191f06f">bsd_disklabel::d_bbsize</a></div><div class="ttdeci">uint32_t d_bbsize</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00273">hd.h:273</a></div></div> <div class="ttc" id="astructata__identify__data_html_ab3fefeda591fd6becda55625168f9515"><div class="ttname"><a href="structata__identify__data.html#ab3fefeda591fd6becda55625168f9515">ata_identify_data::multi_word_dma_mode</a></div><div class="ttdeci">u_int16_t multi_word_dma_mode</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00328">hd.h:328</a></div></div> <div class="ttc" id="astructata__identify__data_html_aa726b38c4d8565f69a0e026959868fdb"><div class="ttname"><a href="structata__identify__data.html#aa726b38c4d8565f69a0e026959868fdb">ata_identify_data::pio_modes_supported</a></div><div class="ttdeci">u_int16_t pio_modes_supported</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00329">hd.h:329</a></div></div> <div class="ttc" id="astructdriveInfo_html_af93a2156cff0616730ea3b0a9c9fb3bc"><div class="ttname"><a href="structdriveInfo.html#af93a2156cff0616730ea3b0a9c9fb3bc">driveInfo::lba_high</a></div><div class="ttdeci">uint32_t lba_high</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00167">hd.h:167</a></div></div> <div class="ttc" id="astructdos__partition_html_abb8315c288cd2fb600b593867f7fe9db"><div class="ttname"><a href="structdos__partition.html#abb8315c288cd2fb600b593867f7fe9db">dos_partition::dp_ehd</a></div><div class="ttdeci">unsigned char dp_ehd</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00201">hd.h:201</a></div></div> <div class="ttc" id="astructata__identify__data_html_a7da7af190be1c772d34376590d4137b4"><div class="ttname"><a href="structata__identify__data.html#a7da7af190be1c772d34376590d4137b4">ata_identify_data::stream_min_request_size</a></div><div class="ttdeci">u_int16_t stream_min_request_size</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00357">hd.h:357</a></div></div> <div class="ttc" id="aobjgfx30_8h_html_ada085051a6d9a8e00a2cb256d1af14ba"><div class="ttname"><a href="objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a></div><div class="ttdeci">unsigned long int uInt32</div><div class="ttdef"><b>Definition:</b> <a href="objgfx30_8h_source.html#l00049">objgfx30.h:49</a></div></div> <div class="ttc" id="astructata__identify__data_html_a3266c97773cfa9f7d047f84c4fb13a33"><div class="ttname"><a href="structata__identify__data.html#a3266c97773cfa9f7d047f84c4fb13a33">ata_identify_data::total_num_sectors</a></div><div class="ttdeci">u_int8_t total_num_sectors[4]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00326">hd.h:326</a></div></div> <div class="ttc" id="astructata__identify__data_html_a1e0d86ee6de02f1a031fcbe9f387ea7f"><div class="ttname"><a href="structata__identify__data.html#a1e0d86ee6de02f1a031fcbe9f387ea7f">ata_identify_data::obsolete6</a></div><div class="ttdeci">u_int16_t obsolete6[5]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00320">hd.h:320</a></div></div> <div class="ttc" id="astructata__identify__data_html_abaa004108403f46631af8993f470c41c"><div class="ttname"><a href="structata__identify__data.html#abaa004108403f46631af8993f470c41c">ata_identify_data::master_password_revision</a></div><div class="ttdeci">u_int16_t master_password_revision</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00354">hd.h:354</a></div></div> <div class="ttc" id="astructdos__partition_html_a3a8d760608768cd64c6c5765aeac7a40"><div class="ttname"><a href="structdos__partition.html#a3a8d760608768cd64c6c5765aeac7a40">dos_partition::dp_scyl</a></div><div class="ttdeci">unsigned char dp_scyl</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00199">hd.h:199</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a29430f05e17ca520b48e407175cfd825"><div class="ttname"><a href="structbsd__disklabel.html#a29430f05e17ca520b48e407175cfd825">bsd_disklabel::d_nsectors</a></div><div class="ttdeci">uint32_t d_nsectors</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00220">hd.h:220</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a27c3887c8d7a7604d79f101c0316053e"><div class="ttname"><a href="structbsd__disklabel.html#a27c3887c8d7a7604d79f101c0316053e">bsd_disklabel::d_magic</a></div><div class="ttdeci">uint32_t d_magic</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00211">hd.h:211</a></div></div> <div class="ttc" id="astructata__identify__data_html_ad1786f04c478d88a9705689f64334e5f"><div class="ttname"><a href="structata__identify__data.html#ad1786f04c478d88a9705689f64334e5f">ata_identify_data::capabilities2</a></div><div class="ttdeci">u_int16_t capabilities2</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00317">hd.h:317</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a08bc0c83a73009a0886aeadae13adf9f"><div class="ttname"><a href="structbsd__disklabel.html#a08bc0c83a73009a0886aeadae13adf9f">bsd_disklabel::d_rpm</a></div><div class="ttdeci">u_int16_t d_rpm</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00257">hd.h:257</a></div></div> <div class="ttc" id="astructata__identify__data_html_a43f87366bc0ccf8c76ebc9d9fc1f1f94"><div class="ttname"><a href="structata__identify__data.html#a43f87366bc0ccf8c76ebc9d9fc1f1f94">ata_identify_data::reserved_for_compact_flash3</a></div><div class="ttdeci">u_int16_t reserved_for_compact_flash3[6]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00379">hd.h:379</a></div></div> <div class="ttc" id="astructata__identify__data_html_ab3cc8a9a3e2ba2af5a172d405e8c499c"><div class="ttname"><a href="structata__identify__data.html#ab3cc8a9a3e2ba2af5a172d405e8c499c">ata_identify_data::streaming_transfer_time</a></div><div class="ttdeci">u_int16_t streaming_transfer_time</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00362">hd.h:362</a></div></div> <div class="ttc" id="astructdriveInfo_html_a2afcf287e4aec52620401806682233a9"><div class="ttname"><a href="structdriveInfo.html#a2afcf287e4aec52620401806682233a9">driveInfo::ata_identify</a></div><div class="ttdeci">struct ata_identify_data * ata_identify</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00166">hd.h:166</a></div></div> <div class="ttc" id="astructata__identify__data_html_ac2724b0b9824970afc5db3618cba6425"><div class="ttname"><a href="structata__identify__data.html#ac2724b0b9824970afc5db3618cba6425">ata_identify_data::command_set_default</a></div><div class="ttdeci">u_int16_t command_set_default</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00349">hd.h:349</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_aa9bcc5f28e778368ba4e701deaffc351"><div class="ttname"><a href="structbsd__disklabel.html#aa9bcc5f28e778368ba4e701deaffc351">bsd_disklabel::d_sbsize</a></div><div class="ttdeci">uint32_t d_sbsize</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00274">hd.h:274</a></div></div> <div class="ttc" id="ahd_8h_html_aa6ffe735243161c69ce0930999e02f88"><div class="ttname"><a href="hd_8h.html#aa6ffe735243161c69ce0930999e02f88">initHardDisk</a></div><div class="ttdeci">int initHardDisk()</div><div class="ttdef"><b>Definition:</b> <a href="hd_8c_source.html#l00042">hd.c:42</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a3dea108384282d50790daa26839d635c"><div class="ttname"><a href="structbsd__disklabel.html#a3dea108384282d50790daa26839d635c">bsd_disklabel::d_secsize</a></div><div class="ttdeci">uint32_t d_secsize</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00219">hd.h:219</a></div></div> <div class="ttc" id="astructata__identify__data_html_a3686d4c12cf22efc0ae91e64daa6f774"><div class="ttname"><a href="structata__identify__data.html#a3686d4c12cf22efc0ae91e64daa6f774">ata_identify_data::reserved0</a></div><div class="ttdeci">u_int16_t reserved0</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00315">hd.h:315</a></div></div> <div class="ttc" id="astructata__identify__data_html_a8e509f292b8038ccab9ed9dd5067613c"><div class="ttname"><a href="structata__identify__data.html#a8e509f292b8038ccab9ed9dd5067613c">ata_identify_data::ultra_dma_mode</a></div><div class="ttdeci">u_int16_t ultra_dma_mode</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00350">hd.h:350</a></div></div> <div class="ttc" id="ahd_8h_html_a9535712ecc532571658cc6861570dde5"><div class="ttname"><a href="hd_8h.html#a9535712ecc532571658cc6861570dde5">hdStart</a></div><div class="ttdeci">int hdStart()</div><div class="ttdef"><b>Definition:</b> <a href="hd_8c_source.html#l00201">hd.c:201</a></div></div> <div class="ttc" id="astructata__identify__data_html_ad9d29c1d383698c45b16b60d2193e688"><div class="ttname"><a href="structata__identify__data.html#ad9d29c1d383698c45b16b60d2193e688">ata_identify_data::reserved9</a></div><div class="ttdeci">u_int16_t reserved9[19]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00388">hd.h:388</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_acb64bf505493d09161d7f6c1d97a7583"><div class="ttname"><a href="structbsd__disklabel.html#acb64bf505493d09161d7f6c1d97a7583">bsd_disklabel::d_flags</a></div><div class="ttdeci">uint32_t d_flags</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00263">hd.h:263</a></div></div> <div class="ttc" id="astructata__identify__data_html_a7a3f31103036d5f32a87d4b7c3641953"><div class="ttname"><a href="structata__identify__data.html#a7a3f31103036d5f32a87d4b7c3641953">ata_identify_data::obsolete2</a></div><div class="ttdeci">u_int16_t obsolete2</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00306">hd.h:306</a></div></div> <div class="ttc" id="astructata__identify__data_html_a8489ab7977733ed16b24b7be75c14632"><div class="ttname"><a href="structata__identify__data.html#a8489ab7977733ed16b24b7be75c14632">ata_identify_data::retired1</a></div><div class="ttdeci">u_int16_t retired1[2]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00305">hd.h:305</a></div></div> <div class="ttc" id="astructdriveInfo_html"><div class="ttname"><a href="structdriveInfo.html">driveInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00164">hd.h:164</a></div></div> <div class="ttc" id="ahd_8h_html_a16cf103c6e6aab48368708e46669d4c4"><div class="ttname"><a href="hd_8h.html#a16cf103c6e6aab48368708e46669d4c4">ATA_IDENTIFY_48_LBA_LEN</a></div><div class="ttdeci">#define ATA_IDENTIFY_48_LBA_LEN</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00296">hd.h:296</a></div></div> <div class="ttc" id="astructata__identify__data_html_a9cc1e29954156af50f8bc3ff70649ecd"><div class="ttname"><a href="structata__identify__data.html#a9cc1e29954156af50f8bc3ff70649ecd">ata_identify_data::reserved5</a></div><div class="ttdeci">u_int16_t reserved5[7]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00371">hd.h:371</a></div></div> <div class="ttc" id="astructdos__partition_html_a817b13493937968e878385eeede34f0b"><div class="ttname"><a href="structdos__partition.html#a817b13493937968e878385eeede34f0b">dos_partition::dp_type</a></div><div class="ttdeci">unsigned char dp_type</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00200">hd.h:200</a></div></div> <div class="ttc" id="astructdriveInfo_html_aef8c94d9c3cc8a71e23d8e63abbe38a5"><div class="ttname"><a href="structdriveInfo.html#aef8c94d9c3cc8a71e23d8e63abbe38a5">driveInfo::hdDev</a></div><div class="ttdeci">char hdDev</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00171">hd.h:171</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_affb4aec41b89db44d843e6e373119cb2"><div class="ttname"><a href="structbsd__disklabel.html#affb4aec41b89db44d843e6e373119cb2">bsd_disklabel::d_spare</a></div><div class="ttdeci">uint32_t d_spare[5]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00267">hd.h:267</a></div></div> <div class="ttc" id="astructata__identify__data_html_ad85db2641ecdb69544b284bca7dcdc41"><div class="ttname"><a href="structata__identify__data.html#ad85db2641ecdb69544b284bca7dcdc41">ata_identify_data::nominal_media_rotation_rate</a></div><div class="ttdeci">u_int16_t nominal_media_rotation_rate</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00384">hd.h:384</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_abc2ad09a05d37bb1e6cbade401faea0f"><div class="ttname"><a href="structbsd__disklabel.html#abc2ad09a05d37bb1e6cbade401faea0f">bsd_disklabel::d_acylinders</a></div><div class="ttdeci">uint32_t d_acylinders</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00238">hd.h:238</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_ac6a9dfd75ae82c8c45e86726ca9cdd3b"><div class="ttname"><a href="structbsd__disklabel.html#ac6a9dfd75ae82c8c45e86726ca9cdd3b">bsd_disklabel::d_subtype</a></div><div class="ttdeci">u_int16_t d_subtype</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00213">hd.h:213</a></div></div> <div class="ttc" id="astructata__identify__data_html_ace8f3708a348109394cdebd41180f7a0"><div class="ttname"><a href="structata__identify__data.html#ace8f3708a348109394cdebd41180f7a0">ata_identify_data::physical_logical_sector_info</a></div><div class="ttdeci">u_int16_t physical_logical_sector_info</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00364">hd.h:364</a></div></div> <div class="ttc" id="astructata__identify__data_html_a389ba97f9f6e30043624ce3273606c0d"><div class="ttname"><a href="structata__identify__data.html#a389ba97f9f6e30043624ce3273606c0d">ata_identify_data::serial_number</a></div><div class="ttdeci">u_int8_t serial_number[20]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00309">hd.h:309</a></div></div> <div class="ttc" id="astructata__identify__data_html_a180bc3df06dcfe880b6f44c9464c42b0"><div class="ttname"><a href="structata__identify__data.html#a180bc3df06dcfe880b6f44c9464c42b0">ata_identify_data::world_wide_name</a></div><div class="ttdeci">u_int8_t world_wide_name[8]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00366">hd.h:366</a></div></div> <div class="ttc" id="ahd_8h_html_af897b78424dea24fe6ed3822624661c4"><div class="ttname"><a href="hd_8h.html#af897b78424dea24fe6ed3822624661c4">ATA_IDENTIFY_MODEL_NUMBER_LEN</a></div><div class="ttdeci">#define ATA_IDENTIFY_MODEL_NUMBER_LEN</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00294">hd.h:294</a></div></div> <div class="ttc" id="astructata__identify__data_html_a24d4408925d1ff7f5efb692717c36f16"><div class="ttname"><a href="structata__identify__data.html#a24d4408925d1ff7f5efb692717c36f16">ata_identify_data::current_power_mgmt_value</a></div><div class="ttdeci">u_int16_t current_power_mgmt_value</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00353">hd.h:353</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a339de842bcffc11bce9a34fc53b03362"><div class="ttname"><a href="structbsd__disklabel.html#a339de842bcffc11bce9a34fc53b03362">bsd_disklabel::d_type</a></div><div class="ttdeci">u_int16_t d_type</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00212">hd.h:212</a></div></div> <div class="ttc" id="ainclude_2sys_2types_8h_html"><div class="ttname"><a href="include_2sys_2types_8h.html">types.h</a></div></div> <div class="ttc" id="astructdriveInfo_html_af385dccea1485233fc52351a8d7666aa"><div class="ttname"><a href="structdriveInfo.html#af385dccea1485233fc52351a8d7666aa">driveInfo::hdEnable</a></div><div class="ttdeci">char hdEnable</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00170">hd.h:170</a></div></div> <div class="ttc" id="astructdriveInfo_html_ada0977b5e57df10de593d1df22712af8"><div class="ttname"><a href="structdriveInfo.html#ada0977b5e57df10de593d1df22712af8">driveInfo::hdSize</a></div><div class="ttdeci">long hdSize</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00177">hd.h:177</a></div></div> <div class="ttc" id="astructata__identify__data_html_ac0e57e51075017de148dcb0898ea3683"><div class="ttname"><a href="structata__identify__data.html#ac0e57e51075017de148dcb0898ea3683">ata_identify_data::serial_ata_capabilities</a></div><div class="ttdeci">u_int16_t serial_ata_capabilities</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00338">hd.h:338</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_ac45c76bc77dc6cf20fb6409ffbfaabb8"><div class="ttname"><a href="structbsd__disklabel.html#ac45c76bc77dc6cf20fb6409ffbfaabb8">bsd_disklabel::d_secpercyl</a></div><div class="ttdeci">uint32_t d_secpercyl</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00223">hd.h:223</a></div></div> <div class="ttc" id="astructdos__partition_html_a43c14b7f158728b75f4fa550ee7ec75f"><div class="ttname"><a href="structdos__partition.html#a43c14b7f158728b75f4fa550ee7ec75f">dos_partition::dp_shd</a></div><div class="ttdeci">unsigned char dp_shd</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00197">hd.h:197</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a8a1ea7da1a561dc09e78d9fd510cc9d7"><div class="ttname"><a href="structbsd__disklabel.html#a8a1ea7da1a561dc09e78d9fd510cc9d7">bsd_disklabel::d_cylskew</a></div><div class="ttdeci">u_int16_t d_cylskew</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00260">hd.h:260</a></div></div> <div class="ttc" id="astructata__identify__data_html_afb63df569d908d8f8cd38b844efe0f23"><div class="ttname"><a href="structata__identify__data.html#afb63df569d908d8f8cd38b844efe0f23">ata_identify_data::min_pio_transfer_no_flow_ctrl</a></div><div class="ttdeci">u_int16_t min_pio_transfer_no_flow_ctrl</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00332">hd.h:332</a></div></div> <div class="ttc" id="ainclude_2sys_2types_8h_html_af7b042408b9b104606f8a9b5035329f3"><div class="ttname"><a href="include_2sys_2types_8h.html#af7b042408b9b104606f8a9b5035329f3">u_int16_t</a></div><div class="ttdeci">__uint16_t u_int16_t</div><div class="ttdef"><b>Definition:</b> <a href="include_2sys_2types_8h_source.html#l00052">types.h:52</a></div></div> <div class="ttc" id="astructdriveInfo_html_a16f2a2a3b5ea803c987edc8659d16559"><div class="ttname"><a href="structdriveInfo.html#a16f2a2a3b5ea803c987edc8659d16559">driveInfo::diskLabel</a></div><div class="ttdeci">struct driveDiskLabel * diskLabel</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00165">hd.h:165</a></div></div> <div class="ttc" id="astructata__identify__data_html_a4545653f06a4195a75edcd29001cb701"><div class="ttname"><a href="structata__identify__data.html#a4545653f06a4195a75edcd29001cb701">ata_identify_data::command_set_enabled1</a></div><div class="ttdeci">u_int16_t command_set_enabled1</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00348">hd.h:348</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a66e9626c5aa0312540d253599483b6b6"><div class="ttname"><a href="structbsd__disklabel.html#a66e9626c5aa0312540d253599483b6b6">bsd_disklabel::d_sparespercyl</a></div><div class="ttdeci">u_int16_t d_sparespercyl</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00233">hd.h:233</a></div></div> <div class="ttc" id="astructata__identify__data_html_a7612fbad3530aebe17cf16fce99e2e45"><div class="ttname"><a href="structata__identify__data.html#a7612fbad3530aebe17cf16fce99e2e45">ata_identify_data::command_set_supported0</a></div><div class="ttdeci">u_int16_t command_set_supported0</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00344">hd.h:344</a></div></div> <div class="ttc" id="astructata__identify__data_html_a663595b0f265729364f6159237269397"><div class="ttname"><a href="structata__identify__data.html#a663595b0f265729364f6159237269397">ata_identify_data::model_number</a></div><div class="ttdeci">u_int8_t model_number[40]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00313">hd.h:313</a></div></div> <div class="ttc" id="astructbsd__disklabel_1_1partition_html_ad200bba4ef05cb1d2824c6b93092f711"><div class="ttname"><a href="structbsd__disklabel_1_1partition.html#ad200bba4ef05cb1d2824c6b93092f711">bsd_disklabel::partition::p_frag</a></div><div class="ttdeci">u_int8_t p_frag</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00280">hd.h:280</a></div></div> <div class="ttc" id="ahd_8h_html_a525245216f426465a3c0f130bd0efd19"><div class="ttname"><a href="hd_8h.html#a525245216f426465a3c0f130bd0efd19">hdStandby</a></div><div class="ttdeci">int hdStandby()</div><div class="ttdef"><b>Definition:</b> <a href="hd_8c_source.html#l00196">hd.c:196</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a70038e5db15a12985955a06daa31b2b6"><div class="ttname"><a href="structbsd__disklabel.html#a70038e5db15a12985955a06daa31b2b6">bsd_disklabel::d_sparespertrack</a></div><div class="ttdeci">u_int16_t d_sparespertrack</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00232">hd.h:232</a></div></div> <div class="ttc" id="astructdriveInfo_html_aa722897bbc328c24ea2ec4bcae2ed342"><div class="ttname"><a href="structdriveInfo.html#aa722897bbc328c24ea2ec4bcae2ed342">driveInfo::lba_low</a></div><div class="ttdeci">uint32_t lba_low</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00168">hd.h:168</a></div></div> <div class="ttc" id="astructdriveInfo_html_a3794d7beb8cc95275cd553103c457934"><div class="ttname"><a href="structdriveInfo.html#a3794d7beb8cc95275cd553103c457934">driveInfo::part</a></div><div class="ttdeci">int part</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00180">hd.h:180</a></div></div> <div class="ttc" id="astructata__identify__data_html_a795f243f82a1545d4c7976db3c628f9b"><div class="ttname"><a href="structata__identify__data.html#a795f243f82a1545d4c7976db3c628f9b">ata_identify_data::reserved8</a></div><div class="ttdeci">u_int16_t reserved8[16]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00385">hd.h:385</a></div></div> <div class="ttc" id="astructata__identify__data_html_ac06e939435b0107d09da8ad55d406e9a"><div class="ttname"><a href="structata__identify__data.html#ac06e939435b0107d09da8ad55d406e9a">ata_identify_data::command_set_supported1</a></div><div class="ttdeci">u_int16_t command_set_supported1</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00345">hd.h:345</a></div></div> <div class="ttc" id="astructata__identify__data_html_aa3a039798e6b19d58e7e2d90394e5986"><div class="ttname"><a href="structata__identify__data.html#aa3a039798e6b19d58e7e2d90394e5986">ata_identify_data::stream_access_latency</a></div><div class="ttdeci">u_int16_t stream_access_latency</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00359">hd.h:359</a></div></div> <div class="ttc" id="astructata__identify__data_html_a5370eccbdcafb09cf0eaefff03ac3b8e"><div class="ttname"><a href="structata__identify__data.html#a5370eccbdcafb09cf0eaefff03ac3b8e">ata_identify_data::max_num_blocks_per_microcode</a></div><div class="ttdeci">u_int16_t max_num_blocks_per_microcode</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00387">hd.h:387</a></div></div> <div class="ttc" id="astructata__identify__data_html_a78691299df9fdae2be4068dab68f579e"><div class="ttname"><a href="structata__identify__data.html#a78691299df9fdae2be4068dab68f579e">ata_identify_data::obsolete0</a></div><div class="ttdeci">u_int16_t obsolete0</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00302">hd.h:302</a></div></div> <div class="ttc" id="ainclude_2sys_2types_8h_html_ac7c42f52639b9aca7da966a0783996d7"><div class="ttname"><a href="include_2sys_2types_8h.html#ac7c42f52639b9aca7da966a0783996d7">u_int8_t</a></div><div class="ttdeci">__uint8_t u_int8_t</div><div class="ttdef"><b>Definition:</b> <a href="include_2sys_2types_8h_source.html#l00051">types.h:51</a></div></div> <div class="ttc" id="astructata__identify__data_html_a696b646d5fb3703f202fe8f17c850895"><div class="ttname"><a href="structata__identify__data.html#a696b646d5fb3703f202fe8f17c850895">ata_identify_data::reserved_for_compact_flash1</a></div><div class="ttdeci">u_int16_t reserved_for_compact_flash1[2]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00307">hd.h:307</a></div></div> <div class="ttc" id="astructdevice__node_html"><div class="ttname"><a href="structdevice__node.html">device_node</a></div><div class="ttdef"><b>Definition:</b> <a href="include_2sys_2device_8h_source.html#l00034">device.h:34</a></div></div> <div class="ttc" id="astructbsd__disklabel_1_1partition_html_afff3b0228a6c779a26706be5cc6ee177"><div class="ttname"><a href="structbsd__disklabel_1_1partition.html#afff3b0228a6c779a26706be5cc6ee177">bsd_disklabel::partition::p_fsize</a></div><div class="ttdeci">uint32_t p_fsize</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00278">hd.h:278</a></div></div> <div class="ttc" id="astructata__identify__data_html_a5dd97b9f1d1347f287221ef613ad15fe"><div class="ttname"><a href="structata__identify__data.html#a5dd97b9f1d1347f287221ef613ad15fe">ata_identify_data::command_set_enabled0</a></div><div class="ttdeci">u_int16_t command_set_enabled0</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00347">hd.h:347</a></div></div> <div class="ttc" id="astructata__identify__data_html_a231d45b8d368a6c31092a321f3f0fc41"><div class="ttname"><a href="structata__identify__data.html#a231d45b8d368a6c31092a321f3f0fc41">ata_identify_data::current_max_sectors_per_multiple</a></div><div class="ttdeci">u_int16_t current_max_sectors_per_multiple</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00325">hd.h:325</a></div></div> <div class="ttc" id="astructata__identify__data_html_a755296b1396dc0c663789e76a75a7e7a"><div class="ttname"><a href="structata__identify__data.html#a755296b1396dc0c663789e76a75a7e7a">ata_identify_data::reserved6</a></div><div class="ttdeci">u_int16_t reserved6[3]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00381">hd.h:381</a></div></div> <div class="ttc" id="ahd_8h_html_a8e64e509439c31ba2acfe68a7aefcc10"><div class="ttname"><a href="hd_8h.html#a8e64e509439c31ba2acfe68a7aefcc10">hdReset</a></div><div class="ttdeci">int hdReset()</div><div class="ttdef"><b>Definition:</b> <a href="hd_8c_source.html#l00216">hd.c:216</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_ae8b7d14f5218faedcabc8cdb9799f2b8"><div class="ttname"><a href="structbsd__disklabel.html#ae8b7d14f5218faedcabc8cdb9799f2b8">bsd_disklabel::d_magic2</a></div><div class="ttdeci">uint32_t d_magic2</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00268">hd.h:268</a></div></div> <div class="ttc" id="ahd_8h_html_aa1d53630f2ba132aa59ac959da7b41df"><div class="ttname"><a href="hd_8h.html#aa1d53630f2ba132aa59ac959da7b41df">ATA_IDENTIFY_WWN_LEN</a></div><div class="ttdeci">#define ATA_IDENTIFY_WWN_LEN</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00298">hd.h:298</a></div></div> <div class="ttc" id="astructata__identify__data_html_a47ecb0b335cfebef7207b594fb69e316"><div class="ttname"><a href="structata__identify__data.html#a47ecb0b335cfebef7207b594fb69e316">ata_identify_data::rec_min_multiword_dma_transfer_cycle</a></div><div class="ttdeci">u_int16_t rec_min_multiword_dma_transfer_cycle</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00331">hd.h:331</a></div></div> <div class="ttc" id="astructdos__partition_html_a7c867bf1f30a039de242889af824d188"><div class="ttname"><a href="structdos__partition.html#a7c867bf1f30a039de242889af824d188">dos_partition::dp_esect</a></div><div class="ttdeci">unsigned char dp_esect</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00202">hd.h:202</a></div></div> <div class="ttc" id="astructata__identify__data_html_a1f7ea6b9c29e67c2320bc32e2be5a2b3"><div class="ttname"><a href="structata__identify__data.html#a1f7ea6b9c29e67c2320bc32e2be5a2b3">ata_identify_data::security_erase_completion_time</a></div><div class="ttdeci">u_int16_t security_erase_completion_time</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00351">hd.h:351</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a8dbc77ac958835d07bc020eb80f8310d"><div class="ttname"><a href="structbsd__disklabel.html#a8dbc77ac958835d07bc020eb80f8310d">bsd_disklabel::d_secperunit</a></div><div class="ttdeci">uint32_t d_secperunit</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00224">hd.h:224</a></div></div> <div class="ttc" id="astructata__identify__data_html_aa8283775ac11757880f0c4095a1edd58"><div class="ttname"><a href="structata__identify__data.html#aa8283775ac11757880f0c4095a1edd58">ata_identify_data::min_multiword_dma_transfer_cycle</a></div><div class="ttdeci">u_int16_t min_multiword_dma_transfer_cycle</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00330">hd.h:330</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_ad6a5a058cc4fa40a5a0a5cb305104569"><div class="ttname"><a href="structbsd__disklabel.html#ad6a5a058cc4fa40a5a0a5cb305104569">bsd_disklabel::d_typename</a></div><div class="ttdeci">char d_typename[16]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00214">hd.h:214</a></div></div> <div class="ttc" id="ainclude_2sys_2types_8h_html_a0238af00180b6d9278fa1c6aa790fdf4"><div class="ttname"><a href="include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a></div><div class="ttdeci">__uint32_t uint32_t</div><div class="ttdef"><b>Definition:</b> <a href="include_2sys_2types_8h_source.html#l00046">types.h:46</a></div></div> <div class="ttc" id="astructdriveInfo_html_acacd139e4cfe1037afbcf488f2f5d2c3"><div class="ttname"><a href="structdriveInfo.html#acacd139e4cfe1037afbcf488f2f5d2c3">driveInfo::hdShift</a></div><div class="ttdeci">char hdShift</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00173">hd.h:173</a></div></div> <div class="ttc" id="astructdriveInfo_html_aad8076fe0ba9c5bdbbc23c79656619ab"><div class="ttname"><a href="structdriveInfo.html#aad8076fe0ba9c5bdbbc23c79656619ab">driveInfo::hdPort</a></div><div class="ttdeci">long hdPort</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00176">hd.h:176</a></div></div> <div class="ttc" id="astructata__identify__data_html"><div class="ttname"><a href="structata__identify__data.html">ata_identify_data</a></div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00300">hd.h:300</a></div></div> <div class="ttc" id="astructata__identify__data_html_ae6386ee60f4927f887bb028461acee14"><div class="ttname"><a href="structata__identify__data.html#ae6386ee60f4927f887bb028461acee14">ata_identify_data::queue_depth</a></div><div class="ttdeci">u_int16_t queue_depth</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00337">hd.h:337</a></div></div> <div class="ttc" id="astructata__identify__data_html_a85fbc2a760069d76ec1dbb0c5e637f3e"><div class="ttname"><a href="structata__identify__data.html#a85fbc2a760069d76ec1dbb0c5e637f3e">ata_identify_data::reserved_for_compact_flash2</a></div><div class="ttdeci">u_int16_t reserved_for_compact_flash2[7]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00376">hd.h:376</a></div></div> <div class="ttc" id="astructdriveInfo_html_a3ed5ef43179982d1950cdb710dc9a2eb"><div class="ttname"><a href="structdriveInfo.html#a3ed5ef43179982d1950cdb710dc9a2eb">driveInfo::lba_start</a></div><div class="ttdeci">long lba_start</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00181">hd.h:181</a></div></div> <div class="ttc" id="astructata__identify__data_html_ad4c327445553d21b280a66c7223fb161"><div class="ttname"><a href="structata__identify__data.html#ad4c327445553d21b280a66c7223fb161">ata_identify_data::current_media_serial_number</a></div><div class="ttdeci">u_int16_t current_media_serial_number[30]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00380">hd.h:380</a></div></div> <div class="ttc" id="astructdriveInfo_html_a0ede68cc430fe1c49e9c234bbbe5ec11"><div class="ttname"><a href="structdriveInfo.html#a0ede68cc430fe1c49e9c234bbbe5ec11">driveInfo::hdFlags</a></div><div class="ttdeci">char hdFlags</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00172">hd.h:172</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a16886f26e50cfa69d6f8a83c3ec74d3f"><div class="ttname"><a href="structbsd__disklabel.html#a16886f26e50cfa69d6f8a83c3ec74d3f">bsd_disklabel::d_trackskew</a></div><div class="ttdeci">u_int16_t d_trackskew</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00259">hd.h:259</a></div></div> <div class="ttc" id="astructata__identify__data_html_ab4908838e16b72f710180ab9f2fbe21a"><div class="ttname"><a href="structata__identify__data.html#ab4908838e16b72f710180ab9f2fbe21a">ata_identify_data::retired0</a></div><div class="ttdeci">u_int16_t retired0</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00308">hd.h:308</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a9f251fc6b92836fc3df6fdcf5ada1eaf"><div class="ttname"><a href="structbsd__disklabel.html#a9f251fc6b92836fc3df6fdcf5ada1eaf">bsd_disklabel::d_interleave</a></div><div class="ttdeci">u_int16_t d_interleave</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00258">hd.h:258</a></div></div> <div class="ttc" id="astructata__identify__data_html_aeac22b24158e88c39edc5d070749c5e2"><div class="ttname"><a href="structata__identify__data.html#aeac22b24158e88c39edc5d070749c5e2">ata_identify_data::serial_ata_features_supported</a></div><div class="ttdeci">u_int16_t serial_ata_features_supported</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00340">hd.h:340</a></div></div> <div class="ttc" id="astructata__identify__data_html_afef1c988d412b45cd5fff9641111c4c9"><div class="ttname"><a href="structata__identify__data.html#afef1c988d412b45cd5fff9641111c4c9">ata_identify_data::command_set_supported2</a></div><div class="ttdeci">u_int16_t command_set_supported2</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00370">hd.h:370</a></div></div> <div class="ttc" id="astructata__identify__data_html_aec0276d3cab05d7b2218ceaefee6cc73"><div class="ttname"><a href="structata__identify__data.html#aec0276d3cab05d7b2218ceaefee6cc73">ata_identify_data::removable_media_status</a></div><div class="ttdeci">u_int16_t removable_media_status</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00372">hd.h:372</a></div></div> <div class="ttc" id="astructdriveInfo_html_a8c8ee3abadd6bfef07f9b1b055818100"><div class="ttname"><a href="structdriveInfo.html#a8c8ee3abadd6bfef07f9b1b055818100">driveInfo::sector_size</a></div><div class="ttdeci">uint32_t sector_size</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00169">hd.h:169</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a6a478db13de03d2384bbb5307be1e84c"><div class="ttname"><a href="structbsd__disklabel.html#a6a478db13de03d2384bbb5307be1e84c">bsd_disklabel::d_npartitions</a></div><div class="ttdeci">u_int16_t d_npartitions</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00272">hd.h:272</a></div></div> <div class="ttc" id="astructata__identify__data_html_a73fcc627ba448a3bbdff736c1d0204f2"><div class="ttname"><a href="structata__identify__data.html#a73fcc627ba448a3bbdff736c1d0204f2">ata_identify_data::acoustic_test_interseek_delay</a></div><div class="ttdeci">u_int16_t acoustic_test_interseek_delay</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00365">hd.h:365</a></div></div> <div class="ttc" id="astructata__identify__data_html_a6c2ed844c2cdd10000a4a43ce1503eae"><div class="ttname"><a href="structata__identify__data.html#a6c2ed844c2cdd10000a4a43ce1503eae">ata_identify_data::command_set_supported_extention</a></div><div class="ttdeci">u_int16_t command_set_supported_extention</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00346">hd.h:346</a></div></div> <div class="ttc" id="ahd_8h_html_ab01b187dc277e089d0161315437fde41"><div class="ttname"><a href="hd_8h.html#ab01b187dc277e089d0161315437fde41">hdInit</a></div><div class="ttdeci">int hdInit(struct device_node *dev)</div><div class="ttdef"><b>Definition:</b> <a href="hd_8c_source.html#l00221">hd.c:221</a></div></div> <div class="ttc" id="astructbsd__disklabel_1_1partition_html_a234eea6a587c4d889251c2f07d982cef"><div class="ttname"><a href="structbsd__disklabel_1_1partition.html#a234eea6a587c4d889251c2f07d982cef">bsd_disklabel::partition::p_fstype</a></div><div class="ttdeci">u_int8_t p_fstype</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00279">hd.h:279</a></div></div> <div class="ttc" id="astructata__identify__data_html_a9c1c8decb454522098fbebfc15a75fa4"><div class="ttname"><a href="structata__identify__data.html#a9c1c8decb454522098fbebfc15a75fa4">ata_identify_data::reserved2</a></div><div class="ttdeci">u_int16_t reserved2[4]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00336">hd.h:336</a></div></div> <div class="ttc" id="ahd_8h_html_a75f26be3e2adb7df832cbd9944a38e0b"><div class="ttname"><a href="hd_8h.html#a75f26be3e2adb7df832cbd9944a38e0b">hdRead</a></div><div class="ttdeci">int hdRead(struct driveInfo *hdd, void *, uInt32, uInt32)</div><div class="ttdef"><b>Definition:</b> <a href="hd_8c_source.html#l00423">hd.c:423</a></div></div> <div class="ttc" id="astructata__identify__data_html_a5e83aa9a7416a9604b16e7e47b5e94cb"><div class="ttname"><a href="structata__identify__data.html#a5e83aa9a7416a9604b16e7e47b5e94cb">ata_identify_data::vendor_specific1</a></div><div class="ttdeci">u_int16_t vendor_specific1[31]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00374">hd.h:374</a></div></div> <div class="ttc" id="astructdriveInfo_html_abbb3cbf508e4e7b866eeb658846bd44a"><div class="ttname"><a href="structdriveInfo.html#abbb3cbf508e4e7b866eeb658846bd44a">driveInfo::parOffset</a></div><div class="ttdeci">long parOffset</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00179">hd.h:179</a></div></div> <div class="ttc" id="astructata__identify__data_html_a469786e3b04fa328f3ad5d3d2900a4c0"><div class="ttname"><a href="structata__identify__data.html#a469786e3b04fa328f3ad5d3d2900a4c0">ata_identify_data::obsolete1</a></div><div class="ttdeci">u_int16_t obsolete1</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00304">hd.h:304</a></div></div> <div class="ttc" id="ainclude_2ubixfs_2ubixfs_8h_html"><div class="ttname"><a href="include_2ubixfs_2ubixfs_8h.html">ubixfs.h</a></div></div> <div class="ttc" id="astructata__identify__data_html_a0a0f0323efb421b710dd6e95b8666499"><div class="ttname"><a href="structata__identify__data.html#a0a0f0323efb421b710dd6e95b8666499">ata_identify_data::validity_bits</a></div><div class="ttdeci">u_int16_t validity_bits</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00319">hd.h:319</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a60c26768f84bf0061c2436f29a2fdff0"><div class="ttname"><a href="structbsd__disklabel.html#a60c26768f84bf0061c2436f29a2fdff0">bsd_disklabel::d_partitions</a></div><div class="ttdeci">struct bsd_disklabel::partition d_partitions[8]</div></div> <div class="ttc" id="astructdos__partition_html_af001423f7cab0f911f83d19906c9018f"><div class="ttname"><a href="structdos__partition.html#af001423f7cab0f911f83d19906c9018f">dos_partition::dp_size</a></div><div class="ttdeci">uInt32 dp_size</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00205">hd.h:205</a></div></div> <div class="ttc" id="astructdriveInfo_html_a1d9e4b310044ea1eb5250017e8ba5185"><div class="ttname"><a href="structdriveInfo.html#a1d9e4b310044ea1eb5250017e8ba5185">driveInfo::lba_end</a></div><div class="ttdeci">long lba_end</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00182">hd.h:182</a></div></div> <div class="ttc" id="astructata__identify__data_html_aafa69b3043331e1fa08e52ef8846328f"><div class="ttname"><a href="structata__identify__data.html#aafa69b3043331e1fa08e52ef8846328f">ata_identify_data::obsolete7</a></div><div class="ttdeci">u_int16_t obsolete7</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00327">hd.h:327</a></div></div> <div class="ttc" id="astructdriveInfo_html_a877ef27dad0f84711aedbabb4ff71a2a"><div class="ttname"><a href="structdriveInfo.html#a877ef27dad0f84711aedbabb4ff71a2a">driveInfo::hdCalc</a></div><div class="ttdeci">long hdCalc</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00178">hd.h:178</a></div></div> <div class="ttc" id="ahd_8h_html_ab365aa9aae531413e33947aba3d079cc"><div class="ttname"><a href="hd_8h.html#ab365aa9aae531413e33947aba3d079cc">MAXPARTITIONS</a></div><div class="ttdeci">#define MAXPARTITIONS</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00208">hd.h:208</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a3cf810c12ed5a1865fdd5141a57c669a"><div class="ttname"><a href="structbsd__disklabel.html#a3cf810c12ed5a1865fdd5141a57c669a">bsd_disklabel::d_ntracks</a></div><div class="ttdeci">uint32_t d_ntracks</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00221">hd.h:221</a></div></div> <div class="ttc" id="astructata__identify__data_html_a9544c176675931b1d8d0480c080f9fc5"><div class="ttname"><a href="structata__identify__data.html#a9544c176675931b1d8d0480c080f9fc5">ata_identify_data::reserved_for_wwn_extention</a></div><div class="ttdeci">u_int8_t reserved_for_wwn_extention[8]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00367">hd.h:367</a></div></div> <div class="ttc" id="astructata__identify__data_html_a58639c4d2438b5a0b680e8fec7f38d3a"><div class="ttname"><a href="structata__identify__data.html#a58639c4d2438b5a0b680e8fec7f38d3a">ata_identify_data::cfa_power_mode1</a></div><div class="ttdeci">u_int16_t cfa_power_mode1</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00375">hd.h:375</a></div></div> <div class="ttc" id="astructata__identify__data_html_a19bead2c3f2d39f085c8cf4a965d4ebc"><div class="ttname"><a href="structata__identify__data.html#a19bead2c3f2d39f085c8cf4a965d4ebc">ata_identify_data::hardware_reset_result</a></div><div class="ttdeci">u_int16_t hardware_reset_result</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00355">hd.h:355</a></div></div> <div class="ttc" id="astructata__identify__data_html_a7a71ee70d92f99602a82710f9212f547"><div class="ttname"><a href="structata__identify__data.html#a7a71ee70d92f99602a82710f9212f547">ata_identify_data::firmware_revision</a></div><div class="ttdeci">u_int8_t firmware_revision[8]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00312">hd.h:312</a></div></div> <div class="ttc" id="ahd_8h_html_ab3e2fe915eede4a15f4fb70d1a429db0"><div class="ttname"><a href="hd_8h.html#ab3e2fe915eede4a15f4fb70d1a429db0">ATA_IDENTIFY_FW_REVISION_LEN</a></div><div class="ttdeci">#define ATA_IDENTIFY_FW_REVISION_LEN</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00295">hd.h:295</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_ac509dd0d343b76b9dc7dc75973219a7e"><div class="ttname"><a href="structbsd__disklabel.html#ac509dd0d343b76b9dc7dc75973219a7e">bsd_disklabel::d_checksum</a></div><div class="ttdeci">u_int16_t d_checksum</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00269">hd.h:269</a></div></div> <div class="ttc" id="astructata__identify__data_html_a4edac4a696a504c5625395bb6c9833b9"><div class="ttname"><a href="structata__identify__data.html#a4edac4a696a504c5625395bb6c9833b9">ata_identify_data::max_48bit_lba</a></div><div class="ttdeci">u_int8_t max_48bit_lba[8]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00361">hd.h:361</a></div></div> <div class="ttc" id="astructata__identify__data_html_aaed4d24fcda72ac9649ef2af469cd983"><div class="ttname"><a href="structata__identify__data.html#aaed4d24fcda72ac9649ef2af469cd983">ata_identify_data::reserved7</a></div><div class="ttdeci">u_int16_t reserved7[7]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00383">hd.h:383</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a327daaf81e47645765fce50925f63030"><div class="ttname"><a href="structbsd__disklabel.html#a327daaf81e47645765fce50925f63030">bsd_disklabel::d_packname</a></div><div class="ttdeci">char d_packname[16]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00216">hd.h:216</a></div></div> <div class="ttc" id="ahd_8h_html_a55070501762f63461f3d023a39eece94"><div class="ttname"><a href="hd_8h.html#a55070501762f63461f3d023a39eece94">hdWrite</a></div><div class="ttdeci">int hdWrite(struct driveInfo *hdd, void *, uInt32, uInt32)</div><div class="ttdef"><b>Definition:</b> <a href="hd_8c_source.html#l00356">hd.c:356</a></div></div> <div class="ttc" id="astructata__identify__data_html_ab56651deb14233173827564b82227d7d"><div class="ttname"><a href="structata__identify__data.html#ab56651deb14233173827564b82227d7d">ata_identify_data::reserved1</a></div><div class="ttdeci">u_int16_t reserved1</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00335">hd.h:335</a></div></div> <div class="ttc" id="astructata__identify__data_html_ad39670c5f767b60a329794f12063ca7d"><div class="ttname"><a href="structata__identify__data.html#ad39670c5f767b60a329794f12063ca7d">ata_identify_data::obsolete5</a></div><div class="ttdeci">u_int16_t obsolete5[2]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00318">hd.h:318</a></div></div> <div class="ttc" id="astructata__identify__data_html_a38db5334523c28f375401bd4744d0a86"><div class="ttname"><a href="structata__identify__data.html#a38db5334523c28f375401bd4744d0a86">ata_identify_data::major_version_number</a></div><div class="ttdeci">u_int16_t major_version_number</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00342">hd.h:342</a></div></div> <div class="ttc" id="ahd_8h_html_ace9b924d48cc450c255d1d48fcbc13a5"><div class="ttname"><a href="hd_8h.html#ace9b924d48cc450c255d1d48fcbc13a5">hdIoctl</a></div><div class="ttdeci">int hdIoctl()</div><div class="ttdef"><b>Definition:</b> <a href="hd_8c_source.html#l00211">hd.c:211</a></div></div> <div class="ttc" id="astructata__identify__data_html_a9e0702d4cd468bd7231b1f82c7f238af"><div class="ttname"><a href="structata__identify__data.html#a9e0702d4cd468bd7231b1f82c7f238af">ata_identify_data::reserved4</a></div><div class="ttdeci">u_int16_t reserved4</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00368">hd.h:368</a></div></div> <div class="ttc" id="ahd_8h_html_a528da6c2859aa349e0e3273524831021"><div class="ttname"><a href="hd_8h.html#a528da6c2859aa349e0e3273524831021">ATA_IDENTIFY_MEDIA_SERIAL_NUMBER_LEN</a></div><div class="ttdeci">#define ATA_IDENTIFY_MEDIA_SERIAL_NUMBER_LEN</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00297">hd.h:297</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_a758d7335edac5d43056ce33a70ee95fc"><div class="ttname"><a href="structbsd__disklabel.html#a758d7335edac5d43056ce33a70ee95fc">bsd_disklabel::d_headswitch</a></div><div class="ttdeci">uint32_t d_headswitch</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00261">hd.h:261</a></div></div> <div class="ttc" id="astructata__identify__data_html_abb7aa26957526f00dfc5843a156a0713"><div class="ttname"><a href="structata__identify__data.html#abb7aa26957526f00dfc5843a156a0713">ata_identify_data::general_config_bits</a></div><div class="ttdeci">u_int16_t general_config_bits</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00301">hd.h:301</a></div></div> <div class="ttc" id="astructbsd__disklabel_1_1partition_html_a26963c89dd04bf274c1f31b1d76dee89"><div class="ttname"><a href="structbsd__disklabel_1_1partition.html#a26963c89dd04bf274c1f31b1d76dee89">bsd_disklabel::partition::p_cpg</a></div><div class="ttdeci">u_int16_t p_cpg</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00281">hd.h:281</a></div></div> <div class="ttc" id="astructbsd__disklabel_1_1partition_html_ab41df34969d422568cb0cc184db3268a"><div class="ttname"><a href="structbsd__disklabel_1_1partition.html#ab41df34969d422568cb0cc184db3268a">bsd_disklabel::partition::p_size</a></div><div class="ttdeci">uint32_t p_size</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00276">hd.h:276</a></div></div> <div class="ttc" id="astructbsd__disklabel_1_1partition_html_a3af3d4070dabab2ce5df6f1bfbd5616a"><div class="ttname"><a href="structbsd__disklabel_1_1partition.html#a3af3d4070dabab2ce5df6f1bfbd5616a">bsd_disklabel::partition::p_offset</a></div><div class="ttdeci">uint32_t p_offset</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00277">hd.h:277</a></div></div> <div class="ttc" id="ahd_8h_html_a70dabd7211309235d830502ca4e4a233"><div class="ttname"><a href="hd_8h.html#a70dabd7211309235d830502ca4e4a233">ATA_IDENTIFY_SERIAL_NUMBER_LEN</a></div><div class="ttdeci">#define ATA_IDENTIFY_SERIAL_NUMBER_LEN</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00293">hd.h:293</a></div></div> <div class="ttc" id="astructata__identify__data_html_a3df83cd09b2d93ab42c90978ad5a46b4"><div class="ttname"><a href="structata__identify__data.html#a3df83cd09b2d93ab42c90978ad5a46b4">ata_identify_data::data_set_management</a></div><div class="ttdeci">u_int16_t data_set_management</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00378">hd.h:378</a></div></div> <div class="ttc" id="astructdos__partition_html_a36e0dc33679a315c60056b2a8e865598"><div class="ttname"><a href="structdos__partition.html#a36e0dc33679a315c60056b2a8e865598">dos_partition::dp_ecyl</a></div><div class="ttdeci">unsigned char dp_ecyl</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00203">hd.h:203</a></div></div> <div class="ttc" id="astructdos__partition_html_ab316e0e02d24902172d5edde412f3238"><div class="ttname"><a href="structdos__partition.html#ab316e0e02d24902172d5edde412f3238">dos_partition::dp_start</a></div><div class="ttdeci">uInt32 dp_start</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00204">hd.h:204</a></div></div> <div class="ttc" id="ahd_8h_html_a7a00465121a584acd10c1ca1b46680a1"><div class="ttname"><a href="hd_8h.html#a7a00465121a584acd10c1ca1b46680a1">hdStop</a></div><div class="ttdeci">int hdStop()</div><div class="ttdef"><b>Definition:</b> <a href="hd_8c_source.html#l00206">hd.c:206</a></div></div> <div class="ttc" id="astructata__identify__data_html_a328ba5927447d33b6e94dabc85e86850"><div class="ttname"><a href="structata__identify__data.html#a328ba5927447d33b6e94dabc85e86850">ata_identify_data::stream_performance_granularity</a></div><div class="ttdeci">u_int16_t stream_performance_granularity[2]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00360">hd.h:360</a></div></div> <div class="ttc" id="astructdriveInfo_html_aa446858a696dafa8454b90a9d5087aae"><div class="ttname"><a href="structdriveInfo.html#aa446858a696dafa8454b90a9d5087aae">driveInfo::hdMask</a></div><div class="ttdeci">long hdMask</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00174">hd.h:174</a></div></div> <div class="ttc" id="astructbsd__disklabel_html"><div class="ttname"><a href="structbsd__disklabel.html">bsd_disklabel</a></div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00210">hd.h:210</a></div></div> <div class="ttc" id="astructata__identify__data_html_ad6ce02f920a7b19e664a35c463f755ff"><div class="ttname"><a href="structata__identify__data.html#ad6ce02f920a7b19e664a35c463f755ff">ata_identify_data::retired2</a></div><div class="ttdeci">u_int16_t retired2[2]</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00310">hd.h:310</a></div></div> <div class="ttc" id="astructdos__partition_html_a76754d1c9c64baa477f45dac3b258a40"><div class="ttname"><a href="structdos__partition.html#a76754d1c9c64baa477f45dac3b258a40">dos_partition::dp_flag</a></div><div class="ttdeci">unsigned char dp_flag</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00196">hd.h:196</a></div></div> <div class="ttc" id="astructata__identify__data_html_a2401e80ff98fee0baf84ff0cfc183ecf"><div class="ttname"><a href="structata__identify__data.html#a2401e80ff98fee0baf84ff0cfc183ecf">ata_identify_data::additional_supported</a></div><div class="ttdeci">u_int16_t additional_supported</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00334">hd.h:334</a></div></div> <div class="ttc" id="astructata__identify__data_html_a86cda317899575d1c8ab2058c798744d"><div class="ttname"><a href="structata__identify__data.html#a86cda317899575d1c8ab2058c798744d">ata_identify_data::max_sectors_per_multiple</a></div><div class="ttdeci">u_int16_t max_sectors_per_multiple</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00314">hd.h:314</a></div></div> <div class="ttc" id="astructdriveInfo_html_a2aa87710c888fee7b587b46e60d2d632"><div class="ttname"><a href="structdriveInfo.html#a2aa87710c888fee7b587b46e60d2d632">driveInfo::hdMulti</a></div><div class="ttdeci">uint32_t hdMulti</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00175">hd.h:175</a></div></div> <div class="ttc" id="astructata__identify__data_html_a9da82a370fedb4a074b40f192f0434a1"><div class="ttname"><a href="structata__identify__data.html#a9da82a370fedb4a074b40f192f0434a1">ata_identify_data::capabilities1</a></div><div class="ttdeci">u_int16_t capabilities1</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00316">hd.h:316</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_ac39855e86b97beb97c29c5dc6d350925"><div class="ttname"><a href="structbsd__disklabel.html#ac39855e86b97beb97c29c5dc6d350925">bsd_disklabel::d_trkseek</a></div><div class="ttdeci">uint32_t d_trkseek</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00262">hd.h:262</a></div></div> <div class="ttc" id="ahd_8h_html_aa7634e74ec4ca64b3a931b89c07ece15"><div class="ttname"><a href="hd_8h.html#aa7634e74ec4ca64b3a931b89c07ece15">NSPARE</a></div><div class="ttdeci">#define NSPARE</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00266">hd.h:266</a></div></div> <div class="ttc" id="astructata__identify__data_html_a6317944095cded8f78bed0e41da83c92"><div class="ttname"><a href="structata__identify__data.html#a6317944095cded8f78bed0e41da83c92">ata_identify_data::max_lba_range_entry_blocks</a></div><div class="ttdeci">u_int16_t max_lba_range_entry_blocks</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00363">hd.h:363</a></div></div> <div class="ttc" id="astructbsd__disklabel_html_ae108495b6fe5374ec7c62ef4baf05f52"><div class="ttname"><a href="structbsd__disklabel.html#ae108495b6fe5374ec7c62ef4baf05f52">bsd_disklabel::d_ncylinders</a></div><div class="ttdeci">uint32_t d_ncylinders</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00222">hd.h:222</a></div></div> <div class="ttc" id="astructata__identify__data_html_a0cbf2ef38110fad53efe8dbbb0add56b"><div class="ttname"><a href="structata__identify__data.html#a0cbf2ef38110fad53efe8dbbb0add56b">ata_identify_data::serial_ata_features_enabled</a></div><div class="ttdeci">u_int16_t serial_ata_features_enabled</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00341">hd.h:341</a></div></div> <div class="ttc" id="astructata__identify__data_html_a377568c3c56bd103f3a5fc4f54ecfa3d"><div class="ttname"><a href="structata__identify__data.html#a377568c3c56bd103f3a5fc4f54ecfa3d">ata_identify_data::device_nominal_form_factor</a></div><div class="ttdeci">u_int16_t device_nominal_form_factor</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00377">hd.h:377</a></div></div> <div class="ttc" id="astructdos__partition_html_abd8bc367d5183d55902ab1175f63343b"><div class="ttname"><a href="structdos__partition.html#abd8bc367d5183d55902ab1175f63343b">dos_partition::dp_ssect</a></div><div class="ttdeci">unsigned char dp_ssect</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00198">hd.h:198</a></div></div> <div class="ttc" id="astructata__identify__data_html_a4afe7c7dc840fabaaed226ec9ee3b11a"><div class="ttname"><a href="structata__identify__data.html#a4afe7c7dc840fabaaed226ec9ee3b11a">ata_identify_data::current_acoustic_management_value</a></div><div class="ttdeci">u_int16_t current_acoustic_management_value</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00356">hd.h:356</a></div></div> <div class="ttc" id="astructata__identify__data_html_a019af69c8c4b76c1d505bf90200abb57"><div class="ttname"><a href="structata__identify__data.html#a019af69c8c4b76c1d505bf90200abb57">ata_identify_data::min_pio_transfer_with_flow_ctrl</a></div><div class="ttdeci">u_int16_t min_pio_transfer_with_flow_ctrl</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00333">hd.h:333</a></div></div> <div class="ttc" id="astructata__identify__data_html_a0b0a98db1958b08c604a51323a8c0c77"><div class="ttname"><a href="structata__identify__data.html#a0b0a98db1958b08c604a51323a8c0c77">ata_identify_data::minor_version_number</a></div><div class="ttdeci">u_int16_t minor_version_number</div><div class="ttdef"><b>Definition:</b> <a href="hd_8h_source.html#l00343">hd.h:343</a></div></div> <div class="ttc" id="afat__string_8h_html_a070d2ce7b6bb7e5c05602aa8c308d0c4"><div class="ttname"><a href="fat__string_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></div><div class="ttdeci">#define NULL</div><div class="ttdef"><b>Definition:</b> <a href="fat__string_8h_source.html#l00017">fat_string.h:17</a></div></div> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_e6bb53534ac0e427887cf7a94c0c004e.html">C:</a></li><li class="navelem"><a class="el" href="dir_d99d5d4662bf24521eef49da6a8cd34d.html">Dev</a></li><li class="navelem"><a class="el" href="dir_474a4b306371cf7e7f6fa12cb0b77df6.html">git</a></li><li class="navelem"><a class="el" href="dir_849109bbd106d461b128d63e5babcedf.html">UbixOS</a></li><li class="navelem"><a class="el" href="dir_6ec99f6d7d5182ba8913209ab70c9f18.html">sys</a></li><li class="navelem"><a class="el" href="dir_d1be8160e739b6eed1f7843efdbae1b3.html">include</a></li><li class="navelem"><a class="el" href="dir_3c613c826710371b20c56a4c4011e29a.html">pci</a></li><li class="navelem"><a class="el" href="hd_8h.html">hd.h</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>