Lines Matching refs:PhysAddr
85 pub struct PhysAddr(usize); struct
87 impl PhysAddr { impl
117 impl Debug for PhysAddr { implementation
123 impl core::ops::Add<usize> for PhysAddr { implementation
132 impl core::ops::AddAssign<usize> for PhysAddr { implementation
139 impl core::ops::Add<PhysAddr> for PhysAddr { implementation
143 fn add(self, rhs: PhysAddr) -> Self::Output { in add()
148 impl core::ops::AddAssign<PhysAddr> for PhysAddr { implementation
150 fn add_assign(&mut self, rhs: PhysAddr) { in add_assign() argument
155 impl core::ops::Sub<usize> for PhysAddr { implementation
164 impl core::ops::SubAssign<usize> for PhysAddr { implementation
171 impl core::ops::Sub<PhysAddr> for PhysAddr { implementation
175 fn sub(self, rhs: PhysAddr) -> Self::Output { in sub()
180 impl core::ops::SubAssign<PhysAddr> for PhysAddr { implementation
182 fn sub_assign(&mut self, rhs: PhysAddr) { in sub_assign() argument
315 pub base: PhysAddr,
415 unsafe fn table(table_kind: PageTableKind) -> PhysAddr; in table() argument
418 unsafe fn set_table(table_kind: PageTableKind, table: PhysAddr); in set_table() argument
426 unsafe fn phys_2_virt(phys: PhysAddr) -> Option<VirtAddr> { in phys_2_virt()
444 unsafe fn virt_2_phys(virt: VirtAddr) -> Option<PhysAddr> { in virt_2_phys() argument
446 return Some(PhysAddr::new(paddr)); in virt_2_phys()
456 fn initial_page_table() -> PhysAddr; in initial_page_table()