mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Add IRQ safe API for message buffer reset (#1033)
* Add API xStreamBufferResetFromISR Allow reseting the stream buffer from ISR context Signed-off-by: hagai.moshe <hagaimoshe@outlook.com> Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Co-authored-by: hagai.moshe <hagai.moshe@tandemg.com> Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com> Co-authored-by: kar-rahul-aws <karahulx@amazon.com> Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
1ed681cc43
commit
9bfd0abb55
4 changed files with 146 additions and 0 deletions
|
@ -1001,6 +1001,10 @@
|
|||
#define traceSTREAM_BUFFER_RESET( xStreamBuffer )
|
||||
#endif
|
||||
|
||||
#ifndef traceSTREAM_BUFFER_RESET_FROM_ISR
|
||||
#define traceSTREAM_BUFFER_RESET_FROM_ISR( xStreamBuffer )
|
||||
#endif
|
||||
|
||||
#ifndef traceBLOCKING_ON_STREAM_BUFFER_SEND
|
||||
#define traceBLOCKING_ON_STREAM_BUFFER_SEND( xStreamBuffer )
|
||||
#endif
|
||||
|
@ -2437,6 +2441,14 @@
|
|||
#define traceRETURN_xStreamBufferReset( xReturn )
|
||||
#endif
|
||||
|
||||
#ifndef traceENTER_xStreamBufferResetFromISR
|
||||
#define traceENTER_xStreamBufferResetFromISR( xStreamBuffer )
|
||||
#endif
|
||||
|
||||
#ifndef traceRETURN_xStreamBufferResetFromISR
|
||||
#define traceRETURN_xStreamBufferResetFromISR( xReturn )
|
||||
#endif
|
||||
|
||||
#ifndef traceENTER_xStreamBufferSetTriggerLevel
|
||||
#define traceENTER_xStreamBufferSetTriggerLevel( xStreamBuffer, xTriggerLevel )
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue