svc_get_sh_memory(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is svc_get_sh_memory(9) from the Kernel API Manual, and it's the function that gets the memory block reserved by secure monitor SW. no cap, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

int svc_get_sh_memory (struct platform_device *pdev , struct
       stratix10_svc_sh_memory *sh_memory );

πŸ’… ARGUMENTS πŸ’…

  • pdev β€” pointer to service layer device. literally that's it, bestie 🫢
  • sh_memory β€” pointer to service shared memory structure. iconic pointer behavior ✨

πŸŽ€ RETURN πŸŽ€

it returns zero for successfully getting the physical address of memory block reserved by secure monitor software, or a negative value on error. periodt. πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

check the Kernel file ./drivers/firmware/stratix10-svc.c β€” the whole squad is right here, iykyk:


mwah πŸ’‹ final cute sign-off: this page lives under source/version ./drivers/firmware, dated October 2026, and it's svc_get_sh_memory(9). bye bestie, go get that memory block πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from