mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-27 22:03:47 +00:00 
			
		
		
		
	 b86160555f
			
		
	
	
		b86160555f
		
	
	
	
	
		
			
			Commit 9b8c69243 (since reverted) broke the ability to boot the kernel
as the value returned by unassigned_mem_read returned non-zero and left
the kernel looping forever waiting for it to change (see
integrator_led_set in the kernel code).
Relying on a varying implementation detail is incorrect anyway so this
introduces a basic stub of a memory region for the debug/LED section
on the integrator board.
Signed-off-by: Alex Bennée <alex@bennee.com>
Message-id: 1382451366-9539-1-git-send-email-alex.bennee@linaro.org
[PMM: removed three unused fields from struct IntegratorDebugState]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
		
	
			
		
			
				
	
	
		
			19 lines
		
	
	
		
			492 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			492 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * ARM Integrator Board Debug, switch and LED section
 | |
|  *
 | |
|  * Browse the data sheet:
 | |
|  *
 | |
|  *    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0159b/Babbfijf.html
 | |
|  *
 | |
|  * Copyright (c) 2013 Alex Bennée <alex@bennee.com>
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2 or later.
 | |
|  * See the COPYING file in the top-level directory.
 | |
|  */
 | |
| #ifndef QEMU_INTEGRATOR_DEBUG_H
 | |
| #define QEMU_INTEGRATOR_DEBUG_H
 | |
| 
 | |
| #define TYPE_INTEGRATOR_DEBUG "integrator_debug"
 | |
| 
 | |
| #endif
 |