ENUM ISH_LOADER_COMMANDS(9)
π 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:
struct loader_msg_hdr(9)struct response_info(9)get_firmware_variant(9)loader_cl_send(9)process_recv(9)loader_cl_event_cb(9)ish_query_loader_prop(9)ish_fw_xfer_ishtp(9)ish_fw_xfer_direct_dma(9)ish_fw_start(9)load_fw_from_host(9)loader_init(9)loader_ishtp_cl_probe(9)loader_ishtp_cl_remove(9)loader_ishtp_cl_reset(9)
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
- 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