Revision c0f1ead9 hw/arm/highbank.c
b/hw/arm/highbank.c | ||
---|---|---|
236 | 236 |
|
237 | 237 |
cpu = ARM_CPU(object_new(object_class_get_name(oc))); |
238 | 238 |
|
239 |
object_property_set_int(OBJECT(cpu), GIC_BASE_ADDR, "reset-cbar", &err); |
|
240 |
if (err) { |
|
241 |
error_report("%s", error_get_pretty(err)); |
|
242 |
exit(1); |
|
243 |
} |
|
239 | 244 |
object_property_set_bool(OBJECT(cpu), true, "realized", &err); |
240 | 245 |
if (err) { |
241 | 246 |
error_report("%s", error_get_pretty(err)); |
242 | 247 |
exit(1); |
243 | 248 |
} |
244 |
|
|
245 |
/* This will become a QOM property eventually */ |
|
246 |
cpu->reset_cbar = GIC_BASE_ADDR; |
|
247 | 249 |
cpu_irq[n] = qdev_get_gpio_in(DEVICE(cpu), ARM_CPU_IRQ); |
248 | 250 |
} |
249 | 251 |
|
Also available in: Unified diff