STRUCT LOADER_MSG_HDR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct loader_msg_hdr β€” the Kernel API Manual moment πŸŽ€

okay bestie, so we're looking at struct loader_msg_hdr from the Kernel API Manual and honestly? it's giving "small but iconic." it's literally the Header for ISH Loader commands β€” like the little name tag every command wears so everyone knows who's who. πŸ¦‹


✨ SYNOPSIS ✨

struct loader_msg_hdr {
    u8 command;
    u8 reserved[2];
    u8 status;
 };

that's the whole thing. four fields. no cap, that's it. (yes the closing brace has a lil space before it in the original, we're keeping it exactly like that, we don't touch the source πŸ’…)


🌸 Members 🌸

  • command β€” straight up the LOADER_CMD* commands. and bestie, plot twist: bit 7 is the response. so that one byte is doing double duty, main character energy fr fr.
  • reserved β€” reserved space. it's just... vibing there. don't touch it. it has a job (sitting there) and it's doing it. πŸ™ˆ
  • status β€” the command response status. non 0 means error condition β€” so like, if it's not zero, something's wrong, periodt. 😭

🌈 Description 🌈

so here's the vibe check: this structure is used as the header for every command/data sent/received between the Host driver and the ISH Shim firmware loader. every single one. it's the header of headers, the group chat admin of the loader protocol, lowkey obsessed with how consistent it is. ⭐


πŸ”₯ SEE ALSO πŸ”₯

y'all need the whole crew? here they are, in order, besties:


ngl, if you're poking at ISH Loader commands, read these before you start typing. iykyk. 🫢

that's the whole page, bestie πŸ’œ this one came from ./drivers/hid/intel-ish-hid, dated October 2026 β€” go off, kernel docs, you ate. βœ¨πŸ‘‘

πŸ“¦ where this page comes from