MCPcopy Create free account
hub / github.com/IBM/ACE-RISCV / empty

Method empty

security-monitor/src/core/page_allocator/allocator.rs:102–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 fn empty() -> Self {
101 Self { root: PageStorageTreeNode::empty(), base_address: 0, page_size: PageSize::largest() }
102 }
103
104 /// Find the largest page size we can create a page at.
105 /// Precondition: The current address is aligned to the given page size.
106 #[rr::requires("Haddr_aligned" : "address `aligned_to` page_size_in_bytes_nat page_size")]
107 /// Precondition: The current address is in bounds of the given memory region.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected