STRUCT STRATIX10_SVC_SH_MEMORY(9)
π
struct stratix10_svc_sh_memory π
okay bestie, welcome to the Kernel API Manual β¨ this page is all about struct stratix10_svc_sh_memory β the service shared memory structure. itβs giving very specific kernel lore, and weβre gonna get into it. π«Ά
πΈ NAME πΈ
struct stratix10_svc_sh_memory β service shared memory structure. periodt. π
β¨ SYNOPSIS β¨
struct stratix10_svc_sh_memory {
struct completion sync_complete;
unsigned long addr;
unsigned long size;
svc_invoke_fn *invoke_fn;
};
π«Ά Members π«Ά
sync_completeβ state for a completion. literally thatβs the whole vibe. βaddrβ physical address of shared memory block. the actual location, no cap. πsizeβ size of shared memory block. how much room weβre working with, bestie. πinvoke_fnβ service clients to handle secure monitor or hypervisor calls. this is the hookup for those calls. π
π Description π
This struct is used to save the physical address and size of a shared memory block. The shared memory block (yes, the manpage says βblockedβ β we move π) is allocated by secure monitor software at secure world.
The service layer driver uses that physical address and size to create a memory pool, then allocates a data buffer from that memory pool for the service client. itβs giving infrastructure realness. π₯
π₯ SEE ALSO π₯
- Kernel file
./drivers/firmware/stratix10-svc.c SVC_NUM_DATA_IN_FIFO(9)struct stratix10_svc(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_get_sh_memory(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)
later bestie π
β source/version: ./drivers/firmware Β· date: October 2026 π¦
π¦ 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