Western Digital manual June 23 T13/2132-D Revision

Page 17

June 23, 2010

T13/2132-D Revision 3

3 Definitions, abbreviations, and conventions

3.1Definitions and abbreviations

3.1.1ATA (AT Attachment) device: An AT Attachment (also known as IDE) is a storage device that conforms to an ATA standard.

3.1.2BDA: The BIOS Data Area is an area of reserved memory used by the BIOS and OS to store data about the system hardware. It is located at memory segment 40h starting with 40h:00h.

3.1.3BIOS: The Basic Input/Output System (BIOS) is the firmware stored in non-volatile (NV) memory located on the computer's main board. The BIOS executes POST to test and initialize the system components and then loads the OS. The BIOS also handles the low-level Input/Output to the various peripheral devices connected to the computer.

3.1.4byte: A sequence of eight contiguous bits considered as a unit. See 3.3.10.

3.1.5Carry Clear: a condition where the Carry Flag in the ELAGS register is cleared to zero.

3.1.6Carry Set: a condition where the Carry Flag in the EFLAGS register is set to one.

3.1.7CF: The Carry Flag is a bit in the EFLAGS register in the microprocessor.

3.1.8CHS: CHS addressing is a method of addressing the contents of a storage device using logical cylinders (C), logical heads (H), and logical sectors (S). This method of addressing allows a maximum C=16,383, H=16, S=63, resulting in a maximum device capacity of 8.4 gigabytes (16,383 16 63 512 bytes per sector 8.4 gigabytes). See LBA addressing for another addressing method.

3.1.9Conventional: When a word, term, or phrase is modified by the word "conventional" it refers to the legacy style, or method of operation that is limited to addressing ATA devices that have a 528 MB capacity or less. See 3.2.10xxx for the definition of "Enhanced".

3.1.10DOS: DOS is a disk operating system that uses the system BIOS as a firmware abstraction layer to access system hardware. Examples of DOS based operating systems include MS-DOS®, DR-DOS, PC-DOS, Free DOS, Windows® 3.11, and Windows® 95.

3.1.11DWord: A sequence of four contiguous bytes considered as a unit. See 3.3.10.

3.1.12enhanced: When a word, term, or phrase is modified by the word "enhanced" it means there is a "conventional" and an "enhanced" method of operation. The "enhanced" method is defined by this standard.

3.1.13Host: The Host is the computer system that is controlled by the BIOS.

3.1.14Hybrid MBR boot code: IA-32 compatible code located in the MBR that processes the GPT disk layout.

3.1.15Hybrid VBR boot code: IA-32 compatible code located in the VBR that processes the GPT disk layout.

3.1.16IA-32 compatible: IA-32 compatible refers to computer processor architectures that are compatible with the Intel Architecture 32-bit wide processor and data bus.

3.1.17IA-64 compatible: IA-64 compatible refers to computer processor architectures that are compatible with the Intel Architecture 64-bit wide processor and data bus.

3.1.18INT 13h: A BIOS interrupt service that provides a protocol independent method for addressing floppy, hard drive, and other storage devices.

3.1.19INT 40h: INT 40h is a BIOS interrupt service that provides a protocol independent method for addressing INT 13h devices that have a device number less than or equal to 7Fh.

3.1.20GPT disk layout: The disk layout defined by the Unified EFI specification (see UEFI-2.3).

3.1.21LBA: LBA is a method of addressing a device that involves using a Logical Block Address. For example, using 28-bit addressing, this method of addressing allows a maximum sector address of 228-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)

5

Image 17
Contents Revision June 23 Information technology Enhanced Disk Drive 4 EDD-4Working Draft Enhanced Disk Drive 4 EDD-4 Points of ContactT13/2132-D Revision 3June 23 June 23 T13/2132-D Revision DraftT13/2132-D Revision June 23 American National StandardNew Capabilities added to EDD-4 Document StatusContents Working Draft Enhanced Disk Drive 4 EDD-4 Vii Viii Working Draft Enhanced Disk Drive 4 EDD-4 Output Parameters TablesFigures Introduction ForewordXii 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 Master Boot Record MBR The first LBA on a disk Symbols and abbreviationsConventions Abbreviation MeaningLists Lists overview PrecedenceUnordered lists Ordered listsNumbering T13/2132-D Revision June 23 KeywordsInterrupt Services and Functions Register and CF ContentsNumbering conventions French English This standard Bit conventionsWord at offset n ByteDWord at word offset n QWord at word offset nATA firmware revision example ATA string byte swapping Word Byte Character in stringWord Byte ValueOverview Conventional Register Definitions 8GB INT 13h Functions Conventional FunctionsRegister Description Bit DescriptionConventional Function Definitions Function a Description Data Structure 8GB INT 13h Functions OverviewExtended Function Definitions Function DescriptionT13/2132-D Revision June 23 Device Address Packet Offset Fixed Disk Access Function Code Fixed Disk Access SubsetRemovable Media INT 13h Interface SubsetsEDD Support Function Code Locking and Ejecting Function CodeEnhanced Disk Drive EDD Support Subset ISO 9660 CD Layout Working Draft Enhanced Disk Drive 4 EDD-4 CD/DVD Boot OverviewSystem Area Unused Emulation Process Boot MethodsFloppy Boot No Emulation BootHard Drive Boot Floppy Geometries Type Cylinders Heads SectorsCD/DVD Format Boot Volume Descriptor BVDBoot Volume Descriptor Offset Type Description T13/2132-D Revision June 23 Validation EntrySection Header June 23 T13/2132-D Revision Initial/Default Entry00h Byte Header ID Type Description June 23 T13/2132-D Revision Section EntryT13/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 Value Description Get Disk Type FN 15hSet Media Type FN 18h Park Heads FN 19h Identify Device Information FN 25h Interface Support Bit Map Description Check Extensions Present FN 41hExtended Read FN 42h Extended Write FN 43h Verify Sectors FN 44h Lock/Unlock Media FN 45h Eject Removable Media FN 46h Result Buffer Get Device Parameters FN 48hAscii Interface Path Definitions part 1 Host Bus Type Offset T13/2132-D Revision June 23 Interface PathDevice Path Definition00h ATA Device 01h 02h..FFh Reserved Byte Word DWord QWord Byte Port number Device parameter table extension Offset 7 READ/WRITE Multiple command block count Offset 5 Bios use only Bios use only Offset 6 IRQ numberOffset 0-1 I/O port base Offset 2-3 control port baseBit 7 32-bit transfer mode Offset 10-11 Bios selected hardware specific option flagsBit 8 Atapi device uses command packet interrupt Offset 9 PIO typeJune 23 T13/2132-D Revision Bits 9-10 translation type Bit 13h 48-bit LBA addressing enabledTranslation 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 CD Command Packet Return Boot Catalog FN 4DhHardware Configuration Sub-Functions Set Hardware Configuration FN 4EhFormatted Command Packet Offset Type Description Send Packet Command FN 50hFormatted 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 EAX Hybrid MBR boot code endeavor procedureHybrid VBR boot code