]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_private.h
mem: make segment preallocation OS-specific
[dpdk.git] / lib / librte_eal / common / eal_private.h
index bdadc4d502f5a059e07e9a547fb9c38739bf3618..b742f4c58cab623a09efee6b1292296c64c28a1e 100644 (file)
@@ -46,6 +46,18 @@ void eal_log_set_default(FILE *default_log);
  */
 int rte_eal_cpu_init(void);
 
+/**
+ * Create memseg lists
+ *
+ * This function is private to EAL.
+ *
+ * Preallocate virtual memory.
+ *
+ * @return
+ *   0 on success, negative on error
+ */
+int rte_eal_memseg_init(void);
+
 /**
  * Map memory
  *