amdbiosimage

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirectoryLevelAll = DirectoryLevel(iota)
	DirectoryLevelL1
	DirectoryLevelL2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Accessor

type Accessor struct {
	Image *biosimage.BIOSImage
	Cache cache.Cache
}

Accessor is the accessor of Intel-specific data from a BIOS region

func Get

func Get(ctx context.Context, s *types.State) (*Accessor, error)

Get returns an Accessor from the State (and lazily creates one if it is not created).

func (*Accessor) AMDFirmware

func (a *Accessor) AMDFirmware() (*manifest.AMDFirmware, error)

func (*Accessor) BIOSDirectoryEntries

func (a *Accessor) BIOSDirectoryEntries(level DirectoryLevel, entryTypes ...manifest.BIOSDirectoryTableEntryType) ([]manifest.BIOSDirectoryTableEntry, error)

func (*Accessor) Init

func (a *Accessor) Init(img *biosimage.BIOSImage, cache cache.Cache)

Init implements accessor.Accessor.

func (*Accessor) SystemArtifact

func (a *Accessor) SystemArtifact() *biosimage.BIOSImage

Init implements accessor.Accessor.

type DirectoryLevel

type DirectoryLevel int

func (DirectoryLevel) String

func (l DirectoryLevel) String() string

Jump to

Keyboard shortcuts

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