diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-08-08 14:47:53 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-08-08 14:47:53 +0000 |
commit | 84634fdb0689056642bc66d89af73f9fccd8a35b (patch) | |
tree | 003465c2ca6b83feeac0f88ca757fc67b6808324 /include | |
parent | 138094adfc427eab4ed40210670248b4b6e8240c (diff) |
Mapping non-cachable memory as cachable and subsequently changing the mapping
to non-cachable is retarded. Fix this by introducing PMAP_NOCACHE and
PMAP_DEVICE flags that can be or'ed into the physical address passed to
pmap_kenter(9), like we have on many of our other architectures. This way we
can also properly distinguish between device memory and normal (non-cachable)
memory.
ok visa@
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions