Skip to content
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

arm-hyp+aarch64 spec+proof: make generic in CONFIG_DISABLE_WFI_WFE_TRAPS #815

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

lsf37
Copy link
Member

@lsf37 lsf37 commented Sep 2, 2024

The config option CONFIG_DISABLE_WFI_WFE_TRAPS influences the value of HCR_VCPU (hcrVCPU in Haskell).

There is not much to make generic -- it is unfolded exactly once to compare the value in the spec to the value in C. The main part is defining hcrVCPU conditionally based on the config setting.

@lsf37 lsf37 added the platforms making proofs generic in platform and config settings label Sep 2, 2024
@lsf37 lsf37 self-assigned this Sep 2, 2024
The config option CONFIG_DISABLE_WFI_WFE_TRAPS influences the value of
HCR_VCPU (hcrVCPU in Haskell).

There is not much to make generic -- it is unfolded exactly once to
compare the value in the spec to the value in C. The main part is
defining hcrVCPU conditionally based on the config setting.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
@lsf37 lsf37 merged commit e34ca85 into master Sep 25, 2024
14 checks passed
@lsf37 lsf37 deleted the wfi-wfe-traps branch September 25, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platforms making proofs generic in platform and config settings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants