libnvme(9)
πΈ NAME πΈ
struct nbft_header β NBFT Table - Header (Figure 9). This is the libnvme(9) API Manual page for that exact struct, and bestie, it's giving "table header but make it iconic." π
β¨
β¨ SYNOPSIS β¨
okay so here's the struct exactly as the page gives it, no edits, no cap:
struct nbft_header {
char signature[4];
__le32 length;
__u8 major_revision;
__u8 checksum;
char oem_id[6];
char oem_table_id[8];
__le32 oem_revision;
__le32 creator_id;
__le32 creator_revision;
__le32 heap_offset;
__le32 heap_length;
struct nbft_heap_obj driver_dev_path_sig;
__u8 minor_revision;
__u8 reserved[13];
};
π Members π
okay so here's the cast, and yes every single member gets a bullet because we do not skip in this house:
signatureβ Signature: an ASCII string representation of the table identifier. This field shall be set to the value4E424654h(i.e."NBFT", see#NBFT_HEADER_SIG). πlengthβ Length: the length of the table, in bytes, including the header, starting from offset0h. This field is used to record the size of the entire table. πmajor_revisionβ Major Revision: the major revision of the structure corresponding to the Signature field. Larger major revision numbers should not be assumed backward compatible to lower major revision numbers with the same signature. π¨checksumβ Checksum: the entire table, including the Checksum field, shall sum to0hto be considered valid. βoem_idβ OEMID shall be populated by the NBFT driver writer by an OEM-supplied string that identifies the OEM. All trailing bytes shall beNULL. π·οΈoem_table_idβ OEM Table ID: this field shall be populated by the NBFT driver writer with an OEM-supplied string that the OEM uses to identify the particular data table. This field is particularly useful when defining a definition block to distinguish definition block functions. The OEM assigns each dissimilar table a new OEM Table ID. πoem_revisionβ OEM Revision: an OEM-supplied revision number. Larger numbers are assumed to be newer revisions. π’creator_idβ Creator ID: vendor ID of utility that created the table. For instance, this may be the ID for the ASL Compiler. π οΈcreator_revisionβ Creator Revision: revision of utility that created the table. For instance, this may be the ID for the ASL Compiler. πheap_offsetβ Heap Offset (HO): this field indicates the offset in bytes of the heap, if any, from byte offset0hof the NBFT Table Header. π¦heap_lengthβ Heap Length (HL): the length of the heap, if any. πdriver_dev_path_sigβ Driver Signature Heap Object Reference: this field indicates the offset in bytes of a heap object containing the Driver Signature, if any, from byte offset0hof the NBFT Table Header. πminor_revisionβ Minor Revision: the minor revision of the structure corresponding to the Signature field. If the major revision numbers are the same, any minor revision number differences shall be backwards compatible with the same signature. πreservedβ Reserved. That's it. Reserved. π«
xoxo, your October 2026 struct nbft_header bestie, signing off from libnvme(9) π§ππ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms