arm_smccc_1_2_hvc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 via struct arm_smccc_1_2_regs. this is the stuff you're sending in 🫢
  • res β€” the result values, coming back at you via struct 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):

  1. the content of the supplied param (that's your args) are copied from the structure to registers β€” before the HVC instruction ever runs. like, prepped and ready. ✨
  2. then the HVC instruction does its thing.
  3. on return from the HVC instruction, the return values are updated with the content from registers β€” landing right back in your res struct. 🌈

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:


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