package
7.0.0+incompatible
Repository: https://github.com/rminnich/u-root.git
Documentation: pkg.go.dev
# Functions
AllBootEntryVars returns list of boot entries (BootXXXX).
AllBootVars returns all uefi vars that use the boot UUID and whose names begin with Boot.
BootCurrent returns the BootCurrent var, if any, from the given list.
BootEntries takes a list of efi vars and parses any that are boot entries, returning a list of them.
A VarNameFilter passing boot entries.
BootVar decodes an efivar as a boot entry.
A VarNameFilter passing boot-related vars.
IsBootEntry returns true if the given var is a boot entry.
ParseDppAcpiDevPath parses input into a DppAcpiDevPath.
ParseDppAcpiExDevPath parses input into a DppAcpiExDevPath.
Parses input into a DppHwPci struct.
No description provided by the author
ParseDppMediaHdd parses input into a DppMediaHDD struct.
ParseDppMediaPIWGFF parses the input into a DppMediaPIWGFF.
ParseDppMediaPIWGFV parses input into a DppMediaPIWGFV.
ParseDppMsgATAPI parses input into a DppMsgATAPI.
ParseDppMsgMAC parses input into a DppMsgMAC.
ParseFilePathList decodes a FilePathList as found in a boot var.
ReadBootCurrent reads and returns the BootCurrent var.
Gets BootXXXX var, if it exists.
Reads BootCurrent, and from there gets the BootXXXX var referenced.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
only for DppTypeHw?.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
30.
27.
17.
31.
29.
3.
4.
6.
9.
12.
13.
19.
11.
32.
23.
documented as 32, likely 33.
22.
18.
2.
26.
14.
25.
24.
5.
15.
16.
10 //uart flow control, sas are subtypes.
20.
28.
0x02.
0x04 //p321.
0x01.
0x05 //media protocol i.e.
0x06.
0x07.
0x09.
0x08.
0x03.
0x02, pg 290.
0x05, pg 287.
No description provided by the author
0x01, pg 288.
0x04, pg 319.
0x03, pg 293.
# Variables
No description provided by the author
No description provided by the author
Device Path Protocol is used for more than boot entries.
No description provided by the author
# Structs
BootCurrentVar represents the UEFI BootCurrent var.
BootEntryVar is a boot entry.
DppAcpiDevPath is an acpi device path.
DppAcpiExDevPath is an expanded dpp acpi device path.
DppHwPci is the struct in EfiDevicePathProtocol for DppHTypePCI.
DppMediaFilePath is a struct in EfiDevicePathProtocol for DppMTypeFilePath.
DppMediaHDD is the struct in EfiDevicePathProtocol for DppMTypeHdd.
struct in EfiDevicePathProtocol for DppMTypePIWGFF.
struct in EfiDevicePathProtocol for DppMTypePIWGFV.
DppMsgATAPI is a struct describing an atapi dpp message.
DppMsgMAC contains a MAC address.
EfiDevicePathProtocolHdr is three one-byte fields that all DevicePathProtocol entries begin with.
EfiDevPathEnd marks end of EfiDevicePathProtocol.
No description provided by the author
EfiLoadOption defines the data struct used for vars such as BootXXXX.
HddResolver can identify and mount a partition.
# Interfaces
EfiDevicePathProtocol identifies a device path.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
EfiDevPathProtoSubType is a dpp subtype in the spec.
No description provided by the author
EfiDppACPISubType is the dpp subtype for ACPI.
EfiDppEndSubType defines the end of a device path protocol sequence.
EfiDppHwSubType is the dpp subtype for hardware.
No description provided by the author
No description provided by the author
PathResolver outputs a file path.