3 vendor-defined media device path, 4 file path media device path, 5 media protocol device path – Intel Extensible Firmware Interface User Manual

Page 238

Advertising
background image

Extensible Firmware Interface Specification

8-18

12/01/02

Version 1.10

8.3.5.3 Vendor-Defined Media Device Path

Table 8-26. Vendor-Defined Media Device Path


Mnemonic

Byte
Offset

Byte
Length


Description

Type 0

1

Type

4

– Media Device Path.

Sub-Type 1

1

Sub-Type

3

– Vendor.

Length

2

2

Length of this structure in bytes. Length is 20 + n bytes.

Vendor_GUID

4

16

Vendor-assigned GUID that defines the data that follows.

Vendor Defined Data

20

n

Vendor-defined variable size data.

8.3.5.4 File Path Media Device Path

Table 8-27. File Path Media Device Path


Mnemonic

Byte
Offset

Byte
Length


Description

Type 0

1

Type

4

– Media Device Path.

Sub-Type 1

1

Sub-Type

4

– File Path.

Length

2

2

Length of this structure in bytes. Length is 4 + n bytes.

Path Name

4

n

Unicode Path string including directory and file names. The
length of this string

n

can be determined by subtracting 4

from the Length entry. A device path may contain one or
more of these nodes. The complete path to a file can be
found by concatenating all the File Path Media Device Path
nodes. This is typically used to describe the directory path
in one node, and the filename in another node.

8.3.5.5 Media Protocol Device Path

The Media Protocol Device Path is used to denote the protocol that is being used in a device path at
the location of the path specified. Many protocols are inherent to the style of device path.

Table 8-28. Media Protocol Media Device Path


Mnemonic

Byte
Offset

Byte
Length


Description

Type 0

1

Type

4

– Media Device Path.

Sub-Type 1

1

Sub-Type

5

– Media Protocol.

Length

2

2

Length of this structure in bytes. Length is 20 bytes.

Protocol GUID

4

16

The ID of the protocol.

Advertising