We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Clone
Copy
PhysOffset
1 parent 66b17b6 commit fe80bb4Copy full SHA for fe80bb4
1 file changed
src/structures/paging/mapper/offset_page_table.rs
@@ -51,7 +51,7 @@ impl<'a> OffsetPageTable<'a> {
51
52
/// A [`PageTableFrameMapping`] implementation that requires that the complete physical memory is mapped at some
53
/// offset in the virtual address space.
54
-#[derive(Debug)]
+#[derive(Clone, Copy, Debug)]
55
pub struct PhysOffset {
56
phys_offset: VirtAddr,
57
}
0 commit comments