Home
last modified time | relevance | path

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

/haiku/src/system/boot/platform/efi/
H A Ddtb.cpp413 uint32 rangesPos = 0; in dtb_get_reg() local
414 while (rangesSize >= (rangesPos + parentAddressCells + addressCells + sizeCells)) { in dtb_get_reg()
420 childAddress = fdt32_to_cpu(*(uint32*)(ranges+rangesPos)); in dtb_get_reg()
422 childAddress = fdt64_to_cpu(*(uint64*)(ranges+rangesPos)); in dtb_get_reg()
424 rangesPos += addressCells; in dtb_get_reg()
427 parentAddress = fdt32_to_cpu(*(uint32*)(ranges+rangesPos)); in dtb_get_reg()
429 parentAddress = fdt64_to_cpu(*(uint64*)(ranges+rangesPos)); in dtb_get_reg()
431 rangesPos += parentAddressCells; in dtb_get_reg()
434 rangeSize = fdt32_to_cpu(*(uint32*)(ranges+rangesPos)); in dtb_get_reg()
436 rangeSize = fdt64_to_cpu(*(uint64*)(ranges+rangesPos)); in dtb_get_reg()
[all …]