Changeset 82850b8 in rtems


Ignore:
Timestamp:
Jun 4, 2014, 9:07:11 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
def03ae
Parents:
e87ccf5
git-author:
Sebastian Huber <sebastian.huber@…> (06/04/14 09:07:11)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/05/14 12:55:16)
Message:

bsps/arm: Cortex-A9 MPCore start

Invalidate entire branch predictor array.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h

    re87ccf5 r82850b8  
    5151BSP_START_TEXT_SECTION static inline void
    5252arm_cp15_set_vector_base_address(void *base);
     53
     54BSP_START_TEXT_SECTION static inline void
     55arm_cp15_branch_predictor_invalidate_all(void);
    5356
    5457BSP_START_TEXT_SECTION static inline void
     
    146149  uint32_t cpu_id = arm_cortex_a9_get_multiprocessor_cpu_id();
    147150
     151  arm_cp15_branch_predictor_invalidate_all();
     152
    148153  if (cpu_id == 0) {
    149154    arm_a9mpcore_start_scu_enable(scu);
Note: See TracChangeset for help on using the changeset viewer.