diff options
-rw-r--r-- | sys/powerpc/aim/mmu_oea.c | 2 | ||||
-rw-r--r-- | sys/powerpc/aim/mmu_oea64.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index d45b34e..46623ca 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -384,6 +384,8 @@ moea_calc_wimg(vm_paddr_t pa, vm_memattr_t ma) switch (ma) { case VM_MEMATTR_UNCACHEABLE: return (PTE_I | PTE_G); + case VM_MEMATTR_CACHEABLE: + return (PTE_M); case VM_MEMATTR_WRITE_COMBINING: case VM_MEMATTR_WRITE_BACK: case VM_MEMATTR_PREFETCHABLE: diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c index 90cb4a3..3cc9aa8 100644 --- a/sys/powerpc/aim/mmu_oea64.c +++ b/sys/powerpc/aim/mmu_oea64.c @@ -434,6 +434,8 @@ moea64_calc_wimg(vm_paddr_t pa, vm_memattr_t ma) switch (ma) { case VM_MEMATTR_UNCACHEABLE: return (LPTE_I | LPTE_G); + case VM_MEMATTR_CACHEABLE: + return (LPTE_M); case VM_MEMATTR_WRITE_COMBINING: case VM_MEMATTR_WRITE_BACK: case VM_MEMATTR_PREFETCHABLE: |