MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / new_bare

Method new_bare

os/src/mm/memory_set.rs:42–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40
41impl MemorySet {
42 pub fn new_bare() -> Self {
43 Self {
44 page_table: PageTable::new(),
45 areas: Vec::new(),
46 }
47 }
48 pub fn token(&self) -> usize {
49 self.page_table.token()
50 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected