trace: add trace_mem_build_info_no_se_be/le
These will be used by the following commit. Signed-off-by: Emilio G. Cota <cota@braap.org> Message-id: 1527028012-21888-5-git-send-email-cota@braap.org Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
		
							parent
							
								
									706485d2e2
								
							
						
					
					
						commit
						f9b47999af
					
				@ -39,4 +39,16 @@ static inline uint8_t trace_mem_get_info(TCGMemOp op, bool store)
 | 
			
		||||
                                op & MO_BSWAP, store);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static inline
 | 
			
		||||
uint8_t trace_mem_build_info_no_se_be(int size_shift, bool store)
 | 
			
		||||
{
 | 
			
		||||
    return trace_mem_build_info(size_shift, false, MO_BE, store);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static inline
 | 
			
		||||
uint8_t trace_mem_build_info_no_se_le(int size_shift, bool store)
 | 
			
		||||
{
 | 
			
		||||
    return trace_mem_build_info(size_shift, false, MO_LE, store);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif /* TRACE__MEM_INTERNAL_H */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user