Skip to content

Commit

Permalink
Fix t8030_cpu_reset resetting the emulated SEP core
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualEhrmanntraut committed Aug 1, 2024
1 parent cda01b6 commit 70446b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/arm/apple-silicon/t8030.c
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,7 @@ static void t8030_cpu_reset(void *opaque)

CPU_FOREACH (cpu) {
AppleA13State *tcpu = APPLE_A13(cpu);
if (tcpu == NULL) {
if (tcpu == NULL || tcpu->cpu_id == A13_MAX_CPU + 1) {
continue;
}
object_property_set_uint(OBJECT(cpu), "rvbar",
Expand Down

0 comments on commit 70446b2

Please sign in to comment.