ti_pruss: make sure the mmap'ed memory region is uncacheable.

MFC after:	1 week
This commit is contained in:
Rui Paulo 2015-01-31 02:12:57 +00:00
parent be0acc1ced
commit c0a9702f95
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277958

View File

@ -258,6 +258,7 @@ ti_pruss_mmap(struct cdev *cdev, vm_ooffset_t offset, vm_paddr_t *paddr,
if (offset > rman_get_size(sc->sc_mem_res))
return (-1);
*paddr = rman_get_start(sc->sc_mem_res) + offset;
*memattr = VM_MEMATTR_UNCACHEABLE;
return (0);
}