mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 01:07:47 -04:00
Add uncrustify github workflow (#659)
* Add uncrustify github workflow * Fix exclusion pattern * fix find expression * exclude uncrustify files * Uncrustify common demo and test files * exlude white space checking files * Fix EOL whitespace checker * Remove whitespaces from EOL * Fix space at EOL * Fix find spaces at EOL Co-authored-by: Archit Aggarwal <architag@amazon.com>
This commit is contained in:
parent
dd80d615b5
commit
ae92d8c6ee
191 changed files with 17540 additions and 17102 deletions
|
@ -46,11 +46,12 @@
|
|||
void wrapper_prvLockQueue( QueueHandle_t xQueue )
|
||||
|
||||
/*@requires [1/2]queuehandle(xQueue, ?N, ?M, ?is_isr) &*& is_isr == false &*&
|
||||
[1/2]queuelock(xQueue);@*/
|
||||
* [1/2]queuelock(xQueue);@*/
|
||||
|
||||
/*@ensures [1/2]queuehandle(xQueue, N, M, is_isr) &*&
|
||||
[1/2]xQueue->locked |-> ?m &*&
|
||||
mutex_held(m, queue_locked_invariant(xQueue), currentThread, 1/2) &*&
|
||||
queue_locked_invariant(xQueue)();@*/
|
||||
* [1/2]xQueue->locked |-> ?m &*&
|
||||
* mutex_held(m, queue_locked_invariant(xQueue), currentThread, 1/2) &*&
|
||||
* queue_locked_invariant(xQueue)();@*/
|
||||
{
|
||||
taskENTER_CRITICAL();
|
||||
/*@open queue(xQueue, ?Storage, N, M, ?W, ?R, ?K, ?is_locked, ?abs);@*/
|
||||
|
@ -67,7 +68,7 @@ void wrapper_prvLockQueue( QueueHandle_t xQueue )
|
|||
}
|
||||
/*@close queue(xQueue, Storage, N, M, W, R, K, true, abs);@*/
|
||||
taskEXIT_CRITICAL();
|
||||
#ifdef VERIFAST /*< ghost action */
|
||||
mutex_acquire( xQueue->locked );
|
||||
#endif
|
||||
#ifdef VERIFAST /*< ghost action */
|
||||
mutex_acquire( xQueue->locked );
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue