MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / give_memory_chunk

Method give_memory_chunk

kernel/src/process.rs:272–279  ·  view source on GitHub ↗

Add a memory chunk to this thread's page table

(
        &self,
        physaddr: PhysAddr
    )

Source from the content-addressed store, hash-verified

270
271 /// Add a memory chunk to this thread's page table
272 pub fn give_memory_chunk(
273 &self,
274 physaddr: PhysAddr
275 ) -> Result<VirtAddr, usize> {
276 memory::put_page_chunk(
277 self.page_table_physaddr,
278 physaddr)
279 }
280
281 /// Get a clone of the VFS mount points
282 pub fn vfs(&self) -> vfs::VFS {

Callers 1

to_valuesMethod · 0.80

Calls 1

put_page_chunkFunction · 0.85

Tested by

no test coverage detected