smccc_hvc(9)
okay so you're on the smccc_hvc(9) page in the Kernel API Manual, and it's giving kernel bestie energy πβ¨. The whole vibe? smccc_hvc invokes a SMCCC function using the hvc conduit. No cap. π«Ά
πΈ NAME πΈ
smccc_hvc β invoke a SMCCC function using the hvc conduit. periodt. π
π¦ SYNOPSIS π¦
Here's the whole signature, bestie β copy it exactly, don't come for me:
void smccc_hvc (u32 function_id , u64 arg0 , u64 arg1 , u64 arg2 , u64
arg3 , u64 arg4 , u64 arg5 , u64 arg6 , struct arm_smccc_res *res );
π ARGUMENTS π
okay so the arguments are literally right here, and yes we're keeping every single one:
function_idβ the SMCCC function to be called.arg0-arg6are the SMCCC function arguments, corresponding to registersx1-x7.arg0β-- undescribed --arg1β-- undescribed --arg2β-- undescribed --arg3β-- undescribed --arg4β-- undescribed --arg5β-- undescribed --arg6β-- undescribed --resβ pointer to write the return values from registersx0-x3.
not me listing every arg even when they're all -- undescribed -- π but the page said it, so we're saying it. π«Ά
π SEE ALSO π
go peek at these too, iykyk:
- Kernel file
./tools/testing/selftests/kvm/include/arm64/processor.h struct arm_smccc_res(9)smccc_smc(9)
and that's the whole vibe check π
β¨. This page's source/version is ./tools/testing/selftests/kvm/... and smccc_hvc(9), dated October 2026 β mwah, slay, bye bestie π«Άπ
π¦ 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