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

Function pmap_copy_page

freebsd/amd64/amd64/pmap.c:7797–7804  ·  view source on GitHub ↗

* Copy 1 specified hardware page to another. */

Source from the content-addressed store, hash-verified

7795 * Copy 1 specified hardware page to another.
7796 */
7797void
7798pmap_copy_page(vm_page_t msrc, vm_page_t mdst)
7799{
7800 vm_offset_t src = PHYS_TO_DMAP(VM_PAGE_TO_PHYS(msrc));
7801 vm_offset_t dst = PHYS_TO_DMAP(VM_PAGE_TO_PHYS(mdst));
7802
7803 pagecopy((void *)src, (void *)dst);
7804}
7805
7806int unmapped_buf_allowed = 1;
7807

Callers

nothing calls this directly

Calls 1

pagecopyFunction · 0.85

Tested by

no test coverage detected