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

uefi: add BootPolicy type #1326

Merged
merged 6 commits into from
Aug 14, 2024
Merged

Commits on Aug 13, 2024

  1. uefi: add BootPolicy type

    This type is used in three functions of the UEFI spec. Having an enum instead of a
    boolean simplifies the interface as the variants can be properly documented.
    phip1611 committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    dd87436 View commit details
    Browse the repository at this point in the history
  2. uefi: boot policy: reorder imports and modules

    - public modules
    - private modules
    - public uses
    - private uses
    
    This is consistent with other parts of the code.
    phip1611 committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    a7f0189 View commit details
    Browse the repository at this point in the history
  3. uefi: LoadImageSource: use BootPolicy

    This adds the new `BootPolicy` type into `LoadImageSource`.
    phip1611 committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    19b20cf View commit details
    Browse the repository at this point in the history
  4. uefi: remove code duplication

    The existing code duplication is just temporary until the old API
    is deleted. Nevertheless, it is nicer to have this conversion close
    to the actual type.
    phip1611 committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    1d1138e View commit details
    Browse the repository at this point in the history
  5. uefi: fix imports

    phip1611 committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    8f0a6b5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b3d031a View commit details
    Browse the repository at this point in the history