mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-06 17:30:22 +08: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:
@ -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
|
||||
|
Reference in New Issue
Block a user