summaryrefslogtreecommitdiff
path: root/FreeRTOS/Test/CBMC/proofs/Task/TaskSwitchContext/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Test/CBMC/proofs/Task/TaskSwitchContext/README.md')
-rw-r--r--FreeRTOS/Test/CBMC/proofs/Task/TaskSwitchContext/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/FreeRTOS/Test/CBMC/proofs/Task/TaskSwitchContext/README.md b/FreeRTOS/Test/CBMC/proofs/Task/TaskSwitchContext/README.md
new file mode 100644
index 000000000..5bc20c5e5
--- /dev/null
+++ b/FreeRTOS/Test/CBMC/proofs/Task/TaskSwitchContext/README.md
@@ -0,0 +1,14 @@
+This proof demonstrates the memory safety of the TaskSwitchContext function.
+We assume task ready lists to be initialized and filled with one element each,
+and `pxCurrentTCB` to be the highest priority task. We also set
+`uxSchedulerSuspended` to a nondeterministic value.
+
+This proof is a work-in-progress. Proof assumptions are described in
+the harness. The proof also assumes the following functions are
+memory safe and have no side effects relevant to the memory safety of
+this function:
+
+* prvTraceGetCurrentTaskHandle
+* prvTraceGetTaskNumber
+* prvTraceStoreTaskswitch
+* ulGetRunTimeCounterValue