Page MenuHomeFreeBSD

pci_dw: Support multiple memory windows
ClosedPublic

Authored by jrtc27 on Jul 5 2021, 12:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 21, 7:50 PM
Unknown Object (File)
Feb 23 2025, 5:45 PM
Unknown Object (File)
Feb 18 2025, 8:33 PM
Unknown Object (File)
Feb 18 2025, 7:38 PM
Unknown Object (File)
Feb 6 2025, 11:14 PM
Unknown Object (File)
Jan 26 2025, 3:58 AM
Unknown Object (File)
Jan 26 2025, 3:49 AM
Unknown Object (File)
Jan 17 2025, 5:05 PM
Subscribers

Details

Summary

Currently we assume there is only one memory and one prefetch memory
window, and ignore the latter. However, the SiFive FU740 has two normal
memory windows.

As part of this, the viewports are rearranged. Previously the viewports
were memory, config then optionally I/O. Both to simplify the config
index calculation and to ensure it can always be mapped even if we have
too many memory windows for the number of viewports, config is moved to
being the first viewport.

This generalisation now also naturally supports mapping prefetch memory
windows.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable