Skip to content

Commit

Permalink
address PR comments squash
Browse files Browse the repository at this point in the history
Signed-off-by: Michael McInerney <michael.mcinerney@proofcraft.systems>
  • Loading branch information
michaelmcinerney committed Feb 12, 2025
1 parent 66590fb commit c58bb64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions proof/refine/RISCV64/TcbAcc_R.thy
Original file line number Diff line number Diff line change
Expand Up @@ -2371,10 +2371,6 @@ lemma threadSet_heap_ls_other:
apply (wpsimp wp: threadSet_wp)
by (fastforce dest: heap_path_heap_upd_not_in)

lemma heap_path_not_Nil:
"heap_ls hp (Some st) ls \<Longrightarrow> ls \<noteq> []"
by fastforce

lemma threadSet_prev_queue_head_other:
"\<lbrace>\<lambda>s. prev_queue_head q (tcbSchedPrevs_of s)
\<and> (\<exists>ls. heap_ls (tcbSchedNexts_of s) (tcbQueueHead q) ls \<and> t \<notin> set ls)\<rbrace>
Expand Down
2 changes: 2 additions & 0 deletions spec/haskell/src/SEL4/Kernel/Thread.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -854,3 +854,5 @@ Kernel init will created a initial thread whose tcbPriority is max priority.
> new_queue <- tcbQueueRemove releaseQueue tcbPtr
> setReleaseQueue new_queue
> threadSet (\t -> t { tcbInReleaseQueue = False }) tcbPtr

%

0 comments on commit c58bb64

Please sign in to comment.