|
12 | 12 | // See the License for the specific language governing permissions and |
13 | 13 | // limitations under the License. |
14 | 14 |
|
| 15 | +use core::ffi::c_void; |
| 16 | + |
| 17 | +use r_efi::{ |
| 18 | + efi::{ |
| 19 | + self, AllocateType, Boolean, CapsuleHeader, Char16, Event, EventNotify, Guid, Handle, |
| 20 | + InterfaceType, LocateSearchType, MemoryDescriptor, MemoryType, |
| 21 | + OpenProtocolInformationEntry, PhysicalAddress, ResetType, Status, Time, TimeCapabilities, |
| 22 | + TimerDelay, Tpl, |
| 23 | + }, |
| 24 | + protocols::{ |
| 25 | + device_path::Protocol as DevicePathProtocol, loaded_image::Protocol as LoadedImageProtocol, |
| 26 | + }, |
| 27 | +}; |
| 28 | +use spin::Mutex; |
| 29 | + |
15 | 30 | mod alloc; |
16 | 31 | mod block; |
17 | 32 | mod console; |
18 | 33 | mod file; |
19 | 34 |
|
20 | | -use spin::Mutex; |
21 | | - |
22 | | -use r_efi::efi; |
23 | | -use r_efi::efi::{ |
24 | | - AllocateType, Boolean, CapsuleHeader, Char16, Event, EventNotify, Guid, Handle, InterfaceType, |
25 | | - LocateSearchType, MemoryDescriptor, MemoryType, OpenProtocolInformationEntry, PhysicalAddress, |
26 | | - ResetType, Status, Time, TimeCapabilities, TimerDelay, Tpl, |
27 | | -}; |
28 | | - |
29 | | -use r_efi::protocols::device_path::Protocol as DevicePathProtocol; |
30 | | -use r_efi::protocols::loaded_image::Protocol as LoadedImageProtocol; |
31 | | - |
32 | | -use core::ffi::c_void; |
33 | | - |
34 | 35 | use alloc::Allocator; |
35 | 36 |
|
36 | 37 | #[derive(Copy, Clone, PartialEq)] |
|
0 commit comments