Changeset 949869d in mainline for kernel/arch/arm32/src/cpu/cpu.c


Ignore:
Timestamp:
2012-12-29T23:23:01Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5d9e36b
Parents:
2826998
Message:

armv7: Enable flow predictions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/cpu/cpu.c

    r2826998 r949869d  
    129129        control_reg |= CP15_R1_CACHE_EN | CP15_R1_INST_CACHE_EN;
    130130       
     131        /* Enable branch prediction */
     132        control_reg |= CP15_R1_BRANCH_PREDICT_EN;
    131133        asm volatile (
    132134                "mcr p15, 0, %[control_reg], c1, c0"
Note: See TracChangeset for help on using the changeset viewer.