Documentation ¶
Index ¶
- type ACPIDevicePath
- type DevicePathSubType
- type DevicePathType
- type EFIDevicePath
- type EFIDevicePaths
- func ParseACPIDevicePath(f io.Reader, efi *EFIDevicePath) EFIDevicePaths
- func ParseDevicePath(f io.Reader) []EFIDevicePaths
- func ParseHardwareDevicePath(f io.Reader, efi *EFIDevicePath) EFIDevicePaths
- func ParseMediaDevicePath(f io.Reader, efi *EFIDevicePath) EFIDevicePaths
- func ParseMessagingDevicePath(f io.Reader, efi *EFIDevicePath) EFIDevicePaths
- type EFILoadOption
- type FileTypeMediaDevicePath
- type FirmwareFielMediaDevicePath
- type HardDriveMediaDevicePath
- type PCIDevicePath
- type USBMessagingDevicePath
- type VendorMessagingDevicePath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACPIDevicePath ¶
type ACPIDevicePath struct { EFIDevicePath HID [4]byte UID [4]byte }
func (ACPIDevicePath) Format ¶
func (a ACPIDevicePath) Format() string
type DevicePathSubType ¶
type DevicePathSubType uint8
Section 10.3.1 Generic Device Path Structures Page 287
const ( ACPIDevice DevicePathSubType ExpandedACPIDevice )
Subtypes of ACPI Device Section 10.3.3 - ACPI Device Path
const ( NewDevicePath DevicePathSubType = 1 NoNewDevicePath DevicePathSubType = 255 )
Table 45. Device Path End Structure Subtypes of EndofHardwareDevicePath
const ( HardwarePCI DevicePathSubType HardwarePCCARD HardwareMemoryMapped HardwareVendor HardwareController HardwareBMC )
Subtypes of ACPI Device Section 10.3.1 - Hardware Device Path
const ( HardDriveDevicePath DevicePathSubType CDRomDevicePath VendorMediaDevicePath FilePathDevicePath MediaProtocolDevicePath PIWGFirmwareDevicePath )
Subtypes of Media Device Section 10.3.5 - Media Device Path
const ( MessagingUSB DevicePathSubType MessagingVendor )
Subtypes of Messaging Device Path Section 10.3.4
type DevicePathType ¶
type DevicePathType uint8
Section 10.3 Device Path Nodes Page 286
const ( Hardware DevicePathType ACPI MessagingDevicePath MediaDevicePath BIOSBootSpecificationDevicePath EndOfHardwareDevicePath DevicePathType = 127 )
type EFIDevicePath ¶
type EFIDevicePath struct { Type DevicePathType SubType DevicePathSubType Length [2]uint8 }
Section 10.2 EFI Device Path Protocol Page 285
func (EFIDevicePath) Format ¶
func (e EFIDevicePath) Format() string
type EFIDevicePaths ¶
type EFIDevicePaths interface {
Format() string
}
func ParseACPIDevicePath ¶
func ParseACPIDevicePath(f io.Reader, efi *EFIDevicePath) EFIDevicePaths
func ParseDevicePath ¶
func ParseDevicePath(f io.Reader) []EFIDevicePaths
func ParseHardwareDevicePath ¶
func ParseHardwareDevicePath(f io.Reader, efi *EFIDevicePath) EFIDevicePaths
func ParseMediaDevicePath ¶
func ParseMediaDevicePath(f io.Reader, efi *EFIDevicePath) EFIDevicePaths
func ParseMessagingDevicePath ¶
func ParseMessagingDevicePath(f io.Reader, efi *EFIDevicePath) EFIDevicePaths
type EFILoadOption ¶
type EFILoadOption struct { Attributes attributes.Attributes FilePathListLength uint16 Description []byte FilePath []EFIDevicePaths OptionalData []byte // TODO: Implement }
Section 3.1.3 Load Options
Page 71
func ParseEFILoadOption ¶
func ParseEFILoadOption(f io.Reader) *EFILoadOption
type FileTypeMediaDevicePath ¶
type FileTypeMediaDevicePath struct { EFIDevicePath PathName []byte }
func (FileTypeMediaDevicePath) Format ¶
func (f FileTypeMediaDevicePath) Format() string
type FirmwareFielMediaDevicePath ¶
type FirmwareFielMediaDevicePath struct { EFIDevicePath FirmwareFileName [16]byte }
func (FirmwareFielMediaDevicePath) Format ¶
func (f FirmwareFielMediaDevicePath) Format() string
type HardDriveMediaDevicePath ¶
type HardDriveMediaDevicePath struct { EFIDevicePath PartitionNumber uint32 PartitionStart [8]byte PartitionSize [8]byte PartitionSignature [16]byte PartitionFormat uint8 SignatureType uint8 }
func (HardDriveMediaDevicePath) Format ¶
func (h HardDriveMediaDevicePath) Format() string
type PCIDevicePath ¶
type PCIDevicePath struct { EFIDevicePath Function [1]byte Device [1]byte }
func (PCIDevicePath) Format ¶
func (p PCIDevicePath) Format() string
type USBMessagingDevicePath ¶
type USBMessagingDevicePath struct { EFIDevicePath USBParentPortNumber uint8 Interface uint8 }
func (USBMessagingDevicePath) Format ¶
func (u USBMessagingDevicePath) Format() string
type VendorMessagingDevicePath ¶
type VendorMessagingDevicePath struct { EFIDevicePath Guid util.EFIGUID }
func (VendorMessagingDevicePath) Format ¶
func (v VendorMessagingDevicePath) Format() string
Click to show internal directories.
Click to hide internal directories.