mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00:00
arm64/qemu/fdt: merge ioresource MEM64 to prefetchable memory
this commit with fix prefetchable memory fault on IVSHMEM Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
parent
fa44369e0f
commit
55f616f055
1 changed files with 2 additions and 1 deletions
|
|
@ -127,7 +127,8 @@ static void register_pci_host_from_fdt(const void *fdt)
|
|||
io.start = fdt_ld_by_cells(ranges + na, pna);
|
||||
io.end = io.start + fdt_ld_by_cells(ranges + na + pna, ns);
|
||||
}
|
||||
else if ((type & FDT_PCI_PREFTCH) == FDT_PCI_PREFTCH)
|
||||
else if ((type & FDT_PCI_PREFTCH) == FDT_PCI_PREFTCH ||
|
||||
(type & FDT_PCI_TYPE_MASK) == FDT_PCI_TYPE_MEM64)
|
||||
{
|
||||
prefetch.start = fdt_ld_by_cells(ranges + na, pna);
|
||||
prefetch.end = prefetch.start +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue