-
-
Notifications
You must be signed in to change notification settings - Fork 169
uefi: remove duplication in DevicePathHeader; use uefi-raw #1613
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
base: main
Are you sure you want to change the base?
Conversation
6f640f4
to
11bfcc3
Compare
39b76eb
to
4fe30f3
Compare
@@ -25,6 +25,9 @@ | |||
`proto::device_path::text` to `proto::device_path`. | |||
- **Breaking:** `exit_boot_services` now consumes a `Option<MemoryType>` which | |||
defaults to the recommended value of `MemoryType::LOADER_DATA`. | |||
- **Breaking:** Removed duplication in `DevicePathHeader`. This change however | |||
doesn't affect many users. Instead of public fields, there are public |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I would take out "This change however doesn't affect many users." It's hard to predict how much code will be affected by a change, so better to stick with just what changed.
/// Header that appears at the start of every [`DevicePathNode`]. | ||
/// Fixed header that appears at the start of every [`DevicePathNode`]. | ||
/// | ||
/// This type is ABI-compatible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// This type is ABI-compatible. | |
/// This type is ABI-compatible with `EFI_DEVICE_PATH_PROTOCOL`. |
self.0.sub_type | ||
} | ||
|
||
/// Returns the total length of the device path. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Returns the total length of the device path. | |
/// Returns the total length of the device path node. |
uefi: remove duplication in DevicePathHeader; use uefi-raw
Checklist