aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/e820.h
diff options
context:
space:
mode:
authormaf46@burn.cl.cam.ac.uk <maf46@burn.cl.cam.ac.uk>2005-02-21 17:36:54 +0000
committermaf46@burn.cl.cam.ac.uk <maf46@burn.cl.cam.ac.uk>2005-02-21 17:36:54 +0000
commitce9898f4ae281edb10529db00a2a71117ef048d0 (patch)
treeb1f876e71b29eb8f8991d3f9d6452af18b2b15cf /xen/include/asm-x86/e820.h
parentab01238d05f468e4b61d7932e72eabc2f683a10d (diff)
downloadxen-ce9898f4ae281edb10529db00a2a71117ef048d0.tar.gz
xen-ce9898f4ae281edb10529db00a2a71117ef048d0.tar.bz2
xen-ce9898f4ae281edb10529db00a2a71117ef048d0.zip
bitkeeper revision 1.1233 (421a1c36TYJWUEtp558QjJv1X0XXrQ)
If debugging is enabled, printout the e820 map for vmx guests. Signed-off-by: michael.fetterman@cl.cam.ac.uk
Diffstat (limited to 'xen/include/asm-x86/e820.h')
-rw-r--r--xen/include/asm-x86/e820.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/include/asm-x86/e820.h b/xen/include/asm-x86/e820.h
index 060ef94a96..d774b9a321 100644
--- a/xen/include/asm-x86/e820.h
+++ b/xen/include/asm-x86/e820.h
@@ -27,6 +27,10 @@ struct e820map {
extern unsigned long init_e820(struct e820entry *, int);
extern struct e820map e820;
+#ifndef NDEBUG
+extern void print_e820_memory_map(struct e820entry *map, int entries);
+#endif
+
#endif /*!__ASSEMBLY__*/
#define PFN_DOWN(x) ((x) >> PAGE_SHIFT)