Documentation ¶
Index ¶
Constants ¶
View Source
const ( EFICode = "OVMF_CODE.fd" EFIVars = "OVMF_VARS.fd" EFICodeAARCH64 = "AAVMF_CODE.fd" EFIVarsAARCH64 = "AAVMF_VARS.fd" EFICodeSecureBoot = "OVMF_CODE.secboot.fd" EFIVarsSecureBoot = "OVMF_VARS.secboot.fd" EFICodeSEV = "OVMF_CODE.cc.fd" EFIVarsSEV = EFIVars )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EFIEnvironment ¶
type EFIEnvironment struct {
// contains filtered or unexported fields
}
func DetectEFIEnvironment ¶
func DetectEFIEnvironment(arch, ovmfPath string) *EFIEnvironment
func (*EFIEnvironment) Bootable ¶
func (e *EFIEnvironment) Bootable(secureBoot, sev bool) bool
func (*EFIEnvironment) EFICode ¶
func (e *EFIEnvironment) EFICode(secureBoot, sev bool) string
func (*EFIEnvironment) EFIVars ¶
func (e *EFIEnvironment) EFIVars(secureBoot, sev bool) string
Click to show internal directories.
Click to hide internal directories.