libsupport_zynq: fix a cast
This commit is contained in:
parent
8e09947c54
commit
58e4e34fa5
|
@ -142,7 +142,7 @@ impl<S: AsMut<[u32]>> Core1<S> {
|
||||||
// Ensure stack pointer has been written to cache
|
// Ensure stack pointer has been written to cache
|
||||||
asm::dmb();
|
asm::dmb();
|
||||||
// Flush cache-line
|
// Flush cache-line
|
||||||
cache::dccmvac(unsafe { &CORE1_STACK } as *const _ as u32);
|
cache::dccmvac(unsafe { &CORE1_STACK } as *const _ as usize);
|
||||||
|
|
||||||
// wake up core1
|
// wake up core1
|
||||||
slcr::RegisterBlock::unlocked(|slcr| {
|
slcr::RegisterBlock::unlocked(|slcr| {
|
||||||
|
|
Loading…
Reference in New Issue