package
0.0.0-20221215221243-b79a0d8da330
Repository: https://github.com/purecloudlabs/gprovision.git
Documentation: pkg.go.dev
# Functions
add a boot entry.
returns list of boot entries (BootXXXX)note that BootCurrent, BootOptionSupport, BootNext, BootOrder, etc do not count as boot entries.
Return all boot-related uefi vars.
Returns all efi variables.
Returns true only if all given filters return true.
return true if the system booted via UEFI (as opposed to legacy).
A VarNameFilter passing boot entries.
A VarNameFilter passing boot-related vars.
https://gist.github.com/bradleypeabody/185b1d7ed6c0c2ab6cec.
Check if given drive contains /efi/boot/bootx64.efi (case insensitive).
Returns a filter negating the given filter.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Gets BootXXXX var, if it exists.
Reads BootCurrent, and from there gets the BootXXXX var referenced.
No description provided by the author
Returns efi variables matching filter.
No description provided by the author
# 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
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.
# Structs
No description provided by the author
No description provided by the author
A boot entry.
No description provided by the author
No description provided by the author
struct in EfiDevicePathProtocol for DppHTypePCI.
struct in EfiDevicePathProtocol for DppMTypeFilePath.if multiple are included in a load option, concatenate them.
struct in EfiDevicePathProtocol for DppMTypeHdd.
struct in EfiDevicePathProtocol for DppMTypePIWGFF.
struct in EfiDevicePathProtocol for DppMTypePIWGFV.
pg 293.
pg 300.
EfiDevicePathProtocolHdr - all variants start with the following three fields: typedef struct _EFI_DEVICE_PATH_PROTOCOL { UINT8 Type; UINT8 SubType; UINT8 Length[2]; } EFI_DEVICE_PATH_PROTOCOL; It seems that the only relevant Type (for booting) is media.
marks end of EfiDevicePathProtocol.
No description provided by the author
EfiLoadOption defines the data struct used for vars such as BootXXXX.
a generic efi var.
No description provided by the author
# Interfaces
An 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
No description provided by the author
we only define media and end subtypes; others exist in spec.
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
No description provided by the author
A type of function used to filter efi vars.