mirror of
				https://git.proxmox.com/git/qemu
				synced 2025-10-31 07:39:44 +00:00 
			
		
		
		
	cpu_get_phys_page_debug fix (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2010 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									9d9754a31d
								
							
						
					
					
						commit
						6b1575b746
					
				| @ -2771,7 +2771,8 @@ target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr) | ||||
|     int prot, access_index; | ||||
| 
 | ||||
|     if (get_physical_address(env, &phys_addr, &prot, &access_index, addr, 2, 0) != 0) | ||||
|         return -1; | ||||
|         if (get_physical_address(env, &phys_addr, &prot, &access_index, addr, 0, 0) != 0) | ||||
|             return -1; | ||||
|     return phys_addr; | ||||
| } | ||||
| #endif | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 bellard
						bellard