- pmap_kenter_temporary() is unused by machine-independent code. Therefore,
move its declaration to the machine-dependent header file on those machines that use it. In principle, only i386 should have it. Alpha and AMD64 should use their direct virtual-to-physical mapping. - Remove pmap_kenter_temporary() from ia64. It is unused. Approved by: marcel@
This commit is contained in:
parent
87bd2f457b
commit
b14d6acced
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128097
@ -214,6 +214,7 @@ struct vmspace;
|
||||
vm_offset_t pmap_steal_memory(vm_size_t);
|
||||
void pmap_bootstrap(vm_offset_t, u_int);
|
||||
void pmap_kenter(vm_offset_t va, vm_offset_t pa);
|
||||
void *pmap_kenter_temporary(vm_offset_t pa, int i);
|
||||
void pmap_kremove(vm_offset_t);
|
||||
void pmap_setdevram(unsigned long long basea, vm_offset_t sizea);
|
||||
int pmap_uses_prom_console(void);
|
||||
|
@ -264,6 +264,7 @@ extern vm_offset_t virtual_end;
|
||||
|
||||
void pmap_bootstrap(vm_paddr_t *);
|
||||
void pmap_kenter(vm_offset_t va, vm_paddr_t pa);
|
||||
void *pmap_kenter_temporary(vm_offset_t pa, int i);
|
||||
void pmap_kremove(vm_offset_t);
|
||||
void *pmap_mapdev(vm_paddr_t, vm_size_t);
|
||||
void pmap_unmapdev(vm_offset_t, vm_size_t);
|
||||
|
@ -330,6 +330,7 @@ extern vm_offset_t virtual_end;
|
||||
|
||||
void pmap_bootstrap(vm_paddr_t, vm_paddr_t);
|
||||
void pmap_kenter(vm_offset_t va, vm_paddr_t pa);
|
||||
void *pmap_kenter_temporary(vm_offset_t pa, int i);
|
||||
void pmap_kremove(vm_offset_t);
|
||||
void *pmap_mapdev(vm_paddr_t, vm_size_t);
|
||||
void pmap_unmapdev(vm_offset_t, vm_size_t);
|
||||
|
@ -1691,16 +1691,6 @@ pmap_enter_quick(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_page_t mpte)
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Make temporary mapping for a physical address. This is called
|
||||
* during dump.
|
||||
*/
|
||||
void *
|
||||
pmap_kenter_temporary(vm_offset_t pa, int i)
|
||||
{
|
||||
return (void *) IA64_PHYS_TO_RR7(pa - (i * PAGE_SIZE));
|
||||
}
|
||||
|
||||
/*
|
||||
* pmap_object_init_pt preloads the ptes for a given object
|
||||
* into the specified pmap. This eliminates the blast of soft
|
||||
|
@ -129,7 +129,6 @@ void pmap_zero_page_idle(vm_page_t);
|
||||
int pmap_mincore(pmap_t pmap, vm_offset_t addr);
|
||||
void pmap_activate(struct thread *td);
|
||||
vm_offset_t pmap_addr_hint(vm_object_t obj, vm_offset_t addr, vm_size_t size);
|
||||
void *pmap_kenter_temporary(vm_offset_t pa, int i);
|
||||
void pmap_init2(void);
|
||||
|
||||
#define pmap_resident_count(pm) ((pm)->pm_stats.resident_count)
|
||||
|
Loading…
Reference in New Issue
Block a user