forked from M-Labs/zynq-rs
cortex_a9::regs: init U bit for unaligned access
This commit is contained in:
parent
acf995d7da
commit
6d15b82a3e
|
@ -75,6 +75,6 @@ pub fn dccisw() {
|
|||
/// Enable I-Cache and D-Cache
|
||||
pub fn sctlr() {
|
||||
unsafe {
|
||||
asm!("mcr p15, 0, $0, c1, c0, 0" :: "r" (0x1004) :: "volatile");
|
||||
asm!("mcr p15, 0, $0, c1, c0, 0" :: "r" (0x00401004) :: "volatile");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue