efi

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL