fsp

package
v0.0.0-...-759cef8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VPD_MIN_SIZE = 0x20
	UPD_MIN_SIZE = 0x20
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error int
const (
	SUCCESS              Error = 0x00000000
	INVALID_PARAMETER    Error = 0x80000002
	UNSUPPORTED          Error = 0x80000003
	NOT_READY            Error = 0x80000006
	DEVICE_ERROR         Error = 0x80000007
	OUT_OF_RESOURCES     Error = 0x80000009
	VOLUME_CORRUPTED     Error = 0x8000000A
	NOT_FOUND            Error = 0x8000000E
	TIMEOUT              Error = 0x80000012
	ABORTED              Error = 0x80000015
	INCOMPATIBLE_VERSION Error = 0x80000010
	SECURITY_VIOLATION   Error = 0x8000001A
	CRC_ERROR            Error = 0x8000001B
)

func (Error) Error

func (e Error) Error() string

type File

type File struct {
	VolumnHeader    efi.VolumnHeader
	VolumnExtHeader efi.VolumnExtHeader
	FfsHeader       efi.FfsFileHeader
	FspHeader       Header
	VPD             interface{}
	UPD             interface{}
	Firmware        []byte
}

type GlobalData

type GlobalData struct {
	Signature     uint32
	CoreStack     uint32
	PlatData      PlatData
	FspInfoHeader Header
	UpdDataRgnPtr interface{}
	ApiMode       uint8

	PerfIdx  uint32
	PerfData [32]uint64
	// contains filtered or unexported fields
}
type Header struct {
	Signature    [4]uint8
	HeaderLength uint32

	HeaderRevision         uint8
	ImageRevision          uint32
	ImageId                uint64
	ImageSize              uint32
	ImageBase              uint32
	ImageAttribute         uint32
	CfgRegionOffset        uint32
	CfgRegionSize          uint32
	ApiEntryNum            uint32
	TempRamInitEntryOffset uint32
	FspInitEntryOffset     uint32
	NotifyPhaseEntryOffset uint32
	// contains filtered or unexported fields
}

type PlatData

type PlatData struct {
	Data                []byte
	MicrocodeRegionBase uint32
	MicrocodeRegionSize uint32
	CodeRegionBase      uint32
	CodeRegionSize      uint32
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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