summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/pmap.h
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-11-24 20:25:52 +0000
committereivind <eivind@FreeBSD.org>1998-11-24 20:25:52 +0000
commite7c29487755d8870e79c70fec98fecd11b66a98b (patch)
tree722d6dc220090745efe9a28851086d2fbef0bd2f /sys/i386/include/pmap.h
parentd79b4eeee76e951d137c4c56dfb6b7fcdd9a2631 (diff)
downloadFreeBSD-src-e7c29487755d8870e79c70fec98fecd11b66a98b.zip
FreeBSD-src-e7c29487755d8870e79c70fec98fecd11b66a98b.tar.gz
Move the declaration of PPro_vmtrr from the header file to pmap.c,
replacing the one in the header file with a definition. This makes it easier to work with tools that grok ANSI C only.
Diffstat (limited to 'sys/i386/include/pmap.h')
-rw-r--r--sys/i386/include/pmap.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index 25bfc62..5251be3 100644
--- a/sys/i386/include/pmap.h
+++ b/sys/i386/include/pmap.h
@@ -42,7 +42,7 @@
*
* from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
* from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
- * $Id: pmap.h,v 1.55 1998/05/11 01:05:59 dyson Exp $
+ * $Id: pmap.h,v 1.56 1998/06/21 14:08:27 mckay Exp $
*/
#ifndef _MACHINE_PMAP_H_
@@ -237,9 +237,10 @@ typedef struct pv_entry {
#define NPPROVMTRR 8
#define PPRO_VMTRRphysBase0 0x200
#define PPRO_VMTRRphysMask0 0x201
-struct {
+struct ppro_vmtrr {
u_int64_t base, mask;
-} PPro_vmtrr[NPPROVMTRR];
+};
+extern struct ppro_vmtrr PPro_vmtrr[NPPROVMTRR];
extern caddr_t CADDR1;
extern pt_entry_t *CMAP1;
OpenPOWER on IntegriCloud