uefi_alloc merge requestshttps://gitlab.redox-os.org/redox-os/uefi_alloc/-/merge_requests2022-02-22T15:35:35Zhttps://gitlab.redox-os.org/redox-os/uefi_alloc/-/merge_requests/3Fix global allocator2022-02-22T15:35:35ZTim CrawfordFix global allocatorDon't overwrite the pointer with the status, which will be 0.
Fixes: f2cc919 ("Update uefi dep, fix building on nightly")
A new release should be made, and the previous one (0.1.1) yanked.Don't overwrite the pointer with the status, which will be 0.
Fixes: f2cc919 ("Update uefi dep, fix building on nightly")
A new release should be made, and the previous one (0.1.1) yanked.https://gitlab.redox-os.org/redox-os/uefi_alloc/-/merge_requests/2Update uefi dep, fix building on nightly2022-02-22T15:35:35ZTim CrawfordUpdate uefi dep, fix building on nightlyThe UEFI crate has been updated to use `try_trait_v2`, which changes how `Status` is used.The UEFI crate has been updated to use `try_trait_v2`, which changes how `Status` is used.https://gitlab.redox-os.org/redox-os/uefi_alloc/-/merge_requests/1Changed `*mut ...` to `Option<NonNull<...>>`2022-02-22T15:35:35ZMarcel HellwigChanged `*mut ...` to `Option<NonNull<...>>`Instead of a raw pointer use a combination of Option and NonNull which
is exactly the same size as a raw pointer, expect you cannot access a
nullpointer by accident.
The assembly is completly identical on the hot path (the one that does ...Instead of a raw pointer use a combination of Option and NonNull which
is exactly the same size as a raw pointer, expect you cannot access a
nullpointer by accident.
The assembly is completly identical on the hot path (the one that does not
procude a panic). Only one move more on the cold path (because of the
unwrap message (?).