Add RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.

The domain allocator page abd mbuf size can be configured by the
user using RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.
This commit is contained in:
Chris Johns
2016-06-30 11:42:49 +10:00
parent dc5b267aaa
commit f01b1f7209
9 changed files with 105 additions and 41 deletions

View File

@@ -52,6 +52,12 @@
extern "C" {
#endif /* __cplusplus */
/*
* The default memory size. Do not change, use
* RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE to override for your application.
*/
#define RTEMS_BSD_ALLOCATOR_DOMAIN_PAGE_MBUF_DEFAULT (8 * 1024 * 1024)
typedef enum {
RTEMS_BSD_RES_IRQ = 1,
RTEMS_BSD_RES_MEMORY = 3