Searched refs:memory_range (Results 1 – 3 of 3) sorted by relevance
181 fn patch_memory_range(fdt: &mut Fdt, memory_range: &Range<usize>) -> libfdt::Result<()> { in patch_memory_range()183 let size = u64::try_from(memory_range.len()).unwrap(); in patch_memory_range()577 fn validate_pci_info(pci_info: &PciInfo, memory_range: &Range<usize>) -> Result<(), RebootReason> { in validate_pci_info()579 validate_pci_addr_range(range, memory_range)?; in validate_pci_info()592 memory_range: &Range<usize>, in validate_pci_addr_range()624 let memory_start = memory_range.start.try_into().unwrap(); in validate_pci_addr_range()625 let memory_end = memory_range.end.try_into().unwrap(); in validate_pci_addr_range()916 pub memory_range: Range<usize>, field1023 let memory_range = read_and_validate_memory_range(fdt)?; in parse_device_tree() localVariable1054 validate_pci_info(&pci_info, &memory_range)?; in parse_device_tree()[all …]
112 let memory_range = info.memory_range; in new() localVariable114 MEMORY.lock().as_mut().unwrap().shrink(&memory_range).map_err(|e| { in new()
111 let memory_range = fdt.first_memory_range()?; in try_main() localVariable112 MEMORY.lock().as_mut().unwrap().shrink(&memory_range).map_err(|e| { in try_main()