NE_DEFAULT_MEMORY_REGION(9)
π NE_DEFAULT_MEMORY_REGION(9) π
okay bestie, gather round β this is <pink>NE_DEFAULT_MEMORY_REGION(9)</pink> straight out of the Kernel API Manual, and no cap it's a tiny one but she matters π«Ά
β¨ NAME β¨
NE_DEFAULT_MEMORY_REGION β the memory region for enclave general usage. literally that's her whole job π
π¦ SYNOPSIS π¦
NE_DEFAULT_MEMORY_REGION
that's it. that's the whole synopsis. she's a one-liner and she ate π
πΈ SEE ALSO πΈ
okay this is the part where the group chat gets long, but every single link is here, don't skip, iykyk π§
- Kernel file
./include/uapi/linux/nitro_enclaves.hβ yes, the actual header file, go read it - Nitro Enclaves (NE) Kernel Driver Interface(9) β the main character of this whole saga
NE_CREATE_VM(9)NE_ADD_VCPU(9)NE_GET_IMAGE_LOAD_INFO(9)NE_SET_USER_MEMORY_REGION(9)NE_START_ENCLAVE(9)- NE specific error codes(9) β the whole messy family π
NE_ERR_VCPU_ALREADY_USED(9)NE_ERR_VCPU_NOT_IN_CPU_POOL(9)NE_ERR_VCPU_INVALID_CPU_CORE(9)NE_ERR_INVALID_MEM_REGION_SIZE(9)NE_ERR_INVALID_MEM_REGION_ADDR(9)NE_ERR_UNALIGNED_MEM_REGION_ADDR(9)NE_ERR_MEM_REGION_ALREADY_USED(9)NE_ERR_MEM_NOT_HUGE_PAGE(9)NE_ERR_MEM_DIFFERENT_NUMA_NODE(9)NE_ERR_MEM_MAX_REGIONS(9)NE_ERR_NO_MEM_REGIONS_ADDED(9)NE_ERR_NO_VCPUS_ADDED(9)NE_ERR_ENCLAVE_MEM_MIN_SIZE(9)NE_ERR_FULL_CORES_NOT_USED(9)NE_ERR_NOT_IN_INIT_STATE(9)NE_ERR_INVALID_VCPU(9)NE_ERR_NO_CPUS_AVAIL_IN_POOL(9)NE_ERR_INVALID_PAGE_SIZE(9)NE_ERR_INVALID_FLAG_VALUE(9)NE_ERR_INVALID_ENCLAVE_CID(9)- Image load info flags(9)
NE_EIF_IMAGE(9)struct ne_image_load_info(9)- User memory region flags(9)
struct ne_user_memory_region(9)- Enclave start info flags(9)
NE_ENCLAVE_PRODUCTION_MODE(9)NE_ENCLAVE_DEBUG_MODE(9)struct ne_enclave_start_info(9)
like i said. the whole family reunion ππ
bestie reminder: every one of those is a real page, so if you're lost, just open the one that matches your vibe. no guessing, fr fr π
signing off from ./include/uapi/linux, dated October 2026 β mwah, go read the rest of the series, ily, periodt ππ¦β¨
π¦ 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