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

Use aapcs for efiapi calling convention on arm #104077

Merged
merged 1 commit into from
Nov 10, 2022

Commits on Nov 6, 2022

  1. Use aapcs for efiapi calling convention on arm

    On arm, llvm treats the C calling convention as `aapcs` on soft-float
    targets and `aapcs-vfp` on hard-float targets [1]. UEFI specifies in the
    arm calling convention that floating point extensions aren't used [2],
    so always translate `efiapi` to `aapcs` on arm.
    
    [1]: rust-lang/compiler-builtins#116 (comment)
    [2]: https://uefi.org/specs/UEFI/2.10/02_Overview.html#detailed-calling-convention
    
    rust-lang#65815
    nicholasbishop committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    42cbb40 View commit details
    Browse the repository at this point in the history