Skip to content

Commit

Permalink
[squash] expose Ptr/Vptr/Register identity
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaphiosis committed Dec 9, 2024
1 parent 8a78c00 commit 7d8844e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions proof/refine/InvariantsPre_H.thy
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,16 @@ locale Arch_p_arch_idle_int_cur_update_eq' =

section \<open>Kernel Objects in Memory\<close>

text \<open>
We do not make use of the VPtr/Ptr/Register abstraction in proofs, only for type safety in Haskell\<close>
arch_requalify_facts (H)
PPtr_def
fromPPtr_def
VPtr_def
fromVPtr_def
fromVPtr_update_def
Register_def

definition ps_clear :: "obj_ref \<Rightarrow> nat \<Rightarrow> kernel_state \<Rightarrow> bool" where
"ps_clear p n s \<equiv> (mask_range p n - {p}) \<inter> dom (ksPSpace s) = {}"

Expand Down

0 comments on commit 7d8844e

Please sign in to comment.