Western Digital T13/2132-D User Manual
Western Digital T13/2132-D User Manual

Western Digital T13/2132-D User Manual

Western digital computer drive user manual
Table of Contents

Advertisement

Quick Links

Working Draft Project
American National
Standard
Information technology -
Enhanced Disk Drive - 4 (EDD-4)
This is a draft proposed American National Standard of Accredited Standards Committee INCITS. As such this is
not a completed standard. The T13h Technical Committee may modify this document as a result of comments
received during public review and its approval as a standard. Use of the information contained here in is at your
own risk.
Permission is granted to members of INCITS, its technical committees, and their associated task groups to
reproduce this document for the purposes of INCITS standardization activities without further permission,
provided this notice is included. All other rights are reserved. Any commercial or for-profit replication or
republication is prohibited.
T13h Technical Editor:
Curtis E. Stevens
Western Digital Technologies, Inc.
20511 Lake Forest Dr.
Lake Forest, Ca. 92630
USA
Telephone:949-672-7933
Email: Curtis.Stevens@wdc.com
T13/2132-D
Revision 3
June 23, 2010
Reference number
ISO/IEC xxxx-xxx:200x
ANSI INCITS xxx-200x

Advertisement

Table of Contents
loading

Summary of Contents for Western Digital T13/2132-D

  • Page 1 All other rights are reserved. Any commercial or for-profit replication or republication is prohibited. T13h Technical Editor: Curtis E. Stevens Western Digital Technologies, Inc. 20511 Lake Forest Dr. Lake Forest, Ca. 92630 Telephone:949-672-7933 Email: Curtis.Stevens@wdc.com...
  • Page 2: Points Of Contact

    T13/2132-D Revision 3 Points of Contact T13h Chair Dan Colgrove Hitachi Global Storage Technologies 2903 Carmelo Dr Henderson, NV 89502 Tel: 702-614-6119 Fax: 702-614-7955 INCITS Secretariat INCITS Secretariat 1250 Eye Street, NW Suite 200 Washington, DC 20005 Email: INCITS@ITIC.ORG T13h Reflector See the T13h Web Site at http://www.t13h.org for reflector information.
  • Page 3 CD or DVD bootable; b) INT 13h services used to access devices <8GB; and c) addressing information for Infiniband, Serial ATA, Hypertransport, and PCI Express Working Draft Enhanced Disk Drive - 4 (EDD-4) Draft ABSTRACT Draft T13/2132-D Revision 3 O, and...
  • Page 4 T13/2132-D Revision 3 American Approval of an American National Standard requires verification by ANSI that the requirements for due process, consensus, and other criteria for approval have been met by National the standards developer. Consensus is established when, in the judgment of the ANSI...
  • Page 5: Document Status

    2) Performed a spell check 3) Normalized periods to followed by 2 spaces. 4) Incorporate e09127r3 1) Corrected links that were not hot 2) Removed cut and paste artifacts from 2 notes in Annex A Integrated Proposal List T13/2132-D Revision 3...
  • Page 6: Table Of Contents

    T13/2132-D Revision 3 Contents Points of Contact...ii Document Status ...v New Capabilities added to EDD-4 ...v Contents...vi Tables ...ix Figures ...x Foreword ...xi Introduction ...xi 1 Scope ... 1 2 Normative references ... 3 2.1 General ... 3 2.2 Approved references ... 3 2.3 References under development ...
  • Page 7 8.28 Security Protocol Commands (FN 51h) ... 69 9 INT 15h Removable Media Eject ... 70 Annex A (informative) Hybrid MBR boot ... 71 A.1 Hybrid MBR boot overview ... 71 Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 8 T13/2132-D Revision 3 A.2 GPT support for hybrid MBR boot code ... 71 A.3 Hybrid MBR boot code ... 72 A.4 Hybrid MBR boot code endeavor procedure ... 73 A.5 Hybrid VBR boot code ... 74 viii Working Draft Enhanced Disk Drive - 4 (EDD-4)
  • Page 9: Tables

    June 23, 2010 T13/2132-D Revision 3 Tables Page Table 1 - Approved ANSI References... 3 Table 2 - References Under Development ... 4 Table 3 - Numbering conventions ... 9 Table 4 - ATA string byte swapping ... 11 Table 5 - ATA firmware revision example ... 11 Table 6 - Conventional Register Definitions...
  • Page 10 T13/2132-D Revision 3 June 23, 2010 Figures Page Figure 1 - ATA document relationships... 2 Figure 2 - Byte, word, DWord and QWord relationships ... 10 Figure 3 - System Component Diagram ... 12 Figure 4 - ISO 9660 CD Layout ... 19 Figure 5 - Boot CD or DVD with a single boot image...
  • Page 11: Foreword

    Clause 4 is the overview. Clause 5 is INT 13h functions limited to 8GB if disk addressing. Clause 6 is INT 13h functions not limited to 8GB of disk addressing. Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 12 T13/2132-D Revision 3 Clause 7 is CD/DVD Booting Clause 8 is INT 13h function definitions Clause 9 is INT 15H Removable Media Eject Functions Annex A describes Hybrid MBR boot Windows is a registered trademark of Microsoft Corporation in the United States and/or other countries.
  • Page 13: Scope

    AMERICAN NATIONAL STANDARD Enhanced Disk Drive - 4 (EDD-4) 1 Scope This standard assumes that the reader is familiar with the conventional INT 13h interface, the usage of the BIOS Device Parameter Table, and the basic operation of mass storage devices. This standard describes in detail BIOS functions and data structures that are used as an abstraction layer to allow higher-level applications to access mass storage devices in an interface and command-set independent manner.
  • Page 14: Figure 1 - Ata Document Relationships

    T13/2132-D Revision 3 June 23, 2010 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 common set of procedures used to access or boot storage devices. Figure 1 shows the relationship of this standard to the other standards and related projects in the ATA and SCSI families of standards and specifications.
  • Page 15: Normative References

    Extended Unique Identifier, 64-bit (EUI-64) IEEE Standard for a High Performance Serial Bus Working Draft Enhanced Disk Drive - 4 (EDD-4) Table 1 — Approved ANSI References Name T13/2132-D Revision 3 Reference ISO 9660-1988 INCITS 424-2007 INCITS 433-2006 INCITS 452-2009...
  • Page 16: References Under Development

    T13/2132-D Revision 3 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 relevant standards body or other organization as indicated in table 2.
  • Page 17: Definitions, Abbreviations, And Conventions

    28-bit addressing, this method of addressing allows a maximum sector address of 2 -1, or 137.4 GB of data on an ATA device. See CHS for another address method. Working Draft Enhanced Disk Drive - 4 (EDD-4) ® ® 3.11, and Windows T13/2132-D Revision 3 ®...
  • Page 18: Symbols And Abbreviations

    T13/2132-D Revision 3 3.1.22 Logical Address/Geometry: A logical address or geometry is used to address a device by an application, such as DOS, using the INT 13h interface. INT 13h FN 8 returns the logical geometry of the device. 3.1.23 Master Boot Record (MBR): The first LBA on a disk.
  • Page 19: Precedence

    1) Remove the contents from the box; 2) Assemble the item; A) Use a screwdriver to tighten the screws; and B) Use a wrench to tighten the bolts; 3) Take a break. Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 20: Keywords

    T13/2132-D Revision 3 3.3.4 Keywords Several keywords are used to differentiate between different levels of requirements and options. 3.3.4.1 expected: 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.
  • Page 21: Bit Conventions

    INT XXh FN YYh where XXh is the interrupts service number and YYh is the number of the function that is performed by the service. Working Draft Enhanced Disk Drive - 4 (EDD-4) Table 3 — Numbering conventions English 3.14159265 1,000 1,323,462.95 T13/2132-D Revision 3 This standard 3.141 592 65 1 000 1 323 462.95...
  • Page 22: Byte, Word, Dword, And Qword Relationships

    T13/2132-D Revision 3 3.3.10 Byte, word, DWord, and QWord Relationships Figure 2 illustrates the relationship between bytes, words, DWords, and QWords. Byte Word at offset n DWord at word offset n 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16...
  • Page 23: Table 4 - Ata String Byte Swapping

    Table 5 — ATA firmware revision example Value Byte Value 62h (i.e., ‘b’) 61h (i.e., ‘a’) 64h (i.e., ‘d’) 63h (i.e., ‘c’) 66h (i.e., ‘f’) 65h (i.e., ‘e’) 20h (i.e., ‘ ’, the space character) 67h (i.e., ‘g’) T13/2132-D Revision 3...
  • Page 24: Overview

    T13/2132-D Revision 3 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 can be addressed by this Applications Program Interface (API) on a disk drive is 8.4 GB.
  • Page 25: <8Gb Int 13H Functions (Conventional Functions)

    Commands that move data from the device to memory shall use this pointer as the destination for the data. Commands that move data from memory to the device shall use this pointer as the source for the data to be transferred. Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3 Description...
  • Page 26: Table 7 - Conventional Function Definitions

    T13/2132-D Revision 3 The following conventional functions shown in table 7 are documented in this standard: Table 7 — Conventional Function Definitions Function 00h Reset disk subsystem (see 8.2) 01h Get status of last operation (see 8.3) 02h Read Sectors into memory (see 8.4) 03h Write sectors from memory (see 8.5)
  • Page 27: >8Gb Int 13H Functions

    The data structure for the INT 13h extensions shall be the device address packet. INT 13h converts addressing information in the device address packet to default parameters appropriate to the media. Table 9 defines the device address packet. Working Draft Enhanced Disk Drive - 4 (EDD-4) Table 8 — Extended Function Definitions Description T13/2132-D Revision 3...
  • Page 28: Table 9 - Device Address Packet

    T13/2132-D Revision 3 Offset Type Byte Packet size in bytes. The value in this field shall be 16 (10h) or greater. If the packet size is less than 16 the request shall be rejected with CF = 1b and AH = 01h.
  • Page 29: Removable Media

    Valid Eject Request Failed Media Present but Read Protected Table 11 — Fixed Disk Access Function Check Extensions Present (see 8.14) Extended Read (see 8.15) Extended Write (see 8.16) Verify Sectors (see 8.17) Obsolete Get Device Parameters (see 8.20) T13/2132-D Revision 3 Code...
  • Page 30: Device Locking And Ejecting Subset

    T13/2132-D Revision 3 6.4.3 Device Locking and Ejecting Subset These functions support software control of media locking and ejecting (see table 12). The INT 15h Removable Media Eject Intercept (see clause 9) 6.4.4 Enhanced Disk Drive (EDD) Support Subset These functions provide EDD support (see table 13).
  • Page 31: Cd/Dvd Boot

    ISO-9660 compliant drivers. Figure 4 shows a standard ISO-9660 image overview. Sector 16 Working Draft Enhanced Disk Drive - 4 (EDD-4) System Area (Unused) Volume Descriptors Area 1 (Could be files) Area 2 (Could be music) Unused Figure 4 — ISO 9660 CD Layout T13/2132-D Revision 3...
  • Page 32: Figure 5 - Boot Cd Or Dvd With A Single Boot Image

    T13/2132-D Revision 3 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. Sector 16 Sector 17 Figure 5 —...
  • Page 33: Boot Methods

    Set Terminator Volume Descriptor Area 1 (Could be files) Boot Catalog Validation Entry Initial/Default Entry Section Header Boot Image 1 Boot Image 2 Boot Image 3 Boot Image 3 Area 2 Boot Image 1 Initial/Default Disk Image T13/2132-D Revision 3...
  • Page 34: No Emulation Boot

    T13/2132-D Revision 3 that is on the floppy or hard disk drive (HDD) shall be packed four sectors of data to each sector on the CD or DVD. This packing shall be performed in a linear fashion so that floppy or HDD sectors zero through three become the first sector in the image on the CD or DVD.
  • Page 35: Cd/Dvd Format

    00h ("EL TORITO SPECIFICATION" padded to the right with zeros). 27h-46h Byte Reserved 47h-4Ah DWord Absolute pointer to the first sector of the boot catalog 4Bh-7FFh Byte Reserved Working Draft Enhanced Disk Drive - 4 (EDD-4) Table 15 — Boot Volume Descriptor Description T13/2132-D Revision 3...
  • Page 36: Validation Entry

    T13/2132-D Revision 3 7.3.3 Validation Entry The first entry in the boot catalog is a validation entry. The validation entry shall be used to determine that a valid boot catalog is on the disk and to determine the manufacturer of the CD. If this entry is valid, the remainder of the boot catalog should be valid.
  • Page 37: Initial/Default Entry

    A good example of a section would be to identify a specific language for the Working Draft Enhanced Disk Drive - 4 (EDD-4) Table 17 — Initial/Default Entry Description ID Description 0 No Emulation 1 1.2MB diskette 2 1.44MB diskette 3 2.88MB diskette 4 Hard Drive T13/2132-D Revision 3...
  • Page 38: Table 18 - Section Header

    T13/2132-D Revision 3 boot images. Another example of a section would be to identify a specific model and manufacturer of a PC. This would allow the PC to boot software specific to the system. Table 18 describes the section header.
  • Page 39: Section Entry

    The following formats are currently assigned: Type Description 00h No selection criteria 01h Language and version information (IBM format) 02h-FFh Reserved 0Dh-1Fh Byte Selection Criteria Working Draft Enhanced Disk Drive - 4 (EDD-4) Table 19 — Section Entry Description T13/2132-D Revision 3...
  • Page 40: Section Entry Extension

    T13/2132-D Revision 3 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. There may be one or more extensions following each Section Entry.
  • Page 41: Int 13H Function Definitions

    June 23, 2010 T13/2132-D Revision 3 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 extended functions use DS:SI as a pointer to a command packet.
  • Page 42: Reset Disk Subsystem (Fn 00H)

    T13/2132-D Revision 3 8.2 Reset Disk Subsystem (FN 00h) This function shall be used to reset all the devices controlled by the INT 13h interface. Entry AH 00h DL BIOS device number Exit Carry Clear Function completed without error AH Shall be cleared to zero...
  • Page 43: Get Status Of Last Operation (Fn 01H)

    AL shall be set to the status of the last INT 13h operation Carry Set The Get Status of Last Operation function completed with an error AH Shall be set to the error code Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 44: Read Sectors Into Memory (Fn 02H)

    T13/2132-D Revision 3 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 transfers some of the data and then returns a failure, carry is set, the buffer pointed to by ES:BX shall contain the partial data transfer, and AH shall contain an error code.
  • Page 45: Write Sectors From Memory (Fn 03H)

    AH Shall be cleared to zero AL Number of sectors written Carry Set Function completed with an error AH Shall be set to the error code AL Vendor Specific Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 46: Verify Sectors (Fn 04H)

    T13/2132-D Revision 3 8.6 Verify Sectors (FN 04h) This function shall be used to check the sectors in the specified range on the device for errors. No data is transferred between the host and device by this command. Entry AH 04h...
  • Page 47: Get Drive Parameters (Fn 08H)

    ES:DI Vendor Specific Carry Set Function completed with an error AH Shall be set to the error code Working Draft Enhanced Disk Drive - 4 (EDD-4) Bit Description 7:6 high order 2 bits of the cylinder 5:0 sector number T13/2132-D Revision 3...
  • Page 48: Read Buffer (Fn 0Eh)

    T13/2132-D Revision 3 8.8 Read Buffer (FN 0Eh) This function shall be used to read 512 bytes of data from the specified device's sector buffer. Entry AH 0Eh DL BIOS device number ES:BX Pointer to destination buffer in memory Exit...
  • Page 49: Write Buffer (Fn 0Fh)

    ES:BX Pointer to source buffer in memory Exit Carry Clear Function completed without error AH Shall be cleared to zero Carry Set Function completed with an error AH Shall be set to the error code Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 50: Get Disk Type (Fn 15H)

    T13/2132-D Revision 3 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...
  • Page 51: Set Media Type (Fn 18H)

    Carry Set Function completed with an error AH Shall be set to the error code NOTE 2 — This function does not set the number of heads Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 52: Park Heads (Fn 19H)

    T13/2132-D Revision 3 8.12 Park Heads (FN 19h) This function shall be used to park the device heads. Entry AH 19h DL BIOS device number Exit Carry Clear Function completed without error AH Shall be cleared to zero Carry Set Function completed with an error...
  • Page 53: Identify Device Information (Fn 25H)

    Carry Clear Function completed without error AH Shall be cleared to zero ES:BX Pointer to IDENTIFY DEVICE information Carry Set Function completed with an error AH Shall be set to the error code Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 54: Check Extensions Present (Fn 41H)

    T13/2132-D Revision 3 8.14 Check Extensions Present (FN 41h) This function shall be used to check for the presence of INT 13h extensions. If CF=1b, the extensions are not supported for the requested device. If CF=0b, BX shall be checked to confirm that it contains the value AA55h indicating that the extensions are present.
  • Page 55: Extended Read (Fn 42H)

    DS:SI Pointer to Device Address Packet (see table 9) Exit Carry Clear Function completed without error AH Shall be cleared to zero Carry Set Function completed with an error AH Shall be set to the error code Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 56: Extended Write (Fn 43H)

    T13/2132-D Revision 3 8.16 Extended Write (FN 43h) This function shall transfer sectors from memory to the device. If the device does not support the WRITE VERIFY command, this function rejects the request with AH = 01h and CF = 1b. FN 48h shall be used to detect if the device supports the WRITE VERIFY command.
  • Page 57: Verify Sectors (Fn 44H)

    DS:SI Pointer to Device Address Packet (see table 9) Exit Carry Clear Function completed without error AH Shall be cleared to zero Carry Set Function completed with an error AH Shall be set to the error code Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 58: Lock/Unlock Media (Fn 45H)

    T13/2132-D Revision 3 8.18 Lock/Unlock Media (FN 45h) This function locks or unlocks removable media in a specific device. All removable media devices numbered 80h and above shall implement this function. If a fixed disk (non-removable device) supports the media locking and ejecting subset, this function shall return with success (i.e., AH = 00h and CF = 0b).
  • Page 59: Eject Removable Media (Fn 46H)

    Carry Clear Function completed without error AH Shall be cleared to zero Carry Set Function completed with an error AH Shall be set to the error code (see table 10) Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 60: Get Device Parameters (Fn 48H)

    T13/2132-D Revision 3 8.20 Get Device Parameters (FN 48h) 8.20.1 Overview This function returns default device parameters. It shall be mandatory regardless of the interface subset that is supported. Table 22 defines the result buffer. On entry the first word of the result buffer shall be the buffer length in bytes.
  • Page 61 46h 49h 42h 52h 45h 20h 20h 20h 49h 32h 4Fh 20h 20h 20h 20h 20h 52h 41h 49h 44h 20h 20h 20h 20h 53h 41h 54h 41h 20h 20h 20h 20h 53h 41h 53h 20h 20h 20h 20h 20h T13/2132-D Revision 3...
  • Page 62: Interface Path

    T13/2132-D Revision 3 8.20.2 Interface Path The Interface Path field at offset 48 allows software external to a system BIOS to locate mass storage device interface chips. The format of this field shall be dependent on the Host Bus type, offsets 36 through 39 of the result buffer.
  • Page 63: Device Path

    Values 00h through FEh shall represent a valid Channel Number. Value FFh shall indicate that this field is not used. If the device is connected to a SATA controller functioning in non-PATA emulation mode, this byte shall be FFh. T13/2132-D Revision 3...
  • Page 64: Table 24 - Device Path Definitions

    T13/2132-D Revision 3 Table 24 — Device Path Definitions (part 1 of 2) Interface Type Offset Type Byte Byte Word DWord Reserved QWord Reserved ATAPI Byte Byte Byte Byte DWord Reserved QWord Reserved SCSI Word QWord Logical Unit Number Word...
  • Page 65 SATA controller port number to which the port multiplier is connected. 20h..FFh Reserved Port Multiplier number Value Description 00h If device is connected directly to the SATA controller, this byte shall be 00h 01h..0Fh Port Multiplier port number 10h..FFh Reserved Reserved T13/2132-D Revision 3...
  • Page 66: Device Parameter Table Extension (Dpte)

    T13/2132-D Revision 3 8.20.4 Device Parameter Table Extension (DPTE) The DPTE provides hardware configuration information to applications that bypass INT 13h for addressing an ATA device. Table 25 — Device parameter table extension Offset Type 0-1 Word I/O port base address...
  • Page 67 If the device was configured to use the READ/WRITE MULTIPLE command, then this field shall contain the block size of the transfer, in sectors, used by the BIOS. Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3 Description...
  • Page 68 T13/2132-D Revision 3 June 23, 2010 8.20.4.7 Offset 8 - DMA channel/Multiword DMA Type If the BIOS has configured the system to perform multiword DMA data transfers in place of PIO transfers, this field shall specify the DMA mode in the upper four bits, as per the definition in ATA/ATAPI-6 or later, and the DMA Channel in the lower four bits.
  • Page 69: Table 26 - Translation Type

    8-bit result of zero. Working Draft Enhanced Disk Drive - 4 (EDD-4) Table 26 — Translation Type Bits 9-10 Description 00b Bit-shift translation 01b LBA assisted translation 10b Reserved 11b Vendor specific translation T13/2132-D Revision 3...
  • Page 70: Get Extended Media Change Status (Fn 49H)

    T13/2132-D Revision 3 8.21 Get Extended Media Change Status (FN 49h) This function returns media change status. If it returns with CF = 1b, the media may not have been changed. The media change notification may be activated by unlocking and locking the device door without removing the media.
  • Page 71: Initiate Disk Emulation (Fn 4Ah)

    Carry Clear Function completed without error, emulation request was successful AH Shall be cleared to zero Carry Set Function completed with an error, emulation not initiated AH Shall be set to the error code Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3...
  • Page 72: Table 27 - Cd Specification Packet

    T13/2132-D Revision 3 Offset Type Byte 13h (e.g., Packet size in bytes) Byte Boot Media Type Bit Description 7 Emulated image requirements Value Description 0b Emulated image is not driver dependent 1b Emulated image contains SCSI drivers for CD/DVD-ROM, bytes 8 and 9 refer...
  • Page 73 This shall match the value returned in DH when INT 13h FN - 8h is invoked. This field contains the number of heads. Working Draft Enhanced Disk Drive - 4 (EDD-4) Table 27 — CD Specification Packet Description T13/2132-D Revision 3...
  • Page 74: Terminate Disk Emulation (Fn 4Bh)

    T13/2132-D Revision 3 8.23 Terminate Disk Emulation (FN 4Bh) This function returns the system to a configuration that does not include the emulated devices. If the CD booted as a floppy disk, and the system floppy drive was pushed to be the second drive, or B:, the system floppy drive shall now become the first drive, or A:.
  • Page 75: Initiate Disk Emulation & Boot (Fn 4Ch)

    June 23, 2010 T13/2132-D Revision 3 8.24 Initiate Disk Emulation & Boot (FN 4Ch) This function uses the CD Specification Packet to create an emulated disk drive. The emulated device shall have the device number supplied in the CD Specification Packet and can be accessed using INT13h FNs 0-49h.
  • Page 76: Return Boot Catalog (Fn 4Dh)

    T13/2132-D Revision 3 8.25 Return Boot Catalog (FN 4Dh) This function returns the Boot Catalog from the CD or DVD media. See clause 7 for a description of the Boot Catalog. Entry AH 4Dh AL 00h DS:SI Pointer to empty CD Command Packet (see table 28)
  • Page 77: Set Hardware Configuration (Fn 4Eh)

    4h Return to default PIO transfer mode. Return the system to the PIO mode enabled by the BIOS setup utility. 5h Enable INT 13h DMA maximum mode. Set the maximum rate allowed by both the host adapter and the device. 6h Disable INT 13h DMA Working Draft Enhanced Disk Drive - 4 (EDD-4) Description T13/2132-D Revision 3...
  • Page 78: Send Packet Command (Fn 50H)

    T13/2132-D Revision 3 8.27 Send Packet Command (FN 50h) 8.27.1 Overview This function defines a service that the system BIOS shall call for sending data to and from a device implementing a protocol using packet transfers. The BIOS shall provide this service before the OS is loaded.
  • Page 79: Table 31 - Formatted Protocol Specific Data

    Access Timeout (offset 14), the maximum result is limited to FFFFh. This shall be the total timeout for the specified CDB. This value shall be ignored for command-only and bus-reset calls. Working Draft Enhanced Disk Drive - 4 (EDD-4) T13/2132-D Revision 3 Description...
  • Page 80: Table 32 - Output Parameters

    T13/2132-D Revision 3 8.27.2.3 Output Parameters The following output parameters (see table 32), match the parameters defined in 8.27.1. No other return parameters are necessary for this transport. Out Description AL Undefined Value Description Remaining Values Reserved All other registers Preserved Carry flag 0b if AH is cleared to zero 1b if AH is 1through FFh.
  • Page 81: Security Protocol Commands (Fn 51H)

    On Exit: If the Direction bit is cleared to zero, this field contains the actual number of bytes received from the device Byte Payload Data The content of this data depends on the selected Security Protocol. T13/2132-D Revision 3 Description...
  • Page 82: Int 15H Removable Media Eject

    T13/2132-D Revision 3 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 button or use a software command to request that a particular media be ejected. By default the INT 15h handler returns with ejection accepted status.
  • Page 83: Annex A (Informative) Hybrid Mbr Boot

    Byte Length 16 * 4 Logical Block Size - 512 See UEFI-2.3 UEFI system Partition Partition partition GPT Protective partition T13/2132-D Revision 3 Contents Hybrid MBR boot code (see A.3) See UEFI-2.3 See UEFI-2.3 See UEFI-2.3 See UEFI-2.3 Backup Partition...
  • Page 84: Hybrid Mbr Boot Code

    T13/2132-D Revision 3 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.
  • Page 85: Hybrid Mbr Boot Code Endeavor Procedure

    Set to the Size Of Partition Entry field of the GPT Partition Header. Set to the GPT Partition Entry of the Entry boot partition Size T13/2132-D Revision 3 Differences from legacy MBR hand over structure Fixed value Fixed value No change...
  • Page 86: Hybrid Vbr Boot Code

    T13/2132-D Revision 3 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 its partition.

Table of Contents