Lines Matching refs:fdt_paddr
26 pub fdt_paddr: PhysAddr, field
35 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() localVariable
59 BOOT_FDT_PADDR = fdt_paddr; in kernel_main()
99 let fdt_paddr = boot_params().read().arch.fdt_paddr; in parse_dtb() localVariable
100 if fdt_paddr.is_null() { in parse_dtb()
113 let fdt_paddr = unsafe { BOOT_FDT_PADDR }; in early_setup_arch() localVariable
116 unsafe { fdt::Fdt::from_ptr(fdt_paddr.data() as *const u8).expect("Failed to parse fdt!") }; in early_setup_arch()
119 arch_boot_params_guard.arch.fdt_paddr = fdt_paddr; in early_setup_arch()
127 hartid, fdt_paddr in early_setup_arch()