pmap.h (3611ec604864a7d4dcc9a3ea898c80eb35eef8a0) pmap.h (d12c44655065633dd8b8c249ec271a1d8ba63ba4)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 2003 Peter Wemm.
5 * Copyright (c) 1991 Regents of the University of California.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

--- 417 unchanged lines hidden (view full) ---

426void pmap_pinit_pml4(vm_page_t);
427bool pmap_ps_enabled(pmap_t pmap);
428void pmap_unmapdev(vm_offset_t, vm_size_t);
429void pmap_invalidate_page(pmap_t, vm_offset_t);
430void pmap_invalidate_range(pmap_t, vm_offset_t, vm_offset_t);
431void pmap_invalidate_all(pmap_t);
432void pmap_invalidate_cache(void);
433void pmap_invalidate_cache_pages(vm_page_t *pages, int count);
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 2003 Peter Wemm.
5 * Copyright (c) 1991 Regents of the University of California.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

--- 417 unchanged lines hidden (view full) ---

426void pmap_pinit_pml4(vm_page_t);
427bool pmap_ps_enabled(pmap_t pmap);
428void pmap_unmapdev(vm_offset_t, vm_size_t);
429void pmap_invalidate_page(pmap_t, vm_offset_t);
430void pmap_invalidate_range(pmap_t, vm_offset_t, vm_offset_t);
431void pmap_invalidate_all(pmap_t);
432void pmap_invalidate_cache(void);
433void pmap_invalidate_cache_pages(vm_page_t *pages, int count);
434void pmap_invalidate_cache_range(vm_offset_t sva, vm_offset_t eva,
435 boolean_t force);
434void pmap_invalidate_cache_range(vm_offset_t sva, vm_offset_t eva);
435void pmap_force_invalidate_cache_range(vm_offset_t sva, vm_offset_t eva);
436void pmap_get_mapping(pmap_t pmap, vm_offset_t va, uint64_t *ptr, int *num);
437boolean_t pmap_map_io_transient(vm_page_t *, vm_offset_t *, int, boolean_t);
438void pmap_unmap_io_transient(vm_page_t *, vm_offset_t *, int, boolean_t);
439void pmap_pti_add_kva(vm_offset_t sva, vm_offset_t eva, bool exec);
440void pmap_pti_remove_kva(vm_offset_t sva, vm_offset_t eva);
441void pmap_pti_pcid_invalidate(uint64_t ucr3, uint64_t kcr3);
442void pmap_pti_pcid_invlpg(uint64_t ucr3, uint64_t kcr3, vm_offset_t va);
443void pmap_pti_pcid_invlrng(uint64_t ucr3, uint64_t kcr3, vm_offset_t sva,

--- 35 unchanged lines hidden ---
436void pmap_get_mapping(pmap_t pmap, vm_offset_t va, uint64_t *ptr, int *num);
437boolean_t pmap_map_io_transient(vm_page_t *, vm_offset_t *, int, boolean_t);
438void pmap_unmap_io_transient(vm_page_t *, vm_offset_t *, int, boolean_t);
439void pmap_pti_add_kva(vm_offset_t sva, vm_offset_t eva, bool exec);
440void pmap_pti_remove_kva(vm_offset_t sva, vm_offset_t eva);
441void pmap_pti_pcid_invalidate(uint64_t ucr3, uint64_t kcr3);
442void pmap_pti_pcid_invlpg(uint64_t ucr3, uint64_t kcr3, vm_offset_t va);
443void pmap_pti_pcid_invlrng(uint64_t ucr3, uint64_t kcr3, vm_offset_t sva,

--- 35 unchanged lines hidden ---