Western Digital manual T13/2132-D Revision June 23 Keywords, Numbering

Page 20

T13/2132-D Revision 3

June 23, 2010

3.3.4 Keywords

Several keywords are used to differentiate between different levels of requirements and options.

3.3.4.1expected: A keyword used to describe the behavior of the hardware or software in the design models assumed by this standard. Other hardware and software design models may also be implemented.

3.3.4.2mandatory: A keyword indicating items to be implemented as defined by this standard.

3.3.4.3may: A keyword that indicates flexibility of choice with no implied preference.

3.3.4.4N/A: A keyword that indicates a field is not applicable and has no defined value and should not be checked by the host or device.

3.3.4.5obsolete: A keyword indicating that the designated bits, bytes, words, fields, and code values that may have been defined in previous standards are not defined in this standard and shall not be reclaimed for other uses in future standards. However, some degree of functionality may be required for items desig- nated as “obsolete” to provide for backward compatibility.

Obsolete commands should not be used by the host. Commands defined as obsolete may be command aborted by devices conforming to this standard. However, if a device does not return command aborted for an obsolete command, then the device shall return command completion for the command.

3.3.4.6optional: A keyword that describes features that are not required by this standard. However, if any optional feature defined by the standard is implemented, the feature shall be implemented in the way defined by the standard.

3.3.4.7prohibited: A keyword indicating that an item shall not be implemented by an implementation.

3.3.4.8reserved: A keyword indicating reserved bits, bytes, words, fields, and code values that are set aside for future standardization. Their use and interpretation may be specified by future extensions to this or other standards. A reserved bit, byte, word, or field shall be cleared to zero, or in accordance with a future extension to this standard. The recipient shall not check reserved bits, bytes, words, or fields. Receipt of reserved code values in defined fields shall be treated as a command parameter error and reported by returning command aborted.

3.3.4.9retired: A keyword indicating that the designated bits, bytes, words, fields, and code values that had been defined in previous standards are not defined in this standard and may be reclaimed for other uses in future standards. If retired bits, bytes, words, fields, or code values are used before they are reclaimed, they shall have the meaning or functionality as described in previous standards.

3.3.4.10shall: A keyword indicating a mandatory requirement. Designers are required to implement all such mandatory requirements to ensure interoperability with other products that conform to this standard.

3.3.4.11should: A keyword indicating flexibility of choice with a strongly preferred alternative. Equivalent to the phrase “it is recommended”.

3.3.5 Numbering

A binary number is represented in this standard by any sequence of digits consisting of only the Western-Arabic numerals 0 and 1 immediately followed by a lower-case b (e.g., 0101b). Underscores or spaces may be included between characters in binary number representations to increase readability or delineate field boundaries (e.g., 0 0101 1010b or 0_0101_1010b).

A hexadecimal number is represented in this standard by any sequence of digits consisting of only the Western-Arabic numerals 0 through 9 and/or the upper-case English letters A through F immediately followed by a lower-case h (e.g., FA23h). Underscores or spaces may be included between characters in hexadecimal

8

Working Draft Enhanced Disk Drive - 4 (EDD-4)

Image 20
Contents Information technology Enhanced Disk Drive 4 EDD-4 Revision June 23Working Draft Enhanced Disk Drive 4 EDD-4 Points of ContactT13/2132-D Revision 3June 23 Draft June 23 T13/2132-D RevisionAmerican National Standard T13/2132-D Revision June 23Document Status New Capabilities added to EDD-4Contents Working Draft Enhanced Disk Drive 4 EDD-4 Vii Viii Working Draft Enhanced Disk Drive 4 EDD-4 Tables Output ParametersFigures Foreword IntroductionXii Working Draft Enhanced Disk Drive 4 EDD-4 American National Standard for Information Technology ScopeBSR Incits ATA8-APT ATA8-AST Approved Ansi References Name Normative references GeneralApproved references References Under Development Name Project Number References under developmentOther references June 23 T13/2132-D Revision Symbols and abbreviations Master Boot Record MBR The first LBA on a diskConventions Abbreviation MeaningPrecedence Lists Lists overviewUnordered lists Ordered listsT13/2132-D Revision June 23 Keywords NumberingRegister and CF Contents Interrupt Services and FunctionsNumbering conventions French English This standard Bit conventionsByte Word at offset nDWord at word offset n QWord at word offset nATA string byte swapping Word Byte Character in string ATA firmware revision exampleWord Byte ValueOverview 8GB INT 13h Functions Conventional Functions Conventional Register DefinitionsRegister Description Bit DescriptionConventional Function Definitions Function a Description 8GB INT 13h Functions Overview Data StructureExtended Function Definitions Function DescriptionT13/2132-D Revision June 23 Device Address Packet Offset Fixed Disk Access Subset Fixed Disk Access Function CodeRemovable Media INT 13h Interface SubsetsEDD Support Function Code Locking and Ejecting Function CodeEnhanced Disk Drive EDD Support Subset CD/DVD Boot Overview ISO 9660 CD Layout Working Draft Enhanced Disk Drive 4 EDD-4System Area Unused Boot Methods Emulation ProcessNo Emulation Boot Floppy BootHard Drive Boot Floppy Geometries Type Cylinders Heads SectorsCD/DVD Format Boot Volume Descriptor BVDBoot Volume Descriptor T13/2132-D Revision June 23 Validation Entry Offset Type DescriptionJune 23 T13/2132-D Revision Initial/Default Entry Section Header00h Byte Header ID June 23 T13/2132-D Revision Section Entry Type DescriptionT13/2132-D Revision June 23 Section Entry Extension INT 13h Function Definitions Overview Reset Disk Subsystem FN 00h Get Status of Last Operation FN 01h Read Sectors into Memory FN 02h Write Sectors From Memory FN 03h Verify Sectors FN 04h Get Drive Parameters FN 08h Read Buffer FN 0Eh Write Buffer FN 0Fh Get Disk Type FN 15h Value DescriptionSet Media Type FN 18h Park Heads FN 19h Identify Device Information FN 25h Check Extensions Present FN 41h Interface Support Bit Map DescriptionExtended Read FN 42h Extended Write FN 43h Verify Sectors FN 44h Lock/Unlock Media FN 45h Eject Removable Media FN 46h Get Device Parameters FN 48h Result BufferAscii T13/2132-D Revision June 23 Interface Path Interface Path Definitions part 1 Host Bus Type OffsetDefinition Device Path00h ATA Device 01h 02h..FFh Reserved Byte Word DWord QWord Byte Port number Device parameter table extension Offset 5 Bios use only Bios use only Offset 6 IRQ number Offset 7 READ/WRITE Multiple command block countOffset 0-1 I/O port base Offset 2-3 control port baseOffset 10-11 Bios selected hardware specific option flags Bit 7 32-bit transfer modeBit 8 Atapi device uses command packet interrupt Offset 9 PIO typeBit 13h 48-bit LBA addressing enabled June 23 T13/2132-D Revision Bits 9-10 translation typeTranslation Type Bits Description Bit 11 Ultra DMAGet Extended Media Change Status FN 49h Initiate Disk Emulation FN 4Ah Value Emulation Working Draft Enhanced Disk Drive 4 EDD-4 Terminate Disk Emulation FN 4Bh Initiate Disk Emulation & Boot FN 4Ch Return Boot Catalog FN 4Dh CD Command PacketSet Hardware Configuration FN 4Eh Hardware Configuration Sub-FunctionsSend Packet Command FN 50h Formatted Command Packet Offset Type DescriptionFormatted Protocol Specific Data T13/2132-D Revision June 23 Output Parameters Security Protocol Commands FN 51h INT 15h Removable Media Eject Annex a Hybrid MBR boot Hybrid MBR boot overviewGPT support for hybrid MBR boot code Hybrid MBR boot code Hybrid MBR boot code endeavor procedure EAXHybrid VBR boot code