Searched refs:fdt_paddr (Results 1 – 4 of 4) sorted by relevance
26 pub fdt_paddr: PhysAddr, field35 fdt_paddr: PhysAddr::new(0),44 return VirtAddr::new(self.fdt_paddr.data()); in arch_fdt()54 unsafe extern "C" fn kernel_main(hartid: usize, fdt_paddr: usize) -> ! { in kernel_main()55 let fdt_paddr = PhysAddr::new(fdt_paddr); in kernel_main() localVariable59 BOOT_FDT_PADDR = fdt_paddr; in kernel_main()99 let fdt_paddr = boot_params().read().arch.fdt_paddr; in parse_dtb() localVariable100 if fdt_paddr.is_null() { in parse_dtb()113 let fdt_paddr = unsafe { BOOT_FDT_PADDR }; in early_setup_arch() localVariable116 unsafe { fdt::Fdt::from_ptr(fdt_paddr.data() as *const u8).expect("Failed to parse fdt!") }; in early_setup_arch()[all …]
15 let fdt_paddr = bp_guard.arch.fdt_paddr; in map_fdt() localVariable17 let offset = fdt_paddr.data() & crate::arch::MMArch::PAGE_OFFSET_MASK; in map_fdt()19 let map_paddr = PhysAddr::new(fdt_paddr.data() & crate::arch::MMArch::PAGE_MASK); in map_fdt()
111 pub fn fdt_paddr(&self) -> Option<PhysAddr> { in fdt_paddr() method113 return Some(self.arch.fdt_paddr); in fdt_paddr()
333 let fdt_paddr = boot_params().read().arch.fdt_paddr; in early_reserve_fdt_itself() localVariable334 let rsvd_start = PhysAddr::new(page_align_down(fdt_paddr.data())); in early_reserve_fdt_itself()335 let rsvd_size = page_align_up(fdt_paddr.data() - rsvd_start.data() + fdt.total_size()); in early_reserve_fdt_itself()