forked from Imagelibrary/rtems
bsps/arm: Invalidate branch predictors earlier
Make sure the branch predictors are invalidated before the first branch is executed. Update #4202.
This commit is contained in:
@@ -110,7 +110,6 @@ void BSP_START_TEXT_SECTION bsp_start_hook_0(void)
|
||||
rtems_cache_invalidate_entire_data();
|
||||
}
|
||||
rtems_cache_invalidate_entire_instruction();
|
||||
arm_cp15_branch_predictor_invalidate_all();
|
||||
arm_cp15_tlb_invalidate();
|
||||
arm_cp15_flush_prefetch_buffer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user