summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/rtems/bsd/bsd.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-06-27 13:09:04 +1000
committerChris Johns <chrisj@rtems.org>2016-06-27 13:32:24 +1000
commit130fa3534f5cc10ea34053246916046ab1b0f006 (patch)
treef589a3c52feb76edda317be7f0f86da967aa611e /rtemsbsd/include/rtems/bsd/bsd.h
parentAdd functions used the bridge and tap interfaces. (diff)
downloadrtems-libbsd-130fa3534f5cc10ea34053246916046ab1b0f006.tar.bz2
Make the domain allocation size global to allow it to set in tests.
Some BSPs with multiple NIC locked in the tests due to not enough memory. This provides a simple per BSP way to increase the memory size.
Diffstat (limited to 'rtemsbsd/include/rtems/bsd/bsd.h')
-rw-r--r--rtemsbsd/include/rtems/bsd/bsd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/bsd.h b/rtemsbsd/include/rtems/bsd/bsd.h
index 8ab0fdaf..1583dc9e 100644
--- a/rtemsbsd/include/rtems/bsd/bsd.h
+++ b/rtemsbsd/include/rtems/bsd/bsd.h
@@ -112,6 +112,13 @@ typedef enum {
} rtems_bsd_allocator_domain;
/**
+ * @brief The size for the page/mbufs default allocator domain.
+ *
+ * Applications may set this value to change the value returned by the default.
+ */
+extern uintptr_t rtems_bsd_allocator_domain_page_mbuf_size;
+
+/**
* @brief Returns the size for a specific allocator domain.
*
* Applications may provide their own implementation of this function. For