add support for dynamic mmblk pool

This commit is contained in:
mculover666
2021-03-12 19:30:39 +08:00
parent 5703f01eb6
commit ef489bf51f
5 changed files with 160 additions and 3 deletions

View File

@@ -50,6 +50,8 @@ typedef enum k_err_en {
K_ERR_MMBLK_POOL_EMPTY,
K_ERR_MMBLK_INVALID_BLK_SIZE,
K_ERR_MMBLK_INVALID_POOL_ADDR,
K_ERR_MMBLK_POOL_OUT_OF_MEMORY,
K_ERR_MMBLK_OUT_OF_MEMORY,
K_ERR_MMHEAP_INVALID_POOL_ADDR = 800u,
K_ERR_MMHEAP_INVALID_POOL_SIZE,