Remove avail_end. It is not used.
This commit is contained in:
parent
2c38d78e41
commit
bf5a327d5e
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user