Crate axmem

source ·
Expand description

The memory management module, which implements the memory space management of the process.

Structs

  • A continuous virtual area in user memory.
  • File backend for Lazy load MapArea. file should be a file holding a offset value. Normally, MemBackend won’t share a file with other things, so we use a Box here.
  • PageTable + MemoryArea for a process (task)

Statics

  • The map from key to shmid. It’s used to query shmid from key.
  • This struct only hold SharedMem that are not IPC_PRIVATE. IPC_PRIVATE SharedMem will be stored in MemorySet::detached_mem.