aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/mm.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-28 17:15:22 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-11-28 17:15:22 +0000
commitb2cb3ada56c99c622d9ffb4e53b371e8112deb78 (patch)
treea9d23c2ff5573b28681b6748abe94ffe85ac5324 /xen/include/xen/mm.h
parentf8cd45575d8a1cd3c03e5ba9638d573865992f27 (diff)
downloadxen-b2cb3ada56c99c622d9ffb4e53b371e8112deb78.tar.gz
xen-b2cb3ada56c99c622d9ffb4e53b371e8112deb78.tar.bz2
xen-b2cb3ada56c99c622d9ffb4e53b371e8112deb78.zip
Allow DMA address width to be overridden with boot parameters:
In Xen: dma_bits=28 (for example) In Linux: swiotlb_bits=28 (for example) Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/mm.h')
-rw-r--r--xen/include/xen/mm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/include/xen/mm.h b/xen/include/xen/mm.h
index 4d05f6917f..7b9f76dea2 100644
--- a/xen/include/xen/mm.h
+++ b/xen/include/xen/mm.h
@@ -89,6 +89,10 @@ int assign_pages(
#define MAX_ORDER 20 /* 2^20 contiguous pages */
#endif
+/* DMA heap parameters. */
+extern unsigned int dma_bitsize;
+extern unsigned long max_dma_mfn;
+
/* Automatic page scrubbing for dead domains. */
extern struct list_head page_scrub_list;
#define page_scrub_schedule_work() \