setup_mm_hdr(9)
π setup_mm_hdr(9) π
okay so welcome to the Kernel API Manual, bestie β this page is all about setup_mm_hdr(9), and it's lowkey iconic. π«Ά
β¨ NAME β¨
setup_mm_hdr β Allocate a buffer for StandAloneMM and initialize the header data. that's the whole assignment, no cap. π
πΈ SYNOPSIS πΈ
the signature is giving:
void * setup_mm_hdr (u8 **dptr , size_t payload_size , size_t func );
π ARGUMENTS π
dptrβ pointer address to store allocated buffer. bestie, this is the spot where the allocated buffer gets stored. πpayload_sizeβ payload size. literally the payload size, that's it. πfuncβ standAloneMM function number. yep, the function number. π’
π₯ RETURN π₯
returns a pointer to the corresponding StandAloneMM function buffer, or NULL. that's the tea. β
π¦ SEE ALSO π¦
- Kernel file
./drivers/firmware/efi/stmm/tee_stmm_efi.cβ the source file to peek at, iykyk. π tee_mm_communicate(9)β another one to check out. β¨mm_communicate(9)β yes bestie, this too. πget_max_payload(9)β and this one. periodt. π
mwah π this page comes from ./drivers/firmware/efi/stmm, dated October 2026, and it's all about setup_mm_hdr(9). bye bestie, go allocate something cute π«Άπ
π¦ 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