cortex_a9::regs: init U bit for unaligned access

This commit is contained in:
Astro 2019-06-04 23:47:23 +02:00
parent acf995d7da
commit 6d15b82a3e
1 changed files with 1 additions and 1 deletions

View File

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