</a><h2class="location"><ahref="#">Module mm</a></h2><divclass="sidebar-elems"><section><divclass="block"><ul><li><ahref="#modules">Modules</a></li><li><ahref="#structs">Structs</a></li><li><ahref="#functions">Functions</a></li></ul></div></section></div></nav><main><divclass="width-limiter"><divclass="sub-container"><aclass="sub-logo-container"href="../../os/index.html"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></a><navclass="sub"><formclass="search-form"><divclass="search-container"><span></span><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"title="help"tabindex="-1"><buttontype="button">?</button></div><divid="settings-menu"tabindex="-1">
<divclass="item-table"><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="address/index.html"title="os::mm::address mod">address</a><spantitle="Restricted Visibility"> 🔒</span></div><divclass="item-right docblock-short"><p>Implementation of physical and virtual address and page number.</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="frame_allocator/index.html"title="os::mm::frame_allocator mod">frame_allocator</a><spantitle="Restricted Visibility"> 🔒</span></div><divclass="item-right docblock-short"><p>Implementation of <ahref="frame_allocator/trait.FrameAllocator.html"title="FrameAllocator"><code>FrameAllocator</code></a> which
controls all the frames in the operating system.</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="heap_allocator/index.html"title="os::mm::heap_allocator mod">heap_allocator</a><spantitle="Restricted Visibility"> 🔒</span></div><divclass="item-right docblock-short"><p>The global allocator</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="memory_set/index.html"title="os::mm::memory_set mod">memory_set</a><spantitle="Restricted Visibility"> 🔒</span></div><divclass="item-right docblock-short"><p>Implementation of <ahref="memory_set/struct.MapArea.html"title="MapArea"><code>MapArea</code></a> and <ahref="memory_set/struct.MemorySet.html"title="MemorySet"><code>MemorySet</code></a>.</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="page_table/index.html"title="os::mm::page_table mod">page_table</a><spantitle="Restricted Visibility"> 🔒</span></div><divclass="item-right docblock-short"><p>Implementation of <ahref="page_table/struct.PageTableEntry.html"title="PageTableEntry"><code>PageTableEntry</code></a> and <ahref="page_table/struct.PageTable.html"title="PageTable"><code>PageTable</code></a>.</p>
<divclass="item-table"><divclass="item-row"><divclass="item-left module-item"><aclass="struct"href="struct.FrameTracker.html"title="os::mm::FrameTracker struct">FrameTracker</a></div><divclass="item-right docblock-short"><p>manage a frame which has the same lifecycle as the tracker</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="struct"href="struct.KERNEL_SPACE.html"title="os::mm::KERNEL_SPACE struct">KERNEL_SPACE</a></div><divclass="item-right docblock-short"><p>a memory set instance through lazy_static! managing kernel space</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="struct"href="struct.MapPermission.html"title="os::mm::MapPermission struct">MapPermission</a></div><divclass="item-right docblock-short"><p>map permission corresponding to that in pte: <code>R W X U</code></p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="struct"href="struct.MemorySet.html"title="os::mm::MemorySet struct">MemorySet</a></div><divclass="item-right docblock-short"><p>memory set structure, controls virtual-memory space</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="fn"href="fn.translated_byte_buffer.html"title="os::mm::translated_byte_buffer fn">translated_byte_buffer</a></div><divclass="item-right docblock-short"><p>translate a pointer to a mutable u8 Vec through page table</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="fn"href="fn.translated_refmut.html"title="os::mm::translated_refmut fn">translated_refmut</a></div><divclass="item-right docblock-short"><p>translate a generic through page table and return a mutable reference</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="fn"href="fn.translated_str.html"title="os::mm::translated_str fn">translated_str</a></div><divclass="item-right docblock-short"><p>translate a pointer to a mutable u8 Vec end with <code>\0</code> through page table to a <code>String</code></p>