Home
last modified time | relevance | path

Searched refs:base_index (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs190 let base_index = i * (addr_cells + size_cells); in early_init_scan_memory() localVariable
192 let (base, base_index) = read_cell(reg.value, base_index, addr_cells); in early_init_scan_memory()
193 let (size, _) = read_cell(reg.value, base_index, size_cells); in early_init_scan_memory()
423 let mut base_index = 0; in reserved_mem_reserve_reg() localVariable
426 let (base, bi) = read_cell(reg.value, base_index, addr_cells); in reserved_mem_reserve_reg()
427 base_index = bi; in reserved_mem_reserve_reg()
428 let (size, bi) = read_cell(reg.value, base_index, size_cells); in reserved_mem_reserve_reg()
429 base_index = bi; in reserved_mem_reserve_reg()
466 fn read_cell(reg_value: &[u8], base_index: usize, cells: usize) -> (u64, usize) { in read_cell()
467 let next_base_index = base_index + cells * 4; in read_cell()
[all …]