summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pmap.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2009-06-22 04:21:02 +0000
committeralc <alc@FreeBSD.org>2009-06-22 04:21:02 +0000
commit4dc742f489b3b14470cc448c4407a947ead5de0e (patch)
tree58e3663e0b6480c63fdd722ea1f73294981ea6cb /sys/amd64/include/pmap.h
parenta9f9901eedf6fd1ac6fb13e1e2efce09e6746bcd (diff)
downloadFreeBSD-src-4dc742f489b3b14470cc448c4407a947ead5de0e.zip
FreeBSD-src-4dc742f489b3b14470cc448c4407a947ead5de0e.tar.gz
Eliminate dead code. These definitions should have been deleted with the
introduction of i686_mem.c in r45405. Merge adjacent #ifdef _KERNEL/#endif blocks.
Diffstat (limited to 'sys/amd64/include/pmap.h')
-rw-r--r--sys/amd64/include/pmap.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index c95a9f9..b428a52 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -175,9 +175,7 @@ typedef u_int64_t pml4_entry_t;
#define PML4pml4e ((pd_entry_t *)(addr_PML4pml4e))
extern u_int64_t KPML4phys; /* physical address of kernel level 4 */
-#endif
-#ifdef _KERNEL
/*
* virtual address to page table entry and
* to physical address.
@@ -294,14 +292,6 @@ struct pv_chunk {
#ifdef _KERNEL
-#define NPPROVMTRR 8
-#define PPRO_VMTRRphysBase0 0x200
-#define PPRO_VMTRRphysMask0 0x201
-struct ppro_vmtrr {
- u_int64_t base, mask;
-};
-extern struct ppro_vmtrr PPro_vmtrr[NPPROVMTRR];
-
extern caddr_t CADDR1;
extern pt_entry_t *CMAP1;
extern vm_paddr_t phys_avail[];
OpenPOWER on IntegriCloud