diff options
author | jake <jake@FreeBSD.org> | 2002-06-25 15:13:09 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-06-25 15:13:09 +0000 |
commit | e17570ea7d6e727fc62d68f48173e24f2babbb46 (patch) | |
tree | 8367ba0cc3a7c5887d050f7f83b447515f26524a /sys/sparc64/include/pmap.h | |
parent | 44b97afa345d1c7a7deafd8814fbc8fbacdfb1ad (diff) | |
download | FreeBSD-src-e17570ea7d6e727fc62d68f48173e24f2babbb46.zip FreeBSD-src-e17570ea7d6e727fc62d68f48173e24f2babbb46.tar.gz |
pmap_kremove can no longer be used to remove the magic device mappings
installed with pmap_kenter_flags, since the physical addresses may not
have an associated vm_page. Add a function to do this.
Tested by: Tomi Vainio <Tomi.Vainio@Sun.COM>
Diffstat (limited to 'sys/sparc64/include/pmap.h')
-rw-r--r-- | sys/sparc64/include/pmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h index d347fc8..1a8803a 100644 --- a/sys/sparc64/include/pmap.h +++ b/sys/sparc64/include/pmap.h @@ -76,6 +76,7 @@ void pmap_bootstrap(vm_offset_t ekva); void pmap_context_rollover(void); vm_offset_t pmap_kextract(vm_offset_t va); void pmap_kenter_flags(vm_offset_t va, vm_offset_t pa, u_long flags); +void pmap_kremove_flags(vm_offset_t va); void pmap_qenter_flags(vm_offset_t va, vm_page_t *m, int count, u_long fl); int pmap_cache_enter(vm_page_t m, vm_offset_t va); |