Changeset 130fa35 in rtems-libbsd
- Timestamp:
- Jun 27, 2016, 3:09:04 AM (3 years ago)
- Branches:
- afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
- Children:
- b23da31
- Parents:
- a0e49f9
- git-author:
- Chris Johns <chrisj@…> (06/27/16 03:09:04)
- git-committer:
- Chris Johns <chrisj@…> (06/27/16 03:32:24)
- Location:
- rtemsbsd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rtemsbsd/include/rtems/bsd/bsd.h
ra0e49f9 r130fa35 113 113 114 114 /** 115 * @brief The size for the page/mbufs default allocator domain. 116 * 117 * Applications may set this value to change the value returned by the default. 118 */ 119 extern uintptr_t rtems_bsd_allocator_domain_page_mbuf_size; 120 121 /** 115 122 * @brief Returns the size for a specific allocator domain. 116 123 * -
rtemsbsd/rtems/rtems-bsd-get-allocator-domain-size.c
ra0e49f9 r130fa35 40 40 #include <rtems/bsd/bsd.h> 41 41 42 uintptr_t rtems_bsd_allocator_domain_page_mbuf_size = 8 * 1024 * 1024; 43 42 44 uintptr_t 43 45 rtems_bsd_get_allocator_domain_size(rtems_bsd_allocator_domain domain) … … 48 50 case RTEMS_BSD_ALLOCATOR_DOMAIN_PAGE: 49 51 case RTEMS_BSD_ALLOCATOR_DOMAIN_MBUF: 50 size = 8 * 1024 * 1024;52 size = rtems_bsd_allocator_domain_page_mbuf_size; 51 53 break; 52 54 default:
Note: See TracChangeset
for help on using the changeset viewer.