* Virtual interface for L1 page table entries management. * * XXX: Some of the following functions now with a synchronization barrier * are called in a loop, so it could be useful to have two versions of them. * One with the barrier and one without the barrier. In this case, pure * barrier pte1_sync() should be implemented as well. */
| 118 | * barrier pte1_sync() should be implemented as well. |
| 119 | */ |
| 120 | static __inline void |
| 121 | pte1_sync(pt1_entry_t *pte1p) |
| 122 | { |
| 123 | |
| 124 | dsb(); |
| 125 | #ifndef PMAP_PTE_NOCACHE |
| 126 | if (!cpuinfo.coherent_walk) |
| 127 | dcache_wb_pou((vm_offset_t)pte1p, sizeof(*pte1p)); |
| 128 | #endif |
| 129 | } |
| 130 | |
| 131 | static __inline void |
| 132 | pte1_sync_range(pt1_entry_t *pte1p, vm_size_t size) |
no test coverage detected