Western Digital manual June 23 T13/2132-D Revision Section Entry, Type Description

Page 39

June 23, 2010

T13/2132-D Revision 3

7.3.6 Section Entry

Section entries shall follow Section Headers. The Section Entry identifies a single boot image. This entry shall be the same as the Initial/Default entry with one exception: the reserved bytes at the send of the entry contain selection criteria. The Section Header ID string identifies the section type, and the section type determines how the selection criteria bytes are interpreted. An example would be a section titled "Languages", the 19 bytes could then be language identifiers. If the system language were set to a language, such as French or Japanese, the system may then boot using an image designed for that language. Table 19 describes a Section Entry.

If the 19 bytes provided for selection criteria are insufficient, Section Entry Extensions may be used. There are a possible 30 bytes of information available per extension, see 7.2.6 for more information on Section Entry Extensions.

 

 

 

Table 19 — Section Entry

 

 

 

 

Offset

Type

 

Description

00h

Byte

88h - Header ID indicates a bootable image is present. 00h indicates that a non-bootable

 

 

image is present

 

 

 

01h

Byte

Boot media type. The boot image shall fall into one of three categories: Floppy, Hard Drive,

 

 

or None.

 

 

 

ID

Description

 

 

0

No Emulation

 

 

1

1.2MB diskette

 

 

2

1.44MB diskette

 

 

3

2.88MB diskette

 

 

4

Hard Drive

 

 

05h-FFh

Reserved

 

 

 

02-03h

Word

Load Segment. This shall be the segment address where the first emulated sector of data

 

 

is loaded into system memory. If this field cleared to zero, the default value of 07C0h shall

 

 

be used. For flat memory model architectures (such as Motorola), this is the memory

 

 

address divided by 10h.

 

 

 

04h

Byte

System type. This shall be a copy of byte 5 (system type) from the partition table found in

 

 

the boot image.

05h

Byte

Reserved

 

 

 

 

06h-07h

Word

Sector Count. This shall be the number of emulated sectors the system shall transfer from

 

 

the CD to the Load Segment address in system memory during the boot process. This field

 

 

will normally be set to 01h for 80x86 systems that are booting a floppy or hard drive image.

 

 

For No Emulation Booting, this field could potentially ask for 32MB of data to be loaded from

 

 

the CD or DVD before jumping to the boot address.

 

 

 

08h-0Bh

DWord

Load Block. This shall be the absolute start sector on the CD or DVD of the image to be

 

 

used in the emulation.

0Ch

Byte

Selection Criteria. The selection criteria determines the format for the selection criteria.

 

 

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)

27

Image 39
Contents Revision June 23 Information technology Enhanced Disk Drive 4 EDD-4Points of Contact T13/2132-D Revision 3June 23Working 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 Scope BSR IncitsAmerican National Standard for Information Technology ATA8-APT ATA8-AST Normative references General Approved referencesApproved Ansi References Name References under development Other referencesReferences 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 MediaLocking and Ejecting Function Code Enhanced Disk Drive EDD Support SubsetEDD 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 BVD Boot Volume DescriptorCD/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 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 Hybrid MBR boot Hybrid MBR boot overview GPT support for hybrid MBR boot codeAnnex a Hybrid MBR boot code EAX Hybrid MBR boot code endeavor procedureHybrid VBR boot code