From eaee8b92cec7f3d0c07027692c839c1ab4b305be Mon Sep 17 00:00:00 2001 From: andre-braga Date: Wed, 12 Jun 2024 17:12:45 +0000 Subject: [PATCH] uefi: re-export CapsuleFlags Users of the UpdateCapsule runtime service will need to interface with CapsuleFlags to determine capsule specific behavior. --- uefi/CHANGELOG.md | 1 + uefi/src/table/runtime.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/uefi/CHANGELOG.md b/uefi/CHANGELOG.md index fe4c90515..aa8ed737c 100644 --- a/uefi/CHANGELOG.md +++ b/uefi/CHANGELOG.md @@ -13,6 +13,7 @@ around a reference. - Added `TryFrom<&[u8]>` for `DevicePathHeader`, `DevicePathNode` and `DevicePath`. - Added `ByteConversionError`. +- Re-exported `CapsuleFlags`. ## Changed - `SystemTable::exit_boot_services` is now `unsafe`. See that method's diff --git a/uefi/src/table/runtime.rs b/uefi/src/table/runtime.rs index 72cff98a7..f4871245f 100644 --- a/uefi/src/table/runtime.rs +++ b/uefi/src/table/runtime.rs @@ -7,7 +7,7 @@ use core::fmt::{self, Debug, Display, Formatter}; use core::mem::MaybeUninit; use core::ptr; -pub use uefi_raw::capsule::{CapsuleBlockDescriptor, CapsuleHeader}; +pub use uefi_raw::capsule::{CapsuleBlockDescriptor, CapsuleFlags, CapsuleHeader}; pub use uefi_raw::table::runtime::{ ResetType, TimeCapabilities, VariableAttributes, VariableVendor, };