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

mshv-bindings: Derive constant instead of hard-coding #142

Merged
merged 1 commit into from
Apr 15, 2024

Commits on Apr 14, 2024

  1. mshv-bindings: Derive constant instead of hard-coding

    Constants like LAPIC_STATE size could be derived by calling size_of on
    the struct LapicState. In the similar fashion, other values can also be
    derived. Use a const function to intialize the various component sizes.
    
    Signed-off-by: Jinank Jain <[email protected]>
    jinankjain authored and Jinank Jain committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    f70a59d View commit details
    Browse the repository at this point in the history