acrn_mm_region_add(9)
β¨ NAME β¨
hiii bestie π welcome to the acrn_mm_region_add(9) page, straight outta the Kernel API Manual β itβs giving βset up the EPT mapping of a memory regionβ and honestly? iconic.
πΈ SYNOPSIS πΈ
int acrn_mm_region_add (struct acrn_vm *vm , u64 user_gpa , u64 service_gpa , u64 size , u32 mem_type , u32 mem_access_right );
π ARGUMENTS π
okay so hereβs the cast of characters, no cap:
vmβ User VM. main character energy fr fr π«Άuser_gpaβ a GPA of User VM.service_gpaβ a GPA of Service VM.sizeβ size of the region.mem_typeβ combination ofACRN_MEM_TYPE_*. slay β¨mem_access_rightβ combination ofACRN_MEM_ACCESS_*. periodt π
π RETURN π
0 on success, <0 on error. thatβs the whole vibe check π
π¦ SEE ALSO π¦
go peek at these besties:
- Kernel file
./drivers/virt/acrn/mm.c acrn_mm_region_del(9)acrn_vm_ram_map(9)acrn_vm_all_ram_unmap(9)
bestie reminder: this page is here to help you understand the function β but the literal names, values, paths, and references above stay exactly as they are. iykyk π
okay bye babe π«Ά this lil page lives in ./drivers/virt/acrn and is dated October 2026 β mwah πβ¨
π¦ 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