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

Function pmap_kenter_pt2tab

freebsd/arm/arm/pmap-v6.c:1344–1356  ·  view source on GitHub ↗

* Share new kernel PT2PG with all pmaps. * The caller is responsible for maintaining TLB consistency. */

Source from the content-addressed store, hash-verified

1342 * The caller is responsible for maintaining TLB consistency.
1343 */
1344static void
1345pmap_kenter_pt2tab(vm_offset_t va, pt2_entry_t npte2)
1346{
1347 pmap_t pmap;
1348 pt2_entry_t *pte2p;
1349
1350 mtx_lock_spin(&allpmaps_lock);
1351 LIST_FOREACH(pmap, &allpmaps, pm_list) {
1352 pte2p = pmap_pt2tab_entry(pmap, va);
1353 pt2tab_store(pte2p, npte2);
1354 }
1355 mtx_unlock_spin(&allpmaps_lock);
1356}
1357
1358/*
1359 * Share new kernel PTE1 with all pmaps.

Callers 1

pmap_pt2pg_initFunction · 0.85

Calls 2

pmap_pt2tab_entryFunction · 0.85
pt2tab_storeFunction · 0.85

Tested by

no test coverage detected