consts

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BasePhysAddr is the physical memory address where the mapped image ends.
	BasePhysAddr = uefiConsts.BasePhysAddr

	// FITPointerOffset is the offset of the physical address of the FIT pointer.
	// See "1 Firmware Interface Table" in "Firmware Interface Table" specification:
	//  * https://www.intel.com/content/dam/www/public/us/en/documents/guides/fit-bios-specification.pdf
	FITPointerOffset = 0x40

	// FITPointerPhysAddr is the physical address of the FIT pointer.
	// See "1 Firmware Interface Table" in "Firmware Interface Table" specification:
	//  * https://www.intel.com/content/dam/www/public/us/en/documents/guides/fit-bios-specification.pdf
	FITPointerPhysAddr = BasePhysAddr - FITPointerOffset

	// FITPointerSize is the size of the FIT pointer.
	// It is suggested to be 0x10 bytes because of "Figure 1-1" of the specification.
	FITPointerSize = 0x10
)
View Source
const (
	// FITHeadersMagic is the magic string, expected in the beginning of the
	// first FIT entry
	FITHeadersMagic = "_FIT_   "
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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