Avoid gcc warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3412 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									1e64e78d0c
								
							
						
					
					
						commit
						20b749f607
					
				| @ -806,7 +806,7 @@ void helper_ld_asi(int asi, int size, int sign) | ||||
|     uint64_t ret = 0; | ||||
| 
 | ||||
|     if ((asi < 0x80 && (env->pstate & PS_PRIV) == 0) | ||||
|         || (asi >= 0x30 && asi < 0x80) && !(env->hpstate & HS_PRIV)) | ||||
|         || (asi >= 0x30 && asi < 0x80 && !(env->hpstate & HS_PRIV))) | ||||
|         raise_exception(TT_PRIV_ACT); | ||||
| 
 | ||||
|     switch (asi) { | ||||
| @ -1023,7 +1023,7 @@ void helper_ld_asi(int asi, int size, int sign) | ||||
| void helper_st_asi(int asi, int size) | ||||
| { | ||||
|     if ((asi < 0x80 && (env->pstate & PS_PRIV) == 0) | ||||
|         || (asi >= 0x30 && asi < 0x80) && !(env->hpstate & HS_PRIV)) | ||||
|         || (asi >= 0x30 && asi < 0x80 && !(env->hpstate & HS_PRIV))) | ||||
|         raise_exception(TT_PRIV_ACT); | ||||
| 
 | ||||
|     /* Convert to little endian */ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 blueswir1
						blueswir1