|
1 | | -use self::{ |
2 | | - boot_options::BootOptions, |
3 | | - disk::Disk, |
4 | | - error::{Error, Result}, |
5 | | - executor::{Executor, Task}, |
6 | | - net::NetworkInterface, |
7 | | - sync::SyncRefCell, |
8 | | - timer::Timer, |
9 | | -}; |
10 | | -use alloc::{ |
11 | | - boxed::Box, |
12 | | - collections::VecDeque, |
13 | | - string::{String, ToString}, |
14 | | - sync::Arc, |
15 | | - vec::Vec, |
16 | | -}; |
17 | | -use core::{ |
18 | | - cell::{Ref, RefMut}, |
19 | | - ffi::c_void, |
20 | | - fmt::Write, |
21 | | - future::{poll_fn, Future}, |
22 | | - net::SocketAddrV4, |
23 | | - ptr::NonNull, |
24 | | - task::Poll, |
25 | | -}; |
| 1 | +use alloc::boxed::Box; |
| 2 | +use alloc::collections::VecDeque; |
| 3 | +use alloc::string::{String, ToString}; |
| 4 | +use alloc::sync::Arc; |
| 5 | +use alloc::vec::Vec; |
| 6 | +use core::cell::{Ref, RefMut}; |
| 7 | +use core::ffi::c_void; |
| 8 | +use core::fmt::Write; |
| 9 | +use core::future::{poll_fn, Future}; |
| 10 | +use core::net::SocketAddrV4; |
| 11 | +use core::ptr::NonNull; |
| 12 | +use core::task::Poll; |
| 13 | + |
26 | 14 | use pixie_shared::util::BytesFmt; |
27 | | -use uefi::{ |
28 | | - boot::{EventType, ScopedProtocol, TimerTrigger, Tpl}, |
29 | | - proto::{ |
30 | | - console::{ |
31 | | - serial::Serial, |
32 | | - text::{Color, Input, Key, Output}, |
33 | | - }, |
34 | | - device_path::{ |
35 | | - build::DevicePathBuilder, |
36 | | - text::{AllowShortcuts, DevicePathToText, DisplayOnly}, |
37 | | - DevicePath, |
38 | | - }, |
39 | | - Protocol, |
40 | | - }, |
41 | | - runtime::{VariableAttributes, VariableVendor}, |
42 | | - CStr16, Event, Handle, Status, |
43 | | -}; |
| 15 | +use uefi::boot::{EventType, ScopedProtocol, TimerTrigger, Tpl}; |
| 16 | +use uefi::proto::console::serial::Serial; |
| 17 | +use uefi::proto::console::text::{Color, Input, Key, Output}; |
| 18 | +use uefi::proto::device_path::build::DevicePathBuilder; |
| 19 | +use uefi::proto::device_path::text::{AllowShortcuts, DevicePathToText, DisplayOnly}; |
| 20 | +use uefi::proto::device_path::DevicePath; |
| 21 | +use uefi::proto::Protocol; |
| 22 | +use uefi::runtime::{VariableAttributes, VariableVendor}; |
| 23 | +use uefi::{CStr16, Event, Handle, Status}; |
| 24 | + |
| 25 | +use self::boot_options::BootOptions; |
| 26 | +use self::disk::Disk; |
| 27 | +use self::error::{Error, Result}; |
| 28 | +use self::executor::{Executor, Task}; |
| 29 | +use self::net::NetworkInterface; |
| 30 | +use self::sync::SyncRefCell; |
| 31 | +use self::timer::Timer; |
44 | 32 |
|
45 | 33 | mod boot_options; |
46 | 34 | pub mod disk; |
|
0 commit comments