libsupport_zynq/boot: fixed core1 disable.

gic
pca006132 3 years ago
parent c50e72f91e
commit ad47521e4b
  1. 2
      libsupport_zynq/src/boot.rs

@ -149,6 +149,8 @@ impl Core1 {
pub fn disable(&self) {
unsafe {
CORE1_ENABLED.set(false);
cache::dccmvac(&CORE1_ENABLED as *const _ as usize);
asm::dsb();
}
self.restart();
}

Loading…
Cancel
Save