barriers: Move __ISB() to the new API
Remove the arch-specific ARM-centric __ISB() macro and use the new barrier API instead. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
20165f576f
commit
6f3a13d974
42 changed files with 87 additions and 96 deletions
|
@ -35,7 +35,7 @@ void z_arm_platform_init(void)
|
|||
/* Invalidate instruction cache and flush branch target cache */
|
||||
__set_ICIALLU(0);
|
||||
barrier_dsync_fence_full();
|
||||
__ISB();
|
||||
barrier_isync_fence_full();
|
||||
|
||||
L1C_EnableCaches();
|
||||
L1C_EnableBTAC();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue