add FILE argument to debug functions
[dpdk.git] / lib / librte_eal / common / include / rte_memzone.h
index a4243e4..100233b 100644 (file)
@@ -51,6 +51,7 @@
  * be done at initialization time only.
  */
 
+#include <stdio.h>
 #include <rte_memory.h>
 
 #ifdef __cplusplus
@@ -75,6 +76,9 @@ struct rte_memzone {
                void *addr;                   /**< Start virtual address. */
                uint64_t addr_64;             /**< Makes sure addr is always 64-bits */
        };
+#ifdef RTE_LIBRTE_IVSHMEM
+       phys_addr_t ioremap_addr;         /**< Real physical address inside the VM */
+#endif
        size_t len;                       /**< Length of the memzone. */
 
        size_t hugepage_sz;               /**< The page size of underlying memory */
@@ -242,8 +246,11 @@ const struct rte_memzone *rte_memzone_lookup(const char *name);
 
 /**
  * Dump all reserved memzones to the console.
+ *
+ * @param f
+ *   A pointer to a file for output
  */
-void rte_memzone_dump(void);
+void rte_memzone_dump(FILE *);
 
 #ifdef __cplusplus
 }