[components][src] Optimize interrupt disable time

This commit is contained in:
tangyuxin
2021-12-01 14:19:25 +08:00
parent d5001ab0bc
commit 5128a27c43
2 changed files with 70 additions and 28 deletions
@@ -71,6 +71,10 @@ struct rt_rbb
rt_size_t blk_max_num;
/* saved the initialized and put status blocks */
rt_slist_t blk_list;
/* point to tail node */
rt_slist_t *tail;
/* free node list */
rt_slist_t free_list;
};
typedef struct rt_rbb *rt_rbb_t;