ENUM ISH_LOADER_COMMANDS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ish_loader_commands(9) πŸ’…

okay so bestie, we're deep in the Kernel API Manual today and honestly? this one is a whole mood. it's a tiny little enum β€” three constants, no cap β€” that tells the ISH loader host what it's supposed to be doing. main character energy for a firmware loader, fr fr. let's get into it 🫢


✨ NAME ✨

enum ish_loader_commands β€” the ISH loader host commands, periodt. that's it, that's the vibe check πŸ’–


🌸 SYNOPSIS 🌸

enum ish_loader_commands {
    LOADER_CMD_XFER_QUERY ,
    LOADER_CMD_XFER_FRAGMENT ,
    LOADER_CMD_START

};

like, look at her. three commands, sitting there, slaying πŸŽ€


πŸ¦‹ Constants πŸ¦‹

  • LOADER_CMD_XFER_QUERY β€” the "hey bestie what can u even do" command. it queries the Shim firmware loader for its capabilities ✨
  • LOADER_CMD_XFER_FRAGMENT β€” moves one firmware image fragment at a time, lowkey one bite at a time πŸ“ and here's the thing: the command may be executed multiple times until the entire firmware image is downloaded to SRAM. so yeah, she's a repeat girly. no cap πŸ”₯
  • LOADER_CMD_START β€” the moment we've all been waiting for: start executing the main firmware. it's giving finale. it's giving main character. it's giving go πŸ’…πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ

sooo if you wanna keep reading (and you should, iykyk), go look at the Kernel file ./drivers/hid/intel-ish-hid/ishtp-fw-loader.c and these iconic little guys:

like a whole friend group honestly 🌈


quick reminder bestie: this page lives in ./drivers/hid/intel-ish-hid, dated October 2026. don't lose the receipt 🧚

anyway that's the page!! go forth and query those capabilities, you absolute icon πŸ’–βœ¨πŸŒΈπŸ¦‹πŸŽ€πŸ’…πŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from