-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ARM and AARCH64 AInvs for explicit FPU changes #850
base: explicit_fpu
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work, and a very substantial chunk of the overall FPU proof. Only the minor comments above from me, no real content changes.
|
Signed-off-by: Corey Lewis <corey.lewis@proofcraft.systems>
No need to review this commit Signed-off-by: Corey Lewis <corey.lewis@proofcraft.systems>
Signed-off-by: Corey Lewis <corey.lewis@proofcraft.systems>
This is used to track within the tcb whether it is the current fpu owner, so that we are able to determine whether a tcb is live without needing to look at global state. Signed-off-by: Corey Lewis <corey.lewis@proofcraft.systems>
For architectures with FPU enabled, this shows that the tcb_cur_fpu field in each tcb is consistent with the global current_fpu_owner. As a consequence of this, it also shows that if the global current_fpu_owner is set to something then there is a tcb there. Signed-off-by: Corey Lewis <corey.lewis@proofcraft.systems>
Signed-off-by: Corey Lewis <corey.lewis@proofcraft.systems>
f2e6d41
to
f4b3674
Compare
b0dbaa0
to
5a691bb
Compare
…r_fpu field Signed-off-by: Corey Lewis <corey.lewis@proofcraft.systems>
This branch has been rebased over master now #852 has been merged. |
This updates the AInvs proofs for ARM and AARCH64 following the specification changes made in #819 that made FPU state more explicit and changed the kernel to use semi-lazy FPU switching. It additionally proves a new invariant about the FPU that we expect to be necessary for later stages of the functional correctness proofs and also updates Access for ARM.