Western Digital T13/2132-D manual Ascii

Page 61

June 23, 2010

T13/2132-D Revision 3

 

 

 

Table 22 — Result Buffer

 

 

 

 

 

 

 

 

 

 

Offset

Type

 

Description

 

 

 

16

QWord

Number of sectors. This shall be one greater than the maximum sector number. If this

 

 

field is greater than 15,482,880 then word 2, bit 1 shall be cleared to zero.

 

 

 

 

 

 

24

Word

Number of bytes in a sector.

 

 

 

 

 

 

26

DWord

Pointer to the Device Parameter Table Extension (DPTE). This field follows the

 

 

seg:offset address format. The DPTE shall only be present if INT 13h, FN 41h, CX

 

 

register bit 2 is set to one. This field points to a temporary buffer that the BIOS may

 

 

invalidate on subsequent INT 13h calls. If the length of this result buffer is less than 30,

 

 

the DPTE shall not be present. This field is only used for INT 13h based systems

 

 

configured with ATA or ATAPI devices.

 

 

 

30

Word

0BEDDh - Key, indicates presence of Device Path Information

 

 

 

 

32

Byte

Length of Device Path Information including the key. The content of this byte shall be

 

 

2Ch

 

 

 

 

 

 

 

 

 

 

 

33

Byte

Reserved

 

 

 

 

 

 

 

 

 

 

 

34

Word

Reserved

 

 

 

 

 

 

 

36

ASCII

Host bus type, 4 bytes. ASCII data shall be left justified and padded with the value 20h

 

 

PCI

PCI Local Bus

50h 43h

49h

20h

 

 

ISA

Conventional 16 bit fixed bus

49h 53h

41h

20h

 

 

PCIX

PCI-X Bus

50h 43h

49h

58h

 

 

IBND

Infiniband

49h 42h

4Eh 44h

 

 

XPRS

PCI Express

58h 50h

52h

53h

 

 

HTPT

HyperTransport

48h 54h

50h

54h

 

 

 

40

ASCII

Interface type, 8 bytes. ASCII data shall be left justified and padded with the value 20h

 

 

ATA

ATA/ATAPI compliant device using ATA

41h 54h

41h

20h 20h 20h 20h 20h

 

 

 

commands

 

 

 

 

 

ATAPI

ATA/ATAPI compliant device using

41h 54h

41h

50h 49h 20h 20h 20h

 

 

 

ATAPI commands

 

 

 

 

 

SCSI

SCSI compliant device

53h 43h

53h

49h 20h 20h 20h 20h

 

 

USB

USB Mass Storage compliant device

55h 53h

42h

20h 20h 20h 20h 20h

 

 

1394

1394 Mass Storage device

31h 33h

39h

34h 20h 20h 20h 20h

 

 

FIBRE

Fibre Channel

46h 49h

42h

52h 45h 20h 20h 20h

 

 

I2O

Intelligent Input/Output

49h 32h

4Fh 20h 20h 20h 20h 20h

 

 

RAID

Redundant Array of Inexpensive Disks

52h 41h

49h

44h 20h 20h 20h 20h

 

 

 

(RAID) member

 

 

 

 

 

SATA

Serial ATA device in non-PATA

53h 41h

54h

41h 20h 20h 20h 20h

 

 

 

emulation mode

 

 

 

 

 

SAS

Serial Attached SCSI

53h 41h

53h

20h 20h 20h 20h 20h

 

 

 

 

 

 

48

 

Interface Path (see table 23)

 

 

 

 

 

 

 

 

 

56

 

Device Path (see table 24)

 

 

 

 

 

 

 

 

 

 

72

Byte

Reserved

 

 

 

 

 

 

 

73

Byte

Checksum for Device Path Information includes the 0BEDDh signature. The content of

 

 

this field shall be the two's complement of the unsigned sum of offset 30 through 72.

 

 

The unsigned sum of offset 30 through 73 shall be 0.

 

 

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

49

Image 61
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 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 SubsetsEnhanced 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 Boot No Emulation BootHard Drive Boot Floppy Geometries Type Cylinders Heads SectorsBoot 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 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 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