File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Test/VeriFast/tasks/vTaskSwitchContext Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -293,16 +293,15 @@ Therefore, the proof's correctness relies on the correctness of our models.
293293
294294
295295- ### Locking discipline and lock invariants
296- FreeRTOS' SMP implementation uses the following synchronization mechanisms:
297- - Deactivating interrupts:
298-
299- Some data is only meant to be accessed on a specific core C.
300- Such data may only be accessed after interrupts on core C have been deactivated.
301- For instance the global array ` pxCurrentTCBs ` in ` tasks.c ` has an entry for
302- every core.
303- ` pxCurrentTCBs[C] ` stores a pointer to the task control block (TCB) of the task running on core C.
304- Core C is always allowed to read ` pxCurrentTCBs[C] ` .
305- However, writing requires the interrupts on core C to be deactivated.
296+ FreeRTOS' SMP implementation uses the following synchronization mechanisms:
297+ - Deactivating interrupts:
298+ Some data is only meant to be accessed on a specific core C.
299+ Such data may only be accessed after interrupts on core C have been deactivated.
300+ For instance the global array ` pxCurrentTCBs ` in ` tasks.c ` has an entry for
301+ every core.
302+ ` pxCurrentTCBs[C] ` stores a pointer to the task control block (TCB) of the task running on core C.
303+ Core C is always allowed to read ` pxCurrentTCBs[C] ` .
304+ However, writing requires the interrupts on core C to be deactivated.
306305
307306 - task lock:
308307 The task lock is used to protect ciritical sections and resources from being accessed by multiple tasks simultaneously.
You can’t perform that action at this time.
0 commit comments