mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 12:07:31 +00:00 
			
		
		
		
	 a0a8cf78e0
			
		
	
	
		a0a8cf78e0
		
	
	
	
	
		
			
			Instead of logging guest accesses to invalid register offsets in this device using zaurus_printf() (which just prints to stderr), use the usual qemu_log_mask(LOG_GUEST_ERROR,...). Since this was the only use of the zaurus_printf() macro outside spitz.c, we can move the definition of that macro from sharpsl.h to spitz.c. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20200628142429.17111-14-peter.maydell@linaro.org
		
			
				
	
	
		
			18 lines
		
	
	
		
			265 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			265 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Common declarations for the Zaurii.
 | |
|  *
 | |
|  * This file is licensed under the GNU GPL.
 | |
|  */
 | |
| 
 | |
| #ifndef QEMU_SHARPSL_H
 | |
| #define QEMU_SHARPSL_H
 | |
| 
 | |
| #include "exec/hwaddr.h"
 | |
| 
 | |
| /* zaurus.c */
 | |
| 
 | |
| #define SL_PXA_PARAM_BASE	0xa0000a00
 | |
| void sl_bootparam_write(hwaddr ptr);
 | |
| 
 | |
| #endif
 |