Remove avail_end. It is not used.

This commit is contained in:
Alan Cox 2004-04-11 05:08:26 +00:00
parent 2c38d78e41
commit bf5a327d5e
2 changed files with 0 additions and 5 deletions

View File

@ -301,7 +301,6 @@ vm_size_t Lev2mapsize, Lev3mapsize;
*/
struct pmap kernel_pmap_store;
vm_offset_t avail_end; /* PA of last available physical page */
vm_offset_t virtual_avail; /* VA of first avail page (after kernel bss) */
vm_offset_t virtual_end; /* VA of last avail page (end of kernel AS) */
static boolean_t pmap_initialized = FALSE; /* Has pmap_init completed? */
@ -511,9 +510,6 @@ pmap_bootstrap(vm_offset_t ptaddr, u_int maxasn)
Lev2map[i] = newpte;
}
for (i = 0; phys_avail[i+2]; i+= 2) ;
avail_end = phys_avail[i+1];
virtual_avail = VM_MIN_KERNEL_ADDRESS;
virtual_end = VPTBASE;

View File

@ -204,7 +204,6 @@ typedef struct pv_entry {
#ifdef _KERNEL
extern vm_offset_t avail_end;
extern vm_offset_t phys_avail[];
extern vm_offset_t virtual_avail;
extern vm_offset_t virtual_end;