pldm_parse_header(9)
π pldm_parse_header(9) π
okay bestie, welcome to the Kernel API Manual page for pldm_parse_header β this is the little function that does the PLDM header vibe check before anything else gets to pop off β¨
π§ SYNOPSIS π§
int pldm_parse_header (struct pldmfw_priv *data );
π ARGUMENTS π
dataβ pointer to private data. thatβs the whole argument, bestie π«Ά
β¨ DESCRIPTION β¨
So basically, pldm_parse_header performs the initial basic verification of the PLDM image, up to the first firmware record. itβs giving βfirst look before the real work startsβ energy π
This includes the following checks and extractions:
- Verify that the UUID at the start of the header matches the expected value as defined in the DSP0267 PLDM specification π¦
- Check that the revision is
0x01β - Extract the total
header_sizeand verify that the image is large enough to contain at least the length of this header π - Extract the size of the component bitmap length πΈ
- Extract a pointer to the start of the record area π
π RETURN π
zero on success, or a negative error code on failure. no in-between, no cap π
π₯ SEE ALSO π₯
Kernel file ./lib/pldmfw/pldmfw.c and these iconic little functions:
pldm_check_fw_space(9)pldm_move_fw_offset(9)pldm_check_desc_tlv_len(9)pldm_parse_desc_tlvs(9)pldm_parse_one_record(9)pldm_parse_records(9)pldm_parse_components(9)pldm_verify_header_crc(9)pldmfw_free_priv(9)pldm_parse_image(9)pldmfw_op_pci_match_record(9)pldm_find_matching_record(9)pldm_send_package_data(9)pldm_send_component_tables(9)pldm_flash_components(9)pldm_finalize_update(9)pldmfw_flash_image(9)
xoxo, this page is brought to you by source/version ./lib/pldmfw, dated October 2026, on pldm_parse_header(9) β slay and stay safe out there π
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms