sync_channel rework #52 #53

Merged
sb10q merged 1 commits from pca006132/zynq-rs:sync into master 2020-07-28 12:38:20 +08:00
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}