mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	ARM: Convert MIDR to a property
Convert the MIDR register to a property. This allows boards to later set a custom MIDR value. This has been done in such a way to maintain compatibility with all existing CPUs and boards Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 878613f2f12d4162f12629522fd99de8df904856.1390176489.git.alistair.francis@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
		
							parent
							
								
									83bfffec72
								
							
						
					
					
						commit
						51a9b04bd3
					
				| @ -982,6 +982,7 @@ static const ARMCPUInfo arm_cpus[] = { | ||||
| 
 | ||||
| static Property arm_cpu_properties[] = { | ||||
|     DEFINE_PROP_BOOL("start-powered-off", ARMCPU, start_powered_off, false), | ||||
|     DEFINE_PROP_UINT32("midr", ARMCPU, midr, 0), | ||||
|     DEFINE_PROP_END_OF_LIST() | ||||
| }; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Alistair Francis
						Alistair Francis