Add a memory chunk to this thread's page table
(
&self,
physaddr: PhysAddr
)
| 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 { |
no test coverage detected