Western Digital T13/2132-D manual Offset 0-1 I/O port base, Offset 2-3 control port base

Page 67

June 23, 2010

 

T13/2132-D Revision 3

 

 

 

 

Table 25 — Device parameter table extension

 

 

 

 

 

 

 

Offset

Type

 

Description

 

 

10-11

Word

BIOS selected hardware specific option flags

 

 

 

 

Bit

Description

 

 

 

 

15:14

Reserved

 

 

 

 

13

48-bit LBA addressing enabled

 

 

 

 

12

HPA Active

 

 

 

 

11

Ultra DMA accessing enabled

 

 

 

 

10:9

Translation type

 

 

 

 

8

ATAPI device uses command packet interrupt

 

 

 

 

7

32-bit transfer mode

 

 

 

 

6

ATAPI device

 

 

 

 

5

Removable media

 

 

 

 

4

LBA translation enabled

 

 

 

 

3

CHS translation enabled

 

 

 

 

2

ATA READ/WRITE MULTIPLE accessing enabled

 

 

 

 

1

DMA accessing enabled

 

 

 

 

0

PIO accessing enabled

 

 

 

 

 

 

 

12-13

Word

Reserved

 

 

 

 

 

 

 

14

Byte

30h, version level of this table.

 

 

 

 

 

 

 

15

Byte

Checksum, 2's complement of the 8 bit unsigned sum of bytes 0-14

 

 

 

 

 

 

 

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 address.

8.20.4.2 Offset 2-3 - control port base

This word is the 16-bit address in I/O space of the device control register. Any application that provides a proprietary interface to the device may use this address.

8.20.4.3 Offset 4 - head prefix

The upper four bits of this byte shall be logically ORed with the head number, or upper four bits of the LBA, each time the disk is addressed. It contains the ATA DEV bit and the LBA addressing bits that are preset, and makes these functions transparent to any software using this extension. The LBA addressing bit is set for each disk access and shall not be used to determine the LBA capability of the system. See the LBA translation enabled bit described in clause 8.24.3.9.5 for system LBA capability.

8.20.4.4Offset 5 - BIOS use only BIOS use only.

8.20.4.5Offset 6 - IRQ number

Each ATA channel requires an assigned Interrupt number. This byte identifies which IRQ is used by this device's channel.

8.20.4.6 Offset 7 - READ/WRITE MULTIPLE command block count

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)

55

Image 67
Contents Revision June 23 Information technology Enhanced Disk Drive 4 EDD-4T13/2132-D Revision 3June 23 Points of ContactWorking Draft Enhanced Disk Drive 4 EDD-4 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 BSR Incits ScopeAmerican National Standard for Information Technology ATA8-APT ATA8-AST Approved references Normative references GeneralApproved Ansi References Name Other references References under developmentReferences Under Development Name Project Number June 23 T13/2132-D Revision Abbreviation Meaning Symbols and abbreviationsMaster Boot Record MBR The first LBA on a disk ConventionsOrdered lists PrecedenceLists Lists overview Unordered listsNumbering T13/2132-D Revision June 23 KeywordsBit conventions Register and CF ContentsInterrupt Services and Functions Numbering conventions French English This standardQWord at word offset n ByteWord at offset n DWord at word offset nByte Value ATA string byte swapping Word Byte Character in stringATA firmware revision example WordOverview Bit Description 8GB INT 13h Functions Conventional FunctionsConventional Register Definitions Register DescriptionConventional Function Definitions Function a Description Function Description 8GB INT 13h Functions OverviewData Structure Extended Function DefinitionsT13/2132-D Revision June 23 Device Address Packet Offset INT 13h Interface Subsets Fixed Disk Access SubsetFixed Disk Access Function Code Removable MediaEnhanced Disk Drive EDD Support Subset Locking and Ejecting Function CodeEDD Support Function Code ISO 9660 CD Layout Working Draft Enhanced Disk Drive 4 EDD-4 CD/DVD Boot OverviewSystem Area Unused Emulation Process Boot MethodsFloppy Geometries Type Cylinders Heads Sectors No Emulation BootFloppy Boot Hard Drive BootBoot Volume Descriptor Boot Volume Descriptor BVDCD/DVD Format 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 Definition 00h ATA Device 01h 02h..FFh Reserved Byte Word DWord QWord Byte Port number Device parameter table extension Offset 2-3 control port base Offset 5 Bios use only Bios use only Offset 6 IRQ numberOffset 7 READ/WRITE Multiple command block count Offset 0-1 I/O port baseOffset 9 PIO type Offset 10-11 Bios selected hardware specific option flagsBit 7 32-bit transfer mode Bit 8 Atapi device uses command packet interruptBit 11 Ultra DMA Bit 13h 48-bit LBA addressing enabledJune 23 T13/2132-D Revision Bits 9-10 translation type Translation Type Bits DescriptionGet 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 GPT support for hybrid MBR boot code Hybrid MBR boot Hybrid MBR boot overviewAnnex a Hybrid MBR boot code EAX Hybrid MBR boot code endeavor procedureHybrid VBR boot code