summaryrefslogtreecommitdiffstats
path: root/sys/i386/xen/pmap.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-06-27 17:22:18 +0000
committerjhb <jhb@FreeBSD.org>2014-06-27 17:22:18 +0000
commitbdcad19a9af9c3d984703dbaf24fc05b1ec71bc5 (patch)
tree7e9e2c80bfc23e779d3f31084afd22dd5d26f660 /sys/i386/xen/pmap.c
parent79ef481e2b33a1c7f8d214041fe5b51b47d6e9f9 (diff)
downloadFreeBSD-src-bdcad19a9af9c3d984703dbaf24fc05b1ec71bc5.zip
FreeBSD-src-bdcad19a9af9c3d984703dbaf24fc05b1ec71bc5.tar.gz
MFC 261781:
Don't waste a page of KVA for the boot-time memory test on x86. For amd64, reuse the first page of the crashdumpmap as CMAP1/CADDR1. For i386, remove CMAP1/CADDR1 entirely and reuse CMAP3/CADDR3 for the memory test.
Diffstat (limited to 'sys/i386/xen/pmap.c')
-rw-r--r--sys/i386/xen/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c
index 9f3e8bb..fa9bda8 100644
--- a/sys/i386/xen/pmap.c
+++ b/sys/i386/xen/pmap.c
@@ -249,9 +249,9 @@ struct sysmaps {
caddr_t CADDR2;
};
static struct sysmaps sysmaps_pcpu[MAXCPU];
-static pt_entry_t *CMAP3;
+pt_entry_t *CMAP3;
caddr_t ptvmmap = 0;
-static caddr_t CADDR3;
+caddr_t CADDR3;
struct msgbuf *msgbufp = 0;
/*
OpenPOWER on IntegriCloud