8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c54e0 commit b61d7c9Copy full SHA for b61d7c9
uefi-test-runner/src/proto/media.rs
@@ -1,6 +1,7 @@
1
use alloc::string::ToString;
2
use core::cell::RefCell;
3
use core::ptr::NonNull;
4
+use uefi::boot;
5
use uefi::data_types::Align;
6
use uefi::prelude::*;
7
use uefi::proto::media::block::BlockIO;
@@ -305,8 +306,7 @@ fn test_raw_disk_io2(handle: Handle, bt: &BootServices) {
305
306
307
unsafe {
308
// Create the completion event
- let mut event = bt
309
- .create_event(EventType::empty(), Tpl::NOTIFY, None, None)
+ let mut event = boot::create_event(EventType::empty(), Tpl::NOTIFY, None, None)
310
.expect("Failed to create disk I/O completion event");
311
312
// Initialise the task context
0 commit comments