Skip to content

Commit 44ca889

Browse files
test-runner: Clean up a few old imports of uefi::table::runtime
1 parent 8bfa226 commit 44ca889

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

uefi-test-runner/src/proto/media.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use uefi::proto::media::file::{
1313
};
1414
use uefi::proto::media::fs::SimpleFileSystem;
1515
use uefi::proto::media::partition::{MbrOsType, PartitionInfo};
16-
use uefi::table::runtime::{Daylight, Time, TimeParams};
16+
use uefi::runtime::{Daylight, Time, TimeParams};
1717

1818
/// Test directory entry iteration.
1919
fn test_existing_dir(directory: &mut Directory) {

uefi-test-runner/src/proto/misc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use uefi::prelude::*;
22
use uefi::proto::misc::ResetNotification;
3-
use uefi::table::runtime;
3+
use uefi::runtime::ResetType;
44

55
pub fn test(bt: &BootServices) {
66
test_reset_notification(bt);
@@ -19,7 +19,7 @@ pub fn test_reset_notification(bt: &BootServices) {
1919

2020
// value efi_reset_fn is the type of ResetSystemFn, a function pointer
2121
unsafe extern "efiapi" fn efi_reset_fn(
22-
rt: runtime::ResetType,
22+
rt: ResetType,
2323
status: Status,
2424
data_size: usize,
2525
data: *const u8,

uefi-test-runner/src/runtime/vars.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use log::info;
22
use uefi::prelude::*;
3-
use uefi::table::runtime::{VariableAttributes, VariableVendor};
3+
use uefi::runtime::{VariableAttributes, VariableVendor};
44
use uefi::{guid, runtime, CStr16, Error};
55

66
/// Test variable name.

0 commit comments

Comments
 (0)