Fixed several protocol functions so that they work with unsized protocols
(like DevicePath): BootServices::locate_device_path,
BootServices::get_handle_for_protocol, BootServices::test_protocol,
BootServices::find_handles, and SearchType::from_proto.
Fixed a warning printed when using uefi as a dependency: "the following
packages contain code that will be rejected by a future version".
uefi - 0.19.0 (2023-01-16)
Added
Implementations for the trait EqStrUntilNul now allow ?Sized inputs. This means that
you can write some_cstr16.eq_str_until_nul("test") instead of
some_cstr16.eq_str_until_nul(&"test") now.
Added TryFrom<core::ffi::CStr> implementation for CStr8.
Added Directory::read_entry_boxed which works similar to File::get_boxed_info. This allows
easier iteration over the entries in a directory. (requires the alloc feature)
Added Directory::read_entry_boxed_in and File::get_boxed_info_in that use the allocator_api
feature. (requires the unstable and alloc features)
Added an core::error::Error implementation for Error to ease
integration with error-handling crates. (requires the unstable feature)
Added partial support for the TCG protocols for TPM devices under uefi::proto::tcg.
Changed
UnalignedSlice now implements Clone, and the Debug impl now
prints the elements instead of the internal fields.
The unstable negative_impls feature is no longer required to use this library.
BootServices::memory_map() now returns MemoryMapIter instead of
impl Iterator which simplifies usage.
BootServices::exit_boot_services() now returns MemoryMapIter instead of
impl Iterator which simplifies usage.
GraphicsOutput::modes() now returns ModesIter instead of impl Iterator
which simplifies usage.
Use of the unstable ptr_metadata feature has been replaced with a dependency
on the ptr_meta crate.
pxe::DiscoverInfo is now a DST. Create with new_in_buffer by supplying a
MaybeUninit<u8> slice of appropriate length.
Redundant private field used for padding in MemoryDescriptor structure was removed. Now all
fields of this struct are public.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps uefi from 0.14.0 to 0.19.1.
Changelog
Sourced from uefi's changelog.
... (truncated)
Commits
4c01f38
chore: Releasee948c95
Merge pull request #648 from nicholasbishop/bishop-fix-ui-testscc9ced2
uefi-macros: Fix error tests83c5e8b
Merge pull request #645 from nicholasbishop/bishop-update-mem-prot-doc3e50957
Merge branch 'main' into bishop-update-mem-prot-docc685730
Merge pull request #646 from nicholasbishop/bishop-fix-packed-slicec44bf3e
Fix new lints related to derives on a packed struct253d5da
uefi: Update MemoryProtection protocol docsa01b000
uefi: Add PAGE_SIZE constantaa9e485
ci: fix book/deploy in forksDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)