diff options
| author | tangyuxin <[email protected]> | 2021-12-01 14:19:25 +0800 |
|---|---|---|
| committer | tangyuxin <[email protected]> | 2021-12-01 14:19:25 +0800 |
| commit | 5128a27c433cc77545feb5782f0a82d742afc872 (patch) | |
| tree | 0a0fb511a39096d750b212760fbc39731dbcf1b3 /components/drivers/include/ipc | |
| parent | d5001ab0bc0ce48efe2912fbcaf28a722417ab85 (diff) | |
[components][src] Optimize interrupt disable time
Diffstat (limited to 'components/drivers/include/ipc')
| -rw-r--r-- | components/drivers/include/ipc/ringblk_buf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/ipc/ringblk_buf.h b/components/drivers/include/ipc/ringblk_buf.h index df05659f3e..7a3c930f73 100644 --- a/components/drivers/include/ipc/ringblk_buf.h +++ b/components/drivers/include/ipc/ringblk_buf.h @@ -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; |
