Add Dynamic Memory Support to otLwf.sys (#1414)

* Add Dynamic Memory Support

* Use single list for free buffers. Null mNext on return of new buffer.

* Use Paged memory for Buffers.
This commit is contained in:
Nick Banks
2017-03-06 13:39:56 -08:00
committed by Jonathan Hui
parent 0357848f42
commit 2549d03f1f
15 changed files with 259 additions and 44 deletions
@@ -67,6 +67,16 @@
*/
#define OPENTHREAD_CONFIG_MAX_JOINER_ENTRIES 16
/**
* @def OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT
*
* The message pool is managed by platform defined logic when this flag is set.
* This feature would typically be used when operating in a multi-threaded system
* and multiple threads need to access the message pool.
*
*/
#define OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT 1
/**
* @def OPENTHREAD_CONFIG_LOG_LEVEL
*