File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: MIT OR Apache-2.0
2
2
3
- use crate :: table:: boot:: MemoryType ;
3
+ use crate :: table:: boot:: { AllocateType , MemoryType } ;
4
4
use crate :: { Guid , Handle , Status , guid} ;
5
5
use bitflags:: bitflags;
6
6
use core:: ffi:: c_void;
@@ -20,7 +20,7 @@ pub struct EdkiiIommuProtocol {
20
20
this : * const Self ,
21
21
device_handle : Handle ,
22
22
mapping : * mut c_void ,
23
- iommu_access : u64 ,
23
+ iommu_access : EdkiiIommuAccess ,
24
24
) -> Status ,
25
25
pub map : unsafe extern "efiapi" fn (
26
26
this : * const Self ,
@@ -33,11 +33,11 @@ pub struct EdkiiIommuProtocol {
33
33
pub unmap : unsafe extern "efiapi" fn ( this : * const Self , mapping : * mut c_void ) -> Status ,
34
34
pub allocate_buffer : unsafe extern "efiapi" fn (
35
35
this : * const Self ,
36
- allocate_type : u32 ,
36
+ allocate_type : AllocateType ,
37
37
memory_type : MemoryType ,
38
38
pages : usize ,
39
39
host_address : * mut * mut c_void ,
40
- attributes : u64 ,
40
+ attributes : EdkiiIommuAttribute ,
41
41
) -> Status ,
42
42
pub free_buffer : unsafe extern "efiapi" fn (
43
43
this : * const Self ,
You can’t perform that action at this time.
0 commit comments