Skip to content

Commit

Permalink
test-runner: Test boot::create_event
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbishop committed Aug 6, 2024
1 parent c2c54e0 commit b61d7c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uefi-test-runner/src/proto/media.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use alloc::string::ToString;
use core::cell::RefCell;
use core::ptr::NonNull;
use uefi::boot;
use uefi::data_types::Align;
use uefi::prelude::*;
use uefi::proto::media::block::BlockIO;
Expand Down Expand Up @@ -305,8 +306,7 @@ fn test_raw_disk_io2(handle: Handle, bt: &BootServices) {

unsafe {
// Create the completion event
let mut event = bt
.create_event(EventType::empty(), Tpl::NOTIFY, None, None)
let mut event = boot::create_event(EventType::empty(), Tpl::NOTIFY, None, None)
.expect("Failed to create disk I/O completion event");

// Initialise the task context
Expand Down

0 comments on commit b61d7c9

Please sign in to comment.