Skip to content

Commit a43db60

Browse files
fix(dart): set bypass support bit for iOS to behave correctly
1 parent 6f04f6e commit a43db60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hw/arm/apple-silicon/dart.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,9 @@ static void apple_dart_reset(DeviceState *dev)
593593
mapper->regs.params1, DART_PARAMS1, ACCESS_REGION_PROTECTION,
594594
(dart->dart_options & BIT(1)) != 0);
595595

596+
mapper->regs.params2 =
597+
FIELD_DP32(0, DART_PARAMS2, BYPASS_SUPPORT, 1);
598+
596599
for (j = 0; j < DART_MAX_STREAMS; j++) {
597600
mapper->regs.sid_remap[j] = j;
598601
}

0 commit comments

Comments
 (0)