Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 2010 19:52:04 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216306 - head/sys/amd64/amd64
Message-ID:  <201012081952.oB8Jq4mV013198@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Wed Dec  8 19:52:04 2010
New Revision: 216306
URL: http://svn.freebsd.org/changeset/base/216306

Log:
  MFi386 r1.94: If XEN, make pmap_kextract = pmap_kextract_ma.  This is a
  no-op currently, since FreeBSD/amd64 doesn't have (paravirtualized) Xen
  support, but if/when that support is ever added we'll want this, and
  until then it's harmless.

Modified:
  head/sys/amd64/amd64/busdma_machdep.c

Modified: head/sys/amd64/amd64/busdma_machdep.c
==============================================================================
--- head/sys/amd64/amd64/busdma_machdep.c	Wed Dec  8 19:48:29 2010	(r216305)
+++ head/sys/amd64/amd64/busdma_machdep.c	Wed Dec  8 19:52:04 2010	(r216306)
@@ -141,6 +141,11 @@ int run_filter(bus_dma_tag_t dmat, bus_a
 int _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, pmap_t pmap,
     void *buf, bus_size_t buflen, int flags);
 
+#ifdef XEN
+#undef pmap_kextract
+#define pmap_kextract pmap_kextract_ma
+#endif
+
 /*
  * Return true if a match is made.
  *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012081952.oB8Jq4mV013198>