diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2002-05-29 05:56:05 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2002-05-29 05:56:05 +0000 |
commit | e793e4d0b375c1e739afecc25d1c75a3e99b19f8 (patch) | |
tree | e5bcdc7e3ba2ba4f16ddbec01d90f1afaa0d5aa2 /sys/sparc64/include/pv.h | |
parent | 35738638d6da22457eeb50724ade02706810402e (diff) |
Add pv list linkage and a pmap pointer to struct tte. Remove separately
allocated pv entries and use the linkage in the tte for pv operations.
Notes
Notes:
svn path=/head/; revision=97446
Diffstat (limited to 'sys/sparc64/include/pv.h')
-rw-r--r-- | sys/sparc64/include/pv.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/sys/sparc64/include/pv.h b/sys/sparc64/include/pv.h index 96b2b89939f3..5d977d794c0c 100644 --- a/sys/sparc64/include/pv.h +++ b/sys/sparc64/include/pv.h @@ -40,20 +40,10 @@ #ifndef _MACHINE_PV_H_ #define _MACHINE_PV_H_ -extern uma_zone_t pvzone; -extern struct vm_object pvzone_obj; -extern int pv_entry_count; -extern int pv_entry_max; -extern int pv_entry_high_water; -extern struct pv_entry *pvinit; +struct tte; -void *pv_allocf(uma_zone_t zone, int bytes, u_int8_t *flags, int wait); -pv_entry_t pv_alloc(void); -void pv_free(pv_entry_t pv); - -void pv_insert(pmap_t pm, vm_page_t m, vm_offset_t va); -pv_entry_t pv_lookup(pmap_t pm, vm_page_t m, vm_offset_t va); -void pv_remove(pmap_t pm, vm_page_t m, vm_offset_t va); +void pv_insert(pmap_t pm, vm_page_t m, struct tte *tp); +void pv_remove(pmap_t pm, vm_page_t m, struct tte *tp); int pv_page_exists(pmap_t pm, vm_page_t m); void pv_remove_all(vm_page_t m); |