Eliminate pmap_init2(). It's no longer used.

This commit is contained in:
Alan Cox 2005-11-20 06:09:49 +00:00
parent e1000b3617
commit 97a0c226d6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152630
10 changed files with 0 additions and 57 deletions

View File

@ -583,11 +583,6 @@ pmap_init(void)
pv_entry_high_water = 9 * (pv_entry_max / 10);
}
void
pmap_init2()
{
}
/***************************************************
* Manipulate TLBs for a pmap

View File

@ -579,11 +579,6 @@ pmap_init(void)
uma_zone_set_obj(pvzone, &pvzone_obj, pv_entry_max);
}
void
pmap_init2()
{
}
/***************************************************
* Low level helper routines.....

View File

@ -2198,11 +2198,6 @@ pmap_fault_fixup(pmap_t pm, vm_offset_t va, vm_prot_t ftype, int user)
return (rv);
}
void
pmap_init2(void)
{
}
void
pmap_postinit(void)
{

View File

@ -504,11 +504,6 @@ pmap_init(void)
#endif
}
void
pmap_init2()
{
}
/***************************************************
* Low level helper routines.....

View File

@ -537,11 +537,6 @@ pmap_init(void)
NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM|UMA_ZONE_NOFREE);
}
void
pmap_init2()
{
}
/***************************************************
* Manipulate TLBs for a pmap

View File

@ -67,11 +67,6 @@ CODE {
return;
}
static void mmu_null_init2(mmu_t mmu)
{
return;
}
static boolean_t mmu_null_is_prefaultable(mmu_t mmu, pmap_t pmap,
vm_offset_t va)
{
@ -289,15 +284,6 @@ METHOD void init {
} DEFAULT mmu_null_init;
/**
* @brief Called from vm_init2/proc0_init, so can be used as a last-chance
* init before process scheduling starts. This routine is optional.
*/
METHOD void init2 {
mmu_t _mmu;
} DEFAULT mmu_null_init2;
/**
* @brief Return if the page has been marked by MMU hardware to have been
* modified

View File

@ -146,12 +146,6 @@ pmap_init(void)
MMU_INIT(mmu_obj);
}
void
pmap_init2(void)
{
MMU_INIT2(mmu_obj);
}
boolean_t
pmap_is_modified(vm_page_t m)
{

View File

@ -588,16 +588,6 @@ pmap_init(void)
}
}
/*
* Initialize the address space (zone) for the pv_entries. Set a
* high water mark so that the system can recover from excessive
* numbers of pv entries.
*/
void
pmap_init2(void)
{
}
/*
* Extract the physical page address associated with the given
* map/virtual_address pair.

View File

@ -128,7 +128,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_init2(void);
#define pmap_resident_count(pm) ((pm)->pm_stats.resident_count)
#define pmap_wired_count(pm) ((pm)->pm_stats.wired_count)

View File

@ -279,7 +279,6 @@ vm_init2(void)
NULL,
#endif
vmspace_zinit, vmspace_zfini, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
pmap_init2();
}
static __inline void