mm_communicate(9)
π mm_communicate β Kernel API Manual, section 9, bestie
okay so picture this: it's giving kernel API manual, section 9, and the function is mm_communicate. say it with me now β mm_communicate. iconic name, no notes. π
β¨ NAME β¨
mm_communicate β adjusts the communication buffer to StandAlonneMM and then sends it on over to TEE. yes that's the whole job. lowkey a little courier of a function. π¦
ngl the spelling up there is doing its own thing and we are respecting it. StandAlonneMM. copy it exactly if you ever need to. periodt. π
πΈ SYNOPSIS πΈ
efi_status_t mm_communicate (u8 *comm_buf , size_t payload_size );
that's her. that's the whole signature. efi_status_t in, u8 * and size_t arguments, slay. β¨
π«Ά ARGUMENTS π«Ά
comm_bufβ the locally allocated communication buffer, bestie. and listen, it has to be enough big to hold some headers plus the payload. not just the payload. the headers too. do not come for me about the grammar, the manpage said it, I'm saying it. πpayload_sizeβ the payload size. that's it. that's the one. simple queen behavior. π
π RETURN π
a status code. π
that's the whole vibe. efi_status_t, status code, we move.
π SEE ALSO π
- kernel file
./drivers/firmware/efi/stmm/tee_stmm_efi.cβ go read the source, iykwim π§ tee_mm_communicate(9)setup_mm_hdr(9)get_max_payload(9)
and that's the page!! mwah π this came to you from ./drivers/firmware/efi/stmm, dated October 2026, and it lives in the mm_communicate(9) section forever and always. go be an icon, go call your buffers, ily. πβπ
π¦ 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