uefi_std merge requestshttps://gitlab.redox-os.org/redox-os/uefi_std/-/merge_requests2022-02-22T15:35:35Zhttps://gitlab.redox-os.org/redox-os/uefi_std/-/merge_requests/5Use efiapi for entry point2022-02-22T15:35:35ZTim CrawfordUse efiapi for entry pointEnable the ABI feature and use it for the entry point. This will set
calling conventions to what is specified by the UEFI spec.
It currently only sets x86-64 to `win64` and everything else to `C`.
Tracking issue: https://github.com/rus...Enable the ABI feature and use it for the entry point. This will set
calling conventions to what is specified by the UEFI spec.
It currently only sets x86-64 to `win64` and everything else to `C`.
Tracking issue: https://github.com/rust-lang/rust/issues/65815https://gitlab.redox-os.org/redox-os/uefi_std/-/merge_requests/3Fix building on nightly2022-02-22T15:35:35ZTim CrawfordFix building on nightlyUpdate dependencies and remove raw feature.Update dependencies and remove raw feature.https://gitlab.redox-os.org/redox-os/uefi_std/-/merge_requests/2Use efi_main() instead of start() as name for entry point2022-02-22T15:35:35ZIan Douglas ScottUse efi_main() instead of start() as name for entry pointThis is what the UEFI targets included in Rustc use for the entry point:
https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/spec/uefi_msvc_base.rs
With this change, `uefi_std` can be used with the standard target
wi...This is what the UEFI targets included in Rustc use for the entry point:
https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/spec/uefi_msvc_base.rs
With this change, `uefi_std` can be used with the standard target
without passing a `-Z pre-link-arg=` argument to change the entry point
to `_start`.Jeremy SollerJeremy Sollerhttps://gitlab.redox-os.org/redox-os/uefi_std/-/merge_requests/1Remove eh_unwind_resume lang item2022-02-22T15:35:35ZTim CrawfordRemove eh_unwind_resume lang itemThe eh_unwind_resume lang item has been removed [\[1\]], which prevents
using uefi_std with newer toolchains.
[\[1\]]: https://github.com/rust-lang/rust/pull/67502The eh_unwind_resume lang item has been removed [\[1\]], which prevents
using uefi_std with newer toolchains.
[\[1\]]: https://github.com/rust-lang/rust/pull/67502https://gitlab.redox-os.org/redox-os/uefi_std/-/merge_requests/4Update uefi_alloc2021-10-26T13:35:15ZTim CrawfordUpdate uefi_allocIn release 0.1.1 of uefi_alloc I inadvertently overwrote the pointer for
the allocator to 0, making it always return NULL. Explicitly require
0.1.2 or newer to fix the behavior.
See: redox-os/uefi_alloc!3In release 0.1.1 of uefi_alloc I inadvertently overwrote the pointer for
the allocator to 0, making it always return NULL. Explicitly require
0.1.2 or newer to fix the behavior.
See: redox-os/uefi_alloc!3