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 11// SPDX-License-Identifier: MIT OR Apache-2.0 
22
3- use  crate :: table:: boot:: MemoryType ; 
3+ use  crate :: table:: boot:: { AllocateType ,   MemoryType } ; 
44use  crate :: { Guid ,  Handle ,  Status ,  guid} ; 
55use  bitflags:: bitflags; 
66use  core:: ffi:: c_void; 
@@ -20,7 +20,7 @@ pub struct EdkiiIommuProtocol {
2020        this :  * const  Self , 
2121        device_handle :  Handle , 
2222        mapping :  * mut  c_void , 
23-         iommu_access :  u64 , 
23+         iommu_access :  EdkiiIommuAccess , 
2424    )  -> Status , 
2525    pub  map :  unsafe  extern  "efiapi"  fn ( 
2626        this :  * const  Self , 
@@ -33,11 +33,11 @@ pub struct EdkiiIommuProtocol {
3333    pub  unmap :  unsafe  extern  "efiapi"  fn ( this :  * const  Self ,  mapping :  * mut  c_void )  -> Status , 
3434    pub  allocate_buffer :  unsafe  extern  "efiapi"  fn ( 
3535        this :  * const  Self , 
36-         allocate_type :  u32 , 
36+         allocate_type :  AllocateType , 
3737        memory_type :  MemoryType , 
3838        pages :  usize , 
3939        host_address :  * mut  * mut  c_void , 
40-         attributes :  u64 , 
40+         attributes :  EdkiiIommuAttribute , 
4141    )  -> Status , 
4242    pub  free_buffer :  unsafe  extern  "efiapi"  fn ( 
4343        this :  * const  Self , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments