forked from Imagelibrary/rtems
bsp/qoriq: Fix tlbwe sequence
This commit is contained in:
@@ -361,7 +361,7 @@ void qoriq_mmu_change_perm(uint32_t test, uint32_t set, uint32_t clear)
|
||||
mas3 &= ~(clear & mask);
|
||||
mas3 |= set & mask;
|
||||
PPC_SET_SPECIAL_PURPOSE_REGISTER(FSL_EIS_MAS3, mas3);
|
||||
asm volatile ("isync; msync; tlbwe; isync" : : : "memory");
|
||||
asm volatile ("msync; isync; tlbwe; isync" : : : "memory");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user