mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08:33 -04:00
Add some assertions and coverage exceptions to queue.c (#273)
* Add an LCOV_BRANCH exception for the check that sizeof( StaticQueue_t ) == sizeof( Queue_t ) * Add LCOV_BRANCH coverage exception for a configASSERT on pxQueueSetContainer with a condition that is unreachable. * Add configASSERTs to alert when invalid parameters are passed into Queue Registry related functions. * Assert that the semaphore handle passed into xQueueGetMutexHolder is not NULL. * Correct some typos in queue.c * Update lexicon.txt
This commit is contained in:
parent
de19eeb7d3
commit
18d4ba9c07
2 changed files with 26 additions and 10 deletions
6
.github/lexicon.txt
vendored
6
.github/lexicon.txt
vendored
|
@ -1529,6 +1529,7 @@ prvinitialisenewstreambuffer
|
|||
prvinitialisenewtimer
|
||||
prvinsertblockintofreelist
|
||||
prvlockqueue
|
||||
prvnotifyqueuesetcontainer
|
||||
prvportmalloc
|
||||
prvportresetpic
|
||||
prvprocesssimulatedinterrupts
|
||||
|
@ -1631,7 +1632,6 @@ pvyieldevent
|
|||
pwdtc
|
||||
pwm
|
||||
pwmc
|
||||
pxtaskcode
|
||||
pxblock
|
||||
pxblocktoinsert
|
||||
pxcallbackfunction
|
||||
|
@ -1688,6 +1688,7 @@ pxprevious
|
|||
pxpreviouswaketime
|
||||
pxqueue
|
||||
pxqueuebuffer
|
||||
pxqueuesetcontainer
|
||||
pxramstack
|
||||
pxreadycoroutinelists
|
||||
pxreadytaskslists
|
||||
|
@ -1707,6 +1708,7 @@ pxstreambuffercreatestatic
|
|||
pxtagvalue
|
||||
pxtask
|
||||
pxtaskbuffer
|
||||
pxtaskcode
|
||||
pxtaskdefinition
|
||||
pxtaskstatus
|
||||
pxtaskstatusarray
|
||||
|
@ -2653,7 +2655,6 @@ wu
|
|||
www
|
||||
wwwfreertos
|
||||
wxr
|
||||
xtasktodelete
|
||||
xa
|
||||
xaa
|
||||
xaaaa
|
||||
|
@ -3020,6 +3021,7 @@ xtaskswaitingforbits
|
|||
xtaskswaitingtermination
|
||||
xtaskswaitingtoreceive
|
||||
xtaskswaitingtosend
|
||||
xtasktodelete
|
||||
xtasktonotify
|
||||
xtasktoquery
|
||||
xtasktoresume
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue