meson_sm_call_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… meson_sm_call_write(9) β€” send data to secure-monitor ✨

okay so bestie, this is meson_sm_call_write(9) from the Kernel API Manual, and it's literally your little gateway for sending data over to the secure-monitor. 🫢 It's giving "kernel firmware helper, but make it communicate." No cap.


🌸 NAME 🌸

meson_sm_call_write β€” send data to secure-monitor

✨ SYNOPSIS ✨

int meson_sm_call_write (struct meson_sm_firmware *fw , void *buffer ,
unsigned int size , unsigned int cmd_index , u32 arg0 , u32 arg1 , u32
arg2 , u32 arg3 , u32 arg4 );

🧚 ARGUMENTS 🧚

  • fw β€” Pointer to secure-monitor firmware πŸ’–
  • buffer β€” Buffer containing data to send πŸŽ€
  • size β€” Size of the data to send ✨
  • cmd_index β€” Index of the SMC32 function ID πŸ”₯
  • arg0 β€” SMC32 Argument 0 πŸ“
  • arg1 β€” SMC32 Argument 1 πŸ¦‹
  • arg2 β€” SMC32 Argument 2 πŸ’œ
  • arg3 β€” SMC32 Argument 3 🌈
  • arg4 β€” SMC32 Argument 4 πŸ‘‘

πŸ’« RETURN πŸ’«

On success, you get the size of sent data back β€” that's the win. πŸŽ‰ On error? You get a negative value, bestie, so check that before you start celebrating. 😭

🌈 SEE ALSO 🌈

Kernel file: ./drivers/firmware/meson/meson_sm.c


This page is sourced from ./drivers/firmware/meson and stamped October 2026. Periodt, bestie. πŸ’…πŸŽ€

πŸ“¦ where this page comes from