summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-config.h')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-config.h b/rtemsbsd/include/machine/rtems-bsd-config.h
index 491d9a72..a820e51d 100644
--- a/rtemsbsd/include/machine/rtems-bsd-config.h
+++ b/rtemsbsd/include/machine/rtems-bsd-config.h
@@ -85,6 +85,12 @@ extern "C" {
#define RTEMS_BSD_CFGDECL_DOMAIN_PAGE_MBUFS_SIZE RTEMS_BSD_ALLOCATOR_DOMAIN_PAGE_MBUF_DEFAULT
#endif
+#if defined(RTEMS_BSD_CONFIG_DOMAIN_BIO_SIZE)
+ #define RTEMS_BSD_CFGDECL_DOMAIN_BIO_SIZE RTEMS_BSD_CONFIG_DOMAIN_BIO_SIZE
+#else
+ #define RTEMS_BSD_CFGDECL_DOMAIN_BIO_SIZE RTEMS_BSD_ALLOCATOR_DOMAIN_BIO_DEFAULT
+#endif
+
/*
* BSD Kernel modules.
*/
@@ -223,6 +229,12 @@ extern "C" {
RTEMS_BSD_CFGDECL_DOMAIN_PAGE_MBUFS_SIZE;
/*
+ * Configure the block IO buffer memory size.
+ */
+ uintptr_t rtems_bsd_allocator_domain_bio_size = \
+ RTEMS_BSD_CFGDECL_DOMAIN_BIO_SIZE;
+
+ /*
* If a BSP configuration is requested include the Nexus bus BSP
* configuration.
*/