Page 2 - ii; Points of Contact
T13/2132-D Revision 3 June 23, 2010 ii Working Draft Enhanced Disk Drive - 4 (EDD-4) Points of Contact T13h Chair T13h Vice-Chair Dan Colgrove Jim Hatfield Hitachi Global Storage Technologies Seagate Technology 2903 Carmelo Dr 389 Disc Drive Henderson, NV 89502 Longmont CO 80503 Tel: 702-614-6119 Te...
Page 3 - iii; Secretariat; Information Technology Industry Council; American National Standards Institute, Inc.; ABSTRACT; Draft
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) iii Secretariat Information Technology Industry Council Approved mm.dd.yy American National Standards Institute, Inc. ABSTRACT This standard describes services currently in use on IA-32 and IA-64 compatible architectur...
Page 4 - iv; Published by
T13/2132-D Revision 3 June 23, 2010 iv Working Draft Enhanced Disk Drive - 4 (EDD-4) Published by American National Standards Institute11 W. 42nd Street, New York, New York 10036 Copyright © 2007 by Information Technology Industry Council (ITI).All rights reserved. No part of this publication may by...
Page 5 - e09102r3 Adds a Trusted Computing INT 13h BIOS function
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) v Document Status The text which is highlighted in green may affect backward compatibility. New Capabilities added to EDD-4 Revision History Rev Date Description 0 January 21, 2009 1) Used ACS-2r1 as the template for t...
Page 6 - Contents; Page
T13/2132-D Revision 3 June 23, 2010 vi Working Draft Enhanced Disk Drive - 4 (EDD-4) Contents Page Points of Contact.................................................................................................................................................... ii Document Status ...................
Page 7 - vii
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) vii 7 CD/DVD Boot ................................................................................................................................................... 19 7.1 Overview .......................................
Page 8 - viii
T13/2132-D Revision 3 June 23, 2010 viii Working Draft Enhanced Disk Drive - 4 (EDD-4) A.2 GPT support for hybrid MBR boot code ................................................................................................. 71A.3 Hybrid MBR boot code ..................................................
Page 9 - ix; Tables
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) ix Tables Page Table 1 - Approved ANSI References.................................................................................................................... 3Table 2 - References Under Development ...............
Page 10 - Figures
T13/2132-D Revision 3 June 23, 2010 x Working Draft Enhanced Disk Drive - 4 (EDD-4) Figures Page Figure 1 - ATA document relationships................................................................................................................ 2Figure 2 - Byte, word, DWord and QWord relationships...
Page 11 - xi; Foreword; Introduction
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) xi Foreword Foreword (This foreword is not part of American National Standard NCITS.xxx-200x) DOS accesses its mass storage devices using an INT13h programming interface provided by BIOS firmware to higher-level softwa...
Page 12 - xii
T13/2132-D Revision 3 June 23, 2010 xii Working Draft Enhanced Disk Drive - 4 (EDD-4) Clause 7 is CD/DVD BootingClause 8 is INT 13h function definitionsClause 9 is INT 15H Removable Media Eject FunctionsAnnex A describes Hybrid MBR boot Windows is a registered trademark of Microsoft Corporation in t...
Page 13 - Scope; method for storing the additional configuration parameters
AMERICAN NATIONAL STANDARD BSR INCITS xxx-200x American National Standard for Information Technology – Enhanced Disk Drive - 4 (EDD-4) Working Draft Enhanced Disk Drive - 4 (EDD-4) 1 1 Scope This standard assumes that the reader is familiar with the conventional INT 13h interface, the usage of the B...
Page 14 - Figure 1 — ATA document relationships; la
T13/2132-D Revision 3 June 23, 2010 2 Working Draft Enhanced Disk Drive - 4 (EDD-4) The set of AT Attachment standards consists of this standard and the ATA implementation standards described in AT Attachment - 8 ATA/ATAPI Architecture Model (ATA8-AAM). Enhance Disk Drive - 4 (EDD-4) specifies a com...
Page 15 - Table 1 — Approved ANSI References; Volume and File Structure of CD-ROM For Information Interchange
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 3 2 Normative references 2.1 General The standards list in 2.2, 2.3, and 2.4 contain provisions that, through reference in the text, constitute provisions of this standard. At the time of publication, the editions indi...
Page 16 - References under development; These standards and specifications are also referenced.; Table 2 — References Under Development
T13/2132-D Revision 3 June 23, 2010 4 Working Draft Enhanced Disk Drive - 4 (EDD-4) 2.3 References under development At the time of publication, the referenced standards were still under development. For information on the current status of the document, or regarding availability, contact the releva...
Page 17 - An AT Attachment (also known as IDE) is a storage device that; Hybrid MBR boot code:; IA-32 compatible code located in the MBR that processes the GPT; Hybrid VBR boot code:
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 5 3 Definitions, abbreviations, and conventions 3.1 Definitions and abbreviations 3.1.1 ATA (AT Attachment) device: An AT Attachment (also known as IDE) is a storage device that conforms to an ATA standard. 3.1.2 BDA: ...
Page 18 - Symbols and abbreviations; A logical address or geometry is used to address a device by an; disk; The disk layout traditionally used by BIOS based systems.; Memory; A pointer where the lowest order three bits are 000b.; Floppy; The first LBA in a bootable partition.; Abbreviation Meaning
T13/2132-D Revision 3 June 23, 2010 6 Working Draft Enhanced Disk Drive - 4 (EDD-4) 3.2 Symbols and abbreviations 3.3 Conventions 3.3.1 Overview Lowercase is used for words having the normal English language meaning. Certain words and terms used in this standard have a specific meaning beyond the no...
Page 21 - and; Table 3 — Numbering conventions
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 9 number representations to increase readability or delineate field boundaries (e.g., B FD8C FA23h or B_FD8C_FA23h). A decimal number is represented in this standard by any sequence of digits consisting of only the Ara...
Page 24 - Overview; Figure 3 — System Component Diagram; Host Bus
T13/2132-D Revision 3 June 23, 2010 12 Working Draft Enhanced Disk Drive - 4 (EDD-4) 4 Overview In the past, DOS has accessed its mass storage devices using a BIOS provided INT 13h interface. This interface was designed in the early 1980's and upgraded in the late 1980's. The maximum capacity that c...
Page 26 - Ch Obsolete
T13/2132-D Revision 3 June 23, 2010 14 Working Draft Enhanced Disk Drive - 4 (EDD-4) The following conventional functions shown in table 7 are documented in this standard: Table 7 — Conventional Function Definitions Function a Description 00h Reset disk subsystem (see 8.2)01h Get status of last oper...
Page 29 - INT 13h Interface Subsets; Obsolete
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 17 6.3 Removable Media The distinction between "removable" disks numbered 00h through 7Fh and "fixed" disks numbered 80h through FFh differs from conventional INT 13h functions. Devices numbered 0 throu...
Page 32 - Figure 5 — Boot CD or DVD with a single boot image; System Area; Boot Catalog
T13/2132-D Revision 3 June 23, 2010 20 Working Draft Enhanced Disk Drive - 4 (EDD-4) Figure 5 Describes a CD or DVD with an Initial/Default Entry but no section or additional boot images. This format is common for CD's or DVD's that are used for installing an operating system. Figure 5 — Boot CD or ...
Page 33 - Figure 6 — Boot CD or DVD with multiple boot images
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 21 Figure 6 illustrates a multi-session CD or DVD with several boot images. This type of CD or DVD may be used in a recovery environment that has several different system types. The Initial/Default entry could be a pro...
Page 40 - Section Entry Extension; Offset Type; 5h Shall be cleared to zero if this is the final extension
T13/2132-D Revision 3 June 23, 2010 28 Working Draft Enhanced Disk Drive - 4 (EDD-4) 7.3.7 Section Entry Extension Section Entry Extensions may follow Section Entries. Section Entry Extensions provide more space for selection criteria when the 13h bytes provided by the Section Entry are insufficient...
Page 41 - INT 13h Function Definitions
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 29 8 INT 13h Function Definitions 8.1 Overview These function definitions include conventional, extended, and CD/DVD functions. The functions are differentiated by their function numbers and register usage. The extende...
Page 44 - Bit Description
T13/2132-D Revision 3 June 23, 2010 32 Working Draft Enhanced Disk Drive - 4 (EDD-4) 8.4 Read Sectors into Memory (FN 02h) This function shall be used to read data from the device into the host memory buffer beginning at the location specified by the contents of the ES:BX registers. If the command t...
Page 50 - Value Description
T13/2132-D Revision 3 June 23, 2010 38 Working Draft Enhanced Disk Drive - 4 (EDD-4) 8.10 Get Disk Type (FN 15h) This function shall be used to find the device type. This function is called by some versions of DOS during the boot process. Entry AH 15h DL BIOS device number Exit Carry Clear Function ...
Page 67 - 0-11 Word BIOS selected hardware specific option flags; 1 Ultra DMA accessing enabled; Table 25 — Device parameter table extension
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 55 8.20.4.1 Offset 0-1 - I/O port base This word is the 16-bit address in I/O space of the data register in the ATA Command Block. Any application that provides a proprietary interface to the device may use this base a...
Page 69 - 1b Vendor specific translation
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 57 8.20.4.9.10 Bits 9-10 - translation type If bit 3 is cleared to zero then this field shall be ignored and shall be zero. If bit 3 is set to one then this field identifies the geometric translation shown in table 26....
Page 73 - Table 27 — CD Specification Packet
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 61 14-15 Word Sector Count. This field is only used for booting (INT 13h FN 4Ch). The sector count is the number of emulated sectors to load, starting at the load segment (see offset 12-13) during the initial boot proc...
Page 79 - Byte
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 67 This PSS shall add transport specific information (e.g., header information and CRC) and modify the CDB where necessary with bus specific information. If the secondary bus is a hot-plug bus such as 1394 or USB, the ...
Page 82 - INT 15h Removable Media Eject
T13/2132-D Revision 3 June 23, 2010 70 Working Draft Enhanced Disk Drive - 4 (EDD-4) 9 INT 15h Removable Media Eject This function shall be called by the BIOS in response to a software request (INT 13h, AH=46h, Eject Device) to eject media from a removable media device. A user may press an eject but...
Page 83 - Figure A.1 — GPT disk layout with hybrid MBR boot code example
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 71 Annex A (informative) Hybrid MBR boot A.1 Hybrid MBR boot overview This annex describes how MBR boot code called hybrid MBR boot code may be constructed to support a GPT disk layout (see UEFI-2.3) in a legacy BIOS s...
Page 84 - A.3 Hybrid MBR boot code
T13/2132-D Revision 3 June 23, 2010 72 Working Draft Enhanced Disk Drive - 4 (EDD-4) Figure A.2 shows an example of a GPT disk layout with hybrid MBR boot code on a disk with an ending LBA greater than FFFF_FFFFh. The MBR partition record is not able to describe the LBAs above FFFF_FFFFh. Figure A.2...
Page 85 - A.4 Hybrid MBR boot code endeavor procedure
June 23, 2010 T13/2132-D Revision 3 Working Draft Enhanced Disk Drive - 4 (EDD-4) 73 9) set the IA-32 registers according to the hybrid MBR boot code hand over procedure (see A.4) and jump to 7C00h. NOTE 4 — In contrast, legacy MBR boot code searches the MBR Partition Records for a partition with th...
Page 86 - A.5 Hybrid VBR boot code
T13/2132-D Revision 3 June 23, 2010 74 Working Draft Enhanced Disk Drive - 4 (EDD-4) A.5 Hybrid VBR boot code Hybrid VBR boot code is responsible for booting the OS, and is usually OS-specific. If EAX is set to "!GPT", then hybrid VBR boot code uses the GPT Partition Entry field to identify ...