# Functions
CalculateBiosDirectoryCheckSum calculates expected checksum of BIOS Directory represented in serialised form.
CalculatePSPDirectoryCheckSum calculates expected checksum of PSP Directory represented in serialised form.
FindBIOSDirectoryTable scans firmware for BIOSDirectoryTableCookie and treats remaining bytes as BIOSDirectoryTable.
FindEmbeddedFirmwareStructure locates and parses Embedded Firmware Structure.
FindPSPDirectoryTable scans firmware for PSPDirectoryTableCookie and treats remaining bytes as PSPDirectoryTable.
NewAMDFirmware returns an AMDFirmware structure or an error if internal firmware structures cannot be parsed.
ParseBIOSDirectoryTable converts input bytes into BIOSDirectoryTable.
ParseBIOSDirectoryTableEntry converts input bytes into BIOSDirectoryTableEntry.
ParseEmbeddedFirmwareStructure converts input bytes into EmbeddedFirmwareStructure.
ParsePSPDirectoryTable converts input bytes into PSPDirectoryTable.
ParsePSPDirectoryTableEntry converts input bytes into PSPDirectoryTableEntry.
ParsePSPHeader parses the PSP header that is supposed to be the beginning of each PSP binary.
# Constants
AMDPublicKeyEntry denotes AMD public key entry in PSP Directory table.
APCBDataBackupEntry contains a backup copy of APCB data.
APCBDataEntry represents APCB data entry in BIOS Directory table.
APOBBinaryEntry denotes APOB binary in BIOS Directory table.
$BHD.
$BL2.
BIOSDirectoryTableLevel2Entry denotes an entry that points to BIOS Directory table level 2.
BIOSRTMVolumeEntry represents BIOS RTM Volume entry in BIOS Directory table.
EmbeddedFirmwareStructureSignature is a special identifier of Firmware Embedded Structure.
MicrocodePatchEntry represents the microcode patch file location.
PMUFirmwareDataEntry represents the data portion of PMU firmware.
PMUFirmwareInstructionsEntry represents the instruction portion of PMU firmware.
"$PS1".
PSPBootloaderFirmwareEntry denotes a PSP bootloader firmware entry in PSP Directory table.
"$PSP".
"$PL2".
PSPDirectoryTableLevel2Entry denotes an entry that points to PSP Directory table level 2.
VideoInterpreterEntry interpreter binary that displays the video image.
# Structs
AMDFirmware represents an instance of firmware that exposes AMD specific meatadata and structure.
BIOSDirectoryTable represents a BIOS Directory Table Header with all entries Table 11 & Table 12 from (1).
BIOSDirectoryTableEntry represents a single entry in BIOS Directory Table Table 12 from (1).
BIOSDirectoryTableHeader represents a BIOS Directory Table Header Table 11 from (1).
EmbeddedFirmwareStructure represents Embedded Firmware Structure defined in Table 2 in (1).
PSPDirectoryTable represents PSP Directory Table Header with all entries Table 5 in (1).
PSPDirectoryTableEntry represents a single entry in PSP Directory Table Table 5 in (1).
PSPDirectoryTableHeader represents a BIOS Directory Table Header Tables 3&4 from (1).
PSPFirmware contains essential parts of the AMD's PSP firmware internals.
PSPHeader represents a header of each firmware binary See: https://doc.coreboot.org/soc/amd/psp_integration.html.
# Interfaces
Firmware is an abstraction of a firmware image, obtained for example via flashrom.
# Type aliases
BIOSDirectoryTableEntryType is an entry type of BIOS Directory table.
FirmwareImage implements Firmware given image content.
FirmwareVersion represents PSP firmware version.
PSPDirectoryTableEntryType is an entry type of PSP Directory table.