On 3/11/22 10:50, Hans Petter Selasky wrote:
On 3/11/22 10:32, Andrew Turner wrote:You can use PMAP_HAS_DMAP to check if the DMAP region is supported, however you’ll need a fallback to create a temporary mapping.You may want to look at how the LinuxKPI handles this.
More specifically kmap() and kunmap() . --HPS