MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pte1_sync

Function pte1_sync

freebsd/arm/include/pmap_var.h:120–129  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

118 * barrier pte1_sync() should be implemented as well.
119 */
120static __inline void
121pte1_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
131static __inline void
132pte1_sync_range(pt1_entry_t *pte1p, vm_size_t size)

Callers 4

pte1_storeFunction · 0.85
pte1_clear_bitFunction · 0.85
pte1_load_clearFunction · 0.85
pte1_set_bitFunction · 0.85

Calls 1

dcache_wb_pouFunction · 0.85

Tested by

no test coverage detected