Message ID | 1393280086-19431-2-git-send-email-robherring2@gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c index d76a1d1..e73d86f 100644 --- a/hw/arm/highbank.c +++ b/hw/arm/highbank.c @@ -241,6 +241,15 @@ static void calxeda_init(QEMUMachineInitArgs *args, enum cxmachines machine) error_report("%s", error_get_pretty(err)); exit(1); } + + if (machine == CALXEDA_HIGHBANK) { + object_property_set_int(OBJECT(cpu), 0x80000900 | n, "mpidr", + &err); + if (err) { + error_report("%s", error_get_pretty(err)); + exit(1); + } + } object_property_set_bool(OBJECT(cpu), true, "realized", &err); if (err) { error_report("%s", error_get_pretty(err));