summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5f2ddccf1c30..33ebf8132de9 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;