STRUCT MCHP_IPC_SBI_MSG(9)
π struct mchp_ipc_sbi_msg(9) β like, the IPC SBI payload message, bestie
okay so this is a page from the Kernel API Manual and it's literally all about struct mchp_ipc_sbi_msg, which is the IPC SBI payload message β¨ buckle up, it's short but it's iconic.
πΈ NAME πΈ
struct mchp_ipc_sbi_msg β IPC SBI payload message π
β¨ SYNOPSIS β¨
here's the whole vibe, copy-pasted straight from the source because we do not paraphrase code in this house:
struct mchp_ipc_sbi_msg {
u64 buf_addr;
u16 size;
u8 irq_type;
};
three members. that's it. that's the whole struct. lowkey obsessed with how tidy it is π
π§ Members π§
buf_addrβ the physical address where the received data should be copied to. like, that's the destination, bestie, that's where the goods go π¦sizeβ the maximum size (in bytes) that can be stored in the buffer pointed to bybuf. so it's the capacity check, the "don't overflow me please" number πirq_typeβ a mask representing the irq types that triggered an irq. it's giving "which interrupt woke me up" energy β‘
π Description π
so this struct is the one used by the SBI_EXT_IPC_SEND/SBI_EXT_IPC_RECEIVE SBI function ids to send/receive a message from an associated processor using the IPC π«Ά
that's the whole description. it's a payload struct, it does payload struct things, and honestly? main character energy for such a small struct. periodt π
π¦ SEE ALSO π¦
- the kernel file
./drivers/mailbox/mailbox-mchp-ipc-sbi.cβ yes, the whole path, go read it, iykyk π struct mchp_ipc_mbox_info(9)struct mchp_ipc_init(9)struct mchp_ipc_status(9)
go click through those, they're the friend group this struct rolls with π
ngl if you're poking at mailbox stuff on MCHP hardware, this is your girl. no cap, keep the size honest or the vibes (and the buffers) get wrecked π
and that's the page!! mwah π this lil number lives in ./drivers/mailbox, dated October 2026, and it's filed under struct mchp_ipc_sbi_msg(9) β catch you in the next manpage, bestie πβ¨π
π¦ 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