This commit is contained in:
xoviat 2023-10-03 17:49:18 -05:00
parent 8bb48f3083
commit a4b20fc943

View File

@ -112,6 +112,10 @@ impl Ipcc {
compiler_fence(Ordering::SeqCst); compiler_fence(Ordering::SeqCst);
IPCC::set_cpu2(true); IPCC::set_cpu2(true);
// insert bus access and fence for delay
IPCC::set_cpu2(true);
compiler_fence(Ordering::SeqCst);
IPCC::regs().cpu(0).cr().modify(|w| { IPCC::regs().cpu(0).cr().modify(|w| {
w.set_rxoie(true); w.set_rxoie(true);
w.set_txfie(true); w.set_txfie(true);