diff --git a/uefi-raw/CHANGELOG.md b/uefi-raw/CHANGELOG.md index 062ed6f5..622e525d 100644 --- a/uefi-raw/CHANGELOG.md +++ b/uefi-raw/CHANGELOG.md @@ -5,6 +5,8 @@ ## Changed - **Breaking**: `MemoryDescriptor` now has a new member to ensure correct layout on all non-UEFI 32-bit targets. +- **Breaking**: Corrected the `volatile` parameter of + `ShellProtocol::get_alias` from `Boolean` to `*mut Boolean`. - **Breaking**: The USB descriptor types in `protocol::usb` are now packed to match their layout in the USB specification. `ConfigDescriptor` and `EndpointDescriptor` previously had a too-large `size_of`. diff --git a/uefi-raw/src/protocol/shell.rs b/uefi-raw/src/protocol/shell.rs index 74f6815b..3e1b6776 100644 --- a/uefi-raw/src/protocol/shell.rs +++ b/uefi-raw/src/protocol/shell.rs @@ -61,7 +61,7 @@ pub struct ShellProtocol { volatile: Boolean, ) -> Status, pub get_alias: - unsafe extern "efiapi" fn(alias: *const Char16, volatile: Boolean) -> *const Char16, + unsafe extern "efiapi" fn(alias: *const Char16, volatile: *mut Boolean) -> *const Char16, pub set_alias: unsafe extern "efiapi" fn( command: *const Char16, alias: *const Char16,