diff options
author | alc <alc@FreeBSD.org> | 2004-04-05 04:08:00 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-04-05 04:08:00 +0000 |
commit | c5bba2b0af89c5fbf5bf2927feb01b1848903f30 (patch) | |
tree | d5734bd520b1d83207e08895176749d4c1174032 /sys/powerpc | |
parent | 90325c0beb7bc2b10a042e90975bc7c3dbeeed3d (diff) | |
download | FreeBSD-src-c5bba2b0af89c5fbf5bf2927feb01b1848903f30.zip FreeBSD-src-c5bba2b0af89c5fbf5bf2927feb01b1848903f30.tar.gz |
Remove avail_start on those platforms that no longer use it. (Only amd64
does anything with it beyond simple initialization.)
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/mmu_oea.c | 6 | ||||
-rw-r--r-- | sys/powerpc/include/pmap.h | 1 | ||||
-rw-r--r-- | sys/powerpc/powerpc/mmu_oea.c | 6 | ||||
-rw-r--r-- | sys/powerpc/powerpc/pmap.c | 6 |
4 files changed, 6 insertions, 13 deletions
diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index 1d43cbb..b71da92 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -199,9 +199,8 @@ struct msgbuf *msgbufp; vm_offset_t msgbuf_phys; /* - * Physical addresses of first and last available physical page. + * Physical address of the last available physical page. */ -vm_offset_t avail_start; vm_offset_t avail_end; int pmap_pagedaemon_waken; @@ -773,9 +772,8 @@ pmap_bootstrap(vm_offset_t kernelstart, vm_offset_t kernelend) } /* - * Calculate the first and last available physical addresses. + * Calculate the last available physical address. */ - avail_start = phys_avail[0]; for (i = 0; phys_avail[i + 2] != 0; i += 2) ; avail_end = phys_avail[i + 1]; diff --git a/sys/powerpc/include/pmap.h b/sys/powerpc/include/pmap.h index 73f11b3..f565d7d 100644 --- a/sys/powerpc/include/pmap.h +++ b/sys/powerpc/include/pmap.h @@ -83,7 +83,6 @@ int pmap_pte_spill(vm_offset_t); #define vtophys(va) pmap_kextract(((vm_offset_t)(va))) -extern vm_offset_t avail_start; extern vm_offset_t avail_end; extern vm_offset_t phys_avail[]; extern vm_offset_t virtual_avail; diff --git a/sys/powerpc/powerpc/mmu_oea.c b/sys/powerpc/powerpc/mmu_oea.c index 1d43cbb..b71da92 100644 --- a/sys/powerpc/powerpc/mmu_oea.c +++ b/sys/powerpc/powerpc/mmu_oea.c @@ -199,9 +199,8 @@ struct msgbuf *msgbufp; vm_offset_t msgbuf_phys; /* - * Physical addresses of first and last available physical page. + * Physical address of the last available physical page. */ -vm_offset_t avail_start; vm_offset_t avail_end; int pmap_pagedaemon_waken; @@ -773,9 +772,8 @@ pmap_bootstrap(vm_offset_t kernelstart, vm_offset_t kernelend) } /* - * Calculate the first and last available physical addresses. + * Calculate the last available physical address. */ - avail_start = phys_avail[0]; for (i = 0; phys_avail[i + 2] != 0; i += 2) ; avail_end = phys_avail[i + 1]; diff --git a/sys/powerpc/powerpc/pmap.c b/sys/powerpc/powerpc/pmap.c index 1d43cbb..b71da92 100644 --- a/sys/powerpc/powerpc/pmap.c +++ b/sys/powerpc/powerpc/pmap.c @@ -199,9 +199,8 @@ struct msgbuf *msgbufp; vm_offset_t msgbuf_phys; /* - * Physical addresses of first and last available physical page. + * Physical address of the last available physical page. */ -vm_offset_t avail_start; vm_offset_t avail_end; int pmap_pagedaemon_waken; @@ -773,9 +772,8 @@ pmap_bootstrap(vm_offset_t kernelstart, vm_offset_t kernelend) } /* - * Calculate the first and last available physical addresses. + * Calculate the last available physical address. */ - avail_start = phys_avail[0]; for (i = 0; phys_avail[i + 2] != 0; i += 2) ; avail_end = phys_avail[i + 1]; |