svc_get_sh_memory(9)
β¨ 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:
SVC_NUM_DATA_IN_FIFO(9)struct stratix10_svc(9)struct stratix10_svc_sh_memory(9)struct stratix10_svc_data_mem(9)struct stratix10_svc_data(9)struct stratix10_svc_async_handler(9)struct stratix10_async_chan(9)struct stratix10_async_ctrl(9)struct stratix10_svc_chan(9)struct stratix10_svc_controller(9)svc_pa_to_va(9)svc_thread_cmd_data_claim(9)svc_thread_cmd_config_status(9)svc_thread_recv_status_ok(9)svc_normal_to_secure_thread(9)svc_normal_to_secure_shm_thread(9)svc_create_memory_pool(9)svc_smccc_smc(9)svc_smccc_hvc(9)svc_smccc_1_2_full(9)get_invoke_func(9)stratix10_svc_request_channel_byname(9)stratix10_svc_add_async_client(9)stratix10_svc_remove_async_client(9)stratix10_svc_async_send(9)stratix10_svc_async_prepare_response(9)stratix10_svc_async_poll(9)stratix10_svc_async_done(9)stratix10_svc_async_init(9)stratix10_svc_async_exit(9)stratix10_svc_free_channel(9)stratix10_svc_send(9)stratix10_svc_done(9)stratix10_svc_allocate_memory(9)stratix10_svc_free_memory(9)
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
- 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