@@ -1329,6 +1329,7 @@ impl super::Table for BootServices {
1329
1329
/// RAII guard for task priority level changes
1330
1330
///
1331
1331
/// Will automatically restore the former task priority level when dropped.
1332
+ #[ deprecated = "Use uefi::boot::TplGuard instead. See https://github.com/rust-osdev/uefi-rs/blob/HEAD/docs/funcs_migration.md" ]
1332
1333
#[ derive( Debug ) ]
1333
1334
pub struct TplGuard < ' boot > {
1334
1335
boot_services : & ' boot BootServices ,
@@ -1359,6 +1360,7 @@ impl Drop for TplGuard<'_> {
1359
1360
/// [`LoadedImageDevicePath`]: crate::proto::device_path::LoadedImageDevicePath
1360
1361
/// [`get`]: ScopedProtocol::get
1361
1362
/// [`get_mut`]: ScopedProtocol::get_mut
1363
+ #[ deprecated = "Use uefi::boot::ScopedProtocol instead. See https://github.com/rust-osdev/uefi-rs/blob/HEAD/docs/funcs_migration.md" ]
1362
1364
#[ derive( Debug ) ]
1363
1365
pub struct ScopedProtocol < ' a , P : Protocol + ?Sized > {
1364
1366
/// The protocol interface.
@@ -1421,6 +1423,7 @@ impl<'a, P: Protocol + ?Sized> ScopedProtocol<'a, P> {
1421
1423
1422
1424
/// Protocol interface [`Guids`][Guid] that are installed on a [`Handle`] as
1423
1425
/// returned by [`BootServices::protocols_per_handle`].
1426
+ #[ deprecated = "Use uefi::boot::ProtocolsPerHandle instead. See https://github.com/rust-osdev/uefi-rs/blob/HEAD/docs/funcs_migration.md" ]
1424
1427
#[ derive( Debug ) ]
1425
1428
pub struct ProtocolsPerHandle < ' a > {
1426
1429
// The pointer returned by `protocols_per_handle` has to be free'd with
@@ -1461,6 +1464,7 @@ impl<'a> ProtocolsPerHandle<'a> {
1461
1464
1462
1465
/// A buffer that contains an array of [`Handles`][Handle] that support the
1463
1466
/// requested protocol. Returned by [`BootServices::locate_handle_buffer`].
1467
+ #[ deprecated = "Use uefi::boot::HandleBuffer instead. See https://github.com/rust-osdev/uefi-rs/blob/HEAD/docs/funcs_migration.md" ]
1464
1468
#[ derive( Debug ) ]
1465
1469
pub struct HandleBuffer < ' a > {
1466
1470
// The pointer returned by `locate_handle_buffer` has to be freed with
0 commit comments