forked from M-Labs/zynq-rs
libsupport_zynq/boot: fixed core1 disable.
This commit is contained in:
parent
c50e72f91e
commit
ad47521e4b
@ -149,6 +149,8 @@ impl Core1 {
|
|||||||
pub fn disable(&self) {
|
pub fn disable(&self) {
|
||||||
unsafe {
|
unsafe {
|
||||||
CORE1_ENABLED.set(false);
|
CORE1_ENABLED.set(false);
|
||||||
|
cache::dccmvac(&CORE1_ENABLED as *const _ as usize);
|
||||||
|
asm::dsb();
|
||||||
}
|
}
|
||||||
self.restart();
|
self.restart();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user