Eliminate unused global variables.

This commit is contained in:
Alan Cox 2006-11-11 20:57:52 +00:00
parent 92a36a3a0f
commit cc0d48ffb6
5 changed files with 0 additions and 10 deletions

View File

@ -218,7 +218,6 @@ static vm_offset_t kernel_pt_lookup(vm_paddr_t);
static MALLOC_DEFINE(M_VMPMAP, "pmap", "PMAP L1");
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) */
vm_offset_t pmap_curmaxkvaddr;

View File

@ -129,7 +129,6 @@ struct pcpu *pcpup = &__pcpu;
vm_paddr_t phys_avail[10];
vm_paddr_t dump_avail[4];
vm_offset_t physical_pages;
vm_offset_t clean_sva, clean_eva;
struct pv_addr systempage;
struct pv_addr msgbufpv;
@ -496,7 +495,6 @@ initarm(void *arg, void *arg2)
/* Do basic tuning, hz etc */
init_param1();
init_param2(physmem);
avail_end = KERNPHYSADDR + memsize - 1;
kdb_init();
return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP -
sizeof(struct pcb)));

View File

@ -213,9 +213,6 @@ vtopte(vm_offset_t va)
return (ptep);
}
extern vm_offset_t avail_end;
extern vm_offset_t clean_eva;
extern vm_offset_t clean_sva;
extern vm_offset_t phys_avail[];
extern vm_offset_t virtual_avail;
extern vm_offset_t virtual_end;

View File

@ -146,7 +146,6 @@ vm_paddr_t physical_start;
vm_paddr_t physical_end;
vm_paddr_t physical_freestart;
vm_offset_t physical_pages;
vm_offset_t clean_sva, clean_eva;
struct pv_addr systempage;
struct pv_addr irqstack;
@ -455,7 +454,6 @@ initarm(void *arg, void *arg2)
init_param1();
init_param2(physmem);
kdb_init();
avail_end = 0xc0000000 + memsize - 1;
return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP -
sizeof(struct pcb)));
}

View File

@ -68,8 +68,6 @@ struct pmap kernel_pmap_store;
struct msgbuf *msgbufp;
vm_offset_t msgbuf_phys;
vm_offset_t avail_start;
vm_offset_t avail_end;
vm_offset_t kernel_vm_end;
vm_offset_t phys_avail[PHYS_AVAIL_SZ];
vm_offset_t virtual_avail;