exec: Make memory_region_section_get_iotlb use section AS
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
		
							parent
							
								
									3be91e862a
								
							
						
					
					
						commit
						1b3fb98ff0
					
				
							
								
								
									
										2
									
								
								exec.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								exec.c
									
									
									
									
									
								
							| @ -796,7 +796,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env, | |||||||
|             iotlb |= PHYS_SECTION_ROM; |             iotlb |= PHYS_SECTION_ROM; | ||||||
|         } |         } | ||||||
|     } else { |     } else { | ||||||
|         iotlb = section - address_space_memory.dispatch->map.sections; |         iotlb = section - section->address_space->dispatch->map.sections; | ||||||
|         iotlb += xlat; |         iotlb += xlat; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Edgar E. Iglesias
						Edgar E. Iglesias