STRUCT EFI_EMBEDDED_FW_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct efi_embedded_fw_desc(9) πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” this page is your no cap briefing on struct efi_embedded_fw_desc. it's highkey the struct the EFI embedded-fw code uses to search for embedded firmwares, and yes, that's the whole slay. ✨


🌸 NAME 🌸

struct efi_embedded_fw_desc β€” this struct is used by the EFI embedded-fw code to search for embedded firmwares. periodt. πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

here's the exact shape, bestie β€” copy it, don't freestyle it:

       struct efi_embedded_fw_desc {
           const char *name;
           u8 prefix[EFI_EMBEDDED_FW_PREFIX_LEN];
           u32 length;
           u8 sha256[32];
        };

🫢 Members 🫢

  • name β€” Name to register the firmware with if found. that's the label it gets if the firmware is found. 🫢
  • prefix β€” First 8 bytes of the firmware. yes, exactly 8 β€” not 7, not 9. πŸ‘‘
  • length β€” Length of the firmware in bytes including prefix. don't forget the prefix, bestie. πŸ“
  • sha256 β€” SHA256 of the firmware. it's giving verification energy. πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file β€” ./include/linux/efi_embedded_fw.h β€” go peek, iykyk. πŸ¦‹

xoxo πŸ’‹ β€” source/version ./include/linux, date October 2026, title struct efi_embedded_fw_desc(9). bye bestie 🫢

πŸ“¦ where this page comes from