arm_smccc_1_2_hvc(9)
π arm_smccc_1_2_hvc π
okay bestie, so this is a page straight out of the Kernel API Manual (yes, the kernel has lore and it's giving ancient scroll energy) and it's all about arm_smccc_1_2_hvc β making HVC calls, no cap. Buckle up, it's a short one but it ATE. β¨
πΈ NAME πΈ
arm_smccc_1_2_hvc β literally just: make HVC calls. that's the whole vibe. π
π¦ SYNOPSIS π¦
void arm_smccc_1_2_hvc (const struct arm_smccc_1_2_regs *args , struct
arm_smccc_1_2_regs *res );
that's the whole signature, bestie β copy it exactly, don't be cute with it. π
β¨ ARGUMENTS β¨
argsβ the arguments, passed viastruct arm_smccc_1_2_regs. this is the stuff you're sending in π«Άresβ the result values, coming back at you viastruct arm_smccc_1_2_regs. this is the stuff you're getting back π
π₯ DESCRIPTION π₯
so what does this function actually do? it's the one you call to make HVC calls following SMC Calling Convention v1.2 or above. iykyk. π
here's the tea, step by step (lowkey iconic behaviour):
- the content of the supplied param (that's your
args) are copied from the structure to registers β before theHVCinstruction ever runs. like, prepped and ready. β¨ - then the
HVCinstruction does its thing. - on return from the
HVCinstruction, the return values are updated with the content from registers β landing right back in yourresstruct. π
so it's a lil' round trip: struct β registers β HVC β registers β struct. the main character journey, honestly. π
ngl this is the v1.2-or-above flavour of the HVC party β the convention version is literally in the description, don't sleep on it. π§
π SEE ALSO π
go touch some related grass, bestie, there's a whole friend group here:
- Kernel file
./include/linux/arm-smccc.h arm_smccc_1_1_get_conduit(9)arm_smccc_get_version(9)arm_smccc_get_soc_id_version(9)arm_smccc_get_soc_id_revision(9)struct arm_smccc_res(9)struct arm_smccc_1_2_regs(9)arm_smccc_1_2_smc(9)struct arm_smccc_quirk(9)__arm_smccc_smc(9)__arm_smccc_hvc(9)
and that's the whole page, periodt. π comes to you from ./include/linux, dated October 2026, and it's arm_smccc_1_2_hvc(9) forever and always. mwah, go make some HVC calls responsibly π
ππ
π¦ 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