Western Digital T13/2132-D manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Western Digital T13/2132-D. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Western Digital T13/2132-D ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Western Digital T13/2132-D décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Western Digital T13/2132-D devrait contenir:
- informations sur les caractéristiques techniques du dispositif Western Digital T13/2132-D
- nom du fabricant et année de fabrication Western Digital T13/2132-D
- instructions d'utilisation, de réglage et d’entretien de l'équipement Western Digital T13/2132-D
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Western Digital T13/2132-D ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Western Digital T13/2132-D et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Western Digital en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Western Digital T13/2132-D, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Western Digital T13/2132-D, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Western Digital T13/2132-D. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    Working Draft Project American National T13/2132-D Standard Revision 3 June 23, 201 0 Information technology - Enhanced Disk Drive - 4 (EDD-4) This is a draf t proposed American Nation al S t andard of A ccre dited S t andards Committee I NCITS. As such this is not a completed sta ndard. The T13h T echnical Committee may modify this docume nt as a [...]

  • Page 2

    T13/2132-D Revision 3 June 23, 201 0 ii Working Draf t Enhanced Disk Drive - 4 (EDD-4) Point s of Cont act T13h Chair T13h V ice-Chair Dan Colgrove Jim Hatfield Hitachi Global S torage T echnologies Seagate T echnology 2903 Carmelo Dr 389 Disc Drive Henderson, NV 89502 Longmont CO 80503 T el: 702-614-61 19 T el: 720-684-212 0 Fax: 702-614-795 5 Fax[...]

  • Page 3

    June 23, 2010 T13/2132-D Revis ion 3 Workin g Draf t Enhanced Disk Drive - 4 (EDD-4) iii Secretariat Information T echnol ogy Industry Council Approved m m.dd.yy American National S tandards Institute, Inc. ABSTRACT This standard d escribes services curre ntly in use on IA-32 and IA-64 comp atible architecture persona l computer systems. These serv[...]

  • Page 4

    T13/2132-D Revision 3 June 23, 201 0 iv Working Draf t Enhanced Disk Drive - 4 (EDD-4) Published by American National St andards Institute 1 1 W . 42nd Street, Ne w Y ork, New Y ork 10036 Copyright © 2007 by Information T echnology Industry Council ( ITI). All rights reserved . No part of this publication may by reproduce d in any form, in an elec[...]

  • Page 5

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) v Document St atus The text which is highli ghted in green may affe ct backward compatibility . New Cap abilities added to EDD-4 Revision History Rev Date Description 0 January 21, 2009 1) Used ACS-2r1 as the template for this first dr aft. 2) Populated this templa[...]

  • Page 6

    T13/2132-D Revision 3 June 23, 201 0 vi Working Draf t Enhanced Disk Drive - 4 (EDD-4) Content s Page Points of Contact .............. ............. ................ ................ ............. ................ ............. ......... .............. ................ ........ ii Document Status .......... ............. ................ ..........[...]

  • Page 7

    June 23, 2010 T13/2132-D Revis ion 3 Workin g Draf t Enhanced Disk Drive - 4 (EDD-4) vii 7 CD/DVD Boot ............... ................ ............. ................ ............. ................ ............. ........... ............... ............. ...... 19 7.1 Overview .......... ................ ............. ................ ............. [...]

  • Page 8

    T13/2132-D Revision 3 June 23, 201 0 viii Working Draf t Enhanced Disk Drive - 4 (EDD-4) A.2 GPT support for hybrid MBR boot code .......... ................ ................. ................ ................ ........... ........ ... 71 A.3 Hybrid MBR boot code ................. ............. ................ ................ ............. .......[...]

  • Page 9

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) ix Ta b l e s Page Table 1 - Approved ANSI References .............. ............. ................ ................. ............ ................. .... ............ ........... 3 Table 2 - References U nder Development ...... ................ ............. ......[...]

  • Page 10

    T13/2132-D Revision 3 June 23, 201 0 x Working Draft Enhanced Disk Drive - 4 (EDD-4) Figures Page Figure 1 - ATA document relati onships ............ ................ ............. ................. ............ ................. ... ................... ... 2 Figure 2 - Byte, word, DWord and QWord relationships .. ................. ................[...]

  • Page 11

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) xi Foreword Foreword (This foreword is not p art of Amer ican National S tandard NCITS.xxx-200x) DOS accesses its mass storage devices using an INT13h pr ogramming interfac e provide d by BIOS f irmware t o higher-level sof tware. This interface was designed in the[...]

  • Page 12

    T13/2132-D Revision 3 June 23, 201 0 xii Working Draf t Enhanced Disk Drive - 4 (EDD-4) Clause 7 is CD/DVD Booting Clause 8 is IN T 13h fu nction defin itions Clause 9 is IN T 15H Rem ovable Media Eject Functio ns Annex A describes Hybrid MBR boot Windows is a registered trademark of Micr osoft Corp oration in the United S tates and/or othe r count[...]

  • Page 13

    AMERICAN NATIONAL STANDARD BSR INCITS xxx-200x American National St andard for Information T echnology – Enhanced Disk Drive - 4 (EDD-4) Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 1 1 Scope This standard assumes that th e reader is familiar with the conventional INT 13h interface, the usage of the BIOS Device Parameter T able, and the basic [...]

  • Page 14

    T13/2132-D Revision 3 June 23, 201 0 2 Working Draft Enhanced Disk Drive - 4 (EDD-4) The set of A T Attachment st andards c onsists of this sta ndard and the A T A implementation st andards described in A T Attachment - 8 A T A/A T API Architecture Model (A T A 8-AAM). Enhance Disk Driv e - 4 (EDD-4) specifies a common set of pr ocedures use d to a[...]

  • Page 15

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 3 2 Normative references 2.1 General The st andards list in 2.2, 2 .3, and 2.4 cont ain provisions that, through reference in the text, co nstitute pro visions of this standard. At the time of p ublication, the ed itions indicated were valid. All s tandards are sub[...]

  • Page 16

    T13/2132-D Revision 3 June 23, 201 0 4 Working Draft Enhanced Disk Drive - 4 (EDD-4) 2.3 References under development At the time of publication, the referenced standards we re still under develo pment. For information on the current status of the document, or regarding availability , co ntact the relevant standards body or other or ganization as i[...]

  • Page 17

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 5 3 Definitions, abbreviat ions, and conventions 3.1 Definitions and abbreviations 3.1.1 A T A (A T Attachment) dev ice: An A T Attachment (also known as IDE) is a storage device that conforms to an A T A standard. 3.1.2 BDA: The BIOS Data Area is an area of reserv[...]

  • Page 18

    T13/2132-D Revision 3 June 23, 201 0 6 Working Draft Enhanced Disk Drive - 4 (EDD-4) 3.2 Symbols and abbreviations 3.3 Conventions 3.3.1 Overvie w Lowercase is used for words h aving the normal English la nguage meaning. Ce rtain words a nd terms used in this standard ha ve a specific meaning beyond the normal English language mea ning. These words[...]

  • Page 19

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 7 Names of device fields begin with a capital letter (e.g., Count). The expression “word n” or “bi t n” shall be interpre ted as indicating the content of wo rd n or bit n. 3.3.2 Prec edence If there is a conflict between text, figures, and tables , the pre[...]

  • Page 20

    T13/2132-D Revision 3 June 23, 201 0 8 Working Draft Enhanced Disk Drive - 4 (EDD-4) 3.3.4 Keyw ords Several keywo rds are used to di fferentiate betwe en different levels of requirement s and options. 3.3.4.1 ex pected: A keyword used to describe the behavior of the har dware or software in the design models assumed by this standa rd. Other hardwa[...]

  • Page 21

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 9 number represent ations to increase readability or delineate field boundaries (e .g., B FD8C F A23h or B_FD8C_F A23h). A decimal number is repr esented in this standa rd by an y sequence of digits consisting of only the Arabic numerals 0 through 9 not immediately[...]

  • Page 22

    T13/2132-D Revision 3 June 23, 201 0 10 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 3.3.10 Byte, word, DW ord, and QW ord Relationship s Figure 2 illustrates the relationship betw een bytes, words, DWords, and QWords. Figure 2 — Byte, word, DW ord and QWord relationship s Unless stated or defin ed otherwise, in a field containin g a multi-byte[...]

  • Page 23

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 1 1 Each pair of bytes in an A T A string is swapped as shown in t able 4. If the field cont ains the string “abcdefg ”, in cluding one padding sp ace character at the end, then the word and byte represent ations for the field are shown in table 5. T able 4 —[...]

  • Page 24

    T13/2132-D Revision 3 June 23, 201 0 12 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 4 Overview In the past, DOS has accessed its mass storage devices usin g a BIOS provided INT 13h in terface. This in terface was designed in the ea rly 1980's and upgrad ed in the late 1980' s. The maximum capacity tha t can be addressed by this Applica[...]

  • Page 25

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 13 5 <8GB INT 13h Functions (Conventional Functions) The Conventional INT 13h functio ns can address a maxim um of 8.4GB of device space. Sector sizes shall be exactly 512 bytes. The Conventional INT 13h functions p ass all parameters in re gisters usin g the fo[...]

  • Page 26

    T13/2132-D Revision 3 June 23, 201 0 14 Working Draf t Enhanced Disk Drive - 4 (EDD-4) The following co nventional functions sho wn in table 7 are documented in this stand ard: T able 7 — Conventional Function Definitions Function a Description 00h Reset disk subsyst em (see 8.2) 01h Get status of last operation (see 8.3) 02h Read Sectors into me[...]

  • Page 27

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 15 6 >8GB INT 13h Functions 6.1 Overview The extended INT 13h function s are numbered from 41h thro ugh 49h, 4E, and 50h. These function s are dif ferent from the conventional INT 13h interface in the following ways: a) register conventions have been changed to [...]

  • Page 28

    T13/2132-D Revision 3 June 23, 201 0 16 Working Draf t Enhanced Disk Drive - 4 (EDD-4) T able 9 — Device Address Packet Offset T ype Description 0 Byte Packet size in bytes. The va lue 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 an d AH = 01h. 1 Byte Reserved. 2 Byte N[...]

  • Page 29

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 17 6.3 Removable Media The distinction between "re movable" disks numbered 00h thro ugh 7Fh and "fixed" disks numbered 80h through FFh dif fers from conventional INT 13h functions. De vices numbered 0 through 7Fh are not changed. They follow con[...]

  • Page 30

    T13/2132-D Revision 3 June 23, 201 0 18 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 6.4.3 Device Locking and Eje cting Subset These functions support sof tware control of media lockin g and ejectin g (see table 12). 6.4.4 Enhanced Disk Drive (EDD) Support Subset These functions provide E DD su pport (see table 13). T able 12 — Locking and Ejec[...]

  • Page 31

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 19 7 CD/DVD Boot 7.1 Overview CD and DVD media shall be bootable if the m edia follows th e formatting described here. This for mat is based on ISO-9660, but does not require the med ia to be ISO-9660 compliant. Boot media shall have an ISO-9660 Boot V olume Descri[...]

  • Page 32

    T13/2132-D Revision 3 June 23, 201 0 20 Working Draf t Enhanced Disk Drive - 4 (EDD-4) Figure 5 Describes a CD or DVD wit h 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 DVD with a single boot image System[...]

  • Page 33

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t 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 e nvironment that has several dif ferent system ty pes. The Initial/Defaul t entry could be a program that determines the system type and th[...]

  • Page 34

    T13/2132-D Revision 3 June 23, 201 0 22 Working Draf t Enhanced Disk Drive - 4 (EDD-4) that is on th e floppy or h ard disk driv e (HDD) sh all be packed four sec tors of data to e ach sector on the CD or DVD. This packing sh all be performed in a linear fashion so that floppy or HDD sectors zero thro ugh three become the f irst sector in the image[...]

  • Page 35

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 23 that supports CHS is acceptable (e.g., F A T -16 or F A T - 32) The partition table shall only have one p artition defined. 7.3 CD/DVD Format 7.3.1 Overvie w The system BIOS can boot fro m a CD or DVD only if the fo rmat of the me dia has been pr edefined. ISO -[...]

  • Page 36

    T13/2132-D Revision 3 June 23, 201 0 24 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 7.3.3 V alid ation Entry The first entry in the boot ca talog is a validation entry . The validation entry sh all be used to determine that a valid boot cat alog is on the disk and to determine the ma nufacture r of the CD. If this entry is valid, the remainder o[...]

  • Page 37

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 25 7.3.4 Initial /Default Entry Every boot cat alog shall have an Initial/De fault entry . This entry cont ains the starting address of the initial boot image. The default entry is started if the system BIOS does not have the capability to boot from other boot imag[...]

  • Page 38

    T13/2132-D Revision 3 June 23, 201 0 26 Working Draf t Enhanced Disk Drive - 4 (EDD-4) boot images. Another example of a section would be to id entify a spec ific model and ma nufacture r of a PC. This would allow the PC to boot software specific to the system. T able 18 describes the section header . T able 18 — Section Header Offset T ype Descr[...]

  • Page 39

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 27 7.3.6 Section Entry Section entries shall follow Se ction Headers. The Sect ion Entry identifies a single boo t image. This entry shall be the same as the Initial/Default entry with one exce ptio n: the reserv ed bytes at the send of the ent ry contain selection[...]

  • Page 40

    T13/2132-D Revision 3 June 23, 201 0 28 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 7.3.7 Section Entry Extensio n Section Entry Extensions may follow Sect ion Entries. Section En try Extensions provide mo re sp ace for selection criteria when the 13h bytes p rovided by the Section Entry are insufficient. There may be on e or more ex tensions fo[...]

  • Page 41

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 29 8 INT 13h Function Definitions 8.1 Overview These function definitions include conventional, exten ded, and CD/DVD functions. The functions are differ entiated by their function numbe rs and register usage. The extend ed functions use DS:SI as a pointer to a com[...]

  • Page 42

    T13/2132-D Revision 3 June 23, 201 0 30 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.2 Reset Disk S ubsystem (FN 00h) This function shall be used to reset all the device s 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 Carry Set Function compl[...]

  • Page 43

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 31 8.3 Get St atus of L ast Operation (FN 01h) This function s hall be used to return the status of the last INT 13h command executed . Entry AH 01h DL BIOS device number Exit Carry Clear The Get S tatus of Last Operation function was successful AH Shall be cleared[...]

  • Page 44

    T13/2132-D Revision 3 June 23, 201 0 32 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.4 Read Sectors into Memory (FN 02h) This function shall be used to read da ta from the device into the host mem ory buffer beg inning at the location specified by the contents of the ES:BX registe rs. If th e command transfers some of the dat a and then returns[...]

  • Page 45

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 33 8.5 Write Sectors From Memory (FN 03h) This function shall be used t o transfer data from the host buffer beginning at the location sp ecified by the contents of the ES:BX registers. Entry AH 03h AL Num ber of sect ors to write, shall be gre ater than 0 and less[...]

  • Page 46

    T13/2132-D Revision 3 June 23, 201 0 34 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.6 V erify Sectors (FN 04h) This function s hall be used to check th e sectors in the specified range on t he device fo r errors. N o data is transferred between the host and device by this command . Entry AH 04h AL Nu mber of sect ors to veri fy , shall be grea[...]

  • Page 47

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 35 8.7 Get Drive Parameters (FN 08h) This function s hall be used to find the CHS geomet ry us ed by INT 13h functions 2, 3, and 4 to access the drive. Entry AH 08h DL BIOS device number Exit Carry Clear Function completed without error AH Shall be cleared to zero [...]

  • Page 48

    T13/2132-D Revision 3 June 23, 201 0 36 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.8 Read Buffer (FN 0Eh) This function shall be used to read 51 2 bytes of data from the sp ecified device's sector buf f er . Entry AH 0Eh DL BIOS device number ES:BX Pointer to destinat ion buffer in memory Exit Carry Clear Function completed without error[...]

  • Page 49

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 37 8.9 Write Buffer (FN 0Fh) This function shall be used to wr ite 512 bytes of data to the specified device's buf fer . Entry AH 0Fh DL BIOS device number ES:BX Pointer to source buffer in memory Exit Carry Clear Function completed without error AH Shall be c[...]

  • Page 50

    T13/2132-D Revision 3 June 23, 201 0 38 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.10 Get Disk T yp e (FN 15h) This function s hall be used to find th e device type. This func tion is calle d by some versions of DOS during the boot process. Entry AH 15h DL BIOS device number Exit Carry Clear Function completed without error AH V alue Descript[...]

  • Page 51

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 39 8.1 1 Set Media T ype (FN 18h) This function shall be used to fo rce the BIOS to use a specific media type. This function is called by some versions of DOS. NOTE 2 — This function does not set the number of heads Entry AH 18h CH Lo w order 8 bits of the cylind[...]

  • Page 52

    T13/2132-D Revision 3 June 23, 201 0 40 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.12 Park Heads (FN 19h) This function shall be used to p ark 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 comp leted with an error AH Shall be set to the err[...]

  • Page 53

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 41 8.13 Identify Device Information (FN 25h) This function shall be us ed return IDEN TI FY DEVICE information from the device. Entry AH 25h DL BIOS device number ES:BX Pointer to 512 byte buffer for IDENTIFY DEVICE information. See ACS-2 for det a ils. Exit Carry [...]

  • Page 54

    T13/2132-D Revision 3 June 23, 201 0 42 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.14 Check Extensions Present (FN 41h) This function shall be used to ch eck for the presence of INT 1 3h extensions. If CF =1b, the extensions are not supported fo r the reques ted device. If CF=0b, BX shall be chec ked to conf irm that it contains t he value AA[...]

  • Page 55

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 43 8.15 Extended Read (FN 42h) This function shall transfe r sectors from the device to memory . In the event of an erro r , the block count field of the device address pa cket contains the nu mber of good blocks read before the error occurred. Entry AH 42h DL BIOS[...]

  • Page 56

    T13/2132-D Revision 3 June 23, 201 0 44 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.16 Extended Write (FN 43h) This function shall transfer s ectors from memory to the device. I f th e 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 supp[...]

  • Page 57

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 45 8.17 V erify Sectors (FN 44h) This function verifi es sectors without transferri ng data be tween the device and system memory . When an error is reported the block count fiel d of the device address packe t shall be filled in with th e number of blocks verified[...]

  • Page 58

    T13/2132-D Revision 3 June 23, 201 0 46 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.18 Lock/Unlock Media (FN 45h) This function locks or unlock s removable media in a specific device. All removable media devices numbered 80h and above shall implement th is function. If a fixed di sk (non-removable device) supports the media locking an d ejecti[...]

  • Page 59

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 47 8.19 Eject Removable Media (FN 46h) This function s hall eject me dia from the specified de vice. If a fi xed disk (non- removable de vice) supports the media locking and ejecting interf ace subset, this function shall always retu rn with "V olume Not Remov[...]

  • Page 60

    T13/2132-D Revision 3 June 23, 201 0 48 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.20 Get Device Pa rameters (FN 48h) 8.20.1 Ove rview This function returns default device pa rameters. It shall be mandatory regard less of the interface subset that is supported. T able 22 defines the result buffer . On entry the first word of the result buffer[...]

  • Page 61

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 49 16 QWord Number of sectors. This shall be one grea t er than the maximum sector number . If this field is greater th an 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 T abl e[...]

  • Page 62

    T13/2132-D Revision 3 June 23, 201 0 50 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.20.2 Interf ace Path The Interface Path field at offset 48 allows software ex ternal to a system B IOS to locate mass storage device interface chip s. The format of this field shall be dependent on the Host Bus type, of fsets 36 through 39 of the result buffer [...]

  • Page 63

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 51 8.20.3 Device Path The Device Path at of fset 56 combined with the Interfac e Path allows sof tware exte rnal to a system BIOS to locate a specific mass storag e device. The Device Path field provides a p a th from an interface to a specifi c device. The f ormat[...]

  • Page 64

    T13/2132-D Revision 3 June 23, 201 0 52 Working Draf t Enhanced Disk Drive - 4 (EDD-4) T able 24 — Device Path Definitions (part 1 of 2) Interface T ype Offset T ype Definition ATA 5 6 B y t e V alue Description 00h A T A D evice 0 01h A T A D evice 1 02h..FFh Reserved 57 Byte Res erved 58 Word Reserv ed 60 DWord Reserved 64 QWord Reserved A T AP[...]

  • Page 65

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 53 SA T A 56 Byte Port number V alue Description 00h..1Fh SA T A contro ller port num ber to which the d evice is co nnected. If the device is behind a por t mult iplier then SA T A controller port number shall re present the SA T A controller port numbe r to which[...]

  • Page 66

    T13/2132-D Revision 3 June 23, 201 0 54 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.20.4 Device Paramete r T able Extension (DPTE) The DPTE pro vides hardware configuration information to app lications that bypa ss INT 13h for addressing an A T A device. T able 25 — Device p arameter t able extension Offset T ype Description 0-1 Word I/O por[...]

  • Page 67

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 55 8.20.4.1 O ffset 0- 1 - I/O p ort base This word is the 16-bit addr ess in I/O space of the dat a register in the A T A Command Block. Any app lication that provides a prop rietary interface to the device may use this base ad dress. 8.20.4.2 O ffset 2-3 - contro[...]

  • Page 68

    T13/2132-D Revision 3 June 23, 201 0 56 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.20.4.7 Offset 8 - DMA channel/Multiword DMA T ype 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 de finition in A T A/A T API-6 or[...]

  • Page 69

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 57 8.20.4.9.1 0 Bits 9-10 - transla tion type If bit 3 is cleared to zero then this field shall be ignored an d shall be zero. If bit 3 is set to one then this field identifies the geometric translation shown in table 26. 8.20.4.9.1 1 Bit 1 1 - Ultra DMA If the sys[...]

  • Page 70

    T13/2132-D Revision 3 June 23, 201 0 58 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.21 Get Extended Media Change St atus (FN 49h) This function returns media change st atus. If it returns with CF = 1b, th e media may not have been ch anged. The media change notificatio n may be activated by unlocking and locking the device door without removin[...]

  • Page 71

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 59 8.22 Initiate Disk Emulation (FN 4Ah) This function uses the CD S pecification Packet to create an emu lated disk dr ive. The em ulated dev ice shall have the dev ice number supplied in t he CD S pecif ication Pack et and can b e accessed u sing INT13h F Ns 0-49[...]

  • Page 72

    T13/2132-D Revision 3 June 23, 201 0 60 Working Draf t Enhanced Disk Drive - 4 (EDD-4) T able 27 — CD Specific ation Packet Offset T ype Description 0 Byte 13h (e.g., Packet size in bytes ) 1 Byte Boot Media T ype Bit Description 7 Emulated image requirements V alue Description 0b Emulated image is not driver dependent 1b Emulated image contains [...]

  • Page 73

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 61 14-15 W ord Sector Count. This field is only used for bo oting (INT 13h FN 4Ch). The sector count is the number of emulated se ctors to load, starting at the load segment (see of fset 12-13) during the initial boot procedure. 16 Byte This shall match the value r[...]

  • Page 74

    T13/2132-D Revision 3 June 23, 201 0 62 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.23 T erminate Disk Emulation (FN 4Bh) This function returns the system to a c onfiguration that does not include the em ulated de vices. If the CD booted as a floppy disk, and the system floppy drive was pushed to be the second drive, or B:, the system f loppy [...]

  • Page 75

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 63 8.24 Initiate Disk Emul ation & Boot (FN 4Ch) This function uses the CD S pecification Packet to create an emu lated disk dr ive. The em ulated dev ice shall have the device number supp lied in the CD S pecification Pa cket and can be accessed using INT13h F[...]

  • Page 76

    T13/2132-D Revision 3 June 23, 201 0 64 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.25 Return Boot Cat alog (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 t able 28) Exit Carry Clear Function co mplet[...]

  • Page 77

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 65 8.26 Set Hardware Configuration (FN 4Eh) The purpose of this function is to allo w non-hardware-spe cific sof tware to configure host adapter and devices for optimal operation. A T A channels may have two de vices attached, but this function operates on a single[...]

  • Page 78

    T13/2132-D Revision 3 June 23, 201 0 66 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.27 Send Packet Command (FN 50h) 8.27.1 Ove rview This function defines a service that the system BIOS shall call for sending da ta to and from a device implementing a protocol u sing packet transfe rs. The BIOS shall provide this service b efore the OS is loade[...]

  • Page 79

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 67 This PSS shall add tran sport specific information (e .g., header information and CRC) and modify the CDB where necessary with bus specific information. If the secondary bus is a ho t-plug bus such as 1394 or USB, the PSS shall insert d evice addresse s or EUI-6[...]

  • Page 80

    T13/2132-D Revision 3 June 23, 201 0 68 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 8.27.2.3 Output Parameters The following output p arameters (see table 32), match the p a rameters defined in 8.27.1. No other return parame ters are necessar y for this transport. T able 32 — Output Parameters Out Description AL Undefined AH V alue Description[...]

  • Page 81

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 69 8.28 Security Protocol Commands (FN 51h) The purpose of this function is to support th e T r usted Computing feature set (see ACS-2), the SECURITY PROTOCOL IN comm and (see SPC-4), and the SECURITY PROT OCOL OUT command (see SPC-4). Entry AH 51h AL Flags Bit Des[...]

  • Page 82

    T13/2132-D Revision 3 June 23, 201 0 70 Working Draf t Enhanced Disk Drive - 4 (EDD-4) 9 INT 15h Removable Media Eject This function shall be called by the BIOS in response to a softwa re request (INT 13h, AH=46h, Eject Device) to eject media from a removab le media device. A user may press an ejec t button or use a software com mand to request tha[...]

  • Page 83

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t Enhanced Disk Drive - 4 (EDD-4) 71 Annex A (informa tive) Hybrid MBR boot A.1 Hybrid MBR boot overview This annex describes ho w MBR boot code called hybrid MBR boot co de may be constructed to suppor t a GPT disk layout ( see UEFI-2.3 ) in a legac y BIOS system. A.2 GPT support for hybrid MBR bo[...]

  • Page 84

    T13/2132-D Revision 3 June 23, 201 0 72 Working Draf t Enhanced Disk Drive - 4 (EDD-4) Figure A.2 shows an example of a GP T disk layout with hybrid MBR boot code on a disk with an end ing LBA greater than FFFF_FFFFh. The MBR p artition record is not able to describe the LBAs above FFFF_FFFFh. Figure A.2 — GPT disk layout with hy brid MBR boot co[...]

  • Page 85

    June 23, 2010 T13/2132-D Revis ion 3 Work ing Draf t 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 MB R boot code searches the MBR Partition Records for a partition with the Boot Indicator field set to 80h, then load[...]

  • Page 86

    T13/2132-D Revision 3 June 23, 201 0 74 Working Draf t 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-s pecific. If EAX is set to "!GPT", then hybrid VBR boot code uses the GPT Partit ion Entry field to identify its partition. NOTE 6 — In contrast, legac[...]