<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16"> <compounddef id="hd_8h" kind="file" language="C++"> <compoundname>hd.h</compoundname> <includes refid="include_2sys_2types_8h" local="no">sys/types.h</includes> <includes refid="include_2ubixfs_2ubixfs_8h" local="no">ubixfs/ubixfs.h</includes> <includedby refid="gpt_8c" local="no">C:/Dev/git/UbixOS/sys/fs/common/gpt.c</includedby> <includedby refid="ubixos_2init_8h" local="no">C:/Dev/git/UbixOS/sys/include/ubixos/init.h</includedby> <includedby refid="hd_8c" local="no">C:/Dev/git/UbixOS/sys/pci/hd.c</includedby> <incdepgraph> <node id="22"> <label>ufs/ufs.h</label> <link refid="ufs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> </node> <node id="36"> <label>stdarg.h</label> <link refid="stdarg_8h"/> </node> <node id="37"> <label>ubixos/kpanic.h</label> <link refid="kpanic_8h"/> </node> <node id="52"> <label>sys/tss.h</label> <link refid="tss_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="34"> <label>sys/io.h</label> <link refid="io_8h"/> </node> <node id="43"> <label>net/pbuf.h</label> <link refid="pbuf_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="38" relation="include"> </childnode> </node> <node id="51"> <label>ubixos/tty.h</label> <link refid="tty_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="26"> <label>net/net.h</label> <link refid="net_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> </node> <node id="48"> <label>net/priv/memp_priv.h</label> <link refid="memp__priv_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="45" relation="include"> </childnode> </node> <node id="15"> <label>i386/cpu.h</label> <link refid="i386_2cpu_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="4"> <label>sys/select.h</label> <link refid="select_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="18"> <label>vfs/inode.h</label> <link refid="inode_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> </node> <node id="49"> <label>mpi/mpi.h</label> <link refid="mpi_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="50" relation="include"> </childnode> </node> <node id="32"> <label>net/arch/cc.h</label> <link refid="cc_8h"/> <childnode refid="33" relation="include"> </childnode> </node> <node id="9"> <label>ubixfs/ubixfs.h</label> <link refid="include_2ubixfs_2ubixfs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> <childnode refid="49" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> </node> <node id="8"> <label>sys/_sigset.h</label> <link refid="__sigset_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="45"> <label>net/mem.h</label> <link refid="mem_8h"/> <childnode refid="28" relation="include"> </childnode> </node> <node id="44"> <label>net/stats.h</label> <link refid="stats_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="45" relation="include"> </childnode> <childnode refid="46" relation="include"> </childnode> </node> <node id="10"> <label>vfs/vfs.h</label> <link refid="include_2vfs_2vfs_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="24" relation="include"> </childnode> <childnode refid="25" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> </node> <node id="29"> <label>net/lwipopts.h</label> <link refid="lwipopts_8h"/> </node> <node id="24"> <label>vfs/mount.h</label> <link refid="mount_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="17"> <label>sys/resource.h</label> <link refid="resource_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="14"> <label>sys/trap.h</label> <link refid="trap_8h"/> <childnode refid="15" relation="include"> </childnode> </node> <node id="2"> <label>sys/types.h</label> <link refid="include_2sys_2types_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="11"> <label>vfs/file.h</label> <link refid="include_2vfs_2file_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="24" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> </node> <node id="40"> <label>net/def.h</label> <link refid="def_8h"/> <childnode refid="31" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> </node> <node id="27"> <label>net/netif.h</label> <link refid="netif_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="38" relation="include"> </childnode> <childnode refid="39" relation="include"> </childnode> <childnode refid="40" relation="include"> </childnode> <childnode refid="43" relation="include"> </childnode> <childnode refid="44" relation="include"> </childnode> </node> <node id="31"> <label>net/arch.h</label> <link refid="arch_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="32" relation="include"> </childnode> <childnode refid="35" relation="include"> </childnode> <childnode refid="37" relation="include"> </childnode> </node> <node id="21"> <label>fs/msdos_fs.h</label> <link refid="msdos__fs_8h"/> </node> <node id="16"> <label>sys/signal.h</label> <link refid="sys_2signal_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="20"> <label>fs/pipe_fs.h</label> <link refid="pipe__fs_8h"/> </node> <node id="19"> <label>ubixos/wait.h</label> <link refid="wait_8h"/> </node> <node id="42"> <label>net/ip6_addr.h</label> <link refid="ip6__addr_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="40" relation="include"> </childnode> </node> <node id="28"> <label>net/opt.h</label> <link refid="opt_8h"/> <childnode refid="29" relation="include"> </childnode> <childnode refid="30" relation="include"> </childnode> </node> <node id="35"> <label>lib/kprintf.h</label> <link refid="kprintf_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="36" relation="include"> </childnode> </node> <node id="30"> <label>net/debug.h</label> <link refid="debug_8h"/> <childnode refid="31" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> </node> <node id="41"> <label>net/ip4_addr.h</label> <link refid="ip4__addr_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="40" relation="include"> </childnode> </node> <node id="39"> <label>net/ip_addr.h</label> <link refid="ip__addr_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="40" relation="include"> </childnode> <childnode refid="41" relation="include"> </childnode> <childnode refid="42" relation="include"> </childnode> </node> <node id="13"> <label>sys/thread.h</label> <link refid="thread_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="14" relation="include"> </childnode> <childnode refid="16" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> </node> <node id="47"> <label>net/priv/memp_std.h</label> <link refid="memp__std_8h"/> </node> <node id="5"> <label>sys/cdefs.h</label> <link refid="cdefs_8h"/> </node> <node id="33"> <label>ubixos/time.h</label> <link refid="time_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="34" relation="include"> </childnode> </node> <node id="50"> <label>ubixos/sched.h</label> <link refid="sched_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="51" relation="include"> </childnode> <childnode refid="52" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> </node> <node id="3"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="38"> <label>net/err.h</label> <link refid="err_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="31" relation="include"> </childnode> </node> <node id="6"> <label>sys/_timespec.h</label> <link refid="__timespec_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="23"> <label>sys/device.h</label> <link refid="include_2sys_2device_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/pci/hd.h</label> <link refid="hd_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> </node> <node id="25"> <label>sys/sysproto_posix.h</label> <link refid="sysproto__posix_8h"/> <childnode refid="16" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> </node> <node id="12"> <label>ubixfs/dirCache.h</label> <link refid="dirCache_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="7"> <label>sys/_timeval.h</label> <link refid="__timeval_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="46"> <label>net/memp.h</label> <link refid="memp_8h"/> <childnode refid="28" relation="include"> </childnode> <childnode refid="47" relation="include"> </childnode> <childnode refid="48" relation="include"> </childnode> <childnode refid="44" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="4"> <label>C:/Dev/git/UbixOS/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="2"> <label>C:/Dev/git/UbixOS/sys/fs/common/gpt.c</label> <link refid="gpt_8c"/> </node> <node id="5"> <label>C:/Dev/git/UbixOS/sys/pci/hd.c</label> <link refid="hd_8c"/> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/pci/hd.h</label> <link refid="hd_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> </node> <node id="3"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/init.h</label> <link refid="ubixos_2init_8h"/> <childnode refid="4" relation="include"> </childnode> </node> </invincdepgraph> <innerclass refid="structata__identify__data" prot="public">ata_identify_data</innerclass> <innerclass refid="structbsd__disklabel" prot="public">bsd_disklabel</innerclass> <innerclass refid="structbsd__disklabel_1_1partition" prot="public">bsd_disklabel::partition</innerclass> <innerclass refid="structdos__partition" prot="public">dos_partition</innerclass> <innerclass refid="structdriveInfo" prot="public">driveInfo</innerclass> <sectiondef kind="user-defined"> <header>ATA_IDENTIFY_DEVICE_FIELD_LENGTHS</header> <description><para>The following constants define the number of bytes contained in various fields found in the IDENTIFY DEVICE data structure. </para> </description> <memberdef kind="define" id="hd_8h_1a16cf103c6e6aab48368708e46669d4c4" prot="public" static="no"> <name>ATA_IDENTIFY_48_LBA_LEN</name> <initializer>8</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="296" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="296" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ab3e2fe915eede4a15f4fb70d1a429db0" prot="public" static="no"> <name>ATA_IDENTIFY_FW_REVISION_LEN</name> <initializer>8</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="295" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="295" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a528da6c2859aa349e0e3273524831021" prot="public" static="no"> <name>ATA_IDENTIFY_MEDIA_SERIAL_NUMBER_LEN</name> <initializer>30</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="297" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="297" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1af897b78424dea24fe6ed3822624661c4" prot="public" static="no"> <name>ATA_IDENTIFY_MODEL_NUMBER_LEN</name> <initializer>40</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="294" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="294" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a70dabd7211309235d830502ca4e4a233" prot="public" static="no"> <name>ATA_IDENTIFY_SERIAL_NUMBER_LEN</name> <initializer>20</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="293" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="293" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aa1d53630f2ba132aa59ac959da7b41df" prot="public" static="no"> <name>ATA_IDENTIFY_WWN_LEN</name> <initializer>8</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="298" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="298" bodyend="-1"/> </memberdef> <memberdef kind="variable" id="hd_8h_1a5664e7b0e31a6c02d65dfa16202e39f9" prot="public" static="yes" mutable="no"> <type><ref refid="cdefs_8h_1a2c212835823e3c54a8ab6d95c652660e" kindref="member">const</ref> char *<ref refid="cdefs_8h_1a2c212835823e3c54a8ab6d95c652660e" kindref="member">const</ref></type> <definition>const char* const part_types[256]</definition> <argsstring>[256]</argsstring> <name>part_types</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="395" column="26" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="395" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="define"> <memberdef kind="define" id="hd_8h_1a05005ba54c029721a32d2ae5776f619f" prot="public" static="no"> <name>ATA_A_4BIT</name> <initializer>0x00</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="107" column="18" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="107" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aff7aa6388f14fe455c68f0032420293f" prot="public" static="no"> <name>ATA_A_HOB</name> <initializer>0x80 /* High Order Byte enable */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="109" column="18" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="109" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a38739cca883ca3469f3fcfde296c7135" prot="public" static="no"> <name>ATA_A_IDS</name> <initializer>0x02 /* disable interrupts */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="102" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="102" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1afb7481634f1375d0c5cee6c3d508f5c6" prot="public" static="no"> <name>ATA_A_RESET</name> <initializer>0x04 /* <ref refid="lnc_8h_1ab702106cf3b3e96750b6845ded4e0299" kindref="member">RESET</ref> controller */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="103" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="103" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1affe8ed68d29374b8ca956ed17c61b7d2" prot="public" static="no"> <name>ATA_ALTSTAT</name> <initializer>11 /* (R) alternate status */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="85" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="85" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1af3119e21d81c6d6b0194c6bc2c1730f5" prot="public" static="no"> <name>ATA_CHECK_POWER_MODE</name> <initializer>0xE5</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="113" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="113" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a7762d2c130e593e92b3c3b521e5779f2" prot="public" static="no"> <name>ATA_COMMAND</name> <initializer>7 /* (W) command */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="65" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="65" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a081876023ec7be4de3f90c8543b2b30b" prot="public" static="no"> <name>ATA_CONTROL</name> <initializer>12 /* (W) control */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="97" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="97" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a0fef95ae974f01d748334fdd88ea63d8" prot="public" static="no"> <name>ATA_COUNT</name> <initializer>2 /* (W) sector count */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="56" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="56" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ab72241184448f589eba2256c1f7ae5ce" prot="public" static="no"> <name>ATA_CTLOFFSET</name> <initializer>0x206 /* control register offset */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="99" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="99" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aef66a5a3fbb3bc7bafaef226e81774fc" prot="public" static="no"> <name>ATA_CYL_LSB</name> <initializer>4 /* (RW) cylinder# LSB */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="59" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="59" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aee74efb7d432b1b6c91b7e019fc8e1db" prot="public" static="no"> <name>ATA_CYL_MSB</name> <initializer>5 /* (RW) cylinder# MSB */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="60" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="60" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1af2505e837f4fe3059beaff86a288956b" prot="public" static="no"> <name>ATA_D_IBM</name> <initializer>0xa0 /* 512 byte sectors, ECC */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="63" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="63" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aa1629908d2dddce97cc8a1a535c4c3e0" prot="public" static="no"> <name>ATA_D_LBA</name> <initializer>0x40 /* use LBA addressing */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="62" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="62" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a10441946900b59df8e0c67d69a1379f0" prot="public" static="no"> <name>ATA_DATA</name> <initializer>0 /* (RW) data */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="50" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="50" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aa0920c5e6e14438d552e3ba093be0ea1" prot="public" static="no"> <name>ATA_DATA_SET_MANAGEMENT</name> <initializer>0x06</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="146" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="146" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a776cc75de056263cddbbed1c7fa305e6" prot="public" static="no"> <name>ATA_DEVICE_RESET</name> <initializer>0x08</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="142" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="142" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a327453c65195335affd347eef11e8149" prot="public" static="no"> <name>ATA_DOWNLOAD_MICROCODE</name> <initializer>0x92</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="147" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="147" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aa9ede1f736f86805a4aa00df9543b32f" prot="public" static="no"> <name>ATA_DRIVE</name> <initializer>6 /* (W) Sector/Drive/Head */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="61" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="61" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a45b5fce8123e20cab29c2a4b0a6d8674" prot="public" static="no"> <name>ATA_E_ABORT</name> <initializer>0x04 /* command aborted */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="70" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="70" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a46b1443be0bb81000d1d8a1f9f6ad91b" prot="public" static="no"> <name>ATA_E_ATAPI_SENSE_MASK</name> <initializer>0xf0 /* ATAPI sense key mask */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="76" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="76" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a365892f2d441652671e1e08251da1b4d" prot="public" static="no"> <name>ATA_E_ICRC</name> <initializer>0x80 /* UDMA crc error */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="75" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="75" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a76cda256be20af691c297a62f39d74b0" prot="public" static="no"> <name>ATA_E_IDNF</name> <initializer>0x10 /* ID not found */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="72" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="72" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a0dfd0a3fe4e7f461d6663bdd6a3ad2df" prot="public" static="no"> <name>ATA_E_ILI</name> <initializer>0x01 /* illegal length */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="68" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="68" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a63df0ac51f67ca768b3e6b5d15bec402" prot="public" static="no"> <name>ATA_E_MC</name> <initializer>0x20 /* media changed */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="73" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="73" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a4144210cf8f3871b3bd64f6ddebc9398" prot="public" static="no"> <name>ATA_E_MCR</name> <initializer>0x08 /* media change request */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="71" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="71" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a9097379062dcbb666640bb4bb04fc509" prot="public" static="no"> <name>ATA_E_NM</name> <initializer>0x02 /* no media */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="69" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="69" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ac5602e17881bb3c9093fe96d4a952009" prot="public" static="no"> <name>ATA_E_UNC</name> <initializer>0x40 /* uncorrectable data */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="74" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="74" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ac8d77dce295ef928eca4dfedb5fb7d36" prot="public" static="no"> <name>ATA_ERROR</name> <initializer>8 /* (R) error */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="67" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="67" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a678c146bebb4e5f9a7c75b1cf0743251" prot="public" static="no"> <name>ATA_EXECUTE_DEVICE_DIAG</name> <initializer>0x90</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="133" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="133" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a471a07ad94348bcdf9d2d57ded0fb90a" prot="public" static="no"> <name>ATA_F_DMA</name> <initializer>0x01 /* enable DMA */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="53" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="53" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ade52f08428ada631477246aa178998f1" prot="public" static="no"> <name>ATA_F_OVL</name> <initializer>0x02 /* enable overlap */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="54" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="54" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ac4d1d41fa8068d174dbf76ea4f478a3e" prot="public" static="no"> <name>ATA_FEATURE</name> <initializer>1 /* (W) feature */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="52" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="52" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a86d8c78c178881e3ad609190d5e25850" prot="public" static="no"> <name>ATA_FLUSH_CACHE</name> <initializer>0xE7</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="118" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="118" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a4360972a498df19fe9baff516a1fe156" prot="public" static="no"> <name>ATA_FLUSH_CACHE_EXT</name> <initializer>0xEA</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="119" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="119" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ab6a3bfa624629473f430c39f3d666898" prot="public" static="no"> <name>ATA_I_CMD</name> <initializer>0x01 /* cmd (1) | data (0) */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="79" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="79" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a6c1f79a7aa33938677a95e99f12384b3" prot="public" static="no"> <name>ATA_I_IN</name> <initializer>0x02 /* <ref refid="gen__calls_8c_1a5eff3a25d417fafce7c4f211db219ca2" kindref="member">read</ref> (1) | write (0) */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="80" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="80" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a71bc2b36efbac8cbda87dbd148cdce4a" prot="public" static="no"> <name>ATA_I_RELEASE</name> <initializer>0x04 /* released bus (1) */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="81" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="81" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ac603c54cdd91b49bb9db1524215768fa" prot="public" static="no"> <name>ATA_I_TAGMASK</name> <initializer>0xf8 /* tag mask */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="82" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="82" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a9d19baff12415486088caa92201e9424" prot="public" static="no"> <name>ATA_IDENTIFY</name> <initializer>0xEC</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="112" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="112" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a15501f1f9c1ad7d74f7d18dadc6376de" prot="public" static="no"> <name>ATA_IDENTIFY_COMMAND_SET_SUPPORTED1_48BIT_ENABLE</name> <initializer>0x0400</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="46" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="46" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ab3870ab2b5eed5bca15ced1c0e7b8f5c" prot="public" static="no"> <name>ATA_IDENTIFY_SECTOR_LARGER_THEN_512_ENABLE</name> <initializer>0x0100</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="47" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="47" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a688ac460d63c6b2affa8ecc86d346e40" prot="public" static="no"> <name>ATA_IDLE</name> <initializer>0xE3</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="117" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="117" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a351fd2392281759bdbcd0002c9bdffd3" prot="public" static="no"> <name>ATA_IDLE_IMMED</name> <initializer>0xE1</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="116" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="116" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1acfc418cfe55477ecdce28fb7ab0dd512" prot="public" static="no"> <name>ATA_IREASON</name> <initializer>9 /* (R) interrupt reason */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="78" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="78" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ad57ee1f923684f83c3ada83be101464d" prot="public" static="no"> <name>ATA_MEDIA_EJECT</name> <initializer>0xED</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="143" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="143" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a813e87feabf16140f04d6a7dd6437bf5" prot="public" static="no"> <name>ATA_NOP</name> <initializer>0x00</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="141" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="141" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a4b8fd6035e219bd50c6f1b1f486d71ad" prot="public" static="no"> <name>ATA_PACKET</name> <initializer>0xA0</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="137" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="137" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ab079342da4fed0519e50ab8558e68d41" prot="public" static="no"> <name>ATA_PACKET_IDENTIFY</name> <initializer>0xA1</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="136" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="136" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a54f9496446f05c826d980252065ef22f" prot="public" static="no"> <name>ATA_PC98_CTLOFFSET</name> <initializer>0x10c /* do for PC98 devices */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="101" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="101" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a015397e42c45396c744009151b4e8143" prot="public" static="no"> <name>ATA_PCCARD_CTLOFFSET</name> <initializer>0x0e /* do for PCCARD devices */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="100" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="100" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a08ddd8c074ee7d9baca7b8f783ab79f3" prot="public" static="no"> <name>ATA_READ_BUFFER</name> <initializer>0xE4</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="131" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="131" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aa6c2559d9c02d18a1d4761b2909d75e1" prot="public" static="no"> <name>ATA_READ_DMA</name> <initializer>0xC8</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="121" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="121" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aadf843a6583b5c9afb9939b911c63fbf" prot="public" static="no"> <name>ATA_READ_DMA_EXT</name> <initializer>0x25</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="120" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="120" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a1fdb289ae784fce76f56a0fb6b33f4e3" prot="public" static="no"> <name>ATA_READ_DMA_QUEUED</name> <initializer>0xC7</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="153" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="153" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a6bad9138882bf4f1dd0d954fa826f740" prot="public" static="no"> <name>ATA_READ_DMA_QUEUED_EXT</name> <initializer>0x26</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="154" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="154" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a965642ec06abd6f8cc5c479cf1d6e950" prot="public" static="no"> <name>ATA_READ_FPDMA</name> <initializer>0x60</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="138" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="138" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a214ba435872710c76fece9ca9d9928f7" prot="public" static="no"> <name>ATA_READ_LOG_DMA_EXT</name> <initializer>0x47</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="149" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="149" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ad230dcb92d57d0c0e82025ee811b24df" prot="public" static="no"> <name>ATA_READ_LOG_EXT</name> <initializer>0x2F</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="140" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="140" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ac416d69cdfbeb21768e3a1b3681e12f0" prot="public" static="no"> <name>ATA_READ_MULTIPLE</name> <initializer>0xC4</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="158" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="158" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aff0e34a9d0b4275c3f09f7c80850f11b" prot="public" static="no"> <name>ATA_READ_MULTIPLE_EXT</name> <initializer>0x29</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="159" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="159" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aa9b3fb004e46ea0529df8548ee1137b2" prot="public" static="no"> <name>ATA_READ_SECTORS</name> <initializer>0x20</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="123" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="123" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ab52b8018bce3d02a5849032576b2a02f" prot="public" static="no"> <name>ATA_READ_SECTORS_EXT</name> <initializer>0x24</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="122" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="122" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aa769f74ab6d98c9b835b0cc8b74e9033" prot="public" static="no"> <name>ATA_READ_STREAM_DMA_EXT</name> <initializer>0x2A</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="150" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="150" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a967490d64b2f490c5a7c45e1eff16827" prot="public" static="no"> <name>ATA_READ_VERIFY_SECTORS</name> <initializer>0x40</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="129" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="129" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a5fa0b19ba088e0592fbcc78e84f97d71" prot="public" static="no"> <name>ATA_READ_VERIFY_SECTORS_EXT</name> <initializer>0x42</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="130" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="130" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a676551b0bd38a1bebd58041025e4b5ad" prot="public" static="no"> <name>ATA_S_BUSY</name> <initializer>0x80 /* busy */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="95" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="95" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a5ad39109d70e2b727fec8ff033d5b9f3" prot="public" static="no"> <name>ATA_S_CORR</name> <initializer>0x04 /* data corrected */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="88" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="88" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a8aea341f1d4ce900e7d33ac96a0bd3c0" prot="public" static="no"> <name>ATA_S_DMA</name> <initializer>0x20 /* DMA ready */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="93" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="93" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1af7280ae3f825171e8df149fec6fd578a" prot="public" static="no"> <name>ATA_S_DRQ</name> <initializer>0x08 /* data request */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="89" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="89" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a144cfab202814258da0a8ffbb57e04f3" prot="public" static="no"> <name>ATA_S_DSC</name> <initializer>0x10 /* drive <ref refid="fdc_8c_1a5886a896e5f0361f36b40d007db6e683" kindref="member">seek</ref> completed */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="90" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="90" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a88022529b9cc653f77f13e4b46c02ffb" prot="public" static="no"> <name>ATA_S_DWF</name> <initializer>0x20 /* drive write fault */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="92" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="92" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a5e795dd6bb167b1f24372c97fd38afad" prot="public" static="no"> <name>ATA_S_ERROR</name> <initializer>0x01 /* error */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="86" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="86" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a2e2fd259cc86a22413896cccb82ce9bb" prot="public" static="no"> <name>ATA_S_INDEX</name> <initializer>0x02 /* index */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="87" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="87" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a0c6ab24b6d40c9bae95aaebc9b0d8c16" prot="public" static="no"> <name>ATA_S_READY</name> <initializer>0x40 /* drive ready */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="94" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="94" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a2358b77b27666d1097961dda8e60845d" prot="public" static="no"> <name>ATA_S_SERVICE</name> <initializer>0x10 /* drive needs service */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="91" column="17" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="91" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a5a9cfd9d91e769ba098e189594d8d069" prot="public" static="no"> <name>ATA_SECTOR</name> <initializer>3 /* (RW) sector # */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="58" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="58" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ad1e4297732a71c63b31f2a2315a7040e" prot="public" static="no"> <name>ATA_SECURITY_FREEZE_LOCK</name> <initializer>0xF5</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="145" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="145" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a96bec79419f8d7ccd2131ccdfcb782f5" prot="public" static="no"> <name>ATA_SECURITY_UNLOCK</name> <initializer>0xF2</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="144" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="144" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a4e039b84e66f79f9adf36d811088ca1e" prot="public" static="no"> <name>ATA_SET_FEATURES</name> <initializer>0xEF</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="134" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="134" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ab8f9a6432b8b8e6708ad6cfca2f35330" prot="public" static="no"> <name>ATA_SMART</name> <initializer>0xB0</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="135" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="135" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a3174513fda6d38a2c949b6cd4ce98d7c" prot="public" static="no"> <name>ATA_STANDBY</name> <initializer>0xE2</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="114" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="114" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1adbf10142ee8a4011b6a27670e8559668" prot="public" static="no"> <name>ATA_STANDBY_IMMED</name> <initializer>0xE0</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="115" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="115" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a82b0c03860f06049d58daf210f368156" prot="public" static="no"> <name>ATA_STATUS</name> <initializer>10 /* (R) status */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="84" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="84" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ab539f05c13d1225035fd9ec25980d88a" prot="public" static="no"> <name>ATA_WRITE_BUFFER</name> <initializer>0xE8</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="132" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="132" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a006c1f150022068c55aa1505c6bf68b5" prot="public" static="no"> <name>ATA_WRITE_DMA</name> <initializer>0xCA</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="125" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="125" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a747272f0251c6e91ea8968526c269d86" prot="public" static="no"> <name>ATA_WRITE_DMA_EXT</name> <initializer>0x35</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="124" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="124" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a68a8e174a83d093857a92710748b117a" prot="public" static="no"> <name>ATA_WRITE_DMA_FUA</name> <initializer>0x3D</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="151" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="151" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aec92bc4d73a0c583e80b39c2190fa7c5" prot="public" static="no"> <name>ATA_WRITE_DMA_QUEUED</name> <initializer>0xCC</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="155" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="155" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1acc49898a1a3e1f924da4db17d6a6c4c7" prot="public" static="no"> <name>ATA_WRITE_DMA_QUEUED_EXT</name> <initializer>0x36</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="156" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="156" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1afc9fd0e932971c1c876e9daa6f64ed31" prot="public" static="no"> <name>ATA_WRITE_DMA_QUEUED_FUA_EXT</name> <initializer>0x3E</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="157" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="157" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aa2320d20f05335b9a94673bb2a208b5e" prot="public" static="no"> <name>ATA_WRITE_FPDMA</name> <initializer>0x61</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="139" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="139" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a853cb91d6fd6138e32cb21bb6f4f3e72" prot="public" static="no"> <name>ATA_WRITE_LOG_DMA_EXT</name> <initializer>0x57</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="152" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="152" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a25d119365c61056739bbc87935b73d58" prot="public" static="no"> <name>ATA_WRITE_MULTIPLE</name> <initializer>0xC5</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="160" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="160" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ae6f17746ef84522a6c8bc6ac519d07ef" prot="public" static="no"> <name>ATA_WRITE_MULTIPLE_EXT</name> <initializer>0x39</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="161" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="161" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a7d3a3a030e55ccdf720d322ac5b6b3f6" prot="public" static="no"> <name>ATA_WRITE_MULTIPLE_FUA_EXT</name> <initializer>0xCE</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="162" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="162" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a63dd160e88a2fcf8ea494edf62add5a3" prot="public" static="no"> <name>ATA_WRITE_SECTORS</name> <initializer>0x30</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="127" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="127" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a6549b58c104526f30bc16c7e43ebb69c" prot="public" static="no"> <name>ATA_WRITE_SECTORS_EXT</name> <initializer>0x34</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="126" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="126" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ac5d38ee8a581ad683aca627ce537c7ef" prot="public" static="no"> <name>ATA_WRITE_STREAM_DMA_EXT</name> <initializer>0x3A</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="148" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="148" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a17760127e6f7df436d01475c193b1ef5" prot="public" static="no"> <name>ATA_WRITE_UNCORRECTABLE</name> <initializer>0x45</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="128" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="128" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a7623c70dac9a02ab1f75aa7a6e547c4c" prot="public" static="no"> <name>hdCmd</name> <initializer>0x7</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="43" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="43" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a2a82bac9f72d97307f87e60acb709ebb" prot="public" static="no"> <name>hdCylHi</name> <initializer>0x5</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="40" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="40" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a30a2e624c7eda626a913f0b5b9ed26b7" prot="public" static="no"> <name>hdCylLow</name> <initializer>0x4</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="39" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="39" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a1571e7119dfede60820469184878948a" prot="public" static="no"> <name>hdData</name> <initializer>0x0</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="35" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="35" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a98d5f3b47b6afa2948cb1db2a9e0cd36" prot="public" static="no"> <name>hdError</name> <initializer>0x1</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="36" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="36" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1acefc72ce44e542db4580ce7e7c732aab" prot="public" static="no"> <name>hdHead</name> <initializer>0x6</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="41" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="41" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a8206a5d5a25f1d6fc9e02013572c52db" prot="public" static="no"> <name>hdSecCount</name> <initializer>0x2</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="37" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="37" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a0fa794dfb3e811122d5eafbe348c368f" prot="public" static="no"> <name>hdSecNum</name> <initializer>0x3</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="38" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="38" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a73f0c3f82605d0aa108e8186e4daae6b" prot="public" static="no"> <name>hdStat</name> <initializer>0x7</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="42" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="42" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1ab365aa9aae531413e33947aba3d079cc" prot="public" static="no"> <name>MAXPARTITIONS</name> <initializer>8</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="208" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="208" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1a24fef906c993a6511034377118497b67" prot="public" static="no"> <name>NDDATA</name> <initializer>5</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="264" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="264" bodyend="-1"/> </memberdef> <memberdef kind="define" id="hd_8h_1aa7634e74ec4ca64b3a931b89c07ece15" prot="public" static="no"> <name>NSPARE</name> <initializer>5</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="266" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="266" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="var"> <memberdef kind="variable" id="hd_8h_1a6ef530d16811c8a4680c136ed9e72cbf" prot="public" static="yes" mutable="no"> <type><ref refid="cdefs_8h_1a2c212835823e3c54a8ab6d95c652660e" kindref="member">const</ref> char *</type> <definition>const char* fstypenames[]</definition> <argsstring>[]</argsstring> <name>fstypenames</name> <initializer>= { "unused", "swap", "Version 6", "Version 7", "System V", "4.1BSD", "Eighth Edition", "4.2BSD", "MSDOS", "4.4LFS", "unknown", "HPFS", "ISO9660", "boot", "vinum", "raid", "?", "?", "?", "?", "jfs", NULL }</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="285" column="19" bodyfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" bodystart="285" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="hd_8h_1ab01b187dc277e089d0161315437fde41" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int hdInit</definition> <argsstring>(struct device_node *dev)</argsstring> <name>hdInit</name> <param> <type>struct <ref refid="structdevice__node" kindref="compound">device_node</ref> *</type> <declname>dev</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="193" column="5" bodyfile="C:/Dev/git/UbixOS/sys/pci/hd.c" bodystart="221" bodyend="354" declfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" declline="193" declcolumn="5"/> <references refid="hd_8h_1a7762d2c130e593e92b3c3b521e5779f2" compoundref="hd_8h" startline="65">ATA_COMMAND</references> <references refid="hd_8h_1a10441946900b59df8e0c67d69a1379f0" compoundref="hd_8h" startline="50">ATA_DATA</references> <references refid="hd_8h_1aa9ede1f736f86805a4aa00df9543b32f" compoundref="hd_8h" startline="61">ATA_DRIVE</references> <references refid="hd_8h_1a9d19baff12415486088caa92201e9424" compoundref="hd_8h" startline="112">ATA_IDENTIFY</references> <references refid="structdriveInfo_1a2afcf287e4aec52620401806682233a9" compoundref="hd_8h" startline="166">driveInfo::ata_identify</references> <references refid="hd_8h_1a15501f1f9c1ad7d74f7d18dadc6376de" compoundref="hd_8h" startline="46">ATA_IDENTIFY_COMMAND_SET_SUPPORTED1_48BIT_ENABLE</references> <references refid="hd_8h_1ab3870ab2b5eed5bca15ced1c0e7b8f5c" compoundref="hd_8h" startline="47">ATA_IDENTIFY_SECTOR_LARGER_THEN_512_ENABLE</references> <references refid="hd_8h_1a676551b0bd38a1bebd58041025e4b5ad" compoundref="hd_8h" startline="95">ATA_S_BUSY</references> <references refid="structata__identify__data_1a4545653f06a4195a75edcd29001cb701" compoundref="hd_8h" startline="348">ata_identify_data::command_set_enabled1</references> <references refid="structdevice__node_1a588d09d5dabf1c8866d359aaac799b1c" compoundref="include_2sys_2device_8h" startline="37">device_node::devInfo</references> <references refid="hd_8h_1a7623c70dac9a02ab1f75aa7a6e547c4c" compoundref="hd_8h" startline="43">hdCmd</references> <references refid="structdriveInfo_1aef8c94d9c3cc8a71e23d8e63abbe38a5" compoundref="hd_8h" startline="171">driveInfo::hdDev</references> <references refid="structdriveInfo_1af385dccea1485233fc52351a8d7666aa" compoundref="hd_8h" startline="170">driveInfo::hdEnable</references> <references refid="hd_8h_1acefc72ce44e542db4580ce7e7c732aab" compoundref="hd_8h" startline="41">hdHead</references> <references refid="structdriveInfo_1aa446858a696dafa8454b90a9d5087aae" compoundref="hd_8h" startline="174">driveInfo::hdMask</references> <references refid="structdriveInfo_1a2aa87710c888fee7b587b46e60d2d632" compoundref="hd_8h" startline="175">driveInfo::hdMulti</references> <references refid="structdriveInfo_1aad8076fe0ba9c5bdbbc23c79656619ab" compoundref="hd_8h" startline="176">driveInfo::hdPort</references> <references refid="hd_8h_1a8206a5d5a25f1d6fc9e02013572c52db" compoundref="hd_8h" startline="37">hdSecCount</references> <references refid="structdriveInfo_1acacd139e4cfe1037afbcf488f2f5d2c3" compoundref="hd_8h" startline="173">driveInfo::hdShift</references> <references refid="structdriveInfo_1ada0977b5e57df10de593d1df22712af8" compoundref="hd_8h" startline="177">driveInfo::hdSize</references> <references refid="structdevice__interface_1aeacb2f431b14ddd1e9fe34db278dfc9e" compoundref="include_2sys_2device_8h" startline="51">device_interface::info</references> <references refid="structdevice__interface_1a561678212ee39a09ce43c1a3567c64e2" compoundref="include_2sys_2device_8h" startline="48">device_interface::initialized</references> <references refid="io_8h_1a77b934268de1b3ecdcf3f275413b3108" compoundref="io_8c" startline="38" endline="46">inportByte</references> <references refid="io_8h_1afb703b187feb4b92444454df6c3dd9e6" compoundref="io_8c" startline="55" endline="63">inportWord</references> <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references> <references refid="structdriveInfo_1af93a2156cff0616730ea3b0a9c9fb3bc" compoundref="hd_8h" startline="167">driveInfo::lba_high</references> <references refid="structdriveInfo_1aa722897bbc328c24ea2ec4bcae2ed342" compoundref="hd_8h" startline="168">driveInfo::lba_low</references> <references refid="structata__identify__data_1a4edac4a696a504c5625395bb6c9833b9" compoundref="hd_8h" startline="361">ata_identify_data::max_48bit_lba</references> <references refid="io_8h_1a8acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="72" endline="78">outportByte</references> <references refid="structata__identify__data_1ace8f3708a348109394cdebd41180f7a0" compoundref="hd_8h" startline="364">ata_identify_data::physical_logical_sector_info</references> <references refid="structdriveInfo_1a8c8ee3abadd6bfef07f9b1b055818100" compoundref="hd_8h" startline="169">driveInfo::sector_size</references> <references refid="structdevice__interface_1a82fda947114f5c8d53fb7acbd7eb0e21" compoundref="include_2sys_2device_8h" startline="49">device_interface::size</references> <references refid="structata__identify__data_1a3266c97773cfa9f7d047f84c4fb13a33" compoundref="hd_8h" startline="326">ata_identify_data::total_num_sectors</references> <references refid="structata__identify__data_1ae17c108776507b4a3f9d50dcb0d8fa50" compoundref="hd_8h" startline="369">ata_identify_data::words_per_logical_sector</references> </memberdef> <memberdef kind="function" id="hd_8h_1ace9b924d48cc450c255d1d48fcbc13a5" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int hdIoctl</definition> <argsstring>()</argsstring> <name>hdIoctl</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="189" column="5" bodyfile="C:/Dev/git/UbixOS/sys/pci/hd.c" bodystart="211" bodyend="214" declfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" declline="189" declcolumn="5"/> </memberdef> <memberdef kind="function" id="hd_8h_1a75f26be3e2adb7df832cbd9944a38e0b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int hdRead</definition> <argsstring>(struct driveInfo *hdd, void *, uInt32, uInt32)</argsstring> <name>hdRead</name> <param> <type>struct <ref refid="structdriveInfo" kindref="compound">driveInfo</ref> *</type> <declname>hdd</declname> </param> <param> <type>void *</type> </param> <param> <type><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref></type> </param> <param> <type><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref></type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="187" column="5" bodyfile="C:/Dev/git/UbixOS/sys/pci/hd.c" bodystart="423" bodyend="488" declfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" declline="187" declcolumn="5"/> <references refid="structdriveInfo_1a877ef27dad0f84711aedbabb4ff71a2a" compoundref="hd_8h" startline="178">driveInfo::hdCalc</references> <references refid="hd_8h_1a7623c70dac9a02ab1f75aa7a6e547c4c" compoundref="hd_8h" startline="43">hdCmd</references> <references refid="hd_8h_1a2a82bac9f72d97307f87e60acb709ebb" compoundref="hd_8h" startline="40">hdCylHi</references> <references refid="hd_8h_1a30a2e624c7eda626a913f0b5b9ed26b7" compoundref="hd_8h" startline="39">hdCylLow</references> <references refid="hd_8h_1a1571e7119dfede60820469184878948a" compoundref="hd_8h" startline="35">hdData</references> <references refid="structdriveInfo_1aef8c94d9c3cc8a71e23d8e63abbe38a5" compoundref="hd_8h" startline="171">driveInfo::hdDev</references> <references refid="structdriveInfo_1af385dccea1485233fc52351a8d7666aa" compoundref="hd_8h" startline="170">driveInfo::hdEnable</references> <references refid="hd_8h_1acefc72ce44e542db4580ce7e7c732aab" compoundref="hd_8h" startline="41">hdHead</references> <references refid="structdriveInfo_1a2aa87710c888fee7b587b46e60d2d632" compoundref="hd_8h" startline="175">driveInfo::hdMulti</references> <references refid="structdriveInfo_1aad8076fe0ba9c5bdbbc23c79656619ab" compoundref="hd_8h" startline="176">driveInfo::hdPort</references> <references refid="hd_8h_1a8206a5d5a25f1d6fc9e02013572c52db" compoundref="hd_8h" startline="37">hdSecCount</references> <references refid="hd_8h_1a0fa794dfb3e811122d5eafbe348c368f" compoundref="hd_8h" startline="38">hdSecNum</references> <references refid="structdriveInfo_1acacd139e4cfe1037afbcf488f2f5d2c3" compoundref="hd_8h" startline="173">driveInfo::hdShift</references> <references refid="hd_8h_1a73f0c3f82605d0aa108e8186e4daae6b" compoundref="hd_8h" startline="42">hdStat</references> <references refid="io_8h_1a77b934268de1b3ecdcf3f275413b3108" compoundref="io_8c" startline="38" endline="46">inportByte</references> <references refid="io_8h_1afb703b187feb4b92444454df6c3dd9e6" compoundref="io_8c" startline="55" endline="63">inportWord</references> <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references> <references refid="structdriveInfo_1a3ed5ef43179982d1950cdb710dc9a2eb" compoundref="hd_8h" startline="181">driveInfo::lba_start</references> <references refid="io_8h_1a8acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="72" endline="78">outportByte</references> <references refid="structdriveInfo_1abbb3cbf508e4e7b866eeb658846bd44a" compoundref="hd_8h" startline="179">driveInfo::parOffset</references> </memberdef> <memberdef kind="function" id="hd_8h_1a8e64e509439c31ba2acfe68a7aefcc10" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int hdReset</definition> <argsstring>()</argsstring> <name>hdReset</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="188" column="5" bodyfile="C:/Dev/git/UbixOS/sys/pci/hd.c" bodystart="216" bodyend="219" declfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" declline="188" declcolumn="5"/> </memberdef> <memberdef kind="function" id="hd_8h_1a525245216f426465a3c0f130bd0efd19" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int hdStandby</definition> <argsstring>()</argsstring> <name>hdStandby</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="192" column="5" bodyfile="C:/Dev/git/UbixOS/sys/pci/hd.c" bodystart="196" bodyend="199" declfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" declline="192" declcolumn="5"/> </memberdef> <memberdef kind="function" id="hd_8h_1a9535712ecc532571658cc6861570dde5" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int hdStart</definition> <argsstring>()</argsstring> <name>hdStart</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="190" column="5" bodyfile="C:/Dev/git/UbixOS/sys/pci/hd.c" bodystart="201" bodyend="204" declfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" declline="190" declcolumn="5"/> </memberdef> <memberdef kind="function" id="hd_8h_1a7a00465121a584acd10c1ca1b46680a1" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int hdStop</definition> <argsstring>()</argsstring> <name>hdStop</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="191" column="5" bodyfile="C:/Dev/git/UbixOS/sys/pci/hd.c" bodystart="206" bodyend="209" declfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" declline="191" declcolumn="5"/> </memberdef> <memberdef kind="function" id="hd_8h_1a55070501762f63461f3d023a39eece94" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int hdWrite</definition> <argsstring>(struct driveInfo *hdd, void *, uInt32, uInt32)</argsstring> <name>hdWrite</name> <param> <type>struct <ref refid="structdriveInfo" kindref="compound">driveInfo</ref> *</type> <declname>hdd</declname> </param> <param> <type>void *</type> </param> <param> <type><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref></type> </param> <param> <type><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref></type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="186" column="5" bodyfile="C:/Dev/git/UbixOS/sys/pci/hd.c" bodystart="356" bodyend="421" declfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" declline="186" declcolumn="5"/> <references refid="structdriveInfo_1a877ef27dad0f84711aedbabb4ff71a2a" compoundref="hd_8h" startline="178">driveInfo::hdCalc</references> <references refid="hd_8h_1a7623c70dac9a02ab1f75aa7a6e547c4c" compoundref="hd_8h" startline="43">hdCmd</references> <references refid="hd_8h_1a2a82bac9f72d97307f87e60acb709ebb" compoundref="hd_8h" startline="40">hdCylHi</references> <references refid="hd_8h_1a30a2e624c7eda626a913f0b5b9ed26b7" compoundref="hd_8h" startline="39">hdCylLow</references> <references refid="hd_8h_1a1571e7119dfede60820469184878948a" compoundref="hd_8h" startline="35">hdData</references> <references refid="structdriveInfo_1aef8c94d9c3cc8a71e23d8e63abbe38a5" compoundref="hd_8h" startline="171">driveInfo::hdDev</references> <references refid="structdriveInfo_1af385dccea1485233fc52351a8d7666aa" compoundref="hd_8h" startline="170">driveInfo::hdEnable</references> <references refid="hd_8h_1acefc72ce44e542db4580ce7e7c732aab" compoundref="hd_8h" startline="41">hdHead</references> <references refid="structdriveInfo_1a2aa87710c888fee7b587b46e60d2d632" compoundref="hd_8h" startline="175">driveInfo::hdMulti</references> <references refid="structdriveInfo_1aad8076fe0ba9c5bdbbc23c79656619ab" compoundref="hd_8h" startline="176">driveInfo::hdPort</references> <references refid="hd_8h_1a8206a5d5a25f1d6fc9e02013572c52db" compoundref="hd_8h" startline="37">hdSecCount</references> <references refid="hd_8h_1a0fa794dfb3e811122d5eafbe348c368f" compoundref="hd_8h" startline="38">hdSecNum</references> <references refid="structdriveInfo_1acacd139e4cfe1037afbcf488f2f5d2c3" compoundref="hd_8h" startline="173">driveInfo::hdShift</references> <references refid="hd_8h_1a73f0c3f82605d0aa108e8186e4daae6b" compoundref="hd_8h" startline="42">hdStat</references> <references refid="io_8h_1a77b934268de1b3ecdcf3f275413b3108" compoundref="io_8c" startline="38" endline="46">inportByte</references> <references refid="kprintf_8h_1a20b56810edb62a6fe59917015c30848f" compoundref="kprintf_8c" startline="259" endline="276">kprintf</references> <references refid="structdriveInfo_1a3ed5ef43179982d1950cdb710dc9a2eb" compoundref="hd_8h" startline="181">driveInfo::lba_start</references> <references refid="io_8h_1a8acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="72" endline="78">outportByte</references> <references refid="io_8h_1a243f6b6d22cc5948908b764d58efc2b0" compoundref="io_8c" startline="103" endline="109">outportWord</references> <references refid="structdriveInfo_1abbb3cbf508e4e7b866eeb658846bd44a" compoundref="hd_8h" startline="179">driveInfo::parOffset</references> </memberdef> <memberdef kind="function" id="hd_8h_1aa6ffe735243161c69ce0930999e02f88" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int initHardDisk</definition> <argsstring>()</argsstring> <name>initHardDisk</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h" line="185" column="5" bodyfile="C:/Dev/git/UbixOS/sys/pci/hd.c" bodystart="42" bodyend="45" declfile="C:/Dev/git/UbixOS/sys/include/pci/hd.h" declline="185" declcolumn="5"/> <references refid="hd_8c_1afe85956506fe7d2c9df06fc1628a7bd1" compoundref="hd_8c" startline="47" endline="194">_initHardDisk</references> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="comment">/*-</highlight></codeline> <codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(c)<sp/>2002-2018<sp/>The<sp/>UbixOS<sp/>Project.</highlight></codeline> <codeline lineno="3"><highlight class="comment"><sp/>*<sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="4"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="5"><highlight class="comment"><sp/>*<sp/>This<sp/>was<sp/>developed<sp/>by<sp/>Christopher<sp/>W.<sp/>Olsen<sp/>for<sp/>the<sp/>UbixOS<sp/>Project.</highlight></codeline> <codeline lineno="6"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="7"><highlight class="comment"><sp/>*<sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are<sp/>permitted</highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>*<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>*<sp/>1)<sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>*<sp/>2)<sp/>Redistributions<sp/>in<sp/>binary<sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>other<sp/>materials<sp/>provided<sp/>with<sp/>the<sp/>distribution.</highlight></codeline> <codeline lineno="15"><highlight class="comment"><sp/>*<sp/>3)<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its<sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to</highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software<sp/>without<sp/>specific<sp/>prior<sp/>written</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>permission.</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>*<sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>AUTHOR<sp/>AND<sp/>CONTRIBUTORS<sp/>"AS<sp/>IS"<sp/>AND<sp/>ANY<sp/>EXPRESS<sp/>OR<sp/>IMPLIED</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>*<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF<sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>*<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>*<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,<sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>*<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT<sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>*<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)<sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN</highlight></codeline> <codeline lineno="25"><highlight class="comment"><sp/>*<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR<sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT</highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>*<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS<sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="27"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="28"><highlight class="normal"></highlight></codeline> <codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_PCI_HD_H_</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>_PCI_HD_H_</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="31"><highlight class="normal"></highlight></codeline> <codeline lineno="32"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2sys_2types_8h" kindref="compound">sys/types.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2ubixfs_2ubixfs_8h" kindref="compound">ubixfs/ubixfs.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="34"><highlight class="normal"></highlight></codeline> <codeline lineno="35" refid="hd_8h_1a1571e7119dfede60820469184878948a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>hdData<sp/><sp/><sp/><sp/><sp/>0x0</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="36" refid="hd_8h_1a98d5f3b47b6afa2948cb1db2a9e0cd36" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>hdError<sp/><sp/><sp/><sp/>0x1</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="37" refid="hd_8h_1a8206a5d5a25f1d6fc9e02013572c52db" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>hdSecCount<sp/>0x2</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="38" refid="hd_8h_1a0fa794dfb3e811122d5eafbe348c368f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>hdSecNum<sp/><sp/><sp/>0x3</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="39" refid="hd_8h_1a30a2e624c7eda626a913f0b5b9ed26b7" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>hdCylLow<sp/><sp/><sp/>0x4</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="40" refid="hd_8h_1a2a82bac9f72d97307f87e60acb709ebb" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>hdCylHi<sp/><sp/><sp/><sp/>0x5</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="41" refid="hd_8h_1acefc72ce44e542db4580ce7e7c732aab" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>hdHead<sp/><sp/><sp/><sp/><sp/>0x6</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="42" refid="hd_8h_1a73f0c3f82605d0aa108e8186e4daae6b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>hdStat<sp/><sp/><sp/><sp/><sp/>0x7</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="43" refid="hd_8h_1a7623c70dac9a02ab1f75aa7a6e547c4c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>hdCmd<sp/><sp/><sp/><sp/><sp/><sp/>0x7</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="44"><highlight class="normal"></highlight></codeline> <codeline lineno="45"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>ATA<sp/>Uhm?<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="46" refid="hd_8h_1a15501f1f9c1ad7d74f7d18dadc6376de" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDENTIFY_COMMAND_SET_SUPPORTED1_48BIT_ENABLE<sp/>0x0400</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="47" refid="hd_8h_1ab3870ab2b5eed5bca15ced1c0e7b8f5c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDENTIFY_SECTOR_LARGER_THEN_512_ENABLE<sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0100</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="48"><highlight class="normal"></highlight></codeline> <codeline lineno="49"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>ATA<sp/>register<sp/>defines<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="50" refid="hd_8h_1a10441946900b59df8e0c67d69a1379f0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_DATA<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(RW)<sp/>data<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="51"><highlight class="normal"></highlight></codeline> <codeline lineno="52" refid="hd_8h_1ac4d1d41fa8068d174dbf76ea4f478a3e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_FEATURE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>1<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(W)<sp/>feature<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="53" refid="hd_8h_1a471a07ad94348bcdf9d2d57ded0fb90a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_F_DMA<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x01<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>enable<sp/>DMA<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="54" refid="hd_8h_1ade52f08428ada631477246aa178998f1" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_F_OVL<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x02<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>enable<sp/>overlap<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="55"><highlight class="normal"></highlight></codeline> <codeline lineno="56" refid="hd_8h_1a0fef95ae974f01d748334fdd88ea63d8" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_COUNT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>2<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(W)<sp/>sector<sp/>count<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="57"><highlight class="normal"></highlight></codeline> <codeline lineno="58" refid="hd_8h_1a5a9cfd9d91e769ba098e189594d8d069" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_SECTOR<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>3<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(RW)<sp/>sector<sp/>#<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="59" refid="hd_8h_1aef66a5a3fbb3bc7bafaef226e81774fc" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_CYL_LSB<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>4<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(RW)<sp/>cylinder#<sp/>LSB<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="60" refid="hd_8h_1aee74efb7d432b1b6c91b7e019fc8e1db" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_CYL_MSB<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>5<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(RW)<sp/>cylinder#<sp/>MSB<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="61" refid="hd_8h_1aa9ede1f736f86805a4aa00df9543b32f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_DRIVE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>6<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(W)<sp/>Sector/Drive/Head<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="62" refid="hd_8h_1aa1629908d2dddce97cc8a1a535c4c3e0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_D_LBA<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x40<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>use<sp/>LBA<sp/>addressing<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="63" refid="hd_8h_1af2505e837f4fe3059beaff86a288956b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_D_IBM<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xa0<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>512<sp/>byte<sp/>sectors,<sp/>ECC<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="64"><highlight class="normal"></highlight></codeline> <codeline lineno="65" refid="hd_8h_1a7762d2c130e593e92b3c3b521e5779f2" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_COMMAND<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>7<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(W)<sp/>command<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="66"><highlight class="normal"></highlight></codeline> <codeline lineno="67" refid="hd_8h_1ac8d77dce295ef928eca4dfedb5fb7d36" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_ERROR<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>8<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(R)<sp/>error<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="68" refid="hd_8h_1a0dfd0a3fe4e7f461d6663bdd6a3ad2df" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_E_ILI<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x01<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>illegal<sp/>length<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="69" refid="hd_8h_1a9097379062dcbb666640bb4bb04fc509" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_E_NM<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x02<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>no<sp/>media<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="70" refid="hd_8h_1a45b5fce8123e20cab29c2a4b0a6d8674" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_E_ABORT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x04<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>command<sp/>aborted<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="71" refid="hd_8h_1a4144210cf8f3871b3bd64f6ddebc9398" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_E_MCR<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x08<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>media<sp/>change<sp/>request<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="72" refid="hd_8h_1a76cda256be20af691c297a62f39d74b0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_E_IDNF<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x10<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>ID<sp/>not<sp/>found<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="73" refid="hd_8h_1a63df0ac51f67ca768b3e6b5d15bec402" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_E_MC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x20<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>media<sp/>changed<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="74" refid="hd_8h_1ac5602e17881bb3c9093fe96d4a952009" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_E_UNC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x40<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>uncorrectable<sp/>data<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="75" refid="hd_8h_1a365892f2d441652671e1e08251da1b4d" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_E_ICRC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x80<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>UDMA<sp/>crc<sp/>error<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="76" refid="hd_8h_1a46b1443be0bb81000d1d8a1f9f6ad91b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_E_ATAPI_SENSE_MASK<sp/><sp/>0xf0<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>ATAPI<sp/>sense<sp/>key<sp/>mask<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="77"><highlight class="normal"></highlight></codeline> <codeline lineno="78" refid="hd_8h_1acfc418cfe55477ecdce28fb7ab0dd512" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IREASON<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>9<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(R)<sp/>interrupt<sp/>reason<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="79" refid="hd_8h_1ab6a3bfa624629473f430c39f3d666898" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_I_CMD<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x01<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>cmd<sp/>(1)<sp/>|<sp/>data<sp/>(0)<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="80" refid="hd_8h_1a6c1f79a7aa33938677a95e99f12384b3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_I_IN<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x02<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>read<sp/>(1)<sp/>|<sp/>write<sp/>(0)<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="81" refid="hd_8h_1a71bc2b36efbac8cbda87dbd148cdce4a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_I_RELEASE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x04<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>released<sp/>bus<sp/>(1)<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="82" refid="hd_8h_1ac603c54cdd91b49bb9db1524215768fa" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_I_TAGMASK<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xf8<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>tag<sp/>mask<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="83"><highlight class="normal"></highlight></codeline> <codeline lineno="84" refid="hd_8h_1a82b0c03860f06049d58daf210f368156" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_STATUS<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>10<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(R)<sp/>status<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="85" refid="hd_8h_1affe8ed68d29374b8ca956ed17c61b7d2" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_ALTSTAT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>11<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(R)<sp/>alternate<sp/>status<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="86" refid="hd_8h_1a5e795dd6bb167b1f24372c97fd38afad" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_ERROR<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x01<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>error<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="87" refid="hd_8h_1a2e2fd259cc86a22413896cccb82ce9bb" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_INDEX<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x02<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>index<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="88" refid="hd_8h_1a5ad39109d70e2b727fec8ff033d5b9f3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_CORR<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x04<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>data<sp/>corrected<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="89" refid="hd_8h_1af7280ae3f825171e8df149fec6fd578a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_DRQ<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x08<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>data<sp/>request<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="90" refid="hd_8h_1a144cfab202814258da0a8ffbb57e04f3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_DSC<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x10<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>drive<sp/>seek<sp/>completed<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="91" refid="hd_8h_1a2358b77b27666d1097961dda8e60845d" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_SERVICE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x10<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>drive<sp/>needs<sp/>service<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="92" refid="hd_8h_1a88022529b9cc653f77f13e4b46c02ffb" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_DWF<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x20<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>drive<sp/>write<sp/>fault<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="93" refid="hd_8h_1a8aea341f1d4ce900e7d33ac96a0bd3c0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_DMA<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x20<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>DMA<sp/>ready<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="94" refid="hd_8h_1a0c6ab24b6d40c9bae95aaebc9b0d8c16" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_READY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x40<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>drive<sp/>ready<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="95" refid="hd_8h_1a676551b0bd38a1bebd58041025e4b5ad" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_S_BUSY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x80<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>busy<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="96"><highlight class="normal"></highlight></codeline> <codeline lineno="97" refid="hd_8h_1a081876023ec7be4de3f90c8543b2b30b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_CONTROL<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>12<sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>(W)<sp/>control<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="98"><highlight class="normal"></highlight></codeline> <codeline lineno="99" refid="hd_8h_1ab72241184448f589eba2256c1f7ae5ce" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_CTLOFFSET<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x206<sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>control<sp/>register<sp/>offset<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="100" refid="hd_8h_1a015397e42c45396c744009151b4e8143" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_PCCARD_CTLOFFSET<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x0e<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>do<sp/>for<sp/>PCCARD<sp/>devices<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="101" refid="hd_8h_1a54f9496446f05c826d980252065ef22f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_PC98_CTLOFFSET<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x10c<sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>do<sp/>for<sp/>PC98<sp/>devices<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="102" refid="hd_8h_1a38739cca883ca3469f3fcfde296c7135" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_A_IDS<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x02<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>disable<sp/>interrupts<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="103" refid="hd_8h_1afb7481634f1375d0c5cee6c3d508f5c6" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_A_RESET<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x04<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>RESET<sp/>controller<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="104"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/><sp/>ATA_LEGACY_SUPPORT</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="105"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_A_4BIT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x08<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>4<sp/>head<sp/>bits:<sp/>obsolete<sp/>1996<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="106"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="107" refid="hd_8h_1a05005ba54c029721a32d2ae5776f619f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_A_4BIT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x00</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="108"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="109" refid="hd_8h_1aff7aa6388f14fe455c68f0032420293f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ATA_A_HOB<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x80<sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>High<sp/>Order<sp/>Byte<sp/>enable<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="110"><highlight class="normal"></highlight></codeline> <codeline lineno="111"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>ATA<sp/>Commands<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="112" refid="hd_8h_1a9d19baff12415486088caa92201e9424" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDENTIFY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xEC</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="113" refid="hd_8h_1af3119e21d81c6d6b0194c6bc2c1730f5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_CHECK_POWER_MODE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xE5</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="114" refid="hd_8h_1a3174513fda6d38a2c949b6cd4ce98d7c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_STANDBY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xE2</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="115" refid="hd_8h_1adbf10142ee8a4011b6a27670e8559668" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_STANDBY_IMMED<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xE0</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="116" refid="hd_8h_1a351fd2392281759bdbcd0002c9bdffd3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDLE_IMMED<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xE1</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="117" refid="hd_8h_1a688ac460d63c6b2affa8ecc86d346e40" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDLE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xE3</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="118" refid="hd_8h_1a86d8c78c178881e3ad609190d5e25850" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_FLUSH_CACHE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xE7</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="119" refid="hd_8h_1a4360972a498df19fe9baff516a1fe156" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_FLUSH_CACHE_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xEA</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="120" refid="hd_8h_1aadf843a6583b5c9afb9939b911c63fbf" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_DMA_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x25</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="121" refid="hd_8h_1aa6c2559d9c02d18a1d4761b2909d75e1" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_DMA<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xC8</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="122" refid="hd_8h_1ab52b8018bce3d02a5849032576b2a02f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_SECTORS_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x24</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="123" refid="hd_8h_1aa9b3fb004e46ea0529df8548ee1137b2" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_SECTORS<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x20</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="124" refid="hd_8h_1a747272f0251c6e91ea8968526c269d86" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_DMA_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x35</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="125" refid="hd_8h_1a006c1f150022068c55aa1505c6bf68b5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_DMA<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xCA</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="126" refid="hd_8h_1a6549b58c104526f30bc16c7e43ebb69c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_SECTORS_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x34</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="127" refid="hd_8h_1a63dd160e88a2fcf8ea494edf62add5a3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_SECTORS<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x30</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="128" refid="hd_8h_1a17760127e6f7df436d01475c193b1ef5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_UNCORRECTABLE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x45</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="129" refid="hd_8h_1a967490d64b2f490c5a7c45e1eff16827" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_VERIFY_SECTORS<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x40</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="130" refid="hd_8h_1a5fa0b19ba088e0592fbcc78e84f97d71" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_VERIFY_SECTORS_EXT<sp/><sp/><sp/><sp/>0x42</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="131" refid="hd_8h_1a08ddd8c074ee7d9baca7b8f783ab79f3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_BUFFER<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xE4</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="132" refid="hd_8h_1ab539f05c13d1225035fd9ec25980d88a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_BUFFER<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xE8</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="133" refid="hd_8h_1a678c146bebb4e5f9a7c75b1cf0743251" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_EXECUTE_DEVICE_DIAG<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x90</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="134" refid="hd_8h_1a4e039b84e66f79f9adf36d811088ca1e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_SET_FEATURES<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xEF</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="135" refid="hd_8h_1ab8f9a6432b8b8e6708ad6cfca2f35330" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_SMART<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xB0</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="136" refid="hd_8h_1ab079342da4fed0519e50ab8558e68d41" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_PACKET_IDENTIFY<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xA1</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="137" refid="hd_8h_1a4b8fd6035e219bd50c6f1b1f486d71ad" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_PACKET<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xA0</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="138" refid="hd_8h_1a965642ec06abd6f8cc5c479cf1d6e950" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_FPDMA<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x60</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="139" refid="hd_8h_1aa2320d20f05335b9a94673bb2a208b5e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_FPDMA<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x61</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="140" refid="hd_8h_1ad230dcb92d57d0c0e82025ee811b24df" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_LOG_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x2F</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="141" refid="hd_8h_1a813e87feabf16140f04d6a7dd6437bf5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_NOP<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x00</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="142" refid="hd_8h_1a776cc75de056263cddbbed1c7fa305e6" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_DEVICE_RESET<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x08</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="143" refid="hd_8h_1ad57ee1f923684f83c3ada83be101464d" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_MEDIA_EJECT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xED</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="144" refid="hd_8h_1a96bec79419f8d7ccd2131ccdfcb782f5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_SECURITY_UNLOCK<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xF2</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="145" refid="hd_8h_1ad1e4297732a71c63b31f2a2315a7040e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_SECURITY_FREEZE_LOCK<sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xF5</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="146" refid="hd_8h_1aa0920c5e6e14438d552e3ba093be0ea1" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_DATA_SET_MANAGEMENT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x06</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="147" refid="hd_8h_1a327453c65195335affd347eef11e8149" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_DOWNLOAD_MICROCODE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x92</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="148" refid="hd_8h_1ac5d38ee8a581ad683aca627ce537c7ef" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_STREAM_DMA_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x3A</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="149" refid="hd_8h_1a214ba435872710c76fece9ca9d9928f7" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_LOG_DMA_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x47</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="150" refid="hd_8h_1aa769f74ab6d98c9b835b0cc8b74e9033" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_STREAM_DMA_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x2A</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="151" refid="hd_8h_1a68a8e174a83d093857a92710748b117a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_DMA_FUA<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x3D</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="152" refid="hd_8h_1a853cb91d6fd6138e32cb21bb6f4f3e72" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_LOG_DMA_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x57</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="153" refid="hd_8h_1a1fdb289ae784fce76f56a0fb6b33f4e3" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_DMA_QUEUED<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xC7</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="154" refid="hd_8h_1a6bad9138882bf4f1dd0d954fa826f740" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_DMA_QUEUED_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x26</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="155" refid="hd_8h_1aec92bc4d73a0c583e80b39c2190fa7c5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_DMA_QUEUED<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xCC</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="156" refid="hd_8h_1acc49898a1a3e1f924da4db17d6a6c4c7" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_DMA_QUEUED_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x36</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="157" refid="hd_8h_1afc9fd0e932971c1c876e9daa6f64ed31" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_DMA_QUEUED_FUA_EXT<sp/><sp/><sp/>0x3E</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="158" refid="hd_8h_1ac416d69cdfbeb21768e3a1b3681e12f0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_MULTIPLE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xC4</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="159" refid="hd_8h_1aff0e34a9d0b4275c3f09f7c80850f11b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_READ_MULTIPLE_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x29</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="160" refid="hd_8h_1a25d119365c61056739bbc87935b73d58" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_MULTIPLE<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0xC5</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="161" refid="hd_8h_1ae6f17746ef84522a6c8bc6ac519d07ef" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_MULTIPLE_EXT<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>0x39</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="162" refid="hd_8h_1a7d3a3a030e55ccdf720d322ac5b6b3f6" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_WRITE_MULTIPLE_FUA_EXT<sp/><sp/><sp/><sp/><sp/>0xCE</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="163"><highlight class="normal"></highlight></codeline> <codeline lineno="164" refid="structdriveInfo" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structdriveInfo" kindref="compound">driveInfo</ref><sp/>{</highlight></codeline> <codeline lineno="165" refid="structdriveInfo_1a16f2a2a3b5ea803c987edc8659d16559" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">driveDiskLabel<sp/>*<ref refid="structdriveInfo_1a16f2a2a3b5ea803c987edc8659d16559" kindref="member">diskLabel</ref>;</highlight></codeline> <codeline lineno="166" refid="structdriveInfo_1a2afcf287e4aec52620401806682233a9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structata__identify__data" kindref="compound">ata_identify_data</ref><sp/>*<ref refid="structdriveInfo_1a2afcf287e4aec52620401806682233a9" kindref="member">ata_identify</ref>;</highlight></codeline> <codeline lineno="167" refid="structdriveInfo_1af93a2156cff0616730ea3b0a9c9fb3bc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structdriveInfo_1af93a2156cff0616730ea3b0a9c9fb3bc" kindref="member">lba_high</ref>;</highlight></codeline> <codeline lineno="168" refid="structdriveInfo_1aa722897bbc328c24ea2ec4bcae2ed342" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structdriveInfo_1aa722897bbc328c24ea2ec4bcae2ed342" kindref="member">lba_low</ref>;</highlight></codeline> <codeline lineno="169" refid="structdriveInfo_1a8c8ee3abadd6bfef07f9b1b055818100" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structdriveInfo_1a8c8ee3abadd6bfef07f9b1b055818100" kindref="member">sector_size</ref>;</highlight></codeline> <codeline lineno="170" refid="structdriveInfo_1af385dccea1485233fc52351a8d7666aa" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1af385dccea1485233fc52351a8d7666aa" kindref="member">hdEnable</ref>;</highlight></codeline> <codeline lineno="171" refid="structdriveInfo_1aef8c94d9c3cc8a71e23d8e63abbe38a5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1aef8c94d9c3cc8a71e23d8e63abbe38a5" kindref="member">hdDev</ref>;</highlight></codeline> <codeline lineno="172" refid="structdriveInfo_1a0ede68cc430fe1c49e9c234bbbe5ec11" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1a0ede68cc430fe1c49e9c234bbbe5ec11" kindref="member">hdFlags</ref>;</highlight></codeline> <codeline lineno="173" refid="structdriveInfo_1acacd139e4cfe1037afbcf488f2f5d2c3" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1acacd139e4cfe1037afbcf488f2f5d2c3" kindref="member">hdShift</ref>;</highlight></codeline> <codeline lineno="174" refid="structdriveInfo_1aa446858a696dafa8454b90a9d5087aae" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1aa446858a696dafa8454b90a9d5087aae" kindref="member">hdMask</ref>;</highlight></codeline> <codeline lineno="175" refid="structdriveInfo_1a2aa87710c888fee7b587b46e60d2d632" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structdriveInfo_1a2aa87710c888fee7b587b46e60d2d632" kindref="member">hdMulti</ref>;</highlight></codeline> <codeline lineno="176" refid="structdriveInfo_1aad8076fe0ba9c5bdbbc23c79656619ab" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1aad8076fe0ba9c5bdbbc23c79656619ab" kindref="member">hdPort</ref>;</highlight></codeline> <codeline lineno="177" refid="structdriveInfo_1ada0977b5e57df10de593d1df22712af8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1ada0977b5e57df10de593d1df22712af8" kindref="member">hdSize</ref>;</highlight></codeline> <codeline lineno="178" refid="structdriveInfo_1a877ef27dad0f84711aedbabb4ff71a2a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1a877ef27dad0f84711aedbabb4ff71a2a" kindref="member">hdCalc</ref>;</highlight></codeline> <codeline lineno="179" refid="structdriveInfo_1abbb3cbf508e4e7b866eeb658846bd44a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1abbb3cbf508e4e7b866eeb658846bd44a" kindref="member">parOffset</ref>;</highlight></codeline> <codeline lineno="180" refid="structdriveInfo_1a3794d7beb8cc95275cd553103c457934" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1a3794d7beb8cc95275cd553103c457934" kindref="member">part</ref>;</highlight></codeline> <codeline lineno="181" refid="structdriveInfo_1a3ed5ef43179982d1950cdb710dc9a2eb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1a3ed5ef43179982d1950cdb710dc9a2eb" kindref="member">lba_start</ref>;</highlight></codeline> <codeline lineno="182" refid="structdriveInfo_1a1d9e4b310044ea1eb5250017e8ba5185" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo_1a1d9e4b310044ea1eb5250017e8ba5185" kindref="member">lba_end</ref>;</highlight></codeline> <codeline lineno="183"><highlight class="normal">};</highlight></codeline> <codeline lineno="184"><highlight class="normal"></highlight></codeline> <codeline lineno="185"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="hd_8h_1aa6ffe735243161c69ce0930999e02f88" kindref="member">initHardDisk</ref>();</highlight></codeline> <codeline lineno="186"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="hd_8h_1a55070501762f63461f3d023a39eece94" kindref="member">hdWrite</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo" kindref="compound">driveInfo</ref><sp/>*hdd,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*,<sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref>,<sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref>);</highlight></codeline> <codeline lineno="187"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="hd_8h_1a75f26be3e2adb7df832cbd9944a38e0b" kindref="member">hdRead</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structdriveInfo" kindref="compound">driveInfo</ref><sp/>*hdd,<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*,<sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref>,<sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref>);</highlight></codeline> <codeline lineno="188"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="hd_8h_1a8e64e509439c31ba2acfe68a7aefcc10" kindref="member">hdReset</ref>();</highlight></codeline> <codeline lineno="189"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="hd_8h_1ace9b924d48cc450c255d1d48fcbc13a5" kindref="member">hdIoctl</ref>();</highlight></codeline> <codeline lineno="190"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="hd_8h_1a9535712ecc532571658cc6861570dde5" kindref="member">hdStart</ref>();</highlight></codeline> <codeline lineno="191"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="hd_8h_1a7a00465121a584acd10c1ca1b46680a1" kindref="member">hdStop</ref>();</highlight></codeline> <codeline lineno="192"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="hd_8h_1a525245216f426465a3c0f130bd0efd19" kindref="member">hdStandby</ref>();</highlight></codeline> <codeline lineno="193"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="hd_8h_1ab01b187dc277e089d0161315437fde41" kindref="member">hdInit</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structdevice__node" kindref="compound">device_node</ref><sp/>*dev);</highlight></codeline> <codeline lineno="194"><highlight class="normal"></highlight></codeline> <codeline lineno="195" refid="structdos__partition" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structdos__partition" kindref="compound">dos_partition</ref><sp/>{</highlight></codeline> <codeline lineno="196" refid="structdos__partition_1a76754d1c9c64baa477f45dac3b258a40" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdos__partition_1a76754d1c9c64baa477f45dac3b258a40" kindref="member">dp_flag</ref>;<sp/></highlight><highlight class="comment">/*<sp/>bootstrap<sp/>flags<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="197" refid="structdos__partition_1a43c14b7f158728b75f4fa550ee7ec75f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdos__partition_1a43c14b7f158728b75f4fa550ee7ec75f" kindref="member">dp_shd</ref>;<sp/></highlight><highlight class="comment">/*<sp/>starting<sp/>head<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="198" refid="structdos__partition_1abd8bc367d5183d55902ab1175f63343b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdos__partition_1abd8bc367d5183d55902ab1175f63343b" kindref="member">dp_ssect</ref>;<sp/></highlight><highlight class="comment">/*<sp/>starting<sp/>sector<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="199" refid="structdos__partition_1a3a8d760608768cd64c6c5765aeac7a40" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdos__partition_1a3a8d760608768cd64c6c5765aeac7a40" kindref="member">dp_scyl</ref>;<sp/></highlight><highlight class="comment">/*<sp/>starting<sp/>cylinder<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="200" refid="structdos__partition_1a817b13493937968e878385eeede34f0b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdos__partition_1a817b13493937968e878385eeede34f0b" kindref="member">dp_type</ref>;<sp/></highlight><highlight class="comment">/*<sp/>partition<sp/>type<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="201" refid="structdos__partition_1abb8315c288cd2fb600b593867f7fe9db" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdos__partition_1abb8315c288cd2fb600b593867f7fe9db" kindref="member">dp_ehd</ref>;<sp/></highlight><highlight class="comment">/*<sp/>end<sp/>head<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="202" refid="structdos__partition_1a7c867bf1f30a039de242889af824d188" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdos__partition_1a7c867bf1f30a039de242889af824d188" kindref="member">dp_esect</ref>;<sp/></highlight><highlight class="comment">/*<sp/>end<sp/>sector<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="203" refid="structdos__partition_1a36e0dc33679a315c60056b2a8e865598" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structdos__partition_1a36e0dc33679a315c60056b2a8e865598" kindref="member">dp_ecyl</ref>;<sp/></highlight><highlight class="comment">/*<sp/>end<sp/>cylinder<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="204" refid="structdos__partition_1ab316e0e02d24902172d5edde412f3238" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structdos__partition_1ab316e0e02d24902172d5edde412f3238" kindref="member">dp_start</ref>;<sp/></highlight><highlight class="comment">/*<sp/>absolute<sp/>starting<sp/>sector<sp/>number<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="205" refid="structdos__partition_1af001423f7cab0f911f83d19906c9018f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/><ref refid="structdos__partition_1af001423f7cab0f911f83d19906c9018f" kindref="member">dp_size</ref>;<sp/></highlight><highlight class="comment">/*<sp/>partition<sp/>size<sp/>in<sp/>sectors<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="206"><highlight class="normal">};</highlight></codeline> <codeline lineno="207"><highlight class="normal"></highlight></codeline> <codeline lineno="208" refid="hd_8h_1ab365aa9aae531413e33947aba3d079cc" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MAXPARTITIONS<sp/><sp/><sp/>8</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="209"><highlight class="normal"></highlight></codeline> <codeline lineno="210" refid="structbsd__disklabel" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structbsd__disklabel" kindref="compound">bsd_disklabel</ref><sp/>{</highlight></codeline> <codeline lineno="211" refid="structbsd__disklabel_1a27c3887c8d7a7604d79f101c0316053e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1a27c3887c8d7a7604d79f101c0316053e" kindref="member">d_magic</ref>;<sp/></highlight><highlight class="comment">/*<sp/>the<sp/>magic<sp/>number<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="212" refid="structbsd__disklabel_1a339de842bcffc11bce9a34fc53b03362" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1a339de842bcffc11bce9a34fc53b03362" kindref="member">d_type</ref>;<sp/></highlight><highlight class="comment">/*<sp/>drive<sp/>type<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="213" refid="structbsd__disklabel_1ac6a9dfd75ae82c8c45e86726ca9cdd3b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1ac6a9dfd75ae82c8c45e86726ca9cdd3b" kindref="member">d_subtype</ref>;<sp/></highlight><highlight class="comment">/*<sp/>controller/d_type<sp/>specific<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="214" refid="structbsd__disklabel_1ad6a5a058cc4fa40a5a0a5cb305104569" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structbsd__disklabel_1ad6a5a058cc4fa40a5a0a5cb305104569" kindref="member">d_typename</ref>[16];<sp/></highlight><highlight class="comment">/*<sp/>type<sp/>name,<sp/>e.g.<sp/>"eagle"<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="215"><highlight class="normal"></highlight></codeline> <codeline lineno="216" refid="structbsd__disklabel_1a327daaf81e47645765fce50925f63030" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="structbsd__disklabel_1a327daaf81e47645765fce50925f63030" kindref="member">d_packname</ref>[16];<sp/></highlight><highlight class="comment">/*<sp/>pack<sp/>identifier<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="217"><highlight class="normal"></highlight></codeline> <codeline lineno="218"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>disk<sp/>geometry:<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="219" refid="structbsd__disklabel_1a3dea108384282d50790daa26839d635c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1a3dea108384282d50790daa26839d635c" kindref="member">d_secsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>of<sp/>bytes<sp/>per<sp/>sector<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="220" refid="structbsd__disklabel_1a29430f05e17ca520b48e407175cfd825" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1a29430f05e17ca520b48e407175cfd825" kindref="member">d_nsectors</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>of<sp/>data<sp/>sectors<sp/>per<sp/>track<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="221" refid="structbsd__disklabel_1a3cf810c12ed5a1865fdd5141a57c669a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1a3cf810c12ed5a1865fdd5141a57c669a" kindref="member">d_ntracks</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>of<sp/>tracks<sp/>per<sp/>cylinder<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="222" refid="structbsd__disklabel_1ae108495b6fe5374ec7c62ef4baf05f52" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1ae108495b6fe5374ec7c62ef4baf05f52" kindref="member">d_ncylinders</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>of<sp/>data<sp/>cylinders<sp/>per<sp/>unit<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="223" refid="structbsd__disklabel_1ac45c76bc77dc6cf20fb6409ffbfaabb8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1ac45c76bc77dc6cf20fb6409ffbfaabb8" kindref="member">d_secpercyl</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>of<sp/>data<sp/>sectors<sp/>per<sp/>cylinder<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="224" refid="structbsd__disklabel_1a8dbc77ac958835d07bc020eb80f8310d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1a8dbc77ac958835d07bc020eb80f8310d" kindref="member">d_secperunit</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>of<sp/>data<sp/>sectors<sp/>per<sp/>unit<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="225"><highlight class="normal"></highlight></codeline> <codeline lineno="226"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline> <codeline lineno="227"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>Spares<sp/>(bad<sp/>sector<sp/>replacements)<sp/>below<sp/>are<sp/>not<sp/>counted<sp/>in</highlight></codeline> <codeline lineno="228"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>d_nsectors<sp/>or<sp/>d_secpercyl.<sp/><sp/>Spare<sp/>sectors<sp/>are<sp/>assumed<sp/>to</highlight></codeline> <codeline lineno="229"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>be<sp/>physical<sp/>sectors<sp/>which<sp/>occupy<sp/>space<sp/>at<sp/>the<sp/>end<sp/>of<sp/>each</highlight></codeline> <codeline lineno="230"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>track<sp/>and/or<sp/>cylinder.</highlight></codeline> <codeline lineno="231"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="232" refid="structbsd__disklabel_1a70038e5db15a12985955a06daa31b2b6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1a70038e5db15a12985955a06daa31b2b6" kindref="member">d_sparespertrack</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>of<sp/>spare<sp/>sectors<sp/>per<sp/>track<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="233" refid="structbsd__disklabel_1a66e9626c5aa0312540d253599483b6b6" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1a66e9626c5aa0312540d253599483b6b6" kindref="member">d_sparespercyl</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>of<sp/>spare<sp/>sectors<sp/>per<sp/>cylinder<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="234"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline> <codeline lineno="235"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>Alternate<sp/>cylinders<sp/>include<sp/>maintenance,<sp/>replacement,<sp/>configuration</highlight></codeline> <codeline lineno="236"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>description<sp/>areas,<sp/>etc.</highlight></codeline> <codeline lineno="237"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="238" refid="structbsd__disklabel_1abc2ad09a05d37bb1e6cbade401faea0f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1abc2ad09a05d37bb1e6cbade401faea0f" kindref="member">d_acylinders</ref>;<sp/></highlight><highlight class="comment">/*<sp/>#<sp/>of<sp/>alt.<sp/>cylinders<sp/>per<sp/>unit<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="239"><highlight class="normal"></highlight></codeline> <codeline lineno="240"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>hardware<sp/>characteristics:<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="241"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*</highlight></codeline> <codeline lineno="242"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>d_interleave,<sp/>d_trackskew<sp/>and<sp/>d_cylskew<sp/>describe<sp/>perturbations</highlight></codeline> <codeline lineno="243"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>in<sp/>the<sp/>media<sp/>format<sp/>used<sp/>to<sp/>compensate<sp/>for<sp/>a<sp/>slow<sp/>controller.</highlight></codeline> <codeline lineno="244"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>Interleave<sp/>is<sp/>physical<sp/>sector<sp/>interleave,<sp/>set<sp/>up<sp/>by<sp/>the</highlight></codeline> <codeline lineno="245"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>formatter<sp/>or<sp/>controller<sp/>when<sp/>formatting.<sp/><sp/>When<sp/>interleaving<sp/>is</highlight></codeline> <codeline lineno="246"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>in<sp/>use,<sp/>logically<sp/>adjacent<sp/>sectors<sp/>are<sp/>not<sp/>physically</highlight></codeline> <codeline lineno="247"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>contiguous,<sp/>but<sp/>instead<sp/>are<sp/>separated<sp/>by<sp/>some<sp/>number<sp/>of</highlight></codeline> <codeline lineno="248"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>sectors.<sp/><sp/>It<sp/>is<sp/>specified<sp/>as<sp/>the<sp/>ratio<sp/>of<sp/>physical<sp/>sectors</highlight></codeline> <codeline lineno="249"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>traversed<sp/>per<sp/>logical<sp/>sector.<sp/><sp/>Thus<sp/>an<sp/>interleave<sp/>of<sp/>1:1</highlight></codeline> <codeline lineno="250"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>implies<sp/>contiguous<sp/>layout,<sp/>while<sp/>2:1<sp/>implies<sp/>that<sp/>logical</highlight></codeline> <codeline lineno="251"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>sector<sp/>0<sp/>is<sp/>separated<sp/>by<sp/>one<sp/>sector<sp/>from<sp/>logical<sp/>sector<sp/>1.</highlight></codeline> <codeline lineno="252"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>d_trackskew<sp/>is<sp/>the<sp/>offset<sp/>of<sp/>sector<sp/>0<sp/>on<sp/>track<sp/>N<sp/>relative<sp/>to</highlight></codeline> <codeline lineno="253"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>sector<sp/>0<sp/>on<sp/>track<sp/>N-1<sp/>on<sp/>the<sp/>same<sp/>cylinder.<sp/><sp/>Finally,<sp/>d_cylskew</highlight></codeline> <codeline lineno="254"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>is<sp/>the<sp/>offset<sp/>of<sp/>sector<sp/>0<sp/>on<sp/>cylinder<sp/>N<sp/>relative<sp/>to<sp/>sector<sp/>0</highlight></codeline> <codeline lineno="255"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*<sp/>on<sp/>cylinder<sp/>N-1.</highlight></codeline> <codeline lineno="256"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="257" refid="structbsd__disklabel_1a08bc0c83a73009a0886aeadae13adf9f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1a08bc0c83a73009a0886aeadae13adf9f" kindref="member">d_rpm</ref>;<sp/></highlight><highlight class="comment">/*<sp/>rotational<sp/>speed<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="258" refid="structbsd__disklabel_1a9f251fc6b92836fc3df6fdcf5ada1eaf" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1a9f251fc6b92836fc3df6fdcf5ada1eaf" kindref="member">d_interleave</ref>;<sp/></highlight><highlight class="comment">/*<sp/>hardware<sp/>sector<sp/>interleave<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="259" refid="structbsd__disklabel_1a16886f26e50cfa69d6f8a83c3ec74d3f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1a16886f26e50cfa69d6f8a83c3ec74d3f" kindref="member">d_trackskew</ref>;<sp/></highlight><highlight class="comment">/*<sp/>sector<sp/>0<sp/>skew,<sp/>per<sp/>track<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="260" refid="structbsd__disklabel_1a8a1ea7da1a561dc09e78d9fd510cc9d7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1a8a1ea7da1a561dc09e78d9fd510cc9d7" kindref="member">d_cylskew</ref>;<sp/></highlight><highlight class="comment">/*<sp/>sector<sp/>0<sp/>skew,<sp/>per<sp/>cylinder<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="261" refid="structbsd__disklabel_1a758d7335edac5d43056ce33a70ee95fc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1a758d7335edac5d43056ce33a70ee95fc" kindref="member">d_headswitch</ref>;<sp/></highlight><highlight class="comment">/*<sp/>head<sp/>switch<sp/>time,<sp/>usec<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="262" refid="structbsd__disklabel_1ac39855e86b97beb97c29c5dc6d350925" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1ac39855e86b97beb97c29c5dc6d350925" kindref="member">d_trkseek</ref>;<sp/></highlight><highlight class="comment">/*<sp/>track-to-track<sp/>seek,<sp/>usec<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="263" refid="structbsd__disklabel_1acb64bf505493d09161d7f6c1d97a7583" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1acb64bf505493d09161d7f6c1d97a7583" kindref="member">d_flags</ref>;<sp/></highlight><highlight class="comment">/*<sp/>generic<sp/>flags<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="264" refid="hd_8h_1a24fef906c993a6511034377118497b67" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>NDDATA<sp/>5</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="265" refid="structbsd__disklabel_1a983e60d647e9af12ea24fa2f6e71163c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1a983e60d647e9af12ea24fa2f6e71163c" kindref="member">d_drivedata</ref>[<ref refid="hd_8h_1a24fef906c993a6511034377118497b67" kindref="member">NDDATA</ref>];<sp/></highlight><highlight class="comment">/*<sp/>drive-type<sp/>specific<sp/>information<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="266" refid="hd_8h_1aa7634e74ec4ca64b3a931b89c07ece15" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>NSPARE<sp/>5</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="267" refid="structbsd__disklabel_1affb4aec41b89db44d843e6e373119cb2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1affb4aec41b89db44d843e6e373119cb2" kindref="member">d_spare</ref>[<ref refid="hd_8h_1aa7634e74ec4ca64b3a931b89c07ece15" kindref="member">NSPARE</ref>];<sp/></highlight><highlight class="comment">/*<sp/>reserved<sp/>for<sp/>future<sp/>use<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="268" refid="structbsd__disklabel_1ae8b7d14f5218faedcabc8cdb9799f2b8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1ae8b7d14f5218faedcabc8cdb9799f2b8" kindref="member">d_magic2</ref>;<sp/></highlight><highlight class="comment">/*<sp/>the<sp/>magic<sp/>number<sp/>(again)<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="269" refid="structbsd__disklabel_1ac509dd0d343b76b9dc7dc75973219a7e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1ac509dd0d343b76b9dc7dc75973219a7e" kindref="member">d_checksum</ref>;<sp/></highlight><highlight class="comment">/*<sp/>xor<sp/>of<sp/>data<sp/>incl.<sp/>partitions<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="270"><highlight class="normal"></highlight></codeline> <codeline lineno="271"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>filesystem<sp/>and<sp/>partition<sp/>information:<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="272" refid="structbsd__disklabel_1a6a478db13de03d2384bbb5307be1e84c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1a6a478db13de03d2384bbb5307be1e84c" kindref="member">d_npartitions</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>partitions<sp/>in<sp/>following<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="273" refid="structbsd__disklabel_1a1ed085430e0760fd4e43dd563191f06f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1a1ed085430e0760fd4e43dd563191f06f" kindref="member">d_bbsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>size<sp/>of<sp/>boot<sp/>area<sp/>at<sp/>sn0,<sp/>bytes<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="274" refid="structbsd__disklabel_1aa9bcc5f28e778368ba4e701deaffc351" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1aa9bcc5f28e778368ba4e701deaffc351" kindref="member">d_sbsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>max<sp/>size<sp/>of<sp/>fs<sp/>superblock,<sp/>bytes<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="275" refid="structbsd__disklabel_1_1partition" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structbsd__disklabel_1_1partition" kindref="compound">partition</ref><sp/>{<sp/></highlight><highlight class="comment">/*<sp/>the<sp/>partition<sp/>table<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="276" refid="structbsd__disklabel_1_1partition_1ab41df34969d422568cb0cc184db3268a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1_1partition_1ab41df34969d422568cb0cc184db3268a" kindref="member">p_size</ref>;<sp/></highlight><highlight class="comment">/*<sp/>number<sp/>of<sp/>sectors<sp/>in<sp/>partition<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="277" refid="structbsd__disklabel_1_1partition_1a3af3d4070dabab2ce5df6f1bfbd5616a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1_1partition_1a3af3d4070dabab2ce5df6f1bfbd5616a" kindref="member">p_offset</ref>;<sp/></highlight><highlight class="comment">/*<sp/>starting<sp/>sector<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="278" refid="structbsd__disklabel_1_1partition_1afff3b0228a6c779a26706be5cc6ee177" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1a0238af00180b6d9278fa1c6aa790fdf4" kindref="member">uint32_t</ref><sp/><ref refid="structbsd__disklabel_1_1partition_1afff3b0228a6c779a26706be5cc6ee177" kindref="member">p_fsize</ref>;<sp/></highlight><highlight class="comment">/*<sp/>filesystem<sp/>basic<sp/>fragment<sp/>size<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="279" refid="structbsd__disklabel_1_1partition_1a234eea6a587c4d889251c2f07d982cef" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structbsd__disklabel_1_1partition_1a234eea6a587c4d889251c2f07d982cef" kindref="member">p_fstype</ref>;<sp/></highlight><highlight class="comment">/*<sp/>filesystem<sp/>type,<sp/>see<sp/>below<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="280" refid="structbsd__disklabel_1_1partition_1ad200bba4ef05cb1d2824c6b93092f711" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structbsd__disklabel_1_1partition_1ad200bba4ef05cb1d2824c6b93092f711" kindref="member">p_frag</ref>;<sp/></highlight><highlight class="comment">/*<sp/>filesystem<sp/>fragments<sp/>per<sp/>block<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="281" refid="structbsd__disklabel_1_1partition_1a26963c89dd04bf274c1f31b1d76dee89" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structbsd__disklabel_1_1partition_1a26963c89dd04bf274c1f31b1d76dee89" kindref="member">p_cpg</ref>;<sp/></highlight><highlight class="comment">/*<sp/>filesystem<sp/>cylinders<sp/>per<sp/>group<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="282"><highlight class="normal"><sp/><sp/><sp/><sp/>}<sp/><ref refid="structbsd__disklabel_1a60c26768f84bf0061c2436f29a2fdff0" kindref="member">d_partitions</ref>[<ref refid="hd_8h_1ab365aa9aae531413e33947aba3d079cc" kindref="member">MAXPARTITIONS</ref>];<sp/></highlight><highlight class="comment">/*<sp/>actually<sp/>may<sp/>be<sp/>more<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="283"><highlight class="normal">};</highlight></codeline> <codeline lineno="284"><highlight class="normal"></highlight></codeline> <codeline lineno="285"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*fstypenames[]<sp/>=<sp/>{<sp/></highlight><highlight class="stringliteral">"unused"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"swap"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"Version<sp/>6"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"Version<sp/>7"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"System<sp/>V"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"4.1BSD"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"Eighth<sp/>Edition"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"4.2BSD"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"MSDOS"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"4.4LFS"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"unknown"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"HPFS"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"ISO9660"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"boot"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"vinum"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"raid"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"?"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"?"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"?"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"?"</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">"jfs"</highlight><highlight class="normal">,<sp/><ref refid="fat__string_8h_1a070d2ce7b6bb7e5c05602aa8c308d0c4" kindref="member">NULL</ref><sp/>};</highlight></codeline> <codeline lineno="286"><highlight class="normal"></highlight></codeline> <codeline lineno="293" refid="hd_8h_1a70dabd7211309235d830502ca4e4a233" refkind="member"><highlight class="preprocessor">#define<sp/>ATA_IDENTIFY_SERIAL_NUMBER_LEN<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>20</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="294" refid="hd_8h_1af897b78424dea24fe6ed3822624661c4" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDENTIFY_MODEL_NUMBER_LEN<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>40</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="295" refid="hd_8h_1ab3e2fe915eede4a15f4fb70d1a429db0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDENTIFY_FW_REVISION_LEN<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>8</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="296" refid="hd_8h_1a16cf103c6e6aab48368708e46669d4c4" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDENTIFY_48_LBA_LEN<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>8</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="297" refid="hd_8h_1a528da6c2859aa349e0e3273524831021" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDENTIFY_MEDIA_SERIAL_NUMBER_LEN<sp/><sp/>30</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="298" refid="hd_8h_1aa1d53630f2ba132aa59ac959da7b41df" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ATA_IDENTIFY_WWN_LEN<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>8</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="299"><highlight class="normal"></highlight></codeline> <codeline lineno="300" refid="structata__identify__data" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structata__identify__data" kindref="compound">ata_identify_data</ref><sp/>{</highlight></codeline> <codeline lineno="301" refid="structata__identify__data_1abb7aa26957526f00dfc5843a156a0713" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1abb7aa26957526f00dfc5843a156a0713" kindref="member">general_config_bits</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>00</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="302" refid="structata__identify__data_1a78691299df9fdae2be4068dab68f579e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a78691299df9fdae2be4068dab68f579e" kindref="member">obsolete0</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>01<sp/>(num<sp/>cylinders)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="303" refid="structata__identify__data_1aeb591da11a8177a8aa1977ff1964b099" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aeb591da11a8177a8aa1977ff1964b099" kindref="member">vendor_specific_config_bits</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>02</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="304" refid="structata__identify__data_1a469786e3b04fa328f3ad5d3d2900a4c0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a469786e3b04fa328f3ad5d3d2900a4c0" kindref="member">obsolete1</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>03<sp/>(num<sp/>heads)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="305" refid="structata__identify__data_1a8489ab7977733ed16b24b7be75c14632" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a8489ab7977733ed16b24b7be75c14632" kindref="member">retired1</ref>[2];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>04-05</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="306" refid="structata__identify__data_1a7a3f31103036d5f32a87d4b7c3641953" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a7a3f31103036d5f32a87d4b7c3641953" kindref="member">obsolete2</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>06<sp/>(sectors<sp/>/<sp/>track)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="307" refid="structata__identify__data_1a696b646d5fb3703f202fe8f17c850895" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a696b646d5fb3703f202fe8f17c850895" kindref="member">reserved_for_compact_flash1</ref>[2];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>07-08</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="308" refid="structata__identify__data_1ab4908838e16b72f710180ab9f2fbe21a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ab4908838e16b72f710180ab9f2fbe21a" kindref="member">retired0</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>09</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="309" refid="structata__identify__data_1a389ba97f9f6e30043624ce3273606c0d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structata__identify__data_1a389ba97f9f6e30043624ce3273606c0d" kindref="member">serial_number</ref>[<ref refid="hd_8h_1a70dabd7211309235d830502ca4e4a233" kindref="member">ATA_IDENTIFY_SERIAL_NUMBER_LEN</ref>];<sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/>10-19</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="310" refid="structata__identify__data_1ad6ce02f920a7b19e664a35c463f755ff" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ad6ce02f920a7b19e664a35c463f755ff" kindref="member">retired2</ref>[2];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>20-21</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="311" refid="structata__identify__data_1aa69b6cdbf05f36142a6b1414f1ff1a2c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aa69b6cdbf05f36142a6b1414f1ff1a2c" kindref="member">obsolete4</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>22</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="312" refid="structata__identify__data_1a7a71ee70d92f99602a82710f9212f547" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structata__identify__data_1a7a71ee70d92f99602a82710f9212f547" kindref="member">firmware_revision</ref>[<ref refid="hd_8h_1ab3e2fe915eede4a15f4fb70d1a429db0" kindref="member">ATA_IDENTIFY_FW_REVISION_LEN</ref>];<sp/></highlight><highlight class="comment">//<sp/>words<sp/>23-26</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="313" refid="structata__identify__data_1a663595b0f265729364f6159237269397" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structata__identify__data_1a663595b0f265729364f6159237269397" kindref="member">model_number</ref>[<ref refid="hd_8h_1af897b78424dea24fe6ed3822624661c4" kindref="member">ATA_IDENTIFY_MODEL_NUMBER_LEN</ref>];<sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>27-46</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="314" refid="structata__identify__data_1a86cda317899575d1c8ab2058c798744d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a86cda317899575d1c8ab2058c798744d" kindref="member">max_sectors_per_multiple</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>47</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="315" refid="structata__identify__data_1a3686d4c12cf22efc0ae91e64daa6f774" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a3686d4c12cf22efc0ae91e64daa6f774" kindref="member">reserved0</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>48</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="316" refid="structata__identify__data_1a9da82a370fedb4a074b40f192f0434a1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a9da82a370fedb4a074b40f192f0434a1" kindref="member">capabilities1</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>49</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="317" refid="structata__identify__data_1ad1786f04c478d88a9705689f64334e5f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ad1786f04c478d88a9705689f64334e5f" kindref="member">capabilities2</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>50</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="318" refid="structata__identify__data_1ad39670c5f767b60a329794f12063ca7d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ad39670c5f767b60a329794f12063ca7d" kindref="member">obsolete5</ref>[2];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>51-52</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="319" refid="structata__identify__data_1a0a0f0323efb421b710dd6e95b8666499" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a0a0f0323efb421b710dd6e95b8666499" kindref="member">validity_bits</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>53</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="320" refid="structata__identify__data_1a1e0d86ee6de02f1a031fcbe9f387ea7f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a1e0d86ee6de02f1a031fcbe9f387ea7f" kindref="member">obsolete6</ref>[5];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>54-58<sp/>Used<sp/>to<sp/>be:</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="321"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>current<sp/>cylinders,</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="322"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>current<sp/>heads,</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="323"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>current<sp/>sectors/Track,</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="324"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>current<sp/>capacity</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="325" refid="structata__identify__data_1a231d45b8d368a6c31092a321f3f0fc41" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a231d45b8d368a6c31092a321f3f0fc41" kindref="member">current_max_sectors_per_multiple</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>59</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="326" refid="structata__identify__data_1a3266c97773cfa9f7d047f84c4fb13a33" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structata__identify__data_1a3266c97773cfa9f7d047f84c4fb13a33" kindref="member">total_num_sectors</ref>[4];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>60-61</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="327" refid="structata__identify__data_1aafa69b3043331e1fa08e52ef8846328f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aafa69b3043331e1fa08e52ef8846328f" kindref="member">obsolete7</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>62</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="328" refid="structata__identify__data_1ab3fefeda591fd6becda55625168f9515" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ab3fefeda591fd6becda55625168f9515" kindref="member">multi_word_dma_mode</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>63</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="329" refid="structata__identify__data_1aa726b38c4d8565f69a0e026959868fdb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aa726b38c4d8565f69a0e026959868fdb" kindref="member">pio_modes_supported</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>64</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="330" refid="structata__identify__data_1aa8283775ac11757880f0c4095a1edd58" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aa8283775ac11757880f0c4095a1edd58" kindref="member">min_multiword_dma_transfer_cycle</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>65</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="331" refid="structata__identify__data_1a47ecb0b335cfebef7207b594fb69e316" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a47ecb0b335cfebef7207b594fb69e316" kindref="member">rec_min_multiword_dma_transfer_cycle</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>66</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="332" refid="structata__identify__data_1afb63df569d908d8f8cd38b844efe0f23" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1afb63df569d908d8f8cd38b844efe0f23" kindref="member">min_pio_transfer_no_flow_ctrl</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>67</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="333" refid="structata__identify__data_1a019af69c8c4b76c1d505bf90200abb57" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a019af69c8c4b76c1d505bf90200abb57" kindref="member">min_pio_transfer_with_flow_ctrl</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>68</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="334" refid="structata__identify__data_1a2401e80ff98fee0baf84ff0cfc183ecf" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a2401e80ff98fee0baf84ff0cfc183ecf" kindref="member">additional_supported</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>69</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="335" refid="structata__identify__data_1ab56651deb14233173827564b82227d7d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ab56651deb14233173827564b82227d7d" kindref="member">reserved1</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>70</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="336" refid="structata__identify__data_1a9c1c8decb454522098fbebfc15a75fa4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a9c1c8decb454522098fbebfc15a75fa4" kindref="member">reserved2</ref>[4];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>71-74</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="337" refid="structata__identify__data_1ae6386ee60f4927f887bb028461acee14" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ae6386ee60f4927f887bb028461acee14" kindref="member">queue_depth</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>75</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="338" refid="structata__identify__data_1ac0e57e51075017de148dcb0898ea3683" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ac0e57e51075017de148dcb0898ea3683" kindref="member">serial_ata_capabilities</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>76</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="339" refid="structata__identify__data_1a2385ca40d7d10279b1efa26749ee60ef" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a2385ca40d7d10279b1efa26749ee60ef" kindref="member">serial_ata_reserved</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>77</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="340" refid="structata__identify__data_1aeac22b24158e88c39edc5d070749c5e2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aeac22b24158e88c39edc5d070749c5e2" kindref="member">serial_ata_features_supported</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>78</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="341" refid="structata__identify__data_1a0cbf2ef38110fad53efe8dbbb0add56b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a0cbf2ef38110fad53efe8dbbb0add56b" kindref="member">serial_ata_features_enabled</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>79</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="342" refid="structata__identify__data_1a38db5334523c28f375401bd4744d0a86" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a38db5334523c28f375401bd4744d0a86" kindref="member">major_version_number</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>80</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="343" refid="structata__identify__data_1a0b0a98db1958b08c604a51323a8c0c77" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a0b0a98db1958b08c604a51323a8c0c77" kindref="member">minor_version_number</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>81</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="344" refid="structata__identify__data_1a7612fbad3530aebe17cf16fce99e2e45" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a7612fbad3530aebe17cf16fce99e2e45" kindref="member">command_set_supported0</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>82</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="345" refid="structata__identify__data_1ac06e939435b0107d09da8ad55d406e9a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ac06e939435b0107d09da8ad55d406e9a" kindref="member">command_set_supported1</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>83</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="346" refid="structata__identify__data_1a6c2ed844c2cdd10000a4a43ce1503eae" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a6c2ed844c2cdd10000a4a43ce1503eae" kindref="member">command_set_supported_extention</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>84</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="347" refid="structata__identify__data_1a5dd97b9f1d1347f287221ef613ad15fe" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a5dd97b9f1d1347f287221ef613ad15fe" kindref="member">command_set_enabled0</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>85</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="348" refid="structata__identify__data_1a4545653f06a4195a75edcd29001cb701" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a4545653f06a4195a75edcd29001cb701" kindref="member">command_set_enabled1</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>86</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="349" refid="structata__identify__data_1ac2724b0b9824970afc5db3618cba6425" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ac2724b0b9824970afc5db3618cba6425" kindref="member">command_set_default</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>87</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="350" refid="structata__identify__data_1a8e509f292b8038ccab9ed9dd5067613c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a8e509f292b8038ccab9ed9dd5067613c" kindref="member">ultra_dma_mode</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>88</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="351" refid="structata__identify__data_1a1f7ea6b9c29e67c2320bc32e2be5a2b3" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a1f7ea6b9c29e67c2320bc32e2be5a2b3" kindref="member">security_erase_completion_time</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>89</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="352" refid="structata__identify__data_1a736597694b758257819f856aa307de69" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a736597694b758257819f856aa307de69" kindref="member">enhanced_security_erase_time</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>90</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="353" refid="structata__identify__data_1a24d4408925d1ff7f5efb692717c36f16" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a24d4408925d1ff7f5efb692717c36f16" kindref="member">current_power_mgmt_value</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>91</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="354" refid="structata__identify__data_1abaa004108403f46631af8993f470c41c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1abaa004108403f46631af8993f470c41c" kindref="member">master_password_revision</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>92</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="355" refid="structata__identify__data_1a19bead2c3f2d39f085c8cf4a965d4ebc" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a19bead2c3f2d39f085c8cf4a965d4ebc" kindref="member">hardware_reset_result</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>93</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="356" refid="structata__identify__data_1a4afe7c7dc840fabaaed226ec9ee3b11a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a4afe7c7dc840fabaaed226ec9ee3b11a" kindref="member">current_acoustic_management_value</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>94</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="357" refid="structata__identify__data_1a7da7af190be1c772d34376590d4137b4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a7da7af190be1c772d34376590d4137b4" kindref="member">stream_min_request_size</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>95</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="358" refid="structata__identify__data_1a6846b8cbdf15e78226a473b890186b5e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a6846b8cbdf15e78226a473b890186b5e" kindref="member">stream_transfer_time</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>96</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="359" refid="structata__identify__data_1aa3a039798e6b19d58e7e2d90394e5986" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aa3a039798e6b19d58e7e2d90394e5986" kindref="member">stream_access_latency</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>97</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="360" refid="structata__identify__data_1a328ba5927447d33b6e94dabc85e86850" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a328ba5927447d33b6e94dabc85e86850" kindref="member">stream_performance_granularity</ref>[2];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>98-99</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="361" refid="structata__identify__data_1a4edac4a696a504c5625395bb6c9833b9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structata__identify__data_1a4edac4a696a504c5625395bb6c9833b9" kindref="member">max_48bit_lba</ref>[<ref refid="hd_8h_1a16cf103c6e6aab48368708e46669d4c4" kindref="member">ATA_IDENTIFY_48_LBA_LEN</ref>];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>100-103</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="362" refid="structata__identify__data_1ab3cc8a9a3e2ba2af5a172d405e8c499c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ab3cc8a9a3e2ba2af5a172d405e8c499c" kindref="member">streaming_transfer_time</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>104</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="363" refid="structata__identify__data_1a6317944095cded8f78bed0e41da83c92" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a6317944095cded8f78bed0e41da83c92" kindref="member">max_lba_range_entry_blocks</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>105</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="364" refid="structata__identify__data_1ace8f3708a348109394cdebd41180f7a0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ace8f3708a348109394cdebd41180f7a0" kindref="member">physical_logical_sector_info</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>106</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="365" refid="structata__identify__data_1a73fcc627ba448a3bbdff736c1d0204f2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a73fcc627ba448a3bbdff736c1d0204f2" kindref="member">acoustic_test_interseek_delay</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>107</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="366" refid="structata__identify__data_1a180bc3df06dcfe880b6f44c9464c42b0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structata__identify__data_1a180bc3df06dcfe880b6f44c9464c42b0" kindref="member">world_wide_name</ref>[<ref refid="hd_8h_1aa1d53630f2ba132aa59ac959da7b41df" kindref="member">ATA_IDENTIFY_WWN_LEN</ref>];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>108-111</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="367" refid="structata__identify__data_1a9544c176675931b1d8d0480c080f9fc5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structata__identify__data_1a9544c176675931b1d8d0480c080f9fc5" kindref="member">reserved_for_wwn_extention</ref>[<ref refid="hd_8h_1aa1d53630f2ba132aa59ac959da7b41df" kindref="member">ATA_IDENTIFY_WWN_LEN</ref>];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>112-115</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="368" refid="structata__identify__data_1a9e0702d4cd468bd7231b1f82c7f238af" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a9e0702d4cd468bd7231b1f82c7f238af" kindref="member">reserved4</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>116</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="369" refid="structata__identify__data_1ae17c108776507b4a3f9d50dcb0d8fa50" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1ac7c42f52639b9aca7da966a0783996d7" kindref="member">u_int8_t</ref><sp/><ref refid="structata__identify__data_1ae17c108776507b4a3f9d50dcb0d8fa50" kindref="member">words_per_logical_sector</ref>[4];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>117-118</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="370" refid="structata__identify__data_1afef1c988d412b45cd5fff9641111c4c9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1afef1c988d412b45cd5fff9641111c4c9" kindref="member">command_set_supported2</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>119</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="371" refid="structata__identify__data_1a9cc1e29954156af50f8bc3ff70649ecd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a9cc1e29954156af50f8bc3ff70649ecd" kindref="member">reserved5</ref>[7];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>120-126</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="372" refid="structata__identify__data_1aec0276d3cab05d7b2218ceaefee6cc73" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aec0276d3cab05d7b2218ceaefee6cc73" kindref="member">removable_media_status</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>127</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="373" refid="structata__identify__data_1ab1e94a7ff4c25fb11360b1a209e6ca35" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ab1e94a7ff4c25fb11360b1a209e6ca35" kindref="member">security_status</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>128</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="374" refid="structata__identify__data_1a5e83aa9a7416a9604b16e7e47b5e94cb" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a5e83aa9a7416a9604b16e7e47b5e94cb" kindref="member">vendor_specific1</ref>[31];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>129-159</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="375" refid="structata__identify__data_1a58639c4d2438b5a0b680e8fec7f38d3a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a58639c4d2438b5a0b680e8fec7f38d3a" kindref="member">cfa_power_mode1</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>160</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="376" refid="structata__identify__data_1a85fbc2a760069d76ec1dbb0c5e637f3e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a85fbc2a760069d76ec1dbb0c5e637f3e" kindref="member">reserved_for_compact_flash2</ref>[7];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>161-167</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="377" refid="structata__identify__data_1a377568c3c56bd103f3a5fc4f54ecfa3d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a377568c3c56bd103f3a5fc4f54ecfa3d" kindref="member">device_nominal_form_factor</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>168</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="378" refid="structata__identify__data_1a3df83cd09b2d93ab42c90978ad5a46b4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a3df83cd09b2d93ab42c90978ad5a46b4" kindref="member">data_set_management</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>169</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="379" refid="structata__identify__data_1a43f87366bc0ccf8c76ebc9d9fc1f1f94" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a43f87366bc0ccf8c76ebc9d9fc1f1f94" kindref="member">reserved_for_compact_flash3</ref>[6];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>170-175</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="380" refid="structata__identify__data_1ad4c327445553d21b280a66c7223fb161" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ad4c327445553d21b280a66c7223fb161" kindref="member">current_media_serial_number</ref>[<ref refid="hd_8h_1a528da6c2859aa349e0e3273524831021" kindref="member">ATA_IDENTIFY_MEDIA_SERIAL_NUMBER_LEN</ref>];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//words<sp/>176-205</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="381" refid="structata__identify__data_1a755296b1396dc0c663789e76a75a7e7a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a755296b1396dc0c663789e76a75a7e7a" kindref="member">reserved6</ref>[3];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>206-208</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="382" refid="structata__identify__data_1aaa6fe6d81c6b940e3ab92581d05e4d31" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aaa6fe6d81c6b940e3ab92581d05e4d31" kindref="member">logical_sector_alignment</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>209</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="383" refid="structata__identify__data_1aaed4d24fcda72ac9649ef2af469cd983" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1aaed4d24fcda72ac9649ef2af469cd983" kindref="member">reserved7</ref>[7];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>210-216</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="384" refid="structata__identify__data_1ad85db2641ecdb69544b284bca7dcdc41" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ad85db2641ecdb69544b284bca7dcdc41" kindref="member">nominal_media_rotation_rate</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>217</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="385" refid="structata__identify__data_1a795f243f82a1545d4c7976db3c628f9b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a795f243f82a1545d4c7976db3c628f9b" kindref="member">reserved8</ref>[16];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>218-233</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="386" refid="structata__identify__data_1a8ea3121f3c3afb17678b69bf6c56c9af" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a8ea3121f3c3afb17678b69bf6c56c9af" kindref="member">min_num_blocks_per_microcode</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>234</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="387" refid="structata__identify__data_1a5370eccbdcafb09cf0eaefff03ac3b8e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a5370eccbdcafb09cf0eaefff03ac3b8e" kindref="member">max_num_blocks_per_microcode</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>235</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="388" refid="structata__identify__data_1ad9d29c1d383698c45b16b60d2193e688" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1ad9d29c1d383698c45b16b60d2193e688" kindref="member">reserved9</ref>[19];<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>words<sp/>236-254</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="389" refid="structata__identify__data_1a71c7799e8ce587ed9f70a00b7d1dcd2e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="include_2sys_2types_8h_1af7b042408b9b104606f8a9b5035329f3" kindref="member">u_int16_t</ref><sp/><ref refid="structata__identify__data_1a71c7799e8ce587ed9f70a00b7d1dcd2e" kindref="member">integrity_word</ref>;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>word<sp/><sp/>255</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="390"><highlight class="normal">};</highlight></codeline> <codeline lineno="391"><highlight class="normal"></highlight></codeline> <codeline lineno="392"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline> <codeline lineno="393"><highlight class="comment"><sp/>*<sp/>A<sp/>list<sp/>of<sp/>partition<sp/>types,<sp/>probably<sp/>outdated.</highlight></codeline> <codeline lineno="394"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="395"><highlight class="normal"></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>part_types[256]<sp/>=<sp/>{</highlight></codeline> <codeline lineno="396"><highlight class="normal"><sp/><sp/>[0x00]<sp/>=<sp/></highlight><highlight class="stringliteral">"unused"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="397"><highlight class="normal"><sp/><sp/>[0x01]<sp/>=<sp/></highlight><highlight class="stringliteral">"Primary<sp/>DOS<sp/>with<sp/>12<sp/>bit<sp/>FAT"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="398"><highlight class="normal"><sp/><sp/>[0x02]<sp/>=<sp/></highlight><highlight class="stringliteral">"XENIX<sp/>/<sp/>file<sp/>system"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="399"><highlight class="normal"><sp/><sp/>[0x03]<sp/>=<sp/></highlight><highlight class="stringliteral">"XENIX<sp/>/usr<sp/>file<sp/>system"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="400"><highlight class="normal"><sp/><sp/>[0x04]<sp/>=<sp/></highlight><highlight class="stringliteral">"Primary<sp/>DOS<sp/>with<sp/>16<sp/>bit<sp/>FAT<sp/>(<<sp/>32MB)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="401"><highlight class="normal"><sp/><sp/>[0x05]<sp/>=<sp/></highlight><highlight class="stringliteral">"Extended<sp/>DOS"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="402"><highlight class="normal"><sp/><sp/>[0x06]<sp/>=<sp/></highlight><highlight class="stringliteral">"Primary<sp/>DOS,<sp/>16<sp/>bit<sp/>FAT<sp/>(>=<sp/>32MB)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="403"><highlight class="normal"><sp/><sp/>[0x07]<sp/>=<sp/></highlight><highlight class="stringliteral">"NTFS,<sp/>OS/2<sp/>HPFS,<sp/>QNX-2<sp/>(16<sp/>bit)<sp/>or<sp/>Advanced<sp/>UNIX"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="404"><highlight class="normal"><sp/><sp/>[0x08]<sp/>=<sp/></highlight><highlight class="stringliteral">"AIX<sp/>file<sp/>system<sp/>or<sp/>SplitDrive"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="405"><highlight class="normal"><sp/><sp/>[0x09]<sp/>=<sp/></highlight><highlight class="stringliteral">"AIX<sp/>boot<sp/>partition<sp/>or<sp/>Coherent"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="406"><highlight class="normal"><sp/><sp/>[0x0A]<sp/>=<sp/></highlight><highlight class="stringliteral">"OS/2<sp/>Boot<sp/>Manager,<sp/>OPUS<sp/>or<sp/>Coherent<sp/>swap"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="407"><highlight class="normal"><sp/><sp/>[0x0B]<sp/>=<sp/></highlight><highlight class="stringliteral">"DOS<sp/>or<sp/>Windows<sp/>95<sp/>with<sp/>32<sp/>bit<sp/>FAT"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="408"><highlight class="normal"><sp/><sp/>[0x0C]<sp/>=<sp/></highlight><highlight class="stringliteral">"DOS<sp/>or<sp/>Windows<sp/>95<sp/>with<sp/>32<sp/>bit<sp/>FAT<sp/>(LBA)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="409"><highlight class="normal"><sp/><sp/>[0x0E]<sp/>=<sp/></highlight><highlight class="stringliteral">"Primary<sp/>'big'<sp/>DOS<sp/>(>=<sp/>32MB,<sp/>LBA)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="410"><highlight class="normal"><sp/><sp/>[0x0F]<sp/>=<sp/></highlight><highlight class="stringliteral">"Extended<sp/>DOS<sp/>(LBA)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="411"><highlight class="normal"><sp/><sp/>[0x10]<sp/>=<sp/></highlight><highlight class="stringliteral">"OPUS"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="412"><highlight class="normal"><sp/><sp/>[0x11]<sp/>=<sp/></highlight><highlight class="stringliteral">"OS/2<sp/>BM:<sp/>hidden<sp/>DOS<sp/>with<sp/>12-bit<sp/>FAT"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="413"><highlight class="normal"><sp/><sp/>[0x12]<sp/>=<sp/></highlight><highlight class="stringliteral">"Compaq<sp/>diagnostics"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="414"><highlight class="normal"><sp/><sp/>[0x14]<sp/>=<sp/></highlight><highlight class="stringliteral">"OS/2<sp/>BM:<sp/>hidden<sp/>DOS<sp/>with<sp/>16-bit<sp/>FAT<sp/>(<<sp/>32MB)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="415"><highlight class="normal"><sp/><sp/>[0x16]<sp/>=<sp/></highlight><highlight class="stringliteral">"OS/2<sp/>BM:<sp/>hidden<sp/>DOS<sp/>with<sp/>16-bit<sp/>FAT<sp/>(>=<sp/>32MB)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="416"><highlight class="normal"><sp/><sp/>[0x17]<sp/>=<sp/></highlight><highlight class="stringliteral">"OS/2<sp/>BM:<sp/>hidden<sp/>IFS<sp/>(e.g.<sp/>HPFS)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="417"><highlight class="normal"><sp/><sp/>[0x18]<sp/>=<sp/></highlight><highlight class="stringliteral">"AST<sp/>Windows<sp/>swapfile"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="418"><highlight class="normal"><sp/><sp/>[0x1b]<sp/>=<sp/></highlight><highlight class="stringliteral">"ASUS<sp/>Recovery<sp/>partition<sp/>(NTFS)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="419"><highlight class="normal"><sp/><sp/>[0x24]<sp/>=<sp/></highlight><highlight class="stringliteral">"NEC<sp/>DOS"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="420"><highlight class="normal"><sp/><sp/>[0x3C]<sp/>=<sp/></highlight><highlight class="stringliteral">"PartitionMagic<sp/>recovery"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="421"><highlight class="normal"><sp/><sp/>[0x39]<sp/>=<sp/></highlight><highlight class="stringliteral">"plan9"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="422"><highlight class="normal"><sp/><sp/>[0x40]<sp/>=<sp/></highlight><highlight class="stringliteral">"VENIX<sp/>286"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="423"><highlight class="normal"><sp/><sp/>[0x41]<sp/>=<sp/></highlight><highlight class="stringliteral">"Linux/MINIX<sp/>(sharing<sp/>disk<sp/>with<sp/>DRDOS)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="424"><highlight class="normal"><sp/><sp/>[0x42]<sp/>=<sp/></highlight><highlight class="stringliteral">"SFS<sp/>or<sp/>Linux<sp/>swap<sp/>(sharing<sp/>disk<sp/>with<sp/>DRDOS)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="425"><highlight class="normal"><sp/><sp/>[0x43]<sp/>=<sp/></highlight><highlight class="stringliteral">"Linux<sp/>native<sp/>(sharing<sp/>disk<sp/>with<sp/>DRDOS)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="426"><highlight class="normal"><sp/><sp/>[0x4D]<sp/>=<sp/></highlight><highlight class="stringliteral">"QNX<sp/>4.2<sp/>Primary"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="427"><highlight class="normal"><sp/><sp/>[0x4E]<sp/>=<sp/></highlight><highlight class="stringliteral">"QNX<sp/>4.2<sp/>Secondary"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="428"><highlight class="normal"><sp/><sp/>[0x4F]<sp/>=<sp/></highlight><highlight class="stringliteral">"QNX<sp/>4.2<sp/>Tertiary"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="429"><highlight class="normal"><sp/><sp/>[0x50]<sp/>=<sp/></highlight><highlight class="stringliteral">"DM<sp/>(disk<sp/>manager)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="430"><highlight class="normal"><sp/><sp/>[0x51]<sp/>=<sp/></highlight><highlight class="stringliteral">"DM6<sp/>Aux1<sp/>(or<sp/>Novell)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="431"><highlight class="normal"><sp/><sp/>[0x52]<sp/>=<sp/></highlight><highlight class="stringliteral">"CP/M<sp/>or<sp/>Microport<sp/>SysV/AT"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="432"><highlight class="normal"><sp/><sp/>[0x53]<sp/>=<sp/></highlight><highlight class="stringliteral">"DM6<sp/>Aux3"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="433"><highlight class="normal"><sp/><sp/>[0x54]<sp/>=<sp/></highlight><highlight class="stringliteral">"DM6"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="434"><highlight class="normal"><sp/><sp/>[0x55]<sp/>=<sp/></highlight><highlight class="stringliteral">"EZ-Drive<sp/>(disk<sp/>manager)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="435"><highlight class="normal"><sp/><sp/>[0x56]<sp/>=<sp/></highlight><highlight class="stringliteral">"Golden<sp/>Bow<sp/>(disk<sp/>manager)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="436"><highlight class="normal"><sp/><sp/>[0x5c]<sp/>=<sp/></highlight><highlight class="stringliteral">"Priam<sp/>Edisk<sp/>(disk<sp/>manager)"</highlight><highlight class="normal">,<sp/></highlight><highlight class="comment">/*<sp/>according<sp/>to<sp/>S.<sp/>Widlake<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="437"><highlight class="normal"><sp/><sp/>[0x61]<sp/>=<sp/></highlight><highlight class="stringliteral">"SpeedStor"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="438"><highlight class="normal"><sp/><sp/>[0x63]<sp/>=<sp/></highlight><highlight class="stringliteral">"System<sp/>V/386<sp/>(such<sp/>as<sp/>ISC<sp/>UNIX),<sp/>GNU<sp/>HURD<sp/>or<sp/>Mach"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="439"><highlight class="normal"><sp/><sp/>[0x64]<sp/>=<sp/></highlight><highlight class="stringliteral">"Novell<sp/>Netware/286<sp/>2.xx"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="440"><highlight class="normal"><sp/><sp/>[0x65]<sp/>=<sp/></highlight><highlight class="stringliteral">"Novell<sp/>Netware/386<sp/>3.xx"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="441"><highlight class="normal"><sp/><sp/>[0x70]<sp/>=<sp/></highlight><highlight class="stringliteral">"DiskSecure<sp/>Multi-Boot"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="442"><highlight class="normal"><sp/><sp/>[0x75]<sp/>=<sp/></highlight><highlight class="stringliteral">"PCIX"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="443"><highlight class="normal"><sp/><sp/>[0x77]<sp/>=<sp/></highlight><highlight class="stringliteral">"QNX4.x"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="444"><highlight class="normal"><sp/><sp/>[0x78]<sp/>=<sp/></highlight><highlight class="stringliteral">"QNX4.x<sp/>2nd<sp/>part"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="445"><highlight class="normal"><sp/><sp/>[0x79]<sp/>=<sp/></highlight><highlight class="stringliteral">"QNX4.x<sp/>3rd<sp/>part"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="446"><highlight class="normal"><sp/><sp/>[0x80]<sp/>=<sp/></highlight><highlight class="stringliteral">"Minix<sp/>until<sp/>1.4a"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="447"><highlight class="normal"><sp/><sp/>[0x81]<sp/>=<sp/></highlight><highlight class="stringliteral">"Minix<sp/>since<sp/>1.4b,<sp/>early<sp/>Linux<sp/>partition<sp/>or<sp/>Mitac<sp/>disk<sp/>manager"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="448"><highlight class="normal"><sp/><sp/>[0x82]<sp/>=<sp/></highlight><highlight class="stringliteral">"Linux<sp/>swap<sp/>or<sp/>Solaris<sp/>x86"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="449"><highlight class="normal"><sp/><sp/>[0x83]<sp/>=<sp/></highlight><highlight class="stringliteral">"Linux<sp/>native"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="450"><highlight class="normal"><sp/><sp/>[0x84]<sp/>=<sp/></highlight><highlight class="stringliteral">"OS/2<sp/>hidden<sp/>C:<sp/>drive"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="451"><highlight class="normal"><sp/><sp/>[0x85]<sp/>=<sp/></highlight><highlight class="stringliteral">"Linux<sp/>extended"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="452"><highlight class="normal"><sp/><sp/>[0x86]<sp/>=<sp/></highlight><highlight class="stringliteral">"NTFS<sp/>volume<sp/>set??"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="453"><highlight class="normal"><sp/><sp/>[0x87]<sp/>=<sp/></highlight><highlight class="stringliteral">"NTFS<sp/>volume<sp/>set??"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="454"><highlight class="normal"><sp/><sp/>[0x93]<sp/>=<sp/></highlight><highlight class="stringliteral">"Amoeba<sp/>file<sp/>system"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="455"><highlight class="normal"><sp/><sp/>[0x94]<sp/>=<sp/></highlight><highlight class="stringliteral">"Amoeba<sp/>bad<sp/>block<sp/>table"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="456"><highlight class="normal"><sp/><sp/>[0x9F]<sp/>=<sp/></highlight><highlight class="stringliteral">"BSD/OS"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="457"><highlight class="normal"><sp/><sp/>[0xA0]<sp/>=<sp/></highlight><highlight class="stringliteral">"Suspend<sp/>to<sp/>Disk"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="458"><highlight class="normal"><sp/><sp/>[0xA5]<sp/>=<sp/></highlight><highlight class="stringliteral">"FreeBSD/NetBSD/386BSD"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="459"><highlight class="normal"><sp/><sp/>[0xA6]<sp/>=<sp/></highlight><highlight class="stringliteral">"OpenBSD"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="460"><highlight class="normal"><sp/><sp/>[0xA7]<sp/>=<sp/></highlight><highlight class="stringliteral">"NeXTSTEP"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="461"><highlight class="normal"><sp/><sp/>[0xA9]<sp/>=<sp/></highlight><highlight class="stringliteral">"NetBSD"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="462"><highlight class="normal"><sp/><sp/>[0xAC]<sp/>=<sp/></highlight><highlight class="stringliteral">"IBM<sp/>JFS"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="463"><highlight class="normal"><sp/><sp/>[0xAF]<sp/>=<sp/></highlight><highlight class="stringliteral">"HFS+"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="464"><highlight class="normal"><sp/><sp/>[0xB7]<sp/>=<sp/></highlight><highlight class="stringliteral">"BSDI<sp/>BSD/386<sp/>file<sp/>system"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="465"><highlight class="normal"><sp/><sp/>[0xB8]<sp/>=<sp/></highlight><highlight class="stringliteral">"BSDI<sp/>BSD/386<sp/>swap"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="466"><highlight class="normal"><sp/><sp/>[0xBE]<sp/>=<sp/></highlight><highlight class="stringliteral">"Solaris<sp/>x86<sp/>boot"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="467"><highlight class="normal"><sp/><sp/>[0xBF]<sp/>=<sp/></highlight><highlight class="stringliteral">"Solaris<sp/>x86<sp/>(new)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="468"><highlight class="normal"><sp/><sp/>[0xC1]<sp/>=<sp/></highlight><highlight class="stringliteral">"DRDOS/sec<sp/>with<sp/>12-bit<sp/>FAT"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="469"><highlight class="normal"><sp/><sp/>[0xC4]<sp/>=<sp/></highlight><highlight class="stringliteral">"DRDOS/sec<sp/>with<sp/>16-bit<sp/>FAT<sp/>(<<sp/>32MB)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="470"><highlight class="normal"><sp/><sp/>[0xC6]<sp/>=<sp/></highlight><highlight class="stringliteral">"DRDOS/sec<sp/>with<sp/>16-bit<sp/>FAT<sp/>(>=<sp/>32MB)"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="471"><highlight class="normal"><sp/><sp/>[0xC7]<sp/>=<sp/></highlight><highlight class="stringliteral">"Syrinx"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="472"><highlight class="normal"><sp/><sp/>[0xDB]<sp/>=<sp/></highlight><highlight class="stringliteral">"CP/M,<sp/>Concurrent<sp/>CP/M,<sp/>Concurrent<sp/>DOS<sp/>or<sp/>CTOS"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="473"><highlight class="normal"><sp/><sp/>[0xDE]<sp/>=<sp/></highlight><highlight class="stringliteral">"DELL<sp/>Utilities<sp/>-<sp/>FAT<sp/>filesystem"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="474"><highlight class="normal"><sp/><sp/>[0xE1]<sp/>=<sp/></highlight><highlight class="stringliteral">"DOS<sp/>access<sp/>or<sp/>SpeedStor<sp/>with<sp/>12-bit<sp/>FAT<sp/>extended<sp/>partition"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="475"><highlight class="normal"><sp/><sp/>[0xE3]<sp/>=<sp/></highlight><highlight class="stringliteral">"DOS<sp/>R/O<sp/>or<sp/>SpeedStor"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="476"><highlight class="normal"><sp/><sp/>[0xE4]<sp/>=<sp/></highlight><highlight class="stringliteral">"SpeedStor<sp/>with<sp/>16-bit<sp/>FAT<sp/>extended<sp/>partition<sp/><<sp/>1024<sp/>cyl."</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="477"><highlight class="normal"><sp/><sp/>[0xEB]<sp/>=<sp/></highlight><highlight class="stringliteral">"BeOS<sp/>file<sp/>system"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="478"><highlight class="normal"><sp/><sp/>[0xEE]<sp/>=<sp/></highlight><highlight class="stringliteral">"EFI<sp/>GPT"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="479"><highlight class="normal"><sp/><sp/>[0xEF]<sp/>=<sp/></highlight><highlight class="stringliteral">"EFI<sp/>System<sp/>Partition"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="480"><highlight class="normal"><sp/><sp/>[0xF1]<sp/>=<sp/></highlight><highlight class="stringliteral">"SpeedStor"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="481"><highlight class="normal"><sp/><sp/>[0xF2]<sp/>=<sp/></highlight><highlight class="stringliteral">"DOS<sp/>3.3+<sp/>Secondary"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="482"><highlight class="normal"><sp/><sp/>[0xF4]<sp/>=<sp/></highlight><highlight class="stringliteral">"SpeedStor<sp/>large<sp/>partition"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="483"><highlight class="normal"><sp/><sp/>[0xFB]<sp/>=<sp/></highlight><highlight class="stringliteral">"VMware<sp/>VMFS"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="484"><highlight class="normal"><sp/><sp/>[0xFE]<sp/>=<sp/></highlight><highlight class="stringliteral">"SpeedStor<sp/>>1024<sp/>cyl.<sp/>or<sp/>LANstep"</highlight><highlight class="normal">,</highlight></codeline> <codeline lineno="485"><highlight class="normal"><sp/><sp/>[0xFF]<sp/>=<sp/></highlight><highlight class="stringliteral">"Xenix<sp/>bad<sp/>blocks<sp/>table"</highlight><highlight class="normal">,<sp/>};</highlight></codeline> <codeline lineno="486"><highlight class="normal"></highlight></codeline> <codeline lineno="487"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/pci/hd.h"/> </compounddef> </doxygen>