summaryrefslogtreecommitdiffstats
path: root/sys/i386
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/i386
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/i386')
-rw-r--r--sys/i386/include/pmap.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index fed8e5a..d19c3a9f 100644
--- a/sys/i386/include/pmap.h
+++ b/sys/i386/include/pmap.h
@@ -185,9 +185,7 @@ extern pd_entry_t PTDpde[];
extern pdpt_entry_t *IdlePDPT;
#endif
extern pd_entry_t *IdlePTD; /* physical address of "Idle" state directory */
-#endif
-#ifdef _KERNEL
/*
* virtual address to page table entry and
* to physical address.
@@ -450,14 +448,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