Skip to content

Commit c3bcdd9

Browse files
committed
fix(port_arm): fix the encoding of DCISW
It was incorrectly encoded as `[p15, c7, 0, c10, 2]`, which means `DCCSW`. As a result, the processor loaded stale data, leading to test failures that could be only produced when unified caches are enabled.
1 parent 77c6943 commit c3bcdd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constance_port_arm/src/arm/dcisw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ pub const DCISW: DCISWAccessor = DCISWAccessor;
33
pub struct DCISWAccessor;
44

55
impl register::cpu::RegisterWriteOnly<u32, ()> for DCISWAccessor {
6-
sys_coproc_write_raw!(u32, [p15, c7, 0, c10, 2]);
6+
sys_coproc_write_raw!(u32, [p15, c7, 0, c6, 2]);
77
}

0 commit comments

Comments
 (0)