summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-02-23 20:00:33 +0000
committerjake <jake@FreeBSD.org>2002-02-23 20:00:33 +0000
commitdb96a614fec1d77e13f6e870a932aece53d1fdff (patch)
treeaf3efd5cab3926beb1c3a89cbb4a87a5a5e8e5c3 /sys
parentd715e97c9bcdb0527a3c4a6379fbb0e2b6540376 (diff)
downloadFreeBSD-src-db96a614fec1d77e13f6e870a932aece53d1fdff.zip
FreeBSD-src-db96a614fec1d77e13f6e870a932aece53d1fdff.tar.gz
Remove CADDR1 and CADDR2 which are no longer used. On other architectures
these are used for copy and zeroing physical pages; we use physical addresses directly.
Diffstat (limited to 'sys')
-rw-r--r--sys/sparc64/sparc64/pmap.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c
index 5f2ddcc..33ebf81 100644
--- a/sys/sparc64/sparc64/pmap.c
+++ b/sys/sparc64/sparc64/pmap.c
@@ -160,13 +160,6 @@ struct pmap kernel_pmap_store;
static char pmap_context_map[PMAP_CONTEXT_MAX];
static u_int pmap_context_base;
-/*
- * Virtual addresses of free space for temporary mappings. Used for copying,
- * zeroing and mapping physical pages for /dev/mem accesses.
- */
-static vm_offset_t CADDR1;
-static vm_offset_t CADDR2;
-
static boolean_t pmap_initialized = FALSE;
/* Convert a tte data field into a page mask */
@@ -381,15 +374,6 @@ pmap_bootstrap(vm_offset_t ekva)
Maxmem = sparc64_btop(avail_end);
/*
- * Allocate virtual address space for copying and zeroing pages of
- * physical memory.
- */
- CADDR1 = virtual_avail;
- virtual_avail += PAGE_SIZE;
- CADDR2 = virtual_avail;
- virtual_avail += PAGE_SIZE;
-
- /*
* Allocate virtual address space for the message buffer.
*/
msgbufp = (struct msgbuf *)virtual_avail;
OpenPOWER on IntegriCloud