create_hyp_exec_mappings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ create_hyp_exec_mappings(9) ✨

okay so this is a page straight out of the Kernel API Manual, section 9, and it's literally about mapping an executable range into HYP πŸ’… like yes we're doing hypervisor things today bestie


πŸŽ€ NAME πŸŽ€

create_hyp_exec_mappings β€” map an executable range into HYP, no cap 🫢


🌸 SYNOPSIS 🌸

int create_hyp_exec_mappings (phys_addr_t phys_addr , size_t size , void
       **haddr );

it's giving "three arguments, one return value, all business" ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phys_addr β€” the physical start address that gets mapped πŸ’– this is where the region actually lives
  • size β€” size of the region being mapped, like how much of it we're doing
  • haddr β€” HYP VA for this mapping ⭐ (the virtual address on the HYP side, and it comes back through the pointer)

🌈 SEE ALSO 🌈

the whole friend group fr fr, go check them out:


and that's the whole page bestie, short and iconic πŸ’œ

source: ./arch/arm64/kvm Β· dated October 2026 Β· filed under create_hyp_exec_mappings(9) β€” mwah, take care, go map something πŸ§šβ€β™€οΈπŸ”₯
πŸ“¦ where this page comes from